/* ═══════════════════════════════════════════════════
   SHOPEE WOO v3 — WOO.CSS
═══════════════════════════════════════════════════ */

/* ═══ SHOP ARCHIVE ════════════════════════════════════ */
.sw-archive-page .sw-wc-wrap{width:100%}
.sw-archive-layout{display:grid;grid-template-columns:240px 1fr;gap:1.5rem;padding-top:1rem;align-items:start}
@media(max-width:900px){.sw-archive-layout{grid-template-columns:1fr}}

/* Sidebar */
.sw-shop-sidebar{position:sticky;top:calc(var(--hdr) + 1rem)}
@media(max-width:900px){.sw-shop-sidebar{display:none}}
.sw-sidebar-widget{background:var(--white);border:1px solid var(--border);border-radius:var(--r2);padding:1.25rem;margin-bottom:1rem}
.sw-sidebar-title{font-size:.875rem;font-weight:700;color:var(--g800);margin-bottom:1rem;padding-bottom:.625rem;border-bottom:2px solid var(--or)}

/* Category filter list */
.sw-filter-cats{display:flex;flex-direction:column;gap:.1rem}
.sw-filter-cats>li>a{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;border-radius:var(--r);font-size:.83rem;color:var(--text);transition:all var(--tr)}
.sw-filter-cats>li>a:hover,.sw-filter-cats>li.sw-fc-active>a{background:var(--or-bg);color:var(--or)}
.sw-filter-cats>li>a span{font-size:.73rem;background:var(--g200);color:var(--g600);padding:.1rem .45rem;border-radius:20px;font-weight:600}
.sw-filter-cats>li.sw-fc-active>a span{background:var(--or);color:#fff}
.sw-fc-subs{padding-left:.875rem;margin-top:.1rem}
.sw-fc-subs li a{display:flex;align-items:center;justify-content:space-between;padding:.4rem .75rem;border-radius:var(--r);font-size:.8rem;color:var(--muted);transition:all var(--tr)}
.sw-fc-subs li a:hover,.sw-fc-subs li.sw-fc-active a{color:var(--or)}
.sw-fc-subs li a span{font-size:.7rem;color:var(--light)}

/* WC filter widgets override */
.sw-sidebar-widget .price_slider_wrapper{margin-top:.5rem}
.sw-sidebar-widget .price_slider{height:4px!important}
.sw-sidebar-widget .price_slider_amount{display:flex;align-items:center;justify-content:space-between;margin-top:.75rem;gap:.5rem}
.sw-sidebar-widget .price_slider_amount input[type=text]{width:auto;flex:1;border:1px solid var(--border2);border-radius:var(--r);padding:.4rem .6rem;font-size:.8rem;color:var(--text);text-align:center}
.sw-sidebar-widget .price_slider_amount button{background:var(--or);color:#fff;border:none;border-radius:var(--r);padding:.4rem .875rem;font-size:.8rem;font-weight:600;cursor:pointer;transition:background var(--tr)}
.sw-sidebar-widget .price_slider_amount button:hover{background:var(--or2)}
.sw-sidebar-widget .ui-slider-horizontal .ui-slider-handle{background:var(--or)!important;border:2px solid var(--white)!important;outline:none!important;box-shadow:0 2px 6px rgba(238,77,45,.4)!important}
.sw-sidebar-widget .ui-slider-range{background:var(--or)!important}
.sw-sidebar-widget .ui-slider{background:var(--g200)!important;border:none!important}

/* Shop main */
.sw-shop-head{background:var(--white);border:1px solid var(--border);border-radius:var(--r2);padding:1rem 1.25rem;margin-bottom:1rem}
.sw-shop-title-row .sw-breadcrumb{margin-bottom:.5rem;padding:.25rem 0}
.sw-shop-title{font-size:1.3rem;font-weight:800;color:var(--g900);margin-bottom:.5rem}
.woocommerce-shop-loop-title,.woocommerce-page-title{display:none}
.sw-shop-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--border)}
.woocommerce-result-count{font-size:.83rem;color:var(--muted);margin:0}
.woocommerce-ordering select{border:1px solid var(--border2);border-radius:var(--r);padding:.45rem 2rem .45rem .75rem;font-size:.83rem;color:var(--text);background:var(--white);cursor:pointer;outline:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .6rem center;transition:border-color var(--tr)}
.woocommerce-ordering select:focus{border-color:var(--or)}

/* ═══ PRODUCT GRID ════════════════════════════════════ */
.woocommerce ul.products,
ul.products{
    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:1rem!important;
    list-style:none!important;
    padding:0!important;
    margin:0!important;
    width:100%!important;
    float:none!important;
    clear:both!important;
}
.sw-archive-layout .woocommerce ul.products,
.sw-archive-layout ul.products{grid-template-columns:repeat(3,1fr)!important}
@media(max-width:900px){ul.products{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:420px){ul.products{grid-template-columns:repeat(2,1fr)!important;gap:.5rem!important}}

/* ═══ PRODUCT CARD ════════════════════════════════════ */
li.product{
    background:var(--white)!important;
    border:1px solid var(--border)!important;
    border-radius:var(--r)!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    position:relative;
    transition:box-shadow var(--tr),transform var(--tr),border-color var(--tr)!important;
    box-shadow:var(--sh-sm)!important;
    float:none!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
}
li.product:hover{box-shadow:0 4px 20px rgba(238,77,45,.15)!important;transform:translateY(-2px)!important;border-color:rgba(238,77,45,.3)!important}

li.product .woocommerce-loop-product__link{display:block;overflow:hidden;position:relative;aspect-ratio:1;background:var(--g100)}
li.product .woocommerce-loop-product__link img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .4s ease!important;display:block!important;float:none!important;margin:0!important}
li.product:hover .woocommerce-loop-product__link img{transform:scale(1.07)!important}

/* On sale badge */
li.product .onsale{position:absolute;top:8px;left:8px;z-index:2;background:var(--or)!important;color:#fff!important;font-size:.68rem!important;font-weight:700!important;padding:.2rem .55rem!important;border-radius:3px!important;text-transform:uppercase;letter-spacing:.04em;line-height:1.4!important;min-height:auto!important;min-width:auto!important;margin:0!important}

/* Card body */
li.product .woocommerce-loop-product__title{font-size:.875rem!important;font-weight:600!important;color:var(--g800)!important;padding:.75rem .875rem .2rem!important;margin:0!important;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Stars */
.sw-card-meta{padding:.2rem .875rem .5rem;display:flex;align-items:center;justify-content:space-between}
.sw-card-stars{display:flex;gap:1px}
.sw-card-sold{font-size:.72rem;color:var(--light)}

/* Price */
li.product .price{padding:.1rem .875rem .75rem!important;display:block!important;margin:0!important}
li.product .price .amount,li.product .price bdi{font-size:1rem!important;font-weight:800!important;color:var(--or)!important}
li.product .price del .amount,li.product .price del bdi{font-size:.82rem!important;font-weight:400!important;color:var(--light)!important}
li.product .price del{margin-right:.2rem}
li.product .price ins{text-decoration:none!important}

/* Add to cart */
li.product .button,
li.product .add_to_cart_button,
li.product .ajax_add_to_cart{
    display:block!important;
    width:calc(100% - 1.75rem)!important;
    margin:.25rem .875rem .875rem!important;
    padding:.55rem!important;
    background:var(--or)!important;
    border:none!important;
    color:#fff!important;
    border-radius:var(--r)!important;
    font-size:.8rem!important;
    font-weight:700!important;
    text-align:center!important;
    cursor:pointer!important;
    transition:background var(--tr)!important;
}
li.product .button:hover,li.product .add_to_cart_button:hover{background:var(--or2)!important}
li.product .added_to_cart{display:none!important}

/* Star rating */
.star-rating{overflow:hidden;position:relative;height:1em;line-height:1;font-size:13px!important;width:5.4em;font-family:star;color:var(--or)!important}
.star-rating::before{content:'\53\53\53\53\53';color:var(--g300)!important;float:left;top:0;left:0;position:absolute}
.star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}
.star-rating span::before{content:'\53\53\53\53\53';top:0;position:absolute;left:0;color:var(--or)!important}

/* Notices */
.woocommerce-message,.woocommerce-error,.woocommerce-info{background:var(--white)!important;border:1px solid var(--border)!important;border-left:4px solid var(--or)!important;border-radius:var(--r2)!important;padding:1rem 1.25rem!important;margin:0 0 1.5rem!important;color:var(--text)!important;display:flex!important;align-items:center!important;gap:1rem!important;box-shadow:none!important}
.woocommerce-error{border-left-color:var(--red)!important}
.woocommerce-message::before,.woocommerce-error::before,.woocommerce-info::before{display:none!important}
.woocommerce-message .button{background:var(--or)!important;color:#fff!important;border:none!important;border-radius:var(--r)!important;padding:.4rem 1rem!important;font-size:.8rem!important;font-weight:600!important}

/* Pagination */
.woocommerce-pagination ul{display:flex;gap:.375rem;padding:1.5rem 0 0;justify-content:center;list-style:none}
.woocommerce-pagination ul li span,.woocommerce-pagination ul li a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--border2);border-radius:var(--r);font-size:.85rem;color:var(--muted);background:var(--white);transition:all var(--tr)}
.woocommerce-pagination ul li a:hover,.woocommerce-pagination ul li span.current{background:var(--or);border-color:var(--or);color:#fff}

/* ═══ SINGLE PRODUCT ══════════════════════════════════ */
.woocommerce div.product{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:2.5rem;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--r3);
    padding:2rem;
    margin-bottom:2rem;
    align-items:start;
    float:none!important;
    width:100%!important;
}
@media(max-width:768px){.woocommerce div.product{grid-template-columns:1fr;padding:1rem;gap:1.5rem}}

/* Gallery */
.woocommerce div.product div.images{float:none!important;width:100%!important;margin:0!important;position:sticky;top:calc(var(--hdr)+1rem)}
.woocommerce-product-gallery{margin:0!important}
.woocommerce-product-gallery__wrapper{border:1px solid var(--border);border-radius:var(--r2);overflow:hidden}
.woocommerce-product-gallery__image img{width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain!important;background:var(--g50);display:block!important}
.woocommerce-product-gallery__trigger{background:var(--white)!important;border:1px solid var(--border)!important;border-radius:var(--r)!important;top:10px!important;right:10px!important;width:34px;height:34px;display:flex;align-items:center;justify-content:center}

/* Thumbnails */
.flex-control-thumbs{display:flex!important;gap:.5rem!important;margin-top:.75rem!important;padding:0!important;list-style:none!important;float:none!important;width:100%!important;overflow-x:auto!important}
.flex-control-thumbs li{flex-shrink:0!important;float:none!important;width:auto!important;margin:0!important}
.flex-control-thumbs li img{width:64px!important;height:64px!important;object-fit:cover!important;border-radius:var(--r)!important;border:2px solid var(--border)!important;cursor:pointer!important;opacity:.7!important;transition:all var(--tr)!important}
.flex-control-thumbs li img.flex-active,.flex-control-thumbs li img:hover{border-color:var(--or)!important;opacity:1!important}

/* Summary */
.woocommerce div.product div.summary{float:none!important;width:100%!important;clear:none!important}

/* Category tags */
.woocommerce div.product .posted_in{font-size:.78rem;color:var(--muted);margin-bottom:.75rem;display:block}
.woocommerce div.product .posted_in a{color:var(--or);background:var(--or-bg);padding:.15rem .5rem;border-radius:3px;font-weight:600;font-size:.75rem}

/* Title */
.woocommerce div.product h1.product_title{font-size:clamp(1.25rem,2.5vw,1.65rem)!important;font-weight:800!important;color:var(--g900)!important;line-height:1.3!important;margin-bottom:.875rem!important}

/* Rating row */
.woocommerce div.product .woocommerce-product-rating{display:flex;align-items:center;gap:.875rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border);flex-wrap:wrap}
.woocommerce div.product .woocommerce-review-link{font-size:.83rem;color:var(--muted)}
.woocommerce div.product .woocommerce-review-link:hover{color:var(--or)}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price{font-size:1.75rem!important;font-weight:800!important;color:var(--or)!important;display:block!important;margin-bottom:1.25rem!important;line-height:1.1!important}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del{font-size:.95rem!important;color:var(--light)!important;font-weight:400!important;margin-right:.5rem!important}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins{text-decoration:none!important;background:none!important}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description{float:none!important;width:100%!important;font-size:.9375rem!important;color:var(--muted)!important;line-height:1.75!important;margin-bottom:1.5rem!important;padding-bottom:1.5rem!important;border-bottom:1px solid var(--border)!important}

/* Stock */
.woocommerce div.product .stock.in-stock{color:var(--green);font-size:.83rem;font-weight:600;display:flex;align-items:center;gap:.375rem;margin-bottom:1rem}
.woocommerce div.product .stock.in-stock::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--green)}
.woocommerce div.product .stock.out-of-stock{color:var(--red);font-size:.83rem;font-weight:600;margin-bottom:1rem}

/* ═══ VARIATIONS ══════════════════════════════════════ */
table.variations{border:none!important;width:100%!important;margin-bottom:1.25rem!important}
table.variations tr{display:block;margin-bottom:1.1rem}
table.variations td,table.variations th{display:block!important;padding:0!important;border:none!important;background:none!important;text-align:left!important;width:100%!important}
table.variations th{margin-bottom:.5rem!important}
table.variations label{font-size:.78rem!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:var(--g600)!important;display:block!important}
table.variations td select{width:100%!important;background:var(--white)!important;border:1.5px solid var(--border2)!important;border-radius:var(--r)!important;padding:.65rem 2.5rem .65rem .875rem!important;font-size:.9375rem!important;color:var(--text)!important;appearance:none!important;cursor:pointer!important;outline:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right .875rem center!important;transition:border-color var(--tr)!important}
table.variations td select:focus{border-color:var(--or)!important}

