.af_pao_product_options {
grid-column: 1 / -1;
min-width: 0;
max-width: 100%;
} .wp-block-woocommerce-add-to-cart-form form.cart:has(> .af_pao_product_options),
.wp-block-woocommerce-add-to-cart-form .variations_button:has(> .af_pao_product_options) {
grid-template-columns: max-content minmax(0, 1fr);
column-gap: 0.5em;
}
.wp-block-woocommerce-add-to-cart-form form.cart:has(> .af_pao_product_options) > .quantity,
.wp-block-woocommerce-add-to-cart-form .variations_button:has(> .af_pao_product_options) > .quantity {
grid-column: 1;
justify-self: start;
}
.product-sub-total-1st-tr{
text-align: right;
}
.product-sub-total-final,
.product_option_selected_price{
text-align: right;
font-size: 18px;
}
.addons_main_div_for_mul_choice{
border: 1px solid gray;
border-radius: 8px;
padding: 10px;
max-width: 100%;
overflow: hidden;
box-sizing: border-box;
}
.addon_selected_image_border_class{
border: 2px solid black !important;
}
.addons_div_selection{
border: 1px solid #808080a6;
border-radius: 4px;
margin: 5px;
display: inline-block;
vertical-align: top;
text-align: center;
width: 60px;
height: 60px;
position: relative;
padding: 2px;
overflow: hidden;
}
.af_addon_images{
width: 100% !important;
height: 100% !important;
position: absolute;
left: 0;
top: 0;
opacity: 0 !important;
margin: 0 !important;
}
.af_addon_images:hover{
cursor: pointer;
}
.af_addon_image_swatcher{
width: 100% !important;
height: 100% !important;
position: absolute;
left: 0;
top: 0;
opacity: 0 !important;
margin: 0 !important;
}
.af_addon_image_swatcher:hover{
cursor: pointer;
}
.af_addon_color_swatcher{
width: 100% !important;
height: 100% !important;
position: absolute;
left: 0;
top: 0;
opacity: 0 !important;
margin: 0 !important;
}
.af_addon_color_swatcher:hover{
cursor: pointer;
}
.prod_img_radio_button{
width: 100% !important;
height: 100% !important;
position: absolute;
left: 0;
top: 0;
opacity: 0 !important;
margin: 0 !important;
}
.prod_img_radio_button:hover{
cursor: pointer;
}
#product_option_selected_name ul{
float: left;
list-style: none; margin-left: 0;
}
#product_option_selected_price ul{
list-style: none;
position: relative;
text-align: right;
}
.product_sub_total_final_td{
float: right;
}
.af_addon_field_class{
width: 99%;
} .af_addon_field_class ,.af-addons-hr {
margin: 60 0 1.41575em !important;
} .wc-block-components-product-details > :has(.af-pao-cart-option) {
display: block;
margin: 0 0 0.4em;
overflow-wrap: anywhere;
}
.wc-block-components-product-details > :has(.af-pao-cart-option)::before,
.wc-block-components-product-details > :has(.af-pao-cart-option)::after {
content: none;
} .woocommerce dl.variation dt:has(+ dd .af-pao-cart-option) {
float: none;
clear: both;
display: block;
margin: 0;
}
.woocommerce dl.variation dd:has(.af-pao-cart-option) {
float: none;
display: block;
margin: 0 0 0.6em;
overflow-wrap: anywhere;
}
.wc-block-components-product-details > :has(.af-pao-cart-option) > [aria-hidden="true"] {
display: none;
} .af_pao_product_options div:has(> input.af_addon_quantity) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1em;
margin-bottom: 0.75em;
}
.woocommerce ul.variation > li:has(.af-pao-cart-option) {
display: block;
margin-bottom: 0.4em;
overflow-wrap: anywhere;
} .af_pao_product_options:not(:has(.af_addon_field_show .af_addon_field_class)) > .af-pao-summary-card,
.af_pao_product_options > .af-pao-summary-card[hidden] {
display: none !important;
} .af_pao_product_options .af-pao-summary-card {
box-sizing: border-box;
width: 100%;
margin: 16px 0;
padding: 14px 16px;
border: 1px solid #e3e6ea;
border-radius: 10px;
background: var(--af-pao-summary-main, #fff);
color: var(--af-pao-summary-text, #303741);
}
.af_pao_product_options .af-pao-summary-card table.af_addon_total_price {
display: table;
table-layout: fixed;
width: 100%;
max-width: 100%;
margin: 0 !important;
border: 0 !important;
border-collapse: collapse;
border-spacing: 0;
background: transparent;
color: inherit;
font-family: inherit;
font-size: 14px;
line-height: 1.45;
}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price caption {
caption-side: top;
text-align: start;
padding: 0 0 10px !important;
font-size: 14px;
font-weight: 600;
line-height: 1.4;
color: var(--af-pao-summary-text, #202832);
}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price td {
padding: 5px 0 !important;
border: 0;
background: transparent;
vertical-align: top;
font-size: 14px;
font-weight: 400;
line-height: 1.45;
overflow-wrap: anywhere;
}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price td:first-child {
width: 70%;
text-align: start;
padding-inline-end: 16px !important;
}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price td:last-child {
width: 30%;
text-align: end;
font-variant-numeric: tabular-nums;
font-weight: 500;
color: var(--af-pao-summary-text, #202832);
}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price .optn_name_price {
display: none !important;
}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price .product-sub-total-final td {
border-top: 1px solid #e3e6ea;
padding-top: 10px !important;
padding-bottom: 0 !important;
font-weight: 600;
color: var(--af-pao-summary-subtotal-text, #111827);
background: var(--af-pao-summary-subtotal, transparent);
}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price .product_sub_total_final_td {
float: none;
font-size: 18px;
line-height: 1.2;
}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price tbody > tr:first-child td {
padding-top: 0 !important;
}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price .af-pao-summary-option:has(+ .product-sub-total-final) td {
padding-bottom: 10px !important;
}
@media (max-width: 480px) {
.af_pao_product_options .af-pao-summary-card { padding: 12px; }
.af_pao_product_options .af-pao-summary-card .af_addon_total_price td:first-child {
padding-inline-end: 12px !important;
}
}
.af_pao_product_options .af-pao-summary-card[data-custom-colors="1"] .af_addon_total_price .product-sub-total-final td {
padding: 10px 8px !important;
}
.af_pao_product_options .af-pao-summary-card[data-custom-colors="1"] .product-sub-total-final td:first-child {
border-end-start-radius: 6px;
}
.af_pao_product_options .af-pao-summary-card[data-custom-colors="1"] .product-sub-total-final td:last-child {
border-end-end-radius: 6px;
}
.af_pao_product_options .af-pao-summary-card[data-custom-colors="1"] .af_addon_total_price .product_sub_total_final_td {
white-space: nowrap;
} .af_pao_product_options .af-pao-summary-card .af_addon_total_price .af-pao-summary-option td:first-child {
padding-inline-start: 12px !important;
} .wc-block-components-product-details > :has(.af-pao-cart-option) > .wc-block-components-product-details__name,
.woocommerce dl.variation dt:has(+ dd .af-pao-cart-option),
.woocommerce ul.variation > li:has(.af-pao-cart-option) > .item-variation-name {
display: none;
}
.af-pao-cart-option {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 4px 12px;
align-items: baseline;
width: 100%;
line-height: 1.5;
}
.af-pao-meta-description { min-width: 0; overflow-wrap: anywhere; }
.af-pao-meta-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.af-pao-meta-separator::before { content: " –"; }
.woocommerce-checkout-review-order-table .af-pao-cart-option,
.wc-block-checkout .af-pao-cart-option { display: block; }
.woocommerce-checkout-review-order-table .af-pao-meta-separator::before,
.wc-block-checkout .af-pao-meta-separator::before { content: ":"; }
.woocommerce-checkout-review-order-table .af-pao-meta-price,
.wc-block-checkout .af-pao-meta-price { margin-inline-start: 6px; }
.woocommerce-checkout-review-order-table .af-pao-meta-price::before,
.wc-block-checkout .af-pao-meta-price::before { content: "(+"; }
.woocommerce-checkout-review-order-table .af-pao-meta-price::after,
.wc-block-checkout .af-pao-meta-price::after { content: ")"; } .af_pao_product_options .af_addon_field_class {
box-sizing: border-box;
width: 100%;
min-width: 0;
margin: 0 0 24px !important;
font-family: inherit;
line-height: 1.5;
container-type: inline-size;
}
.af_pao_product_options .af_addon_field_class [class^="af_addon_front_field_title_div_"] {
font-size: var(--af-pao-label-size, 16px) !important;
font-weight: 700;
line-height: 1.4;
margin: 0 0 8px;
}
.af_pao_product_options .af_addon_field_class [class^="af_addon_front_field_title_div_"] > :is(span,h1,h2,h3,h4,h5,h6):not(.af-pao-price-hint):not([class^="tooltip_"]) {
font-size: inherit !important;
font-weight: inherit;
line-height: inherit;
margin: 0;
}
.af_pao_product_options .af-pao-price-hint {
display: inline;
font-size: 13px;
font-weight: 400;
line-height: 1.5;
margin-inline-start: 6px;
overflow-wrap: anywhere;
}
.af_pao_product_options .af-pao-choice-grid {
display: grid;
grid-template-columns: repeat(var(--af-pao-choice-columns, 1), minmax(0, 1fr));
gap: 6px 10px;
align-items: stretch;
}
.af_pao_product_options .af-pao-choice-grid .af-pao-choice {
display: flex !important;
align-items: flex-start;
gap: 8px;
min-width: 0;
min-height: 42px;
margin: 0 !important;
padding: 9px 8px;
border: 1px solid transparent;
border-radius: 6px;
cursor: pointer;
font-size: var(--af-pao-option-size, 14px) !important;
line-height: 1.5;
font-weight: 400;
}
.af_pao_product_options .af-pao-choice > input:is([type=radio],[type=checkbox]) {
appearance: auto;
position: static !important;
display: inline-block !important;
opacity: 1 !important;
width: 17px !important;
height: 17px !important;
min-width: 17px;
margin: 2px 0 0 !important;
padding: 0 !important;
float: none !important;
flex: 0 0 17px;
}
.af_pao_product_options .af-pao-choice-text,
.af_pao_product_options .af-pao-swatch-caption {
display: block;
min-width: 0;
font-size: var(--af-pao-option-size, 14px) !important;
line-height: 1.5;
font-weight: 400;
overflow-wrap: anywhere;
}
.af_pao_product_options .af-pao-choice:has(:checked) { background: #f4f6f8; border-color: #dce1e7; }
.af_pao_product_options .af-pao-choice:hover { border-color: #c9d1db; }
.af_pao_product_options :is(.af-pao-choice,.af-pao-swatch):focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.af_pao_product_options .af-pao-swatch-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.af_pao_product_options .addons_div_selection.af-pao-swatch {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
gap: 7px;
width: 100px;
height: auto;
min-height: 90px;
padding: 9px !important;
margin: 0;
border: 1px solid #dce1e7;
border-radius: 7px;
box-sizing: border-box;
cursor: pointer;
}
.af_pao_product_options .af-pao-swatch > img { width: 80px !important; height: 58px !important; object-fit: contain !important; }
.af_pao_product_options .af-pao-color-preview { width: 30px; height: 30px; border: 1px solid #0002; border-radius: 50%; flex: none; }
.af_pao_product_options .af-pao-swatch:has(:checked) {
border: 1px solid currentColor !important;
box-shadow: inset 0 0 0 1px currentColor;
background: #f7f8fa;
}
.af_pao_product_options .af_addon_field_class .af-pao-quantity-row {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
width: 100%;
margin: 8px 0 0;
min-height: 36px;
}
.af_pao_product_options .af-pao-quantity-row > label {
display: inline-block !important;
width: auto !important;
margin: 0 !important;
padding: 0 !important;
font-size: 13px !important;
font-weight: 400 !important;
line-height: 1.4 !important;
float: none !important;
}
.af_pao_product_options .af-pao-quantity-row > input.af_addon_quantity {
box-sizing: border-box;
display: inline-block;
width: 64px !important;
min-width: 64px !important;
max-width: 64px !important;
height: 36px !important;
min-height: 36px !important;
padding: 5px !important;
margin: 0 !important;
float: none !important;
border: 1px solid #b9c1cb;
border-radius: 5px;
background: #fff;
color: #202731;
font-family: inherit;
font-size: 14px !important;
font-weight: 400;
line-height: 1.4;
text-align: center !important;
appearance: textfield;
}
.af_pao_product_options .af-pao-quantity-row > input::-webkit-inner-spin-button,
.af_pao_product_options .af-pao-quantity-row > input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.af_pao_product_options .af-pao-quantity-row > input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.af_pao_product_options [data-qty-position="below-left"] .af-pao-quantity-row { justify-content: flex-start; }
.af_pao_product_options .af-pao-field-header {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 16px;
margin-bottom: 8px;
}
.af_pao_product_options .af-pao-field-header .af-pao-field-title { flex: 1 1 180px; width: auto; margin: 0; }
.af_pao_product_options .af-pao-field-header .af-pao-quantity-row { flex: 0 0 auto; width: auto; margin: 0 0 0 auto; }
.af_pao_product_options .af_addon_field_class :is(input:not([type=radio],[type=checkbox],[type=file],.af_addon_quantity),select,textarea) {
box-sizing: border-box;
max-width: 100%;
font-family: inherit;
font-size: max(16px, var(--af-pao-option-size, 14px));
line-height: 1.5;
}
.af_pao_product_options .af_addon_field_class :is(select,textarea,input:not([type=radio],[type=checkbox],[type=file],.af_addon_quantity)) { min-height: 42px; }
.af_pao_product_options .af_addon_field_class :is([class^="add_on_description_style_"],input[type=file],.select2-container) { font-size: var(--af-pao-help-size, 13px); }
@container (max-width: 350px) {
.af-pao-choice-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
.af_pao_product_options .af-pao-choice-grid .af-pao-choice { box-sizing: border-box; }
.af_pao_product_options .af_addon_field_class select,
.af_pao_product_options .af_addon_field_class .select2-container { font-size: var(--af-pao-option-size, 14px) !important; } .af_pao_product_options .af_addon_field_class { --af-pao-label-size:clamp(1rem,var(--af-pao-auto-label,1rem),1.25rem); --af-pao-option-size:clamp(.875rem,var(--af-pao-auto-option,.9375rem),1.125rem); --af-pao-description-size:clamp(.875rem,var(--af-pao-auto-description,.875rem),1.125rem); --af-pao-tooltip-size:clamp(.875rem,var(--af-pao-auto-tooltip,.875rem),1rem); --af-pao-hint-size:clamp(.8125rem,var(--af-pao-auto-hint,.8125rem),.9375rem); --af-pao-qty-size:clamp(.8125rem,var(--af-pao-auto-qty,.8125rem),.875rem); }
.af_pao_product_options .af-pao-choice-grid {gap:4px 12px}
.af_pao_product_options .af-pao-choice-grid .af-pao-choice {align-items:center;min-height:34px;padding:4px 6px;border:0;line-height:1.45}
.af_pao_product_options .af-pao-choice > input:is([type=radio],[type=checkbox]) {margin:0!important;align-self:center}
.af_pao_product_options .af-pao-choice:has(:checked) {background:#f8fafb;border:0}
.af_pao_product_options .af-pao-choice:hover {background:#fafbfc}
.af_pao_product_options :is(.af-pao-choice,.af-pao-swatch):focus-within {outline:none}
.af_pao_product_options :is(.af-pao-choice,.af-pao-swatch):has(input:focus-visible) {outline:2px solid currentColor;outline-offset:2px}
.af_pao_product_options .af-pao-price-hint {font-size:var(--af-pao-hint-size)!important}
.af_pao_product_options .af-pao-quantity-row > label {font-size:var(--af-pao-qty-size)!important}
.af_pao_product_options .af_addon_field_class [class^="add_on_description_style_"] {font-size:var(--af-pao-description-size)!important;line-height:1.5;margin:6px 0 0}
.af_pao_product_options .af_addon_field_class .select2-container,
.af_pao_product_options .af_addon_field_class input[type=file] {font-size:var(--af-pao-option-size)!important}
.af_pao_product_options .af_addon_field_class [class^="tooltip_"] {position:relative;display:inline-flex;vertical-align:middle;margin-inline-start:3px;font-weight:400}
.af_pao_product_options .af-pao-help-trigger {display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:24px;min-width:24px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;color:inherit;font-family:inherit;font-size:14px;font-weight:400;line-height:1;cursor:help;box-shadow:none}
.af_pao_product_options .af-pao-help-trigger:focus-visible {outline:2px solid currentColor;outline-offset:2px}
.af_pao_product_options [role=tooltip] {display:none;position:fixed;z-index:100000;width:min(260px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:10px 12px;border:0;border-radius:6px;font-family:inherit;font-size:var(--af-pao-tooltip-size);font-weight:400;line-height:1.5;text-align:start;box-shadow:0 3px 12px #15253626;overflow-wrap:anywhere;box-sizing:border-box}
.af_pao_product_options .af-pao-tip-open > [role=tooltip] {display:block}
@media(pointer:coarse){.af_pao_product_options .af-pao-choice-grid .af-pao-choice{min-height:44px}}
.af_pao_product_options .af-pao-upload-hint{font-size:var(--af-pao-hint-size);margin:5px 0 0;line-height:1.5} .af_pao_product_options select.select2-hidden-accessible{width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;position:absolute!important;white-space:nowrap!important} .af_pao_product_options .af-pao-help-trigger{background:#eef2f5;border:1px solid #d9e1e8;color:#3c4b58;font-weight:600}
.af_pao_product_options .af-pao-help-trigger:hover{background:#e3eaf0;color:#20394f}
.af_pao_product_options .af-pao-help-trigger:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.af_pao_product_options .af-pao-summary-card .af_addon_total_price caption{font-size:var(--af-pao-summary-heading-size,var(--af-pao-auto-label,1rem))!important;font-weight:700} .af_pao_product_options .af_addon_field_class .af-pao-description-before{margin:0 0 8px;clear:both}
.af_pao_product_options .af-pao-field-footer{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-top:8px;clear:both}
.af_pao_product_options .af-pao-field-footer>[class^="add_on_description_style_"]{flex:1 1 320px;margin:0;min-width:0;overflow-wrap:anywhere}
.af_pao_product_options .af_addon_field_class .af-pao-field-footer>.af-pao-quantity-row{flex:0 0 auto;width:auto;margin:0 0 0 auto}
.af_pao_product_options [data-qty-position="below-left"] .af-pao-field-footer{flex-direction:column;align-items:flex-start}
.af_pao_product_options [data-qty-position="below-left"] .af-pao-field-footer>[class^="add_on_description_style_"]{flex:0 1 auto;width:100%}
.af_pao_product_options [data-qty-position="below-left"] .af-pao-field-footer>.af-pao-quantity-row{margin:0}
.af_pao_product_options .af-pao-summary-card .product-sub-total-final td:first-child{font-size:var(--af-pao-summary-heading-size,var(--af-pao-auto-label,1rem))!important;font-weight:700}
.af_pao_product_options .af-pao-summary-card .product-sub-total-final td:first-child *{font-size:inherit!important} .af_pao_product_options .af-pao-multiselect {
position: relative;
width: 100%;
min-width: 0;
}
.af_pao_product_options .af-pao-multiselect .select2-selection--multiple {
height: auto !important;
min-height: 42px;
}
.af_pao_product_options .af-pao-multiselect .select2-selection--multiple .select2-selection__rendered {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px;
box-sizing: border-box;
width: 100%;
margin: 0 !important;
padding: 5px !important;
}
.af_pao_product_options .af-pao-multiselect .select2-selection--multiple .select2-selection__choice {
float: none;
margin: 0;
max-width: 100%;
white-space: normal;
overflow-wrap: anywhere;
}
.af_pao_product_options .af-pao-multiselect .select2-selection--multiple .select2-search--inline {
flex: 1 1 7ch;
margin: 0;
min-width: 0;
float: none;
}
.af_pao_product_options .af-pao-multiselect .select2-search--inline .select2-search__field {
box-sizing: border-box !important;
width: 100% !important;
min-width: 0 !important;
min-height: 0 !important;
height: 1.5em !important;
line-height: 1.5 !important;
padding: 0 !important;
margin: 0 !important;
border: 0 !important;
border-radius: 0 !important;
outline: 0 !important;
box-shadow: none !important;
background: transparent !important;
font: inherit;
text-align: start !important;
}
.af_pao_product_options .af-pao-multiselect .select2-selection--multiple:has(.select2-search__field:focus-visible) {
outline: 2px solid currentColor;
outline-offset: 2px;
} .af_pao_product_options .af-pao-select-wrap {
position: relative;
width: 100%;
}
@media (forced-colors: none) {
.af_pao_product_options .af-pao-select-wrap > select.af_addon_drop_down {
appearance: none !important;
background-image: none !important;
padding-inline-end: 2.25em !important;
}
.af_pao_product_options .af-pao-select-wrap::after {
content: "";
position: absolute;
inset-inline-end: 14px;
top: 50%;
width: 7px;
height: 7px;
border: solid currentColor;
border-width: 0 1.5px 1.5px 0;
transform: translateY(-70%) rotate(45deg);
pointer-events: none;
}
}
.af_pao_product_options .af-pao-required {
margin-inline-start: .25em;
font-weight: 700;
}