/* Swatches */
.sw-swatches{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.375rem}
.sw-swatch{cursor:pointer;border-radius:var(--r);transition:all var(--tr);user-select:none;position:relative}
.sw-swatch input[type=radio]{position:absolute;opacity:0;width:0;height:0}
.sw-swatch--color .sw-swatch-inner{width:32px;height:32px;border-radius:50%;border:3px solid #fff;outline:2px solid var(--border2);outline-offset:1px;transition:outline-color var(--tr);display:block}
.sw-swatch--color:hover .sw-swatch-inner,.sw-swatch--color.is-selected .sw-swatch-inner{outline-color:var(--or)}
.sw-swatch--color.is-disabled{opacity:.35;cursor:not-allowed}
.sw-swatch--text .sw-swatch-inner{display:flex;align-items:center;justify-content:center;min-width:44px;height:36px;padding:0 .875rem;border:1.5px solid var(--border2);border-radius:var(--r);font-size:.83rem;font-weight:600;color:var(--muted);background:var(--white);transition:all var(--tr)}
.sw-swatch--text:hover .sw-swatch-inner{border-color:var(--or);color:var(--or);background:var(--or-bg)}
.sw-swatch--text.is-selected .sw-swatch-inner{border-color:var(--or);background:var(--or);color:#fff}
.sw-swatch--text.is-disabled .sw-swatch-inner{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.sw-swatch--image .sw-swatch-inner{width:48px;height:48px;border-radius:var(--r);overflow:hidden;border:2px solid var(--border);transition:border-color var(--tr);display:block}
.sw-swatch--image .sw-swatch-inner img{width:100%;height:100%;object-fit:cover;display:block}
.sw-swatch--image:hover .sw-swatch-inner,.sw-swatch--image.is-selected .sw-swatch-inner{border-color:var(--or)}
.sw-swatch[title]{position:relative}
.sw-swatch[title]::after{content:attr(title);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%) scale(.9);background:var(--g900);color:#fff;font-size:.7rem;padding:.2rem .5rem;border-radius:4px;white-space:nowrap;opacity:0;pointer-events:none;transition:all var(--tr);z-index:20}
.sw-swatch:hover[title]::after{opacity:1;transform:translateX(-50%) scale(1)}

.reset_variations{font-size:.78rem;color:var(--light);display:inline-flex;align-items:center;gap:.25rem;margin-top:.25rem;transition:color var(--tr)}
.reset_variations:hover{color:var(--red)}

/* ═══ QUANTITY + ADD TO CART ══════════════════════════ */
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin:1.5rem 0 1rem!important}

/* Quantity */
.woocommerce div.product form.cart .quantity{display:flex;align-items:center;border:1.5px solid var(--border2);border-radius:var(--r);overflow:hidden;background:var(--white)}
.woocommerce div.product form.cart .quantity .qty{width:52px!important;border:none!important;border-left:1.5px solid var(--border2)!important;border-right:1.5px solid var(--border2)!important;text-align:center!important;font-size:1rem!important;font-weight:700!important;padding:.65rem .25rem!important;color:var(--text)!important;background:transparent!important;outline:none!important;-moz-appearance:textfield!important}
.sw-qty-btn{width:38px;height:40px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:300;color:var(--muted);background:var(--g50);border:none;cursor:pointer;transition:all var(--tr);user-select:none;line-height:1}
.sw-qty-btn:hover{background:var(--or-bg);color:var(--or)}

/* Add to cart */
.single_add_to_cart_button{background:var(--or)!important;color:#fff!important;border:none!important;border-radius:var(--r)!important;padding:.8rem 2rem!important;font-size:.9rem!important;font-weight:700!important;font-family:var(--font)!important;cursor:pointer!important;transition:all var(--tr)!important;text-transform:none!important;letter-spacing:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.5rem!important;flex:1!important}
.single_add_to_cart_button:hover{background:var(--or2)!important;transform:translateY(-1px)!important;box-shadow:var(--sh-or)!important}
.single_add_to_cart_button.loading{opacity:.7!important}

/* Buy now */
.sw-buy-now-btn{background:#fff!important;color:var(--or)!important;border:2px solid var(--or)!important;border-radius:var(--r)!important;padding:.8rem 1.5rem!important;font-size:.9rem!important;font-weight:700!important;font-family:var(--font)!important;cursor:pointer!important;transition:all var(--tr)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:1!important;white-space:nowrap!important}
.sw-buy-now-btn:hover{background:var(--or-bg)!important;border-color:var(--or2)!important}

/* General buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit{background:var(--or)!important;color:#fff!important;border:none!important;border-radius:var(--r)!important;padding:.65rem 1.5rem!important;font-size:.875rem!important;font-weight:700!important;font-family:var(--font)!important;cursor:pointer!important;transition:all var(--tr)!important;text-transform:none!important;letter-spacing:0!important}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--or2)!important}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--or2)!important}

/* Product trust */
.sw-product-trust{display:flex;flex-wrap:wrap;gap:.875rem 1.5rem;margin-bottom:1rem;padding:1rem;background:var(--g50);border-radius:var(--r2);border:1px solid var(--border)}
.sw-pt-item{display:flex;align-items:center;gap:.4rem;font-size:.78rem;font-weight:600;color:var(--muted)}
.sw-pt-item svg{flex-shrink:0}

.sw-payment-icons{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:1.25rem}
.sw-payment-label{font-size:.78rem;color:var(--light);font-weight:500}
.sw-pay-tag{background:var(--g200);color:var(--g700);font-size:.7rem;font-weight:700;padding:.2rem .5rem;border-radius:3px}

/* Meta */
.woocommerce div.product .product_meta{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border);font-size:.8rem;color:var(--muted)}
.woocommerce div.product .product_meta a{color:var(--muted)}
.woocommerce div.product .product_meta a:hover{color:var(--or)}

/* ═══ TABS + RELATED (span full grid) ════════════════ */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells{grid-column:1/-1;float:none!important;width:100%!important;clear:both}

/* Tabs */
.woocommerce-tabs ul.tabs{display:flex!important;border-bottom:2px solid var(--border)!important;padding:0!important;margin:0 0 1.5rem!important;list-style:none!important;overflow-x:auto!important}
.woocommerce-tabs ul.tabs::before{display:none!important}
.woocommerce-tabs ul.tabs li{background:transparent!important;border:none!important;border-radius:0!important;padding:0!important;margin:0!important}
.woocommerce-tabs ul.tabs li::before,.woocommerce-tabs ul.tabs li::after{display:none!important}
.woocommerce-tabs ul.tabs li a{display:block!important;padding:.75rem 1.5rem!important;font-size:.875rem!important;font-weight:600!important;color:var(--muted)!important;border-bottom:2px solid transparent!important;margin-bottom:-2px!important;white-space:nowrap!important;transition:all var(--tr)!important}
.woocommerce-tabs ul.tabs li.active a,.woocommerce-tabs ul.tabs li a:hover{color:var(--or)!important;border-bottom-color:var(--or)!important}
.woocommerce-tabs .panel{background:var(--white)!important;border:1px solid var(--border)!important;border-radius:var(--r2)!important;padding:1.75rem!important;color:var(--muted)!important;line-height:1.8!important}
.woocommerce-tabs .panel h2{display:none!important}
.woocommerce-tabs .panel p{color:var(--muted)!important;margin-bottom:.875rem!important}

/* ═══ REVIEWS ═════════════════════════════════════════ */
#reviews{padding:0!important}
.woocommerce-Reviews-title,.comment-reply-title{font-size:1.1rem!important;font-weight:800!important;color:var(--g900)!important;margin-bottom:1.25rem!important}
#comments .commentlist{list-style:none!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important;gap:.875rem!important}
#comments .commentlist .comment_container{display:flex;gap:1rem;background:var(--g50);border:1px solid var(--border);border-radius:var(--r2);padding:1.25rem}
#comments .commentlist .comment_container:hover{border-color:rgba(238,77,45,.25)}
#comments .commentlist img.avatar{width:44px;height:44px;border-radius:50%;flex-shrink:0;object-fit:cover;border:2px solid var(--border)}
.sw-review-photos{display:flex;gap:.5rem;margin-top:.75rem;flex-wrap:wrap}
.sw-review-photo{width:72px;height:72px;border-radius:var(--r);overflow:hidden;border:1px solid var(--border);cursor:pointer;transition:border-color var(--tr)}
.sw-review-photo:hover{border-color:var(--or)}
.sw-review-photo img{width:100%;height:100%;object-fit:cover}
#comments .commentlist .comment-text{flex:1}
#comments .commentlist .meta{display:flex;align-items:center;flex-wrap:wrap;gap:.625rem;margin-bottom:.625rem}
#comments .commentlist .woocommerce-review__author{font-weight:700;color:var(--g800);font-size:.9rem}
#comments .commentlist .woocommerce-review__published-date{font-size:.75rem;color:var(--light)}
#comments .commentlist .verified{font-size:.72rem;background:#eafaf1;color:var(--green);padding:.1rem .4rem;border-radius:3px;font-weight:600}
#comments .commentlist p{font-size:.9rem;color:var(--muted);line-height:1.7}

/* Review form */
#review_form_wrapper{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border)}
#review_form label{display:block;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--g600);margin-bottom:.375rem}
#review_form input[type=text],#review_form input[type=email],#review_form textarea{width:100%;border:1.5px solid var(--border2);border-radius:var(--r);padding:.65rem .875rem;font-size:.9375rem;font-family:var(--font);outline:none;color:var(--text);background:var(--white);transition:border-color var(--tr)}
#review_form input:focus,#review_form textarea:focus{border-color:var(--or);box-shadow:0 0 0 3px rgba(238,77,45,.1)}
#review_form textarea{min-height:100px;resize:vertical}
#review_form p{margin-bottom:1rem}
#review_form .stars a{color:var(--or);font-size:1.25rem}
/* Photo upload area */
.sw-review-upload{margin-top:.75rem}
.sw-review-upload label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--g600);display:block;margin-bottom:.375rem}
.sw-upload-area{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.sw-upload-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem 1rem;border:1.5px dashed var(--border2);border-radius:var(--r);font-size:.83rem;color:var(--muted);cursor:pointer;transition:all var(--tr);background:var(--g50)}
.sw-upload-btn:hover{border-color:var(--or);color:var(--or);background:var(--or-bg)}
.sw-photo-previews{display:flex;gap:.375rem;flex-wrap:wrap}
.sw-photo-thumb{position:relative;width:56px;height:56px;border-radius:var(--r);overflow:hidden;border:1px solid var(--border)}
.sw-photo-thumb img{width:100%;height:100%;object-fit:cover}
.sw-photo-thumb .sw-rm-photo{position:absolute;top:2px;right:2px;width:16px;height:16px;background:rgba(0,0,0,.6);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.65rem;cursor:pointer}

/* Related */
.related.products,.upsells.products{padding-top:2rem!important;border-top:1px solid var(--border)!important;margin-top:0!important}
.related.products>h2,.upsells.products>h2{font-size:1.1rem!important;font-weight:800!important;color:var(--g900)!important;margin-bottom:1.25rem!important;padding-bottom:.5rem!important;border-bottom:2px solid var(--or)!important}
.related ul.products{grid-template-columns:repeat(4,1fr)!important}
@media(max-width:768px){.related ul.products{grid-template-columns:repeat(2,1fr)!important}}

/* ═══ CART PAGE ═══════════════════════════════════════ */
.sw-cart-page .woocommerce{background:var(--white);border-radius:var(--r3);border:1px solid var(--border);padding:2rem}
.woocommerce-cart table.shop_table{width:100%;border-collapse:collapse;margin-bottom:2rem}
.woocommerce-cart table.shop_table th{background:var(--g50);padding:.875rem 1rem;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--g600);border-bottom:2px solid var(--border);text-align:left}
.woocommerce-cart table.shop_table td{padding:1rem;border-bottom:1px solid var(--border);vertical-align:middle}
.woocommerce-cart .product-thumbnail img{width:80px;border-radius:var(--r);border:1px solid var(--border)}
.woocommerce-cart .product-name a{color:var(--text);font-weight:600}
.woocommerce-cart .product-name a:hover{color:var(--or)}
.woocommerce-cart .product-price,.woocommerce-cart .product-subtotal{font-weight:700;color:var(--or)}
.woocommerce-cart .product-remove a{color:var(--red)!important;font-size:1.2rem}

/* ═══ CHECKOUT ════════════════════════════════════════ */
.sw-checkout-wrap .woocommerce{display:grid;grid-template-columns:1fr 380px;gap:2rem;align-items:start}
@media(max-width:900px){.sw-checkout-wrap .woocommerce{grid-template-columns:1fr}}
.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3,#order_review_heading{font-size:1rem;font-weight:800;margin-bottom:1.25rem;padding-bottom:.625rem;border-bottom:2px solid var(--or)}
.woocommerce form .form-row{margin-bottom:1rem}
.woocommerce form .form-row label{display:block;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--g600);margin-bottom:.35rem}
.woocommerce form .form-row input[type=text],.woocommerce form .form-row input[type=email],.woocommerce form .form-row input[type=tel],.woocommerce form .form-row input[type=password],.woocommerce form .form-row select,.woocommerce form .form-row textarea{background:var(--white)!important;border:1.5px solid var(--border2)!important;color:var(--text)!important;border-radius:var(--r)!important;padding:.7rem .875rem!important;font-family:var(--font)!important;font-size:.9375rem!important;outline:none!important;width:100%!important;transition:border-color var(--tr)!important}
.woocommerce form .form-row input:focus,.woocommerce form .form-row select:focus,.woocommerce form .form-row textarea:focus{border-color:var(--or)!important;box-shadow:0 0 0 3px rgba(238,77,45,.1)!important}

#order_review{background:var(--g50);border:1px solid var(--border);border-radius:var(--r2);padding:1.5rem}
#order_review .shop_table{width:100%;border-collapse:collapse;margin-bottom:1rem}
#order_review .shop_table td,#order_review .shop_table th{padding:.6rem .5rem;border-bottom:1px solid var(--border);font-size:.9rem}
#order_review .order-total td,#order_review .order-total th{font-weight:800;color:var(--or);font-size:1.1rem;border:none}

.woocommerce-checkout #payment{background:var(--white)!important;border:1px solid var(--border)!important;border-radius:var(--r2)!important;overflow:hidden;margin-top:1.5rem}
.woocommerce-checkout #payment ul.payment_methods{padding:1.25rem!important;border-bottom:1px solid var(--border)!important;list-style:none!important}
.woocommerce-checkout #payment ul.payment_methods li label{color:var(--text)!important}
.woocommerce-checkout #payment .place-order{padding:1.25rem!important}
.woocommerce-checkout #payment .place-order .button{width:100%!important;flex:none!important;font-size:1rem!important;padding:1rem!important}

/* ═══ MY ACCOUNT ══════════════════════════════════════ */
.woocommerce-account .woocommerce{display:flex;gap:2rem;align-items:flex-start}
@media(max-width:768px){.woocommerce-account .woocommerce{flex-direction:column}}
.woocommerce-account .woocommerce-MyAccount-navigation{width:220px;flex-shrink:0;background:var(--white);border:1px solid var(--border);border-radius:var(--r2);padding:.75rem}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none!important}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:.65rem 1rem;border-radius:var(--r);font-size:.875rem;font-weight:500;color:var(--muted);transition:all var(--tr)}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--or-bg);color:var(--or)}
.woocommerce-account .woocommerce-MyAccount-content{flex:1;min-width:0}

/* ── V5.1 ARCHIVE LAYOUT ── */
.sw-arch{width:100%}
.sw-arch-lay{display:grid;grid-template-columns:240px 1fr;gap:1.5rem;padding-top:1rem;align-items:start}
@media(max-width:900px){.sw-arch-lay{grid-template-columns:1fr}}
.sw-sidebar{position:sticky;top:90px}
@media(max-width:900px){.sw-sidebar{display:none}}
.sw-sw-box{background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:1.25rem;margin-bottom:1rem}
.sw-sw-ttl{font-size:.875rem;font-weight:700;color:#424242;margin-bottom:1rem;padding-bottom:.625rem;border-bottom:2px solid #ee4d2d}
.sw-fc{display:flex;flex-direction:column;gap:.1rem}
.sw-fc>li>a{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;border-radius:6px;font-size:.83rem;color:#333;transition:all .2s}
.sw-fc>li.sw-fca>a,.sw-fc>li>a:hover{background:#fff4f1;color:#ee4d2d}
.sw-fc>li>a span{font-size:.73rem;background:#eee;color:#757575;padding:.1rem .45rem;border-radius:20px;font-weight:600}
.sw-fc>li.sw-fca>a span{background:#ee4d2d;color:#fff}
.sw-fcsub{padding-left:.875rem}
.sw-fcsub li a{display:flex;align-items:center;justify-content:space-between;padding:.4rem .75rem;border-radius:6px;font-size:.8rem;color:#666;transition:all .2s}
.sw-fcsub li.sw-fca a,.sw-fcsub li a:hover{color:#ee4d2d}
.sw-shop-head{background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:1rem 1.25rem;margin-bottom:1rem}
.sw-shop-title{font-size:1.3rem;font-weight:800;color:#212121;margin-bottom:.5rem}
.sw-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e8e8e8}

/* ═══════════════════════════════════════════════
   V5.2 — PATCHES: preço, avaliações, breadcrumb
   ═══════════════════════════════════════════════ */

/* Garante que o preço SEMPRE apareça visível */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: var(--or, #ee4d2d) !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.1 !important;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    font-size: .95rem !important;
    color: var(--light, #aaa) !important;
    font-weight: 400 !important;
    margin-right: .5rem !important;
    opacity: .85;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none !important;
    background: none !important;
}

/* Avaliações — garante visibilidade e layout */
.woocommerce div.product .woocommerce-product-rating {
    display: flex !important;
    align-items: center !important;
    gap: .875rem !important;
    margin-bottom: .75rem !important;
    padding-bottom: .875rem !important;
    border-bottom: 1px solid var(--border, #e8e8e8) !important;
    flex-wrap: wrap !important;
}
.woocommerce div.product .woocommerce-product-rating .star-rating {
    display: block !important;
}
.star-rating {
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
}

/* Breadcrumb — corrige herança de margem negativa */
.sw-single-pg .woocommerce-breadcrumb.sw-bc {
    margin-bottom: .75rem !important;
}

/* Reviews form — upload de foto para todos */
#review_form .sw-rv-upload { margin-top: .5rem; }

/* ═══════════════════════════════════════════════════
   v5.2 — Single product mais premium
════════════════════════════════════════════════════ */
.woocommerce div.product{box-shadow:0 18px 60px rgba(24,24,24,.075);border-color:#f0e7e3!important}.woocommerce div.product div.images{z-index:4}.woocommerce-product-gallery__wrapper{border-radius:18px!important;border-color:#efe4df!important;box-shadow:0 14px 45px rgba(20,20,20,.06)}.woocommerce div.product h1.product_title{letter-spacing:-.02em!important}.woocommerce div.product .posted_in a{font-weight:800!important}.woocommerce div.product .woocommerce-product-details__short-description{background:#fffaf8;border:1px solid #ffe5de!important;border-radius:16px;padding:1rem!important;margin-bottom:1.1rem!important}.single_add_to_cart_button{min-height:48px!important;border-radius:14px!important;box-shadow:0 10px 28px rgba(238,77,45,.2)!important}.sw-buy-now,.sw-buy-now-btn{min-height:48px!important;border-radius:14px!important}.woocommerce div.product form.cart{background:#fff;border:1px solid #f1ebe8;border-radius:18px;padding:1rem;margin-top:1rem!important}.woocommerce div.product.product-type-variable form.cart{align-items:stretch}.woocommerce div.product.product-type-variable form.cart .variations_button{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;width:100%}.woocommerce div.product.product-type-variable form.cart .single_variation_wrap{width:100%}.flex-control-thumbs{padding-bottom:.15rem!important}.flex-control-thumbs li img{border-radius:12px!important;box-shadow:0 6px 14px rgba(0,0,0,.04)}
@media(max-width:768px){.woocommerce div.product form.cart{padding:.8rem}.woocommerce div.product div.images{position:relative;top:auto}.woocommerce-product-gallery__wrapper{border-radius:14px!important}}


/* ═══════════════════════════════════════════════════
   v5.2.1 — CTA hierarchy + sticky buy box + spacing
   ═══════════════════════════════════════════════════ */

/* Desktop two-column layout with sticky summary and left-column description */
@media (min-width: 992px) {
  .woocommerce div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr) !important;
    gap: 1.75rem 2rem !important;
    align-items: start !important;
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
  }
  .woocommerce div.product div.images { grid-column: 1; grid-row: 1; }
  .woocommerce div.product div.summary {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 92px;
    align-self: start;
  }
  .woocommerce div.product .woocommerce-tabs {
    grid-column: 1 !important;
    grid-row: 2;
    margin-top: .2rem !important;
  }
  .woocommerce div.product .related,
  .woocommerce div.product .upsells {
    grid-column: 1 / -1 !important;
    grid-row: 3;
  }
}

/* Improve spacing hierarchy in the purchase area */
.woocommerce div.product .summary .product_title {
  margin-bottom: .5rem !important;
  line-height: 1.15 !important;
}
.woocommerce div.product .summary .woocommerce-product-rating {
  margin-bottom: .55rem !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}
.woocommerce div.product .summary .price,
.woocommerce div.product .summary p.price,
.woocommerce div.product .summary span.price {
  margin-bottom: .4rem !important;
}
.woocommerce div.product .summary .product_meta {
  margin-top: 1.15rem !important;
  padding-top: 1rem !important;
}
.woocommerce div.product form.cart {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}
.sw-trust-prod {
  margin-top: .95rem !important;
  margin-bottom: 1.1rem !important;
}

/* Stronger and more authoritative CTAs */
.sw-buy-now,
#sw-buy-now,
.sw-buy-now-btn {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  min-height: 56px !important;
  border-radius: 16px !important;
  border: 0 !important;
  background: linear-gradient(180deg, #27d469 0%, #16a34a 100%) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-shadow: 0 16px 34px rgba(22, 163, 74, .24), inset 0 1px 0 rgba(255,255,255,.22) !important;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease !important;
}
.sw-buy-now::before,
#sw-buy-now::before,
.sw-buy-now-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -45%;
  width: 38%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.08) 28%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.08) 72%, transparent 100%);
  transform: skewX(-24deg);
  animation: swBuyShine 2.9s ease-in-out infinite;
  z-index: -1;
}
.sw-buy-now:hover,
#sw-buy-now:hover,
.sw-buy-now-btn:hover {
  transform: translateY(-1px) !important;
  filter: saturate(1.05) !important;
  box-shadow: 0 18px 38px rgba(22, 163, 74, .3), inset 0 1px 0 rgba(255,255,255,.26) !important;
}
.single_add_to_cart_button {
  min-height: 54px !important;
  border-radius: 16px !important;
  width: 100% !important;
}
@keyframes swBuyShine {
  0%, 10% { left: -45%; }
  55%, 100% { left: 125%; }
}

/* Put COMPRAR AGORA above ADICIONAR AO CARRINHO */
.woocommerce div.product form.cart {
  gap: .85rem !important;
}
@media (min-width: 769px) {
  .woocommerce div.product form.cart:not(.grouped_form) {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    align-items: stretch !important;
  }
  .woocommerce div.product form.cart:not(.grouped_form) > .quantity {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: stretch;
    min-height: 56px;
  }
  .woocommerce div.product form.cart:not(.grouped_form) > .sw-buy-now,
  .woocommerce div.product form.cart:not(.grouped_form) > #sw-buy-now {
    grid-column: 2;
    grid-row: 1;
  }
  .woocommerce div.product form.cart:not(.grouped_form) > .single_add_to_cart_button {
    grid-column: 2;
    grid-row: 2;
  }

  .woocommerce div.product.product-type-variable form.cart .variations_button {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: .85rem !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .woocommerce div.product.product-type-variable form.cart .variations_button > .quantity {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 56px;
  }
  .woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now {
    grid-column: 2;
    grid-row: 1;
  }
  .woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button {
    grid-column: 2;
    grid-row: 2;
  }
}
@media (max-width: 768px) {
  .woocommerce div.product form.cart:not(.grouped_form) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .woocommerce div.product form.cart:not(.grouped_form) > .quantity {
    order: 1;
    align-self: flex-start;
  }
  .woocommerce div.product form.cart:not(.grouped_form) > .sw-buy-now,
  .woocommerce div.product form.cart:not(.grouped_form) > #sw-buy-now {
    order: 2;
  }
  .woocommerce div.product form.cart:not(.grouped_form) > .single_add_to_cart_button {
    order: 3;
  }

  .woocommerce div.product.product-type-variable form.cart .variations_button {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .75rem !important;
  }
  .woocommerce div.product.product-type-variable form.cart .variations_button > .quantity {
    order: 1;
    align-self: flex-start;
  }
  .woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now {
    order: 2;
  }
  .woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button {
    order: 3;
  }
}


/* ═══════════════════════════════════════════════════
   v5.2.2 — breadcrumb, offer bubble, mobile buy bar
   ═══════════════════════════════════════════════════ */

/* Better breadcrumb spacing */
.sw-single-pg .woocommerce-breadcrumb,
.sw-single-pg .sw-bc {
  padding: 1rem 0 1.35rem !important;
  margin-bottom: .15rem !important;
}
@media (max-width: 768px) {
  .sw-single-pg .woocommerce-breadcrumb,
  .sw-single-pg .sw-bc { display:none !important; }
}

/* Sticky summary respects actual header height */
@media (min-width: 992px) {
  .woocommerce div.product div.summary {
    top: calc(var(--sw-header-h, 118px) + 12px) !important;
  }
}

/* Product gallery / cover refinement */
.woocommerce div.product div.images,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery__wrapper,
.woocommerce div.product .flex-viewport {
  border-radius: 24px !important;
  overflow: hidden !important;
}
.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce div.product .woocommerce-product-gallery__wrapper img {
  border-radius: 24px !important;
}

/* Premium offer bubble */
.woocommerce span.onsale,
li.product .onsale {
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: .6rem .82rem !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #b0b312 0%, #8d9400 100%) !important;
  color: #fff !important;
  font-size: .8rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -.01em !important;
  box-shadow: 0 12px 22px rgba(113, 121, 0, .24) !important;
  border: 2px solid rgba(255,255,255,.88) !important;
}
.woocommerce div.product span.onsale {
  position: absolute !important;
  z-index: 7 !important;
}

/* Reviews premium section */
#reviews {
  background: linear-gradient(180deg, #fff 0%, #fffaf8 100%) !important;
  border: 1px solid #f0e5e1 !important;
  border-radius: 22px !important;
  padding: 1.25rem !important;
}
#reviews #comments {
  margin-bottom: 1.5rem;
}
#reviews #comments h2,
.woocommerce-Reviews-title {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
  color: #1d1d1d !important;
}
#comments .commentlist .review,
#comments .commentlist li {
  list-style: none !important;
}
#comments .commentlist .comment_container {
  background: #fff !important;
  border: 1px solid #f0e6e1 !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(22,22,22,.05) !important;
  padding: 1.1rem !important;
}
#comments .commentlist .comment-text {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
#comments .commentlist .description p {
  font-size: .94rem !important;
  color: #505050 !important;
  line-height: 1.75 !important;
}
#review_form_wrapper {
  margin-top: 1.75rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid #f0e5e1 !important;
}
#review_form {
  background: #fff !important;
  border: 1px solid #f1e8e5 !important;
  border-radius: 18px !important;
  padding: 1.1rem !important;
}
#review_form #respond p.stars a {
  font-size: 1.35rem !important;
}
.swe-review-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: .65rem;
  margin-top: .9rem;
}
.swe-review-media__item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ece4df;
  background: #fff;
  aspect-ratio: 1;
  display: block;
  box-shadow: 0 10px 24px rgba(15,15,15,.05);
}
.swe-review-media__item img,
.swe-review-media__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.swe-review-media__item.is-video {
  aspect-ratio: 1 / 1;
}
.woocommerce .woocommerce-pagination,
#reviews .comment-pagination {
  margin-top: 1.15rem;
}
.woocommerce .woocommerce-pagination ul.page-numbers,
#reviews .page-numbers {
  display: flex !important;
  gap: .5rem !important;
  flex-wrap: wrap !important;
  border: 0 !important;
}
.woocommerce .woocommerce-pagination .page-numbers li,
#reviews .page-numbers li {
  border: 0 !important;
}
.woocommerce .woocommerce-pagination a,
.woocommerce .woocommerce-pagination span,
#reviews .page-numbers a,
#reviews .page-numbers span {
  min-width: 38px;
  height: 38px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #f0dfd8;
  background: #fff;
  color: #4d4d4d;
  font-weight: 800;
}
.woocommerce .woocommerce-pagination .current,
#reviews .page-numbers .current {
  background: var(--or) !important;
  color: #fff !important;
  border-color: var(--or) !important;
}

/* Mobile sticky buy bar */
.sw-mobile-buybar { display:none; }
@media (max-width: 768px) {
  body.single-product {
    padding-bottom: 104px;
  }
  .sw-mobile-buybar {
    display:block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 980;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid #efe1da;
    box-shadow: 0 -14px 30px rgba(18,18,18,.08);
    padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom));
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease;
  }
  .sw-mobile-buybar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .sw-mobile-buybar__meta {
    font-size: .77rem;
    color: #4f4f4f;
    font-weight: 700;
    margin-bottom: .5rem;
    text-align: center;
  }
  .sw-mobile-buybar__button {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, #27d469 0%, #16a34a 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -.01em;
    box-shadow: 0 14px 28px rgba(22,163,74,.22);
  }
}


/* ═══════════════════════════════════════════════════
   v5.2.3 — orange breathing offer + trusted mobile CTA
   ═══════════════════════════════════════════════════ */
.woocommerce span.onsale,
li.product .onsale {
  background: linear-gradient(135deg, #ff8a00 0%, #ff5a1f 45%, #ee3f1b 100%) !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.95) !important;
  box-shadow: 0 12px 24px rgba(238,77,45,.32), 0 0 0 0 rgba(238,77,45,.34) !important;
  animation: swOfferBreath 2.25s ease-in-out infinite !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.12) !important;
}
@keyframes swOfferBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 24px rgba(238,77,45,.28), 0 0 0 0 rgba(238,77,45,.30); }
  50% { transform: scale(1.045); box-shadow: 0 16px 32px rgba(238,77,45,.36), 0 0 0 8px rgba(238,77,45,0); }
}

@media (max-width: 768px) {
  body.single-product { padding-bottom: 130px; }
  .sw-mobile-buybar {
    background: transparent !important;
    border-top: 0 !important;
    box-shadow: none !important;
    padding: .5rem .7rem calc(.62rem + env(safe-area-inset-bottom)) !important;
  }
  .sw-mobile-buybar__card {
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(22,163,74,.16);
    border-radius: 22px;
    padding: .78rem;
    box-shadow: 0 -10px 34px rgba(10, 40, 22, .15), 0 12px 30px rgba(22,163,74,.09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .sw-mobile-buybar__head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.55rem;
    margin-bottom:.62rem;
  }
  .sw-mobile-buybar__seal {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    background:#ecfdf3;
    color:#087a3a;
    border:1px solid #bbf0cd;
    border-radius:999px;
    padding:.32rem .55rem;
    font-size:.72rem;
    font-weight:900;
  }
  .sw-mobile-buybar__meta {
    font-size:.74rem !important;
    color:#3f3f46 !important;
    font-weight:800 !important;
    margin:0 !important;
    text-align:right !important;
    line-height:1.3;
  }
  .sw-mobile-buybar__button {
    position:relative;
    overflow:hidden;
    width:100%;
    min-height:54px;
    border-radius:17px;
    background:linear-gradient(180deg,#28d96f 0%,#14a84b 100%)!important;
    color:#fff;
    font-size:1.02rem;
    font-weight:950;
    letter-spacing:-.01em;
    box-shadow:0 16px 28px rgba(22,163,74,.28), inset 0 1px 0 rgba(255,255,255,.24);
  }
  .sw-mobile-buybar__button:before {
    content:'';
    position:absolute;
    inset:0 auto 0 -45%;
    width:38%;
    background:linear-gradient(110deg,transparent,rgba(255,255,255,.58),transparent);
    transform:skewX(-24deg);
    animation:swBuyShine 2.8s ease-in-out infinite;
  }
  .sw-mobile-buybar__button span { position:relative; z-index:1; }
  .sw-mobile-buybar__button span:before {
    content:'🔒';
    margin-right:.4rem;
    font-size:.95rem;
  }
  .sw-mobile-buybar__trust {
    margin-top:.45rem;
    font-size:.7rem;
    line-height:1.25;
    color:#6b7280;
    text-align:center;
    font-weight:700;
  }
}
@media (max-width: 390px) {
  .sw-mobile-buybar__head { align-items:flex-start; flex-direction:column; gap:.4rem; }
  .sw-mobile-buybar__meta { text-align:left !important; }
}


/* ═══════════════════════════════════════════════════
   v5.2.4 — mobile full-width product content + stronger sticky CTA
   ═══════════════════════════════════════════════════ */
.woocommerce span.onsale,
li.product .onsale {
  background: linear-gradient(135deg, #ff9d18 0%, #ff6a00 46%, #ee4d2d 100%) !important;
  color:#fff!important;
  border:2px solid rgba(255,255,255,.96)!important;
  box-shadow:0 14px 26px rgba(238,77,45,.34), 0 0 0 0 rgba(238,77,45,.34)!important;
  animation:swOfferBreath 2.1s ease-in-out infinite!important;
}

@media(max-width:768px){
  .sw-single-pg{padding-top:0!important}
  .sw-single-pg .sw-container{max-width:100%!important;width:100%!important;padding-left:5px!important;padding-right:5px!important}
  .sw-single-pg .sw-wc-wrap{margin-left:0!important;margin-right:0!important;width:100%!important}
  .sw-single-pg .woocommerce div.product{padding:.45rem!important;border-radius:16px!important;gap:1rem!important;margin-bottom:1rem!important}
  .sw-single-pg .woocommerce div.product div.images{margin:0!important;width:100%!important}
  .sw-single-pg .woocommerce-product-gallery,
  .sw-single-pg .woocommerce-product-gallery__wrapper,
  .sw-single-pg .woocommerce div.product .flex-viewport{border-radius:18px!important;width:100%!important}
  .sw-single-pg .woocommerce div.product .summary{padding:.85rem!important;margin:0 .1rem!important;border-radius:16px!important}
  .sw-single-pg .woocommerce div.product .woocommerce-tabs{margin-top:.65rem!important;padding:0!important;width:100%!important}
  .sw-single-pg .woocommerce-tabs ul.tabs{margin-bottom:.55rem!important;padding-left:.25rem!important;padding-right:.25rem!important}
  .sw-single-pg .woocommerce-tabs .panel{padding:.42rem!important;border-radius:16px!important;width:100%!important;overflow:hidden!important}
  .sw-single-pg #tab-description{font-size:.98rem!important;line-height:1.7!important}
  .sw-single-pg #tab-description p{margin-bottom:.85rem!important}
  .sw-single-pg #tab-description img,
  .sw-single-pg .woocommerce-tabs .panel img{width:100%!important;max-width:100%!important;height:auto!important;border-radius:14px!important;margin-left:0!important;margin-right:0!important;object-fit:contain!important}
}

@media(max-width:768px){
  body.single-product{padding-bottom:138px!important}
  .sw-mobile-buybar{padding:.52rem .62rem calc(.62rem + env(safe-area-inset-bottom))!important}
  .sw-mobile-buybar__card{
    border:1px solid rgba(16,185,129,.22)!important;
    border-radius:24px!important;
    padding:.82rem!important;
    background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(245,255,250,.98))!important;
    box-shadow:0 -12px 34px rgba(10,45,24,.16),0 8px 24px rgba(22,163,74,.10)!important;
  }
  .sw-mobile-buybar__head{margin-bottom:.66rem!important}
  .sw-mobile-buybar__seal{background:#dcfce7!important;color:#057a36!important;border-color:#8ee6ae!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important}
  .sw-mobile-buybar__meta{color:#1f2937!important;font-size:.75rem!important;font-weight:900!important}
  .sw-mobile-buybar__button{
    min-height:58px!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#35df78 0%,#16a34a 100%)!important;
    box-shadow:0 17px 30px rgba(22,163,74,.30), inset 0 1px 0 rgba(255,255,255,.25)!important;
    border:1px solid rgba(255,255,255,.30)!important;
  }
  .sw-mobile-buybar__trust{color:#4b5563!important;font-weight:800!important;font-size:.71rem!important;margin-top:.5rem!important}
}

/* ═══════════════════════════════════════════════════
   v5.2.5 — single product polish + premium product cards
   ═══════════════════════════════════════════════════ */

/* Tabs like orange tags */
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce div.product .wc-tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:.65rem!important;
  padding:0!important;
  margin:0 0 1rem!important;
  border:0!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs:before,
.woocommerce div.product .woocommerce-tabs ul.tabs:after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:.68rem 1.05rem!important;
  border-radius:999px!important;
  background:#fff3ee!important;
  border:1px solid #f6c9bc!important;
  color:var(--or)!important;
  font-size:.92rem!important;
  font-weight:800!important;
  line-height:1!important;
  box-shadow:0 10px 20px rgba(238,77,45,.06);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a{
  background:linear-gradient(180deg,#ff7a44 0%, #ee4d2d 100%)!important;
  color:#fff!important;
  border-color:#ee4d2d!important;
  box-shadow:0 14px 26px rgba(238,77,45,.16);
}

/* Description / reviews panel */
.woocommerce div.product .woocommerce-tabs .panel{
  background:linear-gradient(180deg,#fff 0%, #fff9f6 100%)!important;
  border:1px solid #f2ddd6!important;
  border-radius:24px!important;
  padding:1.35rem!important;
  box-shadow:0 16px 44px rgba(32,22,18,.05);
}
.woocommerce div.product .woocommerce-tabs .panel > *:last-child{margin-bottom:0!important}
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel li{
  font-size:1rem;
  line-height:1.85;
  color:#4a4a4a;
}
.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product .woocommerce-tabs .panel h3{
  color:#1c1c1c;
  letter-spacing:-.02em;
}

/* Review avatar with initials */
#comments .commentlist .comment_container{align-items:flex-start!important}
#comments .commentlist .comment_container .sw-review-avatar,
#comments .commentlist .comment_container img.avatar{
  width:48px!important;
  height:48px!important;
  border-radius:50%!important;
  flex:0 0 48px!important;
}
.sw-review-avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.88rem;
  font-weight:900;
  letter-spacing:.02em;
  border:2px solid rgba(255,255,255,.9);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
#comments .commentlist .meta{gap:.55rem .7rem!important}
#comments .commentlist .woocommerce-review__author{font-size:1rem!important}
#comments .commentlist .verified{padding:.22rem .55rem!important;border-radius:999px!important;background:#e9f8ef!important;color:#2b7c4d!important;font-weight:800!important}

/* Guarantee bubbles */
.swe-trust{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:.85rem!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  box-shadow:none!important;
}
.swe-trust__item{
  align-items:center!important;
  gap:.8rem!important;
  padding:1rem!important;
  min-height:108px;
  border-radius:18px!important;
  border:1px solid #f1ddd7!important;
  background:linear-gradient(180deg,#fff 0%, #fff9f7 100%)!important;
  box-shadow:0 12px 28px rgba(20,20,20,.04)!important;
}
.swe-trust__icon{
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#fff3ee 0%,#ffe2d7 100%)!important;
}
.swe-trust__icon svg{width:20px!important;height:20px!important}
.swe-trust__text strong{font-size:1.02rem!important;line-height:1.15!important;color:#242424!important}
.swe-trust__text span{font-size:.86rem!important;line-height:1.35!important;color:#757575!important}
@media(max-width:768px){.swe-trust{grid-template-columns:1fr 1fr!important}.swe-trust__item{min-height:0}}
@media(max-width:520px){.swe-trust{grid-template-columns:1fr!important}}

/* Product cards premium */
ul.products li.product,
.woocommerce ul.products li.product{
  display:flex!important;
  flex-direction:column!important;
  border-radius:22px!important;
  border:1px solid #f1e1db!important;
  background:linear-gradient(180deg,#fff 0%, #fffaf8 100%)!important;
  box-shadow:0 14px 36px rgba(20,20,20,.05)!important;
  overflow:hidden!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link,
ul.products li.product .woocommerce-loop-product__link{
  border-radius:22px 22px 0 0!important;
  background:#fbf8f6!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem!important;font-weight:800!important;line-height:1.4!important;padding:.95rem 1rem .2rem!important}
.woocommerce ul.products li.product .price{padding:.1rem 1rem .2rem!important}
.woocommerce ul.products li.product .price bdi,
.woocommerce ul.products li.product .price .amount{font-size:1.22rem!important;font-weight:900!important}
.woocommerce ul.products li.product .price del bdi,
.woocommerce ul.products li.product .price del .amount{font-size:.84rem!important}
.woocommerce ul.products li.product .sw-card-stars{padding:.25rem 1rem .25rem!important;display:flex!important;align-items:center!important;gap:.45rem!important;flex-wrap:wrap!important}
.woocommerce ul.products li.product .sw-card-ct{font-size:.75rem!important;color:#7a7a7a!important;font-weight:700!important}
.woocommerce ul.products li.product .sw-card-installments{padding:0 1rem .9rem!important;font-size:.82rem!important;color:#6e6e6e!important;line-height:1.45}
.woocommerce ul.products li.product .sw-card-installments strong{color:#2c2c2c!important}
.woocommerce ul.products li.product .sw-card-actions{display:flex;flex-direction:column;gap:.55rem;padding:0 1rem 1rem;margin-top:auto}
.woocommerce ul.products li.product .sw-card-actions .button,
.woocommerce ul.products li.product .sw-card-actions .add_to_cart_button,
.woocommerce ul.products li.product .sw-card-actions .ajax_add_to_cart,
.woocommerce ul.products li.product .sw-card-actions .sw-card-buy-now{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  border-radius:14px!important;
  margin:0!important;
  font-size:.92rem!important;
  font-weight:900!important;
}
.woocommerce ul.products li.product .sw-card-actions .sw-card-buy-now{
  background:linear-gradient(180deg,#ff7a44 0%,#ee4d2d 100%)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 12px 24px rgba(238,77,45,.20)!important;
}
.woocommerce ul.products li.product .sw-card-actions .add_to_cart_button,
.woocommerce ul.products li.product .sw-card-actions .ajax_add_to_cart{
  background:#fff!important;
  color:var(--or)!important;
  border:1px solid #f3c8ba!important;
  box-shadow:none!important;
}
.woocommerce ul.products li.product .sw-card-actions .add_to_cart_button:hover,
.woocommerce ul.products li.product .sw-card-actions .ajax_add_to_cart:hover{
  background:#fff5f1!important;
  color:var(--or2)!important;
}
@media(max-width:768px){
  ul.products li.product,
  .woocommerce ul.products li.product{border-radius:18px!important}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.94rem!important}
  .woocommerce ul.products li.product .price bdi,
  .woocommerce ul.products li.product .price .amount{font-size:1.08rem!important}
}

/* ═══════════════════════════════════════════════════
   v5.2.6 — card pricing visibility + related carousel
   ═══════════════════════════════════════════════════ */
.woocommerce ul.products li.product .price,
ul.products li.product .price{display:block!important;visibility:visible!important;opacity:1!important}
.woocommerce ul.products li.product .sw-card-stars,
.woocommerce ul.products li.product .sw-card-installments{display:flex!important;visibility:visible!important;opacity:1!important}
.woocommerce ul.products li.product .sw-card-installments{display:block!important}
.woocommerce ul.products li.product .sw-card-actions .add_to_cart_button,
.woocommerce ul.products li.product .sw-card-actions .ajax_add_to_cart,
.woocommerce ul.products li.product .sw-card-actions .button.add_to_cart_button{
  background:transparent!important;
  color:var(--or)!important;
  border:1.5px solid #ee4d2d!important;
  box-shadow:none!important;
}
.woocommerce ul.products li.product .sw-card-actions .add_to_cart_button:hover,
.woocommerce ul.products li.product .sw-card-actions .ajax_add_to_cart:hover,
.woocommerce ul.products li.product .sw-card-actions .button.add_to_cart_button:hover{
  background:#fff5f1!important;
  color:#d84424!important;
}

/* Related products after reviews — side carousel */
.single-product .related{margin-top:1.65rem;padding-top:1.2rem;border-top:1px solid #f1e4df}
.single-product .related > h2{
  font-size:1.35rem;
  font-weight:900;
  color:#1d1d1d;
  margin:0 0 1rem;
}
.single-product .related ul.products,
.single-product .upsells ul.products{
  display:grid!important;
  grid-template-columns:none!important;
  grid-auto-flow:column!important;
  grid-auto-columns:calc((100% - 2rem)/3)!important;
  gap:1rem!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0 0 .65rem 0!important;
  margin:0!important;
  scroll-snap-type:x mandatory;
  overscroll-behavior-x:contain;
  scroll-behavior:smooth;
}
.single-product .related ul.products::-webkit-scrollbar,
.single-product .upsells ul.products::-webkit-scrollbar{height:10px}
.single-product .related ul.products::-webkit-scrollbar-thumb,
.single-product .upsells ul.products::-webkit-scrollbar-thumb{background:#f1b3a1;border-radius:999px}
.single-product .related ul.products::-webkit-scrollbar-track,
.single-product .upsells ul.products::-webkit-scrollbar-track{background:#f9efeb;border-radius:999px}
.single-product .related ul.products li.product,
.single-product .upsells ul.products li.product{width:auto!important;float:none!important;margin:0!important;scroll-snap-align:start}
@media(max-width:980px){
  .single-product .related ul.products,
  .single-product .upsells ul.products{grid-auto-columns:calc((100% - 1rem)/2)!important}
}
@media(max-width:640px){
  .single-product .related ul.products,
  .single-product .upsells ul.products{grid-auto-columns:84%!important}
}

/* ═══════════════════════════════════════════════════
   v5.2.7 — force visible product card info + sequential tabs
   ═══════════════════════════════════════════════════ */

/* Woo product card: do not crop title/price/reviews inside the product link */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
ul.products li.product .woocommerce-loop-product__link,
li.product .woocommerce-loop-product__link{
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  display:block!important;
  background:transparent!important;
  border-radius:22px 22px 0 0!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link > img,
ul.products li.product .woocommerce-loop-product__link > img,
li.product .woocommerce-loop-product__link > img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:22px 22px 0 0!important;
  margin:0!important;
  float:none!important;
  background:#fbf8f6!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  min-height:48px!important;
  visibility:visible!important;
  opacity:1!important;
}
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .sw-card-stars,
.woocommerce ul.products li.product .sw-card-installments,
ul.products li.product .star-rating,
ul.products li.product .price,
ul.products li.product .sw-card-stars,
ul.products li.product .sw-card-installments{
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
}
.woocommerce ul.products li.product .price,
ul.products li.product .price{
  display:block!important;
  font-size:1rem!important;
  line-height:1.35!important;
}
.woocommerce ul.products li.product .star-rating{margin:.25rem 1rem!important}
.woocommerce ul.products li.product .sw-card-installments{display:block!important}

/* Keep Add to Cart secondary everywhere in product grids */
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.ajax_add_to_cart,
.woocommerce ul.products li.product .button.add_to_cart_button,
ul.products li.product a.add_to_cart_button,
ul.products li.product a.ajax_add_to_cart,
ul.products li.product .button.add_to_cart_button{
  background:transparent!important;
  background-color:transparent!important;
  color:#ee4d2d!important;
  border:1.5px solid #ee4d2d!important;
  box-shadow:none!important;
}
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.woocommerce ul.products li.product a.ajax_add_to_cart:hover,
ul.products li.product a.add_to_cart_button:hover,
ul.products li.product a.ajax_add_to_cart:hover{
  background:#fff5f1!important;
  color:#d84424!important;
  border-color:#d84424!important;
}
.woocommerce ul.products li.product .sw-card-buy-now,
ul.products li.product .sw-card-buy-now{
  background:linear-gradient(180deg,#ff6b3c 0%,#ee4d2d 100%)!important;
  color:#fff!important;
  border:0!important;
}

/* Tabs act as navigation hooks, panels stay sequential */
.woocommerce div.product .woocommerce-tabs{clear:both!important;position:relative!important;z-index:15!important;background:#fff!important}
.woocommerce div.product .woocommerce-tabs ul.tabs{overflow:visible!important;padding-bottom:.25rem!important;margin-bottom:1rem!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  min-height:44px!important;
  padding:.78rem 1.08rem!important;
  line-height:1.1!important;
  overflow:visible!important;
}
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs #tab-description,
.woocommerce div.product .woocommerce-tabs #tab-reviews{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  overflow:visible!important;
  margin-bottom:1.25rem!important;
}
.woocommerce div.product .woocommerce-tabs #tab-reviews{
  margin-top:1.2rem!important;
}
.woocommerce div.product .woocommerce-tabs #tab-reviews:before{
  content:'Avaliações de clientes';
  display:block;
  font-size:1.25rem;
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.02em;
  color:#1d1d1d;
  margin:0 0 1rem;
}

/* Stop sticky summary from covering reviews/related area */
.single-product .related,
.single-product .upsells{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:100%!important;
  clear:both!important;
  position:relative!important;
  z-index:25!important;
  background:#fff!important;
  padding:1.35rem 0 0!important;
  margin-top:1.5rem!important;
}
.single-product .related ul.products,
.single-product .upsells ul.products{
  width:100%!important;
  max-width:100%!important;
}
@media(min-width:992px){
  .single-product .related,
  .single-product .upsells{grid-row:auto!important;grid-column:1/-1!important}
  .woocommerce div.product div.summary{z-index:5!important}
  .woocommerce div.product .woocommerce-tabs{z-index:20!important}
}

/* Smaller trust bubbles on single product */
.swe-trust__item{min-height:92px!important;padding:.82rem!important;gap:.65rem!important}
.swe-trust__icon{width:40px!important;height:40px!important;border-radius:12px!important}
.swe-trust__icon svg{width:17px!important;height:17px!important}
.swe-trust__text strong{font-size:.88rem!important;line-height:1.18!important;letter-spacing:-.01em!important}
.swe-trust__text span{font-size:.76rem!important;line-height:1.32!important}
@media(max-width:520px){
  .swe-trust__text strong{font-size:.84rem!important}
  .swe-trust__text span{font-size:.72rem!important}
}

/* ═══════════════════════════════════════════════════
   v5.2.8 — clean sequential tabs, real cards and related fix
   ═══════════════════════════════════════════════════ */

/* Remove the extra white block behind Descrição/Avaliações buttons */
.woocommerce div.product .woocommerce-tabs,
.sw-single-pg .woocommerce div.product .woocommerce-tabs{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  border:0!important;
  padding:0!important;
  margin-top:1rem!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce div.product .wc-tabs{
  background:transparent!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:.12rem 0 .35rem!important;
  margin:0 0 .75rem!important;
  overflow:visible!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  min-height:42px!important;
  padding:.72rem 1.05rem!important;
  line-height:1.05!important;
}

/* Home: product section comes immediately after slider */
.home #sw-featured{padding-top:1.5rem!important}
.home .sw-home-slider + #sw-featured{margin-top:0!important}

/* Fully controlled product cards */
ul.products li.product.sw-product-card-v2,
.woocommerce ul.products li.product.sw-product-card-v2{
  display:flex!important;
  flex-direction:column!important;
  background:#fff!important;
  border:1px solid #efd8d0!important;
  border-radius:20px!important;
  overflow:hidden!important;
  padding:0!important;
  box-shadow:0 12px 32px rgba(28,28,28,.055)!important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease!important;
}
ul.products li.product.sw-product-card-v2:hover,
.woocommerce ul.products li.product.sw-product-card-v2:hover{
  transform:translateY(-2px)!important;
  border-color:#f0b7a8!important;
  box-shadow:0 18px 44px rgba(238,77,45,.10)!important;
}
.sw-card-media-v2{
  position:relative!important;
  display:block!important;
  aspect-ratio:1/1!important;
  overflow:hidden!important;
  background:#fbf8f6!important;
  border-radius:20px 20px 0 0!important;
}
.sw-card-media-v2 img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  margin:0!important;
  float:none!important;
  border-radius:20px 20px 0 0!important;
  transition:transform .35s ease!important;
}
.sw-product-card-v2:hover .sw-card-media-v2 img{transform:scale(1.035)!important}
.sw-card-body-v2{
  display:flex!important;
  flex-direction:column!important;
  gap:.38rem!important;
  padding:.9rem 1rem .65rem!important;
  flex:1!important;
}
.sw-card-title-v2{
  color:#1d1d1d!important;
  font-size:.96rem!important;
  font-weight:900!important;
  line-height:1.35!important;
  min-height:2.7em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.sw-card-title-v2:hover{color:#ee4d2d!important}
.sw-card-stars-v2{
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.45rem!important;
  margin:.1rem 0!important;
}
.sw-card-price-v2,
.woocommerce ul.products li.product .sw-card-price-v2{
  display:block!important;
  padding:0!important;
  margin:.05rem 0 0!important;
  text-align:center!important;
  line-height:1.25!important;
  color:#ee4d2d!important;
}
.sw-card-price-v2 .amount,
.sw-card-price-v2 bdi{
  color:#ee4d2d!important;
  font-size:1.22rem!important;
  font-weight:950!important;
}
.sw-card-price-v2 del{opacity:.55;margin-right:.28rem!important;color:#888!important}
.sw-card-price-v2 del .amount,
.sw-card-price-v2 del bdi{font-size:.85rem!important;color:#888!important;font-weight:600!important}
.sw-card-price-v2 ins{text-decoration:none!important}
.sw-card-installments,
.woocommerce ul.products li.product .sw-card-installments{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:.18rem 0 0!important;
  text-align:center!important;
  color:#111!important;
  font-size:.86rem!important;
  line-height:1.35!important;
  font-weight:500!important;
}
.sw-card-installments strong,
.woocommerce ul.products li.product .sw-card-installments strong{
  color:#111!important;
  font-weight:900!important;
}
.sw-card-actions,
.woocommerce ul.products li.product .sw-card-actions{
  display:flex!important;
  flex-direction:column!important;
  gap:.55rem!important;
  padding:0 1rem 1rem!important;
  margin-top:auto!important;
}
.sw-card-actions .button,
.woocommerce ul.products li.product .sw-card-actions .button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:45px!important;
  border-radius:13px!important;
  margin:0!important;
  font-size:.9rem!important;
  font-weight:950!important;
  line-height:1!important;
  text-align:center!important;
  text-transform:none!important;
}
.sw-card-actions .sw-card-buy-now,
.woocommerce ul.products li.product .sw-card-actions .sw-card-buy-now{
  background:linear-gradient(180deg,#ff6f3d 0%,#ee4d2d 100%)!important;
  color:#fff!important;
  border:1.5px solid #ee4d2d!important;
  box-shadow:0 10px 22px rgba(238,77,45,.18)!important;
}
.sw-card-actions .add_to_cart_button,
.sw-card-actions .ajax_add_to_cart,
.woocommerce ul.products li.product .sw-card-actions .add_to_cart_button,
.woocommerce ul.products li.product .sw-card-actions .ajax_add_to_cart{
  background:transparent!important;
  background-color:transparent!important;
  color:#ee4d2d!important;
  border:1.5px solid #ee4d2d!important;
  box-shadow:none!important;
}
.sw-card-actions .add_to_cart_button:hover,
.sw-card-actions .ajax_add_to_cart:hover,
.woocommerce ul.products li.product .sw-card-actions .add_to_cart_button:hover,
.woocommerce ul.products li.product .sw-card-actions .ajax_add_to_cart:hover{
  background:#fff4ef!important;
  color:#d94324!important;
  border-color:#d94324!important;
}

/* Related products: bordered block with safer desktop width */
.single-product .related,
.single-product .upsells{
  border:1px solid #efd8d0!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 14px 38px rgba(24,24,24,.045)!important;
  padding:1.2rem!important;
  margin:1.45rem 0 0!important;
  overflow:hidden!important;
}
.single-product .related > h2,
.single-product .upsells > h2{
  border:0!important;
  padding:0 0 .75rem!important;
  margin:0 0 1rem!important;
  font-size:1.22rem!important;
}
.single-product .related ul.products,
.single-product .upsells ul.products{
  grid-auto-columns:calc((100% - 2rem)/3)!important;
  padding:0 .15rem .85rem!important;
}
@media(min-width:992px){
  .woocommerce div.product .related,
  .woocommerce div.product .upsells{
    grid-column:1!important;
    grid-row:auto!important;
    width:100%!important;
    max-width:100%!important;
    z-index:35!important;
  }
}
@media(max-width:980px){
  .single-product .related ul.products,
  .single-product .upsells ul.products{grid-auto-columns:calc((100% - 1rem)/2)!important}
}
@media(max-width:640px){
  .single-product .related,
  .single-product .upsells{padding:1rem!important;margin-left:.25rem!important;margin-right:.25rem!important}
  .single-product .related ul.products,
  .single-product .upsells ul.products{grid-auto-columns:84%!important}
}

/* Smaller confidence bubbles in single product */
.swe-trust__item{min-height:82px!important;padding:.72rem!important;gap:.58rem!important}
.swe-trust__icon{width:36px!important;height:36px!important;border-radius:11px!important}
.swe-trust__icon svg{width:15px!important;height:15px!important}
.swe-trust__text strong{font-size:.78rem!important;line-height:1.16!important;letter-spacing:-.01em!important}
.swe-trust__text span{font-size:.68rem!important;line-height:1.25!important}

/* ═══════════════════════════════════════════════════
   v5.2.9 — final product card alignment + related breathing
   ═══════════════════════════════════════════════════ */
ul.products li.product.sw-product-card-v2,
.woocommerce ul.products li.product.sw-product-card-v2{height:100%!important;min-height:0!important}
.woocommerce ul.products{align-items:stretch!important}
.sw-card-body-v2{min-height:168px!important;justify-content:flex-start!important}
.sw-card-actions,
.woocommerce ul.products li.product .sw-card-actions{margin-top:auto!important;display:flex!important;flex-direction:column!important;gap:.58rem!important;padding:0 1rem 1.05rem!important}
.sw-card-actions .button,
.woocommerce ul.products li.product .sw-card-actions .button{height:44px!important;min-height:44px!important;max-height:44px!important;padding:0 .8rem!important;box-sizing:border-box!important;line-height:1!important}
.sw-card-actions .add_to_cart_button,
.sw-card-actions .ajax_add_to_cart,
.woocommerce ul.products li.product .sw-card-actions .add_to_cart_button,
.woocommerce ul.products li.product .sw-card-actions .ajax_add_to_cart{background:transparent!important;background-color:transparent!important;color:#ee4d2d!important;border:1.6px solid #ee4d2d!important;box-shadow:none!important}
.sw-card-installments,
.woocommerce ul.products li.product .sw-card-installments{text-align:center!important;color:#111!important;font-size:.86rem!important;font-weight:500!important;margin:.2rem 0 0!important}
.sw-card-installments strong,
.woocommerce ul.products li.product .sw-card-installments strong{color:#111!important;font-weight:900!important}
.single-product .related,
.single-product .upsells{padding:1.5rem!important;margin:1.8rem .75rem 0!important;border:1.5px solid #efd8d0!important;border-radius:24px!important;background:#fff!important}
@media(min-width:992px){
  .woocommerce div.product .related,
  .woocommerce div.product .upsells{margin-left:0!important;margin-right:0!important;padding:1.55rem!important}
}
@media(max-width:640px){
  .sw-card-body-v2{min-height:158px!important}
  .single-product .related,
  .single-product .upsells{margin-left:.55rem!important;margin-right:.55rem!important;padding:1rem!important}
}


/* ═══════════════════════════════════════════════════
   v5.2.10 — card CTA exact alignment
   ═══════════════════════════════════════════════════ */
body.woocommerce ul.products li.product.sw-product-card-v2 .sw-card-actions,
body.woocommerce-page ul.products li.product.sw-product-card-v2 .sw-card-actions,
body ul.products li.product.sw-product-card-v2 .sw-card-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-end!important;
  gap:8px!important;
  width:100%!important;
  padding:0 10px 10px!important;
  margin:0!important;
  margin-top:auto!important;
  box-sizing:border-box!important;
}
body.woocommerce ul.products li.product.sw-product-card-v2 .sw-card-actions > a.button,
body.woocommerce-page ul.products li.product.sw-product-card-v2 .sw-card-actions > a.button,
body ul.products li.product.sw-product-card-v2 .sw-card-actions > a.button{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:0 10px!important;
  margin:0!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:6px!important;
  font-size:.86rem!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
  float:none!important;
  clear:none!important;
}
body ul.products li.product.sw-product-card-v2 .sw-card-actions > a.sw-card-buy-now{
  background:#f04a2f!important;
  background-image:linear-gradient(180deg,#ff5b38 0%,#f0442d 100%)!important;
  color:#fff!important;
  border:1px solid #f0442d!important;
  box-shadow:none!important;
}
body ul.products li.product.sw-product-card-v2 .sw-card-actions > a.add_to_cart_button,
body ul.products li.product.sw-product-card-v2 .sw-card-actions > a.ajax_add_to_cart{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#e8492d!important;
  border:1px solid #e8492d!important;
  box-shadow:none!important;
}
body ul.products li.product.sw-product-card-v2 .sw-card-body-v2{
  padding:.8rem .9rem .55rem!important;
}
body ul.products li.product.sw-product-card-v2 .sw-card-installments{
  text-align:center!important;
  color:#111!important;
  margin:.12rem 0 0!important;
  padding:0!important;
}
body ul.products li.product.sw-product-card-v2 .sw-card-installments,
body ul.products li.product.sw-product-card-v2 .sw-card-installments *{
  color:#111!important;
}
@media(max-width:640px){
  body ul.products li.product.sw-product-card-v2 .sw-card-actions{padding:0 9px 9px!important;gap:7px!important}
  body ul.products li.product.sw-product-card-v2 .sw-card-actions > a.button{height:39px!important;min-height:39px!important;font-size:.83rem!important}
}

/* v5.2.11 — variable price/card/slider-admin refinements */
.woocommerce ul.products li.product .sw-card-installments,
ul.products li.product .sw-card-installments{
  text-align:center!important;
  color:#111!important;
  font-weight:600!important;
  width:100%!important;
}
.woocommerce ul.products li.product .sw-card-installments strong,
ul.products li.product .sw-card-installments strong{color:#111!important;font-weight:900!important}
.woocommerce ul.products li.product .sw-card-actions,
ul.products li.product .sw-card-actions{
  padding:0 .8rem .8rem!important;
  gap:.45rem!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.woocommerce ul.products li.product .sw-card-actions .button,
ul.products li.product .sw-card-actions .button{
  min-height:40px!important;
  height:40px!important;
  padding:0 .75rem!important;
  margin:0!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  border-radius:9px!important;
  line-height:1!important;
}
.woocommerce div.product.product-type-variable .summary .price .woocommerce-Price-amount,
.woocommerce div.product.product-type-variable .summary p.price .woocommerce-Price-amount{white-space:nowrap!important}

/* v5.2.12 — /loja grid e cards corrigidos */
body.woocommerce-shop .sw-arch-lay,
body.tax-product_cat .sw-arch-lay,
.sw-archive .sw-arch-lay{
  display:grid!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  gap:1.35rem!important;
  align-items:start!important;
  max-width:1220px!important;
  margin:0 auto!important;
}
.sw-shop-main{min-width:0!important;width:100%!important;display:block!important}
.sw-shop-main > .woocommerce-result-count,
.sw-shop-main > .woocommerce-ordering{display:none!important}
.sw-shop-head{margin-bottom:1.15rem!important;border-radius:16px!important;border:1px solid #e9dfdb!important;box-shadow:0 10px 26px rgba(20,20,20,.035)!important}
.sw-shop-head .sw-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:1rem!important;width:100%!important}
.sw-shop-main ul.products,
.sw-shop-main .woocommerce ul.products,
body.woocommerce-shop ul.products,
body.tax-product_cat ul.products{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  grid-auto-columns:initial!important;
  gap:1rem!important;
  overflow:visible!important;
  padding:0!important;
  margin:0!important;
  width:100%!important;
  clear:none!important;
  justify-items:stretch!important;
  align-items:stretch!important;
}
.sw-shop-main ul.products li.product,
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  margin:0!important;
  position:relative!important;
}
ul.products li.product.sw-product-card-v2 .sw-card-actions,
.woocommerce ul.products li.product.sw-product-card-v2 .sw-card-actions{padding:.75rem .85rem .85rem!important;gap:.48rem!important;width:100%!important;box-sizing:border-box!important}
ul.products li.product.sw-product-card-v2 .sw-card-actions .button,
.woocommerce ul.products li.product.sw-product-card-v2 .sw-card-actions .button{width:100%!important;min-height:43px!important;margin:0!important;border-radius:10px!important;box-sizing:border-box!important}
ul.products li.product.sw-product-card-v2 .sw-card-installments,
.woocommerce ul.products li.product.sw-product-card-v2 .sw-card-installments{text-align:center!important;color:#111!important;font-size:.84rem!important;padding:0 .85rem .55rem!important;line-height:1.28!important}
ul.products li.product.sw-product-card-v2 .sw-card-price-v2,
.woocommerce ul.products li.product.sw-product-card-v2 .sw-card-price-v2{text-align:center!important}
@media(max-width:1000px){
  body.woocommerce-shop .sw-arch-lay,
  body.tax-product_cat .sw-arch-lay,
  .sw-archive .sw-arch-lay{grid-template-columns:1fr!important}
  .sw-sidebar{display:none!important}
  .sw-shop-main ul.products,
  .sw-shop-main .woocommerce ul.products,
  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .sw-shop-main ul.products,
  .sw-shop-main .woocommerce ul.products,
  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.65rem!important}
}

/* ═══════════════════════════════════════════════════
   v5.2.13 — single product layout, tabs and related/reviews compact
   ═══════════════════════════════════════════════════ */
@media(min-width:992px){
  .woocommerce div.product{
    grid-template-rows:auto auto auto!important;
    row-gap:1rem!important;
  }
  .woocommerce div.product div.images{
    grid-column:1!important;
    grid-row:1!important;
  }
  .woocommerce div.product div.summary{
    grid-column:2!important;
    grid-row:1 / span 3!important;
  }
  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .sw-tabs-hook,
  .woocommerce div.product .sw-desc-panel,
  .woocommerce div.product .sw-reviews-panel{
    grid-column:1!important;
  }
  .woocommerce div.product .woocommerce-tabs{
    grid-row:2!important;
  }
  .woocommerce div.product .related,
  .woocommerce div.product .upsells{
    grid-column:1 / -1!important;
    grid-row:auto!important;
  }
}
.woocommerce div.product #tab-additional_information,
.woocommerce div.product .additional_information_tab{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  overflow:hidden!important;
}
@media(max-width:768px){
  .woocommerce div.product .woocommerce-tabs .panel{
    padding:.85rem!important;
  }
  #reviews{
    padding:.85rem!important;
  }
  #comments .commentlist .comment_container{
    padding:.85rem!important;
  }
}


/* ═══════════════════════════════════════════════════
   v5.2.14 — checkout notice/meta cleanup + qty spacing
   ═══════════════════════════════════════════════════ */
.woocommerce div.product .product_meta,
.single-product .product_meta{display:none!important}

/* Product add-to-cart layout: keep quantity separated from CTAs */
.woocommerce div.product form.cart,
.woocommerce div.product.product-type-variable form.cart{
  overflow:visible!important;
}
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product.product-type-variable form.cart .variations_button,
.woocommerce div.product form.cart:not(.grouped_form){
  display:grid!important;
  grid-template-columns:minmax(112px,132px) minmax(0,1fr)!important;
  gap:.82rem 1.05rem!important;
  align-items:stretch!important;
  width:100%!important;
}
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .quantity,
.woocommerce div.product.product-type-variable form.cart .variations_button > .quantity,
.woocommerce div.product form.cart:not(.grouped_form) > .quantity{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
  justify-self:start!important;
  width:126px!important;
  min-width:126px!important;
  max-width:126px!important;
  height:58px!important;
  min-height:58px!important;
  margin:0!important;
  border-radius:16px!important;
  background:#fff!important;
  border:1px solid #f0ded8!important;
  box-shadow:0 10px 28px rgba(20,20,20,.035)!important;
  overflow:hidden!important;
}
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .sw-buy-now,
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > #sw-buy-now,
.woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,
.woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now,
.woocommerce div.product form.cart:not(.grouped_form) > .sw-buy-now,
.woocommerce div.product form.cart:not(.grouped_form) > #sw-buy-now{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  min-height:58px!important;
}
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
.woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button,
.woocommerce div.product form.cart:not(.grouped_form) > .single_add_to_cart_button{
  grid-column:2!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  min-height:56px!important;
}
.woocommerce div.product form.cart .quantity .qty{width:48px!important;padding:.55rem .2rem!important}
.woocommerce div.product form.cart .quantity .sw-qb{width:38px!important;height:100%!important;min-height:56px!important;flex:0 0 38px!important}

@media(max-width:640px){
  .woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart,
  .woocommerce div.product.product-type-variable form.cart .variations_button,
  .woocommerce div.product form.cart:not(.grouped_form){
    grid-template-columns:1fr!important;
    gap:.75rem!important;
  }
  .woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .quantity,
  .woocommerce div.product.product-type-variable form.cart .variations_button > .quantity,
  .woocommerce div.product form.cart:not(.grouped_form) > .quantity{
    grid-column:1!important;
    grid-row:auto!important;
    width:126px!important;
    min-width:126px!important;
    max-width:126px!important;
  }
  .woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > #sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
  .woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button,
  .woocommerce div.product form.cart:not(.grouped_form) > .sw-buy-now,
  .woocommerce div.product form.cart:not(.grouped_form) > #sw-buy-now,
  .woocommerce div.product form.cart:not(.grouped_form) > .single_add_to_cart_button{
    grid-column:1!important;
    grid-row:auto!important;
  }
}

/* ═══════════════════════════════════════════════════
   v5.2.15 — /loja layout, price filter and card visibility
   ═══════════════════════════════════════════════════ */

/* Remove título/breadcrumb antigos caso algum hook/plugin injete de novo */
body.woocommerce-shop .sw-shop-title,
body.woocommerce-shop .sw-bc,
body.post-type-archive-product .sw-shop-title,
body.post-type-archive-product .sw-bc,
body.tax-product_cat .sw-shop-title,
body.tax-product_cat .sw-bc{display:none!important}

/* Linha de contagem fora do box de ordenação */
.sw-shop-results-line{
  margin:0 0 .75rem!important;
  padding:0!important;
  color:#333!important;
  font-size:.92rem!important;
  font-weight:600!important;
}
.sw-shop-results-line .woocommerce-result-count,
.sw-shop-results-line p{margin:0!important;color:#333!important;font-size:.92rem!important;font-weight:600!important}
.sw-shop-sort-only{
  padding:.85rem 1rem!important;
  margin:0 0 1rem!important;
  background:#fff!important;
  border:1px solid #eaded9!important;
  border-radius:14px!important;
  box-shadow:0 10px 24px rgba(20,20,20,.035)!important;
}
.sw-shop-sort-only .sw-toolbar{
  border:0!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:.75rem!important;
}
.sw-toolbar-label{font-size:.82rem!important;color:#777!important;font-weight:700!important}
.sw-shop-sort-only .woocommerce-ordering{float:none!important;margin:0!important;width:auto!important}
.sw-shop-sort-only .woocommerce-ordering select{
  min-width:220px!important;
  height:42px!important;
  border:1px solid #e3d7d2!important;
  border-radius:12px!important;
  background-color:#fff!important;
  padding:.55rem 2rem .55rem .85rem!important;
  font-weight:600!important;
}

/* Corrige primeiro card invisível/sem preenchimento causado por fade-in inline */
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product,
body.post-type-archive-product ul.products li.product,
.sw-shop-main ul.products li.product,
ul.products li.product.sw-product-card-v2{
  opacity:1!important;
  animation:none!important;
  transform:none!important;
  visibility:visible!important;
}

/* Grid da loja alinhado desde a primeira coluna */
body.woocommerce-shop .sw-shop-main ul.products,
body.tax-product_cat .sw-shop-main ul.products,
body.post-type-archive-product .sw-shop-main ul.products{
  justify-content:stretch!important;
  justify-items:stretch!important;
  align-content:start!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1rem!important;
}
body.woocommerce-shop .sw-shop-main ul.products li.product,
body.tax-product_cat .sw-shop-main ul.products li.product,
body.post-type-archive-product .sw-shop-main ul.products li.product{
  min-height:100%!important;
  display:flex!important;
  grid-column:auto!important;
  grid-row:auto!important;
}

/* Sidebar e filtro de preço com visual premium */
.sw-sidebar{position:sticky!important;top:110px!important}
.sw-sw-box{
  background:#fff!important;
  border:1px solid #e9dfdb!important;
  border-radius:16px!important;
  padding:1.05rem!important;
  margin-bottom:1rem!important;
  box-shadow:0 10px 26px rgba(20,20,20,.035)!important;
}
.sw-sw-ttl{
  font-size:.92rem!important;
  font-weight:900!important;
  color:#333!important;
  padding-bottom:.7rem!important;
  margin:0 0 .9rem!important;
  border-bottom:2px solid #ee4d2d!important;
}
.sw-sw-box .widget_price_filter,
.sw-sw-box .price_slider_wrapper{width:100%!important;margin:0!important}
.sw-sw-box .price_slider{
  height:7px!important;
  background:#ffe3dc!important;
  border:0!important;
  border-radius:999px!important;
  margin:1.2rem .45rem 1.1rem!important;
}
.sw-sw-box .ui-slider-range,
.sw-sw-box .price_slider .ui-slider-range{
  background:#ee4d2d!important;
  border-radius:999px!important;
}
.sw-sw-box .ui-slider-handle,
.sw-sw-box .price_slider .ui-slider-handle{
  top:-6px!important;
  width:19px!important;
  height:19px!important;
  border-radius:50%!important;
  border:3px solid #fff!important;
  background:#ee4d2d!important;
  box-shadow:0 5px 14px rgba(238,77,45,.35)!important;
  outline:none!important;
}
.sw-sw-box .price_slider_amount{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:.72rem!important;
  align-items:center!important;
  margin-top:.8rem!important;
  text-align:left!important;
}
.sw-sw-box .price_slider_amount .button,
.sw-sw-box .widget_price_filter .button{
  width:100%!important;
  min-height:42px!important;
  border-radius:12px!important;
  background:#ee4d2d!important;
  color:#fff!important;
  font-weight:900!important;
  font-size:.9rem!important;
  border:0!important;
  box-shadow:0 10px 20px rgba(238,77,45,.18)!important;
  order:2!important;
}
.sw-sw-box .price_slider_amount .price_label{
  order:3!important;
  color:#444!important;
  font-size:.9rem!important;
  font-weight:600!important;
  line-height:1.5!important;
}
.sw-sw-box .price_slider_amount .clear{display:none!important}

@media(max-width:1000px){
  body.woocommerce-shop .sw-shop-main ul.products,
  body.tax-product_cat .sw-shop-main ul.products,
  body.post-type-archive-product .sw-shop-main ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .sw-shop-results-line{font-size:.84rem!important;margin:.15rem 0 .65rem!important}
  .sw-shop-sort-only .sw-toolbar{justify-content:space-between!important;gap:.5rem!important}
  .sw-shop-sort-only .woocommerce-ordering select{min-width:0!important;width:100%!important;font-size:.82rem!important}
  .sw-toolbar-label{display:none!important}
  body.woocommerce-shop .sw-shop-main ul.products,
  body.tax-product_cat .sw-shop-main ul.products,
  body.post-type-archive-product .sw-shop-main ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.7rem!important}
}

/* ═══════════════════════════════════════════════════
   v5.2.16 — gallery and variable checkout safeguards
   ═══════════════════════════════════════════════════ */
.woocommerce div.product .woocommerce-product-gallery__image,
.woocommerce div.product .woocommerce-product-gallery__image img{
  visibility:visible!important;
  opacity:1!important;
}
@media(max-width:768px){
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .woocommerce-product-gallery__wrapper,
  .woocommerce div.product .flex-viewport{background:#fff!important;min-height:0!important}
  .woocommerce div.product .woocommerce-product-gallery__image img{background:#fff!important;object-fit:contain!important;display:block!important}
}
/* keep variable buttons separated from quantity/CTA */
.woocommerce div.product.product-type-variable .swe-var-choices{margin-bottom:1rem!important}
.woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart,
.woocommerce div.product.product-type-variable form.cart .variations_button{clear:both!important;margin-top:1rem!important;position:relative!important;z-index:2!important}

/* ═══════════════════════════════════════════════════
   v5.2.17 — loja grid definitivo + filtro preço limpo
   ═══════════════════════════════════════════════════ */
body.woocommerce-shop .sw-shop-main ul.products::before,
body.woocommerce-shop .sw-shop-main ul.products::after,
body.tax-product_cat .sw-shop-main ul.products::before,
body.tax-product_cat .sw-shop-main ul.products::after,
body.post-type-archive-product .sw-shop-main ul.products::before,
body.post-type-archive-product .sw-shop-main ul.products::after{
  content:none!important;
  display:none!important;
}
body.woocommerce-shop .sw-shop-main ul.products,
body.tax-product_cat .sw-shop-main ul.products,
body.post-type-archive-product .sw-shop-main ul.products{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1rem!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  justify-items:stretch!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  clear:both!important;
}
body.woocommerce-shop .sw-shop-main ul.products > li.product,
body.tax-product_cat .sw-shop-main ul.products > li.product,
body.post-type-archive-product .sw-shop-main ul.products > li.product{
  grid-column:auto!important;
  grid-row:auto!important;
  display:flex!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  animation:none!important;
  margin:0!important;
  float:none!important;
  clear:none!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
}
.sw-shop-toolbar-clean{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:1rem!important;
  align-items:center!important;
  margin:0 0 1.15rem!important;
  padding:.95rem 1rem!important;
  background:#fff!important;
  border:1px solid #eaded9!important;
  border-radius:16px!important;
  box-shadow:0 10px 26px rgba(20,20,20,.035)!important;
}
.sw-shop-toolbar-clean .sw-shop-results-line{
  margin:0!important;
  padding:0!important;
  min-width:0!important;
}
.sw-shop-toolbar-clean .sw-shop-results-line p,
.sw-shop-toolbar-clean .woocommerce-result-count{
  margin:0!important;
  font-size:.93rem!important;
  font-weight:800!important;
  color:#2f2f2f!important;
  line-height:1.4!important;
}
.sw-shop-toolbar-clean .sw-shop-sort-only{
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.sw-shop-toolbar-clean .sw-shop-sort-only .sw-toolbar{
  justify-content:flex-end!important;
  gap:.7rem!important;
  white-space:nowrap!important;
}
.sw-shop-toolbar-clean .sw-toolbar-label{
  font-size:.84rem!important;
  color:#666!important;
  font-weight:800!important;
}
.sw-shop-toolbar-clean .woocommerce-ordering select{
  min-width:250px!important;
  height:44px!important;
  border:1.5px solid #e6d9d3!important;
  border-radius:13px!important;
  padding:.55rem 2.2rem .55rem .9rem!important;
  background-color:#fff!important;
  color:#222!important;
  font-weight:700!important;
  outline:none!important;
}
.sw-sw-box .price_slider_amount .clear{display:none!important}
.sw-sw-box .price_slider_amount .price_label{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  color:#4a4a4a!important;
  font-size:.91rem!important;
  font-weight:800!important;
  line-height:1.45!important;
  padding:.15rem 0 0!important;
}
.sw-sw-box .widget_price_filter .button{
  order:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
}
.sw-sw-box .price_label{order:3!important}
.sw-sw-box .price_slider{
  position:relative!important;
  height:8px!important;
  margin:1.35rem .55rem 1.15rem!important;
  background:#ffe2dc!important;
  border-radius:999px!important;
  overflow:visible!important;
}
.sw-sw-box .ui-slider-handle{
  cursor:pointer!important;
  margin-left:-9px!important;
}
@media(max-width:1000px){
  body.woocommerce-shop .sw-shop-main ul.products,
  body.tax-product_cat .sw-shop-main ul.products,
  body.post-type-archive-product .sw-shop-main ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
  .sw-shop-toolbar-clean{grid-template-columns:1fr!important;gap:.65rem!important;padding:.85rem!important}
  .sw-shop-toolbar-clean .sw-shop-sort-only .sw-toolbar{justify-content:stretch!important;width:100%!important}
  .sw-shop-toolbar-clean .woocommerce-ordering,.sw-shop-toolbar-clean .woocommerce-ordering select{width:100%!important;min-width:0!important}
  .sw-shop-toolbar-clean .sw-toolbar-label{display:none!important}
}

/* ═══════════════════════════════════════════════════
   v5.2.18 — Minha Conta premium + variable buy hard fix
   ═══════════════════════════════════════════════════ */
body.woocommerce-account .woocommerce{max-width:1180px;margin:0 auto;padding:1.4rem 1rem 2.2rem;font-family:var(--font)}
body.woocommerce-account .woocommerce:before,body.woocommerce-account .woocommerce:after{display:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation{float:none!important;width:100%!important;margin:0 0 1rem!important;background:#fff;border:1px solid #f0ded7;border-radius:22px;padding:.65rem;box-shadow:0 14px 40px rgba(26,26,26,.06)}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;gap:.5rem;flex-wrap:wrap;margin:0!important;padding:0!important;list-style:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li{list-style:none!important;margin:0!important;padding:0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:.65rem .95rem;border-radius:999px;color:#4b5563;font-weight:850;font-size:.88rem;text-decoration:none;background:#fff;border:1px solid transparent;transition:.18s ease}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:linear-gradient(180deg,#ff7047,#ee4d2d);color:#fff;border-color:#ee4d2d;box-shadow:0 10px 22px rgba(238,77,45,.16)}
body.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;background:#fff;border:1px solid #f0ded7;border-radius:26px;padding:1.25rem;box-shadow:0 18px 55px rgba(22,22,22,.06);overflow:hidden}
.sw-account-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.2rem;align-items:center;background:linear-gradient(135deg,#fff7f2 0%,#fff 62%,#fff0e9 100%);border:1px solid #ffd8cf;border-radius:24px;padding:1.35rem;margin-bottom:1rem}
.sw-account-kicker{display:inline-flex;align-items:center;padding:.42rem .72rem;border-radius:999px;background:#fff;color:#ee4d2d;border:1px solid #ffd6cb;font-size:.78rem;font-weight:900;margin-bottom:.7rem}
.sw-account-hero h2{margin:0 0 .45rem!important;font-size:1.55rem!important;letter-spacing:-.03em;color:#111827!important}
.sw-account-hero p{margin:0;color:#5b6472;line-height:1.65;font-size:.98rem}.sw-account-hero-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:16px;background:linear-gradient(180deg,#ff7047,#ee4d2d);color:#fff!important;font-weight:900;padding:0 1rem;text-decoration:none;box-shadow:0 14px 28px rgba(238,77,45,.2);white-space:nowrap}
.sw-account-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;margin:1rem 0}.sw-account-card{display:flex;flex-direction:column;gap:.3rem;background:#fff;border:1px solid #f1e0da;border-radius:20px;padding:1rem;text-decoration:none;box-shadow:0 10px 28px rgba(0,0,0,.04);transition:.18s ease}.sw-account-card:hover{transform:translateY(-2px);border-color:#ffb8a9;box-shadow:0 16px 34px rgba(238,77,45,.08)}.sw-account-card strong{font-size:1.35rem;color:#ee4d2d;font-weight:950}.sw-account-card span{color:#1f2937;font-weight:900}.sw-account-card small{color:#6b7280;line-height:1.45}.sw-account-section-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.2rem 0 .75rem}.sw-account-section-head h3{margin:0!important;font-size:1.15rem!important;color:#111827!important}.sw-account-section-head a{font-weight:850;color:#ee4d2d;text-decoration:none}.sw-account-order-list{display:grid;gap:.7rem}.sw-account-order{display:grid;grid-template-columns:1.2fr auto auto auto;gap:.75rem;align-items:center;background:#fff;border:1px solid #f1e0da;border-radius:18px;padding:.9rem;text-decoration:none;color:#111827}.sw-account-order:hover{background:#fffaf8}.sw-account-order-id{font-weight:900}.sw-account-order-status{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .65rem;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.78rem;font-weight:900}.sw-account-order-status.status-processing,.sw-account-order-status.status-completed{background:#ecfdf5;color:#15803d}.sw-account-order-status.status-pending,.sw-account-order-status.status-on-hold{background:#fff7ed;color:#c2410c}.sw-account-order-date{color:#6b7280;font-size:.86rem}.sw-account-empty-premium{background:#fffaf8;border:1px dashed #f4b9a9;border-radius:20px;padding:1.2rem;color:#4b5563}.sw-account-empty-premium strong{display:block;color:#111827;font-size:1.05rem;margin-bottom:.35rem}.sw-account-empty-premium a{display:inline-flex;margin-top:.55rem;background:#ee4d2d;color:#fff!important;border-radius:14px;min-height:42px;align-items:center;padding:0 .9rem;text-decoration:none;font-weight:900}.sw-account-track-note{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;border-radius:18px;padding:1rem;margin-bottom:1rem}.sw-account-track-note strong{font-weight:950}.sw-account-track-note span{color:#3f6f50;font-size:.92rem;line-height:1.55}.woocommerce-account table.shop_table{border:1px solid #f0ded7!important;border-radius:18px!important;overflow:hidden;background:#fff}.woocommerce-account table.shop_table th{background:#fff7f3;color:#111827;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em}.woocommerce-account table.shop_table td,.woocommerce-account table.shop_table th{padding:1rem!important;border-color:#f3e4df!important}.woocommerce-account .woocommerce-Button,.woocommerce-account .button{border-radius:14px!important;background:#ee4d2d!important;color:#fff!important;border:0!important;font-weight:900!important;box-shadow:none!important}.woocommerce-account form.login,.woocommerce-account form.register{border:1px solid #f0ded7!important;border-radius:22px!important;background:#fff!important;box-shadow:0 18px 55px rgba(22,22,22,.06);padding:1.25rem!important}.woocommerce-account form .form-row input.input-text{border:1.5px solid #d7dce2!important;border-radius:14px!important;min-height:52px!important;padding:.85rem 1rem!important}.woocommerce-account form .form-row label{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;font-weight:900;color:#4b5563}
@media(max-width:760px){body.woocommerce-account .woocommerce{padding:1rem .7rem 1.7rem}.sw-account-hero{grid-template-columns:1fr;padding:1rem}.sw-account-hero-btn{width:100%}.sw-account-cards{grid-template-columns:1fr}.sw-account-order{grid-template-columns:1fr;gap:.4rem}.sw-account-track-note{flex-direction:column}.woocommerce-MyAccount-navigation ul{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.25rem!important}.woocommerce-MyAccount-navigation a{white-space:nowrap}.woocommerce-MyAccount-content{padding:1rem!important}}

/* ═══════════════════════════════════════════════════
   v5.2.19 — account layout definitive fix
   ═══════════════════════════════════════════════════ */
body.woocommerce-account .sw-main,
body.woocommerce-account .sw-container,
body.woocommerce-account .page,
body.woocommerce-account article,
body.woocommerce-account .entry-content{overflow:visible!important;max-width:100%!important}
body.woocommerce-account .woocommerce{
  display:block!important;
  width:min(1180px,calc(100% - 28px))!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:1.35rem 0 2.5rem!important;
  overflow:visible!important;
}
body.woocommerce-account .woocommerce:before,
body.woocommerce-account .woocommerce:after{content:none!important;display:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content{
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  clear:both!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation{margin:0 0 1.1rem!important}
body.woocommerce-account .woocommerce-MyAccount-content{
  position:relative!important;
  display:block!important;
  min-height:220px!important;
  overflow:visible!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .u-columns.woocommerce-Addresses{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:1rem!important;
  width:100%!important;
}
body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .u-column1,
body.woocommerce-account .u-column2{
  float:none!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce-Address{
  border:1px solid #f0ded7!important;
  border-radius:20px!important;
  padding:1rem!important;
  background:#fffaf8!important;
}
body.woocommerce-account .woocommerce-Address-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:1rem!important}
body.woocommerce-account address{line-height:1.7!important;color:#4b5563!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info{border-radius:16px!important;border:1px solid #ffd6ca!important;background:#fff7f3!important;color:#374151!important;padding:1rem!important}
@media(max-width:760px){
  body.woocommerce-account .woocommerce{width:calc(100% - 18px)!important;padding-top:1rem!important}
  body.woocommerce-account .woocommerce-Addresses,
  body.woocommerce-account .u-columns.woocommerce-Addresses{grid-template-columns:1fr!important}
  body.woocommerce-account .woocommerce-MyAccount-content{padding:.9rem!important;border-radius:20px!important}
}


/* ═══════════════════════════════════════════════════
   v5.2.22 — single product tipo Shopee: header sem ocupar rolagem + galeria segura
   ═══════════════════════════════════════════════════ */
body.single-product .sw-header{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
body.single-product .sw-search{display:none!important}
body.single-product .sw-main,
body.single-product .sw-single-pg{padding-top:0!important}
body.single-product .sw-single-pg .sw-container{padding-top:0!important}
body.single-product .sw-single-pg .woocommerce-breadcrumb,
body.single-product .sw-single-pg .sw-bc{display:none!important}
body.single-product .sw-hm-row{justify-content:space-between!important}
body.single-product .sw-icons{margin-left:auto!important}
@media(max-width:600px){
  body.single-product .sw-hm-row{
    display:grid!important;
    grid-template-columns:auto 1fr auto!important;
    grid-template-rows:auto!important;
    align-items:center!important;
    gap:.6rem!important;
    padding:.55rem .72rem!important;
  }
  body.single-product .sw-logo{grid-column:1!important;grid-row:1!important}
  body.single-product .sw-icons{grid-column:3!important;grid-row:1!important}
  body.single-product .sw-topbar{padding:.36rem 0!important}
  body.single-product .sw-topbar-msg{font-size:.68rem!important}
  body.single-product .sw-single-pg .woocommerce div.product{
    border-radius:0 0 16px 16px!important;
    border-left:0!important;
    border-right:0!important;
    margin-top:0!important;
  }
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  max-width:100%!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  background:#fff!important;
}
body.single-product .woocommerce div.product .flex-viewport{
  background:#fff!important;
  min-height:min(100vw,680px)!important;
}
@media(min-width:769px){
  body.single-product .woocommerce div.product .flex-viewport{min-height:420px!important}
}
body.single-product .swe-product-video-slide,
body.single-product .swe-video-slide{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  background:#080808!important;
}
body.single-product .swe-product-video-slide .swe-video-shell{
  width:100%!important;
  aspect-ratio:1/1!important;
  min-height:260px!important;
}
body.single-product .swe-product-video-slide iframe,
body.single-product .swe-product-video-slide video{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:contain!important;
}
body.single-product .flex-control-thumbs li.swe-video-thumb-li{position:relative!important}
body.single-product .flex-control-thumbs li.swe-video-thumb-li:after{
  content:'▶';
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:rgba(0,0,0,.38);
  border-radius:12px;
  font-size:1rem;
  font-weight:900;
  pointer-events:none;
}

/* ═══════════════════════════════════════════════════
   v5.2.23 — reparo definitivo da galeria do single
   Quando há vídeo como primeira mídia, desativa o deslocamento do Flexslider
   e exibe somente o slide ativo para não ficar tela branca.
   ═══════════════════════════════════════════════════ */
body.single-product .woocommerce-product-gallery.swe-static-gallery .flex-viewport{
  overflow:hidden!important;
  background:#fff!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper{
  width:100%!important;
  min-width:0!important;
  transform:none!important;
  transition:none!important;
  margin:0!important;
  left:auto!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image{
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  float:none!important;
  margin:0!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  transition:none!important;
  position:relative!important;
  box-sizing:border-box!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:not(.flex-active-slide){
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.flex-active-slide{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  opacity:1!important;
  visibility:visible!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .swe-product-video-slide,
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .swe-video-slide{
  width:100%!important;
  max-width:100%!important;
}


/* =========================================================
   v5.2.24 — SINGLE PRODUCT: GALERIA COM ALTURA ESTÁVEL
   Evita o "pula-pula" quando cada foto tem proporção diferente.
   A área principal fica fixa e a imagem/vídeo entra por contain.
========================================================= */
body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce-product-gallery{
  --sw-single-gallery-h: min(100%, 520px);
}

body.single-product .woocommerce-product-gallery .flex-viewport,
body.single-product .woocommerce-product-gallery__wrapper{
  height: var(--sw-single-gallery-h, 420px) !important;
  min-height: var(--sw-single-gallery-h, 420px) !important;
  max-height: var(--sw-single-gallery-h, 420px) !important;
  overflow: hidden !important;
  background: #fff !important;
  border-radius: 18px !important;
  transition: none !important;
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image picture,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image video,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image iframe,
body.single-product .woocommerce-product-gallery__wrapper .swe-video-shell{
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image{
  background: #fff !important;
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery__wrapper .swe-video-shell{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image video,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image iframe{
  width: 100% !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 18px !important;
}

body.single-product .flex-control-thumbs{
  min-height: 74px !important;
  margin-top: .65rem !important;
}

@media (max-width: 768px){
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce-product-gallery{
    --sw-single-gallery-h: min(calc(100vw - 42px), 500px);
  }
  body.single-product .woocommerce-product-gallery .flex-viewport,
  body.single-product .woocommerce-product-gallery__wrapper{
    border-radius: 16px !important;
  }
  body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
  body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image video,
  body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image iframe{
    border-radius: 16px !important;
  }
}

@media (max-width: 390px){
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce-product-gallery{
    --sw-single-gallery-h: min(calc(100vw - 34px), 430px);
  }
}
