/* ============================================================
   24Shots – WooCommerce style overrides
   ============================================================ */

/* ── Global WC resets ── */
.woocommerce-page .woocommerce,
.woocommerce { max-width: 100%; }

/* ══════════════════════════════════════
   SHOP PAGE – PRODUCT GRID
══════════════════════════════════════ */
.s24-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (min-width: 576px) {
    .s24-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .s24-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
    .s24-products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.s24-products-grid .product,
.s24-products-grid .shop-item {
    width: 100%;
}

/* ══════════════════════════════════════
   SINGLE PRODUCT – YOU MAY ALSO LIKE
══════════════════════════════════════ */
.you-may-also-like--enhanced {
    margin-top: 60px;
    padding: 48px clamp(20px, 4vw, 54px) 36px;
    border: none;
    border-radius: 28px;
    background: linear-gradient(135deg, #f8f7ff 0%, #fef5f0 55%, #fdf2ff 100%);
    box-shadow: 0 20px 60px rgba(17, 16, 62, 0.08);
}
.you-may-also-like-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.you-may-also-like-eyebrow {
    font-size: 12px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #ff4f5e;
    margin: 0 0 10px;
}
.you-may-also-like-title h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: #111;
}
.you-may-also-like-title span {
    display: block;
    color: #5c5e6a;
    font-size: 15px;
    margin-top: 6px;
}
.you-may-also-like-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.you-may-also-like-viewall {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(15, 14, 45, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.you-may-also-like-viewall:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15, 14, 45, 0.12); }
.you-may-also-like-viewall svg { width: 18px; height: 18px; }
.you-may-also-like-nav { display: inline-flex; gap: 10px; align-items: center; }
.you-may-also-like-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.you-may-also-like-nav-btn:hover { background: #ff4f5e; transform: translateY(-2px); }
.you-may-also-like-nav-btn svg { width: 18px; height: 18px; }
.you-may-also-like-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 4px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}
.you-may-also-like-track::-webkit-scrollbar { height: 6px; }
.you-may-also-like-track::-webkit-scrollbar-thumb { background: rgba(17,17,17,.3); border-radius: 4px; }
.you-may-also-like-track.is-dragging { cursor: grabbing; }
.you-may-also-like-slide {
    flex: 0 0 clamp(160px, 18vw, 190px);
    scroll-snap-align: start;
}
.you-may-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 22px;
    height: 100%;
    max-width: 190px;
    box-shadow: 0 18px 40px rgba(15,14,45,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.you-may-card:hover { transform: translateY(-6px); box-shadow: 0 26px 55px rgba(15,14,45,0.12); }
.you-may-card-thumb {
    position: relative;
    display: block;
    border-radius: 22px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    height: 140px;
    background: #f4f4f4;
}
.you-may-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.you-may-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4f5e;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.you-may-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.you-may-card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.you-may-card-title a { color: #111; text-decoration: none; }
.you-may-card-title a:hover { color: #ff4f5e; }
.you-may-card-price { font-size: 16px; font-weight: 700; color: #111; }
.you-may-card-price del { color: #aaa; font-weight: 400; margin-right: 6px; }
@media (max-width: 767.98px) {
    .you-may-also-like--enhanced { padding: 36px 18px 28px; }
    .you-may-also-like-nav-btn { width: 38px; height: 38px; }
}

/* Product card */
.shop-item .inner-box {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transition: box-shadow .3s, transform .3s;
    display: flex;
    flex-direction: column;
}
.shop-item .inner-box:hover {
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    transform: translateY(-4px);
}

/* Fixed-ratio image area */
.shop-item .image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-item .image > a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.shop-item .inner-box:hover .image img { transform: scale(1.04); }

/* Sale badge */
.shop-item .image .onsale {
    position: absolute !important;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #e43;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
}


/* Card content */
.shop-item .lower-content {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.shop-item .lower-content .rating { margin-bottom: 0; }
.shop-item .lower-content .rating .fa-star { color: #f7b731; font-size: 11px; }
.shop-item .lower-content .rating .fa-star.light { color: #ddd; }
.shop-item .lower-content h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-item .lower-content h6 a { color: #222; text-decoration: none; }
.shop-item .lower-content h6 a:hover { color: #e43; }
.shop-item .lower-content .price {
    margin-top: auto;
    font-weight: 600;
    color: #111;
    font-size: 14px;
    display: block;
}
.shop-item .price span { text-decoration: none !important; color: #111 !important; }
.shop-item .lower-content .price del { color: #aaa; font-size: 13px; font-weight: 400; margin-right: 4px; display: none; }
.shop-item .lower-content .price ins { text-decoration: none !important; color: #111 !important; }
ins.woocommerce-Price-amount,
.price ins,
.price ins .amount,
.price ins bdi { text-decoration: none !important; }
del.woocommerce-Price-amount,
.price del,
.price del .amount,
.price del bdi { text-decoration: none !important; color: #aaa; }

/* ── Permanently hide legacy .cart-box overlay inside product image ── */
.shop-item .image .cart-box,
.shop-item .inner-box:hover .image .cart-box { display: none !important; opacity: 0 !important; }

/* ── Hide price-curve.png decoration (shows as oval on hover) ── */
.shop-item .price:before,
.shop-item .inner-box:hover .price:before { display: none !important; opacity: 0 !important; }

/* ── Hide ALL form inputs/selects inside any product card (loop) ── */
.shop-item input:not([type="hidden"]),
.shop-item select,
.shop-item .quantity,
.shop-item .quantity-box,
.shop-item .item-quantity,
.shop-item .bootstrap-touchspin,
.product-block-four input:not([type="hidden"]),
.product-block-four select,
.woocommerce ul.products li.product .quantity { display: none !important; }

/* Re-show quantity on single product add-to-cart form and cart page */
.single-product form.cart .quantity,
.single-product form.cart input.qty,
.woocommerce-cart td.product-quantity .quantity,
.woocommerce-cart td.product-quantity input { display: block !important; }

/* ══════════════════════════════════════
   SHOP TOOLBAR (results + sorting)
══════════════════════════════════════ */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 18px;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}
.woocommerce-result-count { color: #888; font-size: 13px; margin: 0; }
.woocommerce-ordering select {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    color: #333;
    background: #fff;
    cursor: pointer;
    outline: none;
}
.woocommerce-ordering select:focus { border-color: #222; }
.woocommerce-ordering select { border: 1px solid #e0e0e0; padding: 6px 12px; border-radius: 4px; font-size: 14px; }

/* ── Pagination ── */
.woocommerce nav.woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 30px 0 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #ddd; border-radius: 4px; color: #555; transition: all .2s; }
.woocommerce nav.woocommerce-pagination ul li .current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: #e43; border-color: #e43; color: #fff; }

/* ── Sale badge ── */
.woocommerce span.onsale { background: #e43; color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 4px; top: 10px; left: 10px; min-height: auto; min-width: auto; line-height: 1.5; }

/* ── Single product ── */
.woocommerce div.product .woocommerce-product-gallery { margin-bottom: 20px; }
.woocommerce div.product .product_title { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.woocommerce div.product p.price { font-size: 22px; font-weight: 700; color: #e43; margin-bottom: 15px; }
.woocommerce div.product p.price del { color: #aaa; font-size: 16px; }
.woocommerce div.product .quantity input { border: 1px solid #ddd; border-radius: 4px; padding: 8px 12px; width: 70px; text-align: center; }
.woocommerce div.product .cart { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 20px; }
.woocommerce div.product .single_add_to_cart_button { background: #e43; color: #fff; border: none; padding: 12px 30px; font-size: 15px; font-weight: 600; border-radius: 4px; cursor: pointer; transition: background .2s; }
.woocommerce div.product .single_add_to_cart_button:hover { background: #c33; }

/* ── Product attributes table ── */
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th,
.woocommerce-product-attributes td { padding: 10px 14px; border: 1px solid #eee; font-size: 14px; }
.woocommerce-product-attributes th { background: #f8f8f8; font-weight: 600; width: 30%; }

/* ── Cart page ── */
.woocommerce-cart .woocommerce { padding: 0; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid #eee; }
.woocommerce table.shop_table th { background: #f8f8f8; padding: 12px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; border-bottom: 2px solid #eee; }
.woocommerce table.shop_table td { padding: 16px; vertical-align: middle; border-bottom: 1px solid #f0f0f0; }
.woocommerce table.shop_table td.product-name a { font-weight: 600; color: #222; }
.woocommerce table.shop_table td.product-name a:hover { color: #e43; }
.woocommerce table.shop_table td img { width: 70px; border-radius: 4px; margin-right: 12px; vertical-align: middle; }
.woocommerce a.remove { color: #e43 !important; font-size: 20px; font-weight: 700; }
.woocommerce a.remove:hover { background: #e43; color: #fff !important; }
.woocommerce .cart-collaterals { margin-top: 30px; }
.woocommerce .cart_totals { border: 1px solid #eee; border-radius: 6px; padding: 24px; }
.woocommerce .cart_totals h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.woocommerce .cart_totals table { width: 100%; }
.woocommerce .cart_totals table th { font-weight: 600; padding: 10px 0; width: 40%; }
.woocommerce .cart_totals table td { padding: 10px 0; }
/* Classic cart checkout button */
.woocommerce .wc-proceed-to-checkout a,
.woocommerce a.checkout-button,
.woocommerce .wc-proceed-to-checkout .checkout-button,
/* Blocks cart checkout button */
.wp-block-woocommerce-proceed-to-checkout-block a,
.wc-block-cart__payment-button a,
.wc-block-cart__payment-button .checkout-button,
a.wc-block-components-button.wc-block-cart__proceed-to-checkout-button {
    display: block !important;
    text-align: center !important;
    background: #e43 !important;
    color: #fff !important;
    padding: 16px 24px !important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-top: 16px !important;
    text-decoration: none !important;
    transition: background .2s, transform .1s, box-shadow .2s !important;
    box-shadow: 0 4px 14px rgba(238,68,51,.35) !important;
    cursor: pointer !important;
}
.woocommerce .wc-proceed-to-checkout a:hover,
.woocommerce a.checkout-button:hover,
.woocommerce .wc-proceed-to-checkout .checkout-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block a:hover,
.wc-block-cart__payment-button a:hover,
a.wc-block-components-button.wc-block-cart__proceed-to-checkout-button:hover {
    background: #c33 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(200,50,50,.4) !important;
}
.woocommerce .coupon input[type="text"] { border: 1px solid #ddd; padding: 10px 14px; border-radius: 4px; margin-right: 8px; }
.woocommerce .coupon .button,
.woocommerce button[name="update_cart"] { background: #333; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; transition: background .2s; }
.woocommerce .coupon .button:hover,
.woocommerce button[name="update_cart"]:hover { background: #111; }

/* ── Checkout page ── */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout h3#order_review_heading { font-size: 20px; font-weight: 700; margin-bottom: 20px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.woocommerce-checkout .form-row { margin-bottom: 16px; }
.woocommerce-checkout .form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea { width: 100%; border: 1px solid #ddd; padding: 10px 14px; border-radius: 4px; font-size: 14px; }
.woocommerce-checkout .form-row textarea { height: 100px; resize: vertical; }
.woocommerce #order_review .shop_table { border: 1px solid #eee; border-radius: 6px; overflow: hidden; }
.woocommerce #order_review .shop_table tfoot tr th,
.woocommerce #order_review .shop_table tfoot tr td { font-weight: 700; }
.woocommerce #payment { background: #f8f8f8; border-radius: 6px; padding: 20px; margin-top: 20px; }
.woocommerce #payment .place-order { padding: 0; }
.woocommerce #payment #place_order { width: 100%; background: #e43; color: #fff; border: none; padding: 15px; font-size: 16px; font-weight: 700; border-radius: 4px; cursor: pointer; margin-top: 15px; transition: background .2s; }
.woocommerce #payment #place_order:hover { background: #c33; }

/* ── My Account legacy float reset (layout now handled by .s24ac-*) ── */
.woocommerce-account .woocommerce-MyAccount-navigation { width: 100% !important; float: none !important; padding-right: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }

/* ── WC notices ── */
.woocommerce-message { background: #d4edda; border-left: 4px solid #28a745; padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; }
.woocommerce-error { background: #f8d7da; border-left: 4px solid #dc3545; padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; }
.woocommerce-info { background: #d1ecf1; border-left: 4px solid #17a2b8; padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; }
.woocommerce-message a.button,
.woocommerce-error a.button,
.woocommerce-info a.button { background: #e43; color: #fff; padding: 6px 14px; border-radius: 4px; font-size: 13px; margin-left: 10px; }

/* ── Quantity box ── */
.woocommerce .quantity .qty { border: 1px solid #ddd; border-radius: 4px; padding: 8px 12px; width: 65px; text-align: center; font-size: 15px; }

/* ── Shop product card – Add to Cart button ── */
.btn-add-cart {
    display: block;
    width: 100%;
    background: #222;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background .2s;
}
.btn-add-cart:hover,
.btn-add-cart:focus { background: #e43; color: #fff; text-decoration: none; }
.btn-add-cart.added { background: #28a745; }
.btn-add-cart.loading { opacity: .7; pointer-events: none; }

/* ══════════════════════════════════════
   SHOP SIDEBAR WIDGETS
══════════════════════════════════════ */
.shop-sidebar .sidebar-filter { display: flex; flex-direction: column; gap: 20px; }
.shop-sidebar .sidebar-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.shop-sidebar .sidebar-widget h5 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Price filter slider */
.shop-sidebar .price_slider_wrapper .ui-slider {
    height: 4px;
    background: #eee;
    border-radius: 4px;
    margin: 8px 0 12px;
    border: none;
}
.shop-sidebar .price_slider_wrapper .ui-slider-range {
    background: #222;
    border-radius: 4px;
}
.shop-sidebar .price_slider_wrapper .ui-slider-handle {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #222;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #222;
    top: -6px;
    cursor: pointer;
    outline: none;
}
.shop-sidebar .price_slider_wrapper .price_label {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}
.shop-sidebar .price_slider_wrapper .price_label .from,
.shop-sidebar .price_slider_wrapper .price_label .to { font-weight: 700; color: #222; }
.shop-sidebar .woocommerce-widget-layered-nav-list {
    list-style: none;
    padding: 0; margin: 0;
}
.shop-sidebar .woocommerce-widget-layered-nav-list li {
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
}
.shop-sidebar .woocommerce-widget-layered-nav-list li:last-child { border-bottom: none; }
.shop-sidebar .woocommerce-widget-layered-nav-list li a { color: #555; text-decoration: none; }
.shop-sidebar .woocommerce-widget-layered-nav-list li a:hover { color: #e43; }
.shop-sidebar .woocommerce-widget-layered-nav-list li .count {
    float: right;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 1px 7px;
    font-size: 11px;
    color: #888;
}
/* Filter button */
.shop-sidebar .wc-block-filter-wrapper button,
.shop-sidebar .price_slider_amount .button {
    background: #222 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background .2s !important;
}
.shop-sidebar .price_slider_amount .button:hover { background: #e43 !important; }

/* ── Hide page title banner & breadcrumb on account/cart/checkout ── */
.woocommerce-account .page-title,
.woocommerce-account .woocommerce-breadcrumb,
.woocommerce-cart .page-title,
.woocommerce-cart .woocommerce-breadcrumb,
.woocommerce-checkout .page-title,
.woocommerce-checkout .woocommerce-breadcrumb { display: none !important; }

/* ── Header cart-box layout fix moved to header.css (loads globally) ── */

/* ── Page Title Banner – override pink to neutral light gray ── */
.page-title {
    background-color: #f5f5f5 !important;
}

/* ── WooCommerce Review / Comment Form ── */
#reviews { padding: 10px 0 30px; }
#reviews #comments h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
#reviews #comments .woocommerce-noreviews { color: #777; margin-bottom: 20px; font-size: 14px; }
#reviews #review_form_wrapper { margin-top: 24px; }
#reviews .comment-form { padding: 0; }
#reviews .comment-form p { margin-bottom: 16px; position: static !important; }
#reviews .comment-form label {
    display: block;
    position: static !important;
    transform: none !important;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
}
#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-shadow: none;
    position: static !important;
    resize: vertical;
}
#reviews .comment-form textarea { min-height: 130px; }
#reviews .comment-form .comment-form-comment {
    display: block !important;
    position: static !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 16px;
}
#reviews .comment-form .form-submit { margin-top: 4px; }
#reviews .comment-form .form-submit input[type="submit"] {
    background: #222;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
    width: auto;
}
#reviews .comment-form .form-submit input[type="submit"]:hover { background: #e43; }
#reviews .comment-form-rating { margin-bottom: 16px; }
#reviews .comment-form-rating label { display: block; margin-bottom: 6px; }
#reviews .stars a { color: #f7b731; font-size: 18px; margin-right: 4px; text-decoration: none; }
#reviews .stars a:hover, #reviews .stars a.active { color: #e43; }
.woocommerce-Reviews-title { font-size: 22px; font-weight: 700; margin-bottom: 20px; }

/* ── Single product – WC add-to-cart form overrides ── */
.shop-detail-section .button-box .cart { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 0; }
.shop-detail-section .button-box .qty { width: 70px; border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; text-align: center; font-size: 15px; }
.shop-detail-section .button-box .single_add_to_cart_button { background: #222; color: #fff; border: none; padding: 14px 32px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; cursor: pointer; transition: background .2s; width: auto !important; flex-shrink: 0; }
.shop-detail-section .button-box .single_add_to_cart_button:hover { background: #e43; }

/* ── Variable product batch Add to Cart button ── */
.vt-batch-add {
    background: #222;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
    width: auto;
    flex-shrink: 0;
}
.vt-batch-add:hover { background: #444; }
.vt-batch-add.vt-added { background: #27ae60; }
.vt-batch-add:disabled { opacity: .6; cursor: not-allowed; }

/* ── Add to Cart + Checkout inline row ── */
.atc-checkout-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}
.checkout-empty-msg {
    margin-top: 8px;
    font-size: 13px;
    color: #c00;
    display: none;
}

/* ── Proceed to Checkout button ── */
.checkout-now-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: 2px solid #222;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s, color .2s;
    text-decoration: none;
    flex-shrink: 0;
    vertical-align: middle;
}
.checkout-now-btn:hover {
    background: #222;
    color: #fff;
    text-decoration: none;
}

/* ── Product text description below Add to Cart ── */
.product-text-desc {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    line-height: 1.75;
    color: #444;
}
.product-text-desc h1, .product-text-desc h2,
.product-text-desc h3, .product-text-desc h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 16px 0 8px;
    color: #111;
}
.product-text-desc p { margin-bottom: 10px; }
.product-text-desc ul, .product-text-desc ol {
    padding-left: 18px;
    margin-bottom: 10px;
}

/* ── shop.app style accordion ── */
.product-accordion {
    margin-top: 20px;
    border-top: 1px solid #e8e8e8;
}
.product-accordion .ac-item {
    border-bottom: 1px solid #e8e8e8;
}
.product-accordion .ac-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    cursor: pointer;
    gap: 12px;
    user-select: none;
    -webkit-user-select: none;
}
.product-accordion .ac-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}
.product-accordion .ac-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #888;
    transition: transform 0.25s ease;
}
.product-accordion .ac-item.open .ac-chevron {
    transform: rotate(180deg);
}
.product-accordion .ac-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.product-accordion .ac-body-inner {
    padding-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.75;
    color: #555;
}
.product-accordion .ac-body-inner p { margin-bottom: 8px; }
.product-accordion .ac-body-inner ul,
.product-accordion .ac-body-inner ol {
    padding-left: 18px;
    margin-bottom: 8px;
}
.product-accordion .ac-body-inner strong { color: #222; }
.shop-detail-section .button-box .variations { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.shop-detail-section .button-box .variations td { padding: 8px 0; vertical-align: middle; }
.shop-detail-section .button-box .variations select { border: 1px solid #ddd; border-radius: 4px; padding: 8px 12px; min-width: 150px; }
.shop-detail-section .button-box .reset_variations { font-size: 12px; color: #e43; }

/* Swiper placeholder fill */
.shop-detail-section .image img { width: 100%; height: auto; display: block; }

/* Ensure gallery column appears above content on small screens */
@media (max-width: 991.98px) {
  .shop-detail-section .gallery-column { order: 1 !important; }
  .shop-detail-section .content-column { order: 2 !important; }
}

/* Main gallery polish */
.shop-detail-section .gallery-column .carousel-outer { margin-bottom: 16px; }
.shop-detail-section .gallery-column .inner-column { height: 100%; }
.shop-detail-section .gallery-column .content-carousel { position: relative; }
@media (min-width: 992px) {
  .shop-detail-section .gallery-column {
    align-self: flex-start;
  }
  .shop-detail-section .gallery-column .inner-column {
    position: sticky;
    top: 96px;
    z-index: 2;
    height: auto;
  }
  .shop-detail-section .content-column {
    align-self: flex-start;
  }
  .shop-detail-section .content-column .inner-column {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 10px;
  }
}
.shop-detail-section .gallery-column .content-carousel {
  border-radius: 12px; overflow: hidden; background: #f7f7f7; box-shadow: 0 3px 16px rgba(0,0,0,.06);
}
.shop-detail-section .carousel-outer .swiper-container { width: 100% !important; }
.s24-main-swiper .swiper-slide { display: grid !important; place-items: center !important; width: 100% !important; height: 100% !important; }
.s24-main-swiper .swiper-slide .image, .s24-main-swiper .swiper-slide .image a { display: grid !important; place-items: center !important; width: 100% !important; height: 100% !important; }
.s24-main-swiper .swiper-slide img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; object-position: center center !important; margin: 0 auto !important; }
.shop-detail-section .gallery-column .content-carousel .swiper-slide { display:flex !important; align-items:center !important; justify-content:center !important; text-align:center !important; }
.shop-detail-section .gallery-column .content-carousel .swiper-slide .image,
.shop-detail-section .gallery-column .content-carousel .swiper-slide .image a {
  display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; padding:0 !important; margin:0 !important;
}
.shop-detail-section .gallery-column .content-carousel .swiper-slide img {
  max-width: 100% !important; max-height: 520px !important; width: auto !important; height: auto !important; display: block !important; object-fit: contain !important; object-position: center center !important; margin: 0 auto !important;
}
/* Swiper arrows style (visible on mobile) */
.shop-detail-section .swiper-button-next,
.shop-detail-section .swiper-button-prev {
  color: #111; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(0,0,0,.08);
  --swiper-navigation-size: 18px; z-index: 3;
}
.shop-detail-section .swiper-button-prev { left: 8px; }
.shop-detail-section .swiper-button-next { right: 8px; }
.shop-detail-section .swiper-button-next:after,
.shop-detail-section .swiper-button-prev:after { font-weight: 700; }
@media (max-width: 767.98px) {
  .shop-detail-section .product-title { font-size: 22px !important; }
  /* Square viewport and full-height centering on mobile */
  .shop-detail-section .gallery-column .content-carousel { aspect-ratio: 1/1; height: auto; }
  .shop-detail-section .gallery-column .content-carousel .swiper-wrapper { height: 100% !important; }
  .shop-detail-section .gallery-column .content-carousel .swiper-slide { height: 100% !important; }
  .shop-detail-section .gallery-column .content-carousel .swiper-slide img { max-height: 100% !important; }
}

/* ══════════════════════════════════════
   PRODUCT DESCRIPTION – Image Gallery
══════════════════════════════════════ */

/* Base image polish */
#prod-details .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* ── Inline gallery widget (thumbnail strip + large preview) ── */
.pd-gallery {
    margin: 20px 0;
}

/* Large preview area */
/* Thumbnail strip – on top */
.pd-gallery__strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

/* Large preview – below */
.pd-gallery__preview {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f7f7;
    border: 1px solid #eee;
}
.pd-gallery__preview img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
    transition: opacity .2s;
    border-radius: 0;
    box-shadow: none;
}
.pd-gallery__thumb {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .15s, box-shadow .15s;
}
.pd-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
}
.pd-gallery__thumb:hover { border-color: #aaa; }
.pd-gallery__thumb.active { border-color: #222; box-shadow: 0 0 0 1px #222; }

/* Single wide image (not in a group) */
#prod-details .content figure,
#prod-details .content p.pd-single-img {
    margin: 16px 0;
}
#prod-details .content figure img,
#prod-details .content p.pd-single-img img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

/* Headings inside content */
#prod-details .content h1,
#prod-details .content h2,
#prod-details .content h3 {
    margin: 24px 0 10px;
    font-weight: 700;
}

/* ── Tab header row: tabs left, share right ── */
.tab-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 2px solid #eee;
}
.tab-header-row .tab-btns { border-bottom: none; margin: 0; }
.tab-social-box {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0 16px;
}
.tab-social-box .share { font-size: 13px; font-weight: 600; color: #555; }
.tab-social-box li a {
    font-size: 15px;
    color: #555;
    transition: color .2s;
}
.tab-social-box li a:hover { color: #e43; }

/* ── Shop Sidebar Widgets ── */
.shop-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sb-widget {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 20px;
}
.sb-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #555;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
/* Price slider overrides */
.sb-widget .price_slider_wrapper .ui-slider { background: #eee; height: 4px; border-radius: 4px; border: none; }
.sb-widget .price_slider_wrapper .ui-slider-range { background: #6c47ff; }
.sb-widget .price_slider_wrapper .ui-slider-handle { background: #6c47ff; border: none; border-radius: 50%; width: 14px; height: 14px; top: -5px; outline: none; cursor: pointer; }
.sb-widget .price_slider_amount .button {
    background: #6c47ff;
    color: #fff;
    border: none;
    padding: 7px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background .2s;
}
.sb-widget .price_slider_amount .button:hover { background: #5535e0; }
.sb-widget .price_slider_amount { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.sb-widget .price_label { font-size: 13px; color: #555; }
.sb-widget .price_label .from,
.sb-widget .price_label .to { font-weight: 600; color: #111; }
/* Category list */
.sb-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.sb-cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.sb-cat-list li a:hover { background: #f0eeff; color: #6c47ff; }
.sb-cat-list li a.active { background: #6c47ff; color: #fff; font-weight: 600; }
.sb-cat-list li a span {
    font-size: 11px;
    background: #f0f0f0;
    color: #888;
    padding: 1px 7px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
}
.sb-cat-list li a.active span { background: rgba(255,255,255,.25); color: #fff; }

/* ── Breadcrumb Bar ── */
.breadcrumb-bar {
    background: #f4f4f2;
    border-top: 2px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
}
.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
    font-size: 13px;
}
.breadcrumb-nav li {
    display: flex;
    align-items: center;
    color: #999;
}
.breadcrumb-nav li + li::before {
    content: '›';
    margin-right: 6px;
    color: #ccc;
    font-size: 15px;
    line-height: 1;
}
.breadcrumb-nav li a {
    color: #555;
    text-decoration: none;
    transition: color .15s;
}
.breadcrumb-nav li a:hover { color: #e43; }
.breadcrumb-nav li:last-child { color: #222; font-weight: 500; }

/* ── Product Meta Footer (Categories & Tags below tabs) ── */
.product-meta-footer {
    margin: 32px 0 0;
    padding: 20px 24px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 32px;
}
.product-meta-footer .categories {
    font-size: 13px;
    color: #555;
    margin: 0;
}
.product-meta-footer .categories span {
    font-weight: 600;
    color: #222;
    margin-right: 4px;
}
.product-meta-footer .categories a {
    color: #e43;
    text-decoration: none;
    transition: color .15s;
}
.product-meta-footer .categories a:hover { color: #c00; }

/* ══════════════════════════════════════
   SINGLE PRODUCT – Variation Table
══════════════════════════════════════ */
.vt-variation-table {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    font-size: 13px;
}

/* Row layout */
.vt-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
    padding: 8px 12px;
    transition: background .15s;
}
.vt-row:last-child { border-bottom: none; }
.vt-row:not(.vt-header):hover { background: #fafafa; }
.vt-row--oos { opacity: .5; }

/* Header row */
.vt-header {
    background: #f7f7f7;
    font-weight: 700;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Column widths */
.vt-col-img   { flex: 0 0 50px; }
.vt-col-name  { flex: 1 1 auto; min-width: 80px; }
.vt-col-price { flex: 0 0 90px; text-align: right; }
.vt-col-stock { flex: 0 0 80px; text-align: center; }
.vt-col-qty   { flex: 0 0 130px; }

/* Thumbnail */
.vt-col-img img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
    display: block;
}

/* Price */
.vt-col-price .woocommerce-Price-amount { font-weight: 700; color: #e43; }
.vt-col-price del .woocommerce-Price-amount { color: #aaa; font-size: 11px; font-weight: 400; }
.vt-col-price ins { text-decoration: none; }

/* Stock badges */
.vt-instock { color: #333; font-weight: 600; }
.vt-oos     { color: #bbb; }

/* Qty controls */
.vt-qty-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}
.vt-btn-minus,
.vt-btn-plus {
    width: 26px; height: 26px;
    background: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    flex-shrink: 0;
}
.vt-btn-minus:hover,
.vt-btn-plus:hover { background: #222; color: #fff; border-color: #222; }
.vt-qty {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 2px;
    font-size: 13px;
    -moz-appearance: textfield;
    appearance: textfield;
}
.vt-qty::-webkit-outer-spin-button,
.vt-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add to Cart batch button */
.vt-batch-actions { margin-top: 4px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── Custom Modal Dialog ── */
.vt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
.vt-modal-overlay.vt-modal--open {
    display: flex;
    animation: vt-overlay-in .2s ease;
}
.vt-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    animation: vt-box-in .25s cubic-bezier(.34,1.56,.64,1);
}
.vt-modal-icon {
    font-size: 48px;
    color: #f59e0b;
    line-height: 1;
    margin-bottom: 16px;
}
.vt-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
}
.vt-modal-msg {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 28px;
}
.vt-modal-confirm {
    display: inline-block;
    padding: 12px 48px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.vt-modal-confirm:hover { background: #e43; }
@keyframes vt-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vt-box-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
.vt-batch-add {
    display: inline-block;
    padding: 12px 36px;
    background: #222;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
}
.vt-batch-add:hover { background: #e43; }

/* Mobile */
@media (max-width: 600px) {
    .vt-col-stock { display: none; }
    .vt-col-price { flex: 0 0 70px; font-size: 12px; }
    .vt-col-qty   { flex: 0 0 110px; }
}

/* ── Review form: graphical star rating ── */
.comment-form-rating .stars {
    display: block;
    margin: 8px 0;
}
.comment-form-rating .stars span {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}
.comment-form-rating .stars a {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    overflow: hidden;
    text-indent: -9999px;     /* push ALL text off-screen */
    white-space: nowrap;
    outline: none;
    text-decoration: none;
    cursor: pointer;
}
.comment-form-rating .stars a::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    text-indent: 0;           /* reset: icon stays in place */
    font-family: 'FontAwesome';
    content: '\f006';         /* empty star */
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    color: #ff6200;
}
/* Hover: fill all, then un-fill DOM-later stars (which appear to the LEFT in row-reverse) */
.comment-form-rating .stars:hover a::before         { content: '\f005'; }
.comment-form-rating .stars a:hover ~ a::before     { content: '\f006'; }
/* Selected state */
.comment-form-rating .stars.selected a::before              { content: '\f005'; }
.comment-form-rating .stars.selected a.active ~ a::before   { content: '\f006'; }

/* ══════════════════════════════════════
   MY ACCOUNT PAGE
══════════════════════════════════════ */

/* Page wrapper */
.s24ac-page { background: #fff; padding: 40px 0 70px; min-height: 60vh; }
.s24ac-hero{
    text-align:center;
    margin-bottom:32px;
}
.s24ac-hero-badge{
    display:inline-flex;
    align-items:center;
    padding:4px 12px;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.6px;
    border-radius:999px;
    background:#f0e9ff;
    color:#6c47ff;
    font-weight:700;
    margin-bottom:12px;
}
.s24ac-hero h1{font-size:30px;font-weight:800;margin:0 0 8px;color:#111;}
.s24ac-hero p{margin:0 auto 18px;max-width:540px;color:#616176;font-size:15px;}
.s24ac-metrics{list-style:none;margin:0 0 18px;padding:0;display:flex;justify-content:center;gap:24px;color:#333;font-weight:700;}
.s24ac-metrics .label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#9b9bb5;font-weight:600;margin-bottom:4px;}
.s24ac-quick-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;}
.s24ac-quick-btn{padding:8px 18px;border:1px solid #ecebf5;border-radius:999px;font-size:13px;font-weight:600;color:#4b4b62;text-decoration:none;transition:color .15s,border-color .15s;}
.s24ac-quick-btn:hover{color:#6c47ff;border-color:#d3c9ff;}

/* Flexbox layout */
.s24ac-layout { display: flex; gap: 24px; align-items: flex-start; }

/* ── Sidebar ── */
.s24ac-sidebar { width: 240px; flex: 0 0 240px; position: sticky; top: 90px; }

/* User card */
.s24ac-user {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #f1f1f5;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 10px;
}
.s24ac-avatar { border-radius: 50% !important; display: block !important; width: 48px !important; height: 48px !important; }
.s24ac-user-name { font-size: 14px; font-weight: 700; color: #111; line-height: 1.3; }
.s24ac-user-email { font-size: 11px; color: #aaa; margin-top: 2px; word-break: break-all; }

/* Nav card */
.s24ac-nav {
    background: #fff;
    border: 1px solid #f1f1f5;
    border-radius: 12px;
}

/* ── Nav links (scoped to new template classes) ── */
.s24ac-nav .woocommerce-MyAccount-navigation ul {
    list-style: none !important; margin: 0 !important; padding: 6px 0 !important;
}
.s24ac-nav .woocommerce-MyAccount-navigation ul li {
    margin: 0 !important; padding: 0 !important; background: none !important; list-style: none !important;
}
.s24ac-nav .woocommerce-MyAccount-navigation ul li::before { display: none !important; }
.s24ac-nav .woocommerce-MyAccount-navigation ul li a,
.s24ac-nav .woocommerce-MyAccount-navigation ul li a:link,
.s24ac-nav .woocommerce-MyAccount-navigation ul li a:visited {
    display: block !important;
    padding: 11px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #444 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border-left: 3px solid transparent !important;
    background: transparent !important;
    line-height: 1.5 !important;
    transition: background .15s, color .15s, border-color .15s;
}
.s24ac-nav .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f7f7f9 !important;
    color: #111 !important;
    border-left-color: #e94560 !important;
}
.s24ac-nav .woocommerce-MyAccount-navigation ul li.is-active a,
.s24ac-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a {
    background: #f7f7f9 !important;
    color: #111 !important;
    font-weight: 700 !important;
    border-left-color: #e94560 !important;
}
.s24ac-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--logout {
    border-top: 1px solid #f0f0f0 !important;
    margin-top: 4px !important;
}
.s24ac-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--logout a,
.s24ac-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--logout a:link,
.s24ac-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--logout a:visited {
    color: #c0392b !important;
}
.s24ac-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--logout a:hover {
    background: #fff0f0 !important; color: #c0392b !important; border-left-color: #c0392b !important;
}

/* ── WooCommerce address / col2-set layout inside content ── */
.s24ac-content .col2-set,
.s24ac-content .woocommerce-Addresses {
    display: flex !important;
    gap: 32px;
    flex-wrap: wrap;
}
.s24ac-content .col2-set .col-1,
.s24ac-content .col2-set .col-2,
.s24ac-content .woocommerce-Addresses .woocommerce-Address {
    flex: 1 1 280px;
    float: none !important;
    width: auto !important;
}
.s24ac-content address { font-style: normal; line-height: 1.7; color: #555; font-size: 14px; }
.s24ac-content .woocommerce-Address-title h3 { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }

/* ── Main content ── */
.s24ac-main { flex: 1; min-width: 0; }
.s24ac-content {
    background: #fff;
    border: 1px solid #f1f1f5;
    border-radius: 16px;
    padding: 32px 36px;
    min-height: 360px;
}
.s24ac-content h2, .s24ac-content h3 { font-size: 17px; font-weight: 700; color: #111; margin-bottom: 16px; }
.s24ac-content p { font-size: 14px; line-height: 1.75; color: #555; }
.s24ac-content a { color: #6c47ff !important; text-decoration: none; }
.s24ac-content a:hover { text-decoration: underline; }
.s24ac-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.s24ac-content table th, .s24ac-content table td { padding: 11px 14px; border-bottom: 1px solid #f0f0f0; text-align: left; vertical-align: middle; }
.s24ac-content table thead th { background: #f7f7fb; font-weight: 700; color: #444; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
.s24ac-content input[type="text"],
.s24ac-content input[type="email"],
.s24ac-content input[type="password"],
.s24ac-content input[type="tel"],
.s24ac-content input[type="number"],
.s24ac-content textarea,
.s24ac-content select {
    width: 100%;
    border: 1px solid #e2e2ef;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #222;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.s24ac-content input:focus,
.s24ac-content textarea:focus,
.s24ac-content select:focus {
    border-color: #6c47ff;
    box-shadow: 0 0 0 3px rgba(108,71,255,.12);
    outline: none;
}
.s24ac-content label { font-weight: 600; font-size: 13px; color: #515166; margin-bottom: 6px; display: inline-block; }
.s24ac-content fieldset { border: none; padding: 0; margin: 0 0 18px; }
.s24ac-content .form-row { margin-bottom: 18px; }
.s24ac-content .button {
    display: inline-block; padding: 9px 22px; background: #6c47ff;
    color: #fff !important; border-radius: 7px; font-size: 13px; font-weight: 600;
    text-decoration: none !important; border: none; cursor: pointer; transition: background .2s;
}
.s24ac-content .button:hover { background: #5535e0 !important; }
.s24ac-content .woocommerce-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.s24ac-content .woocommerce-message { background: #f0fdf4; border-left: 4px solid #22c55e; }
.s24ac-content .woocommerce-error { background: #fff5f5; border-left: 4px solid #ef4444; }

/* ── Hide breadcrumb on account pages ── */
.woocommerce-account .woocommerce-breadcrumb,
.woocommerce-account nav.woocommerce-breadcrumb,
.woocommerce-account .breadcrumb-bar { display: none !important; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .s24ac-sidebar { position: static; }
}
@media (max-width: 767px) {
    .s24ac-page { padding: 28px 0 48px; }
    .s24ac-layout { flex-direction: column; }
    .s24ac-sidebar { width: 100%; flex: none; }
    .s24ac-content { padding: 20px 16px; min-height: 200px; }
}

/* ══════════════════════════════════════
   MY ACCOUNT – ORDERS TABLE
══════════════════════════════════════ */
/* Table */
.s24ac-orders-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.s24ac-orders-table thead th {
    background: #f7f7fb;
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 2px solid #ebebeb;
    text-align: left;
}
.s24ac-orders-table tbody tr { border-bottom: 1px solid #f0f0f0; transition: background .15s; }
.s24ac-orders-table tbody tr:last-child { border-bottom: none; }
.s24ac-orders-table tbody tr:hover { background: #fafafa; }
.s24ac-orders-table td,
.s24ac-orders-table th { padding: 13px 16px; vertical-align: middle; }

/* Order number link */
.s24ac-orders-table .order-num-link { font-weight: 700; color: #111 !important; text-decoration: none; }
.s24ac-orders-table .order-num-link:hover { color: #e94560 !important; }

/* Status badges */
.s24ac-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.s24ac-status--pending      { background: #fef9c3; color: #92400e; }
.s24ac-status--processing   { background: #dbeafe; color: #1e40af; }
.s24ac-status--on-hold      { background: #fce7f3; color: #9d174d; }
.s24ac-status--completed    { background: #dcfce7; color: #166534; }
.s24ac-status--cancelled    { background: #f3f4f6; color: #6b7280; }
.s24ac-status--refunded     { background: #f5f3ff; color: #5b21b6; }
.s24ac-status--failed       { background: #fee2e2; color: #991b1b; }

/* Buttons */
.s24ac-btn {
    display: inline-block;
    padding: 7px 16px;
    background: #111;
    color: #fff !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s;
    border: none;
    cursor: pointer;
}
.s24ac-btn:hover { background: #333 !important; color: #fff !important; }
.s24ac-btn--primary { background: #e94560; }
.s24ac-btn--primary:hover { background: #c73850 !important; }
.s24ac-btn--sm { padding: 5px 12px; font-size: 12px; }

/* Empty state */
.s24ac-empty-state { text-align: center; padding: 60px 20px; }
.s24ac-empty-icon { font-size: 48px; margin-bottom: 16px; }
.s24ac-empty-state p { font-size: 15px; color: #888; margin-bottom: 20px; }

/* Pagination */
.s24ac-orders-pagination { display: flex; gap: 10px; justify-content: flex-end; padding-top: 16px; border-top: 1px solid #f0f0f0; margin-top: 8px; }

/* ══════════════════════════════════════
   MY ACCOUNT – LOGIN / REGISTER
══════════════════════════════════════ */
.s24-auth-wrap {
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 56px 16px 80px;
    background: #fff;
}
.s24-auth-surface {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}
.s24-auth-inner {
    width: 100%;
    display: flex;
    gap: 24px;
    flex-direction: column;
}
.s24-auth-inner--stack { max-width: 620px; }
.s24-auth-card-tabs {
    display: flex;
    justify-content: center;
    background: rgba(255,255,255,.8);
    border-radius: 999px;
    border: 1px solid #ebe9ff;
    padding: 4px;
    margin: 0 auto 24px;
    max-width: 360px;
}
.s24-auth-card-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: #8584a6;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 10px 0;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s;
}
.s24-auth-card-tab.is-active {
    background: linear-gradient(135deg,#6c47ff,#a855f7);
    color: #fff;
}
.s24-auth-card--panel { display: none; }
.s24-auth-card--panel.is-active { display: block; }
.s24-auth-switch {
    border: none;
    background: none;
    color: #5a2bff;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}
.s24-auth-card {
    flex: 1 1 360px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f1f5;
    box-shadow: none;
    padding: 44px 38px 38px;
}
.s24-auth-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin: 0 0 6px;
}
.s24-auth-card .s24-auth-sub {
    font-size: 13px;
    color: #888;
    margin: 0 0 28px;
}
.s24-auth-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0 24px;
}
.s24-auth-card .woocommerce-form-row { margin-bottom: 18px; }
.s24-auth-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.s24-auth-card label .required { color: #e43; margin-left: 2px; }
.s24-auth-card input[type="text"],
.s24-auth-card input[type="email"],
.s24-auth-card input[type="password"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-sizing: border-box;
}
.s24-auth-card input[type="text"]:focus,
.s24-auth-card input[type="email"]:focus,
.s24-auth-card input[type="password"]:focus {
    border-color: #6c47ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(108,71,255,.10);
}
.s24-auth-code-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}
.s24-auth-code-row .woocommerce-form-row { margin-bottom: 0; flex: 1; }
.s24-send-code {
    min-width: 140px;
    height: 46px;
    border-radius: 10px;
    border: none;
    background: #111;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, opacity .2s;
}
.s24-send-code:hover:not([disabled]) { background: #333; }
.s24-send-code[disabled] { opacity: .5; cursor: not-allowed; }
.s24-code-hint {
    font-size: 12px;
    color: #888;
    margin: 8px 0 4px;
}
.s24-code-status {
    min-height: 18px;
    font-size: 13px;
    color: #2f855a;
    margin-bottom: 16px;
}
.s24-code-status.is-error { color: #c53030; }
.s24-code-status:empty { display: none; }
.s24-auth-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.s24-auth-remember label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin: 0;
    cursor: pointer;
}
.s24-auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #6c47ff;
    cursor: pointer;
}
.s24-lost-pw {
    font-size: 13px;
    color: #6c47ff;
    text-decoration: none;
    font-weight: 500;
}
.s24-lost-pw:hover { text-decoration: underline; }
.s24-auth-card .s24-btn-submit {
    display: block;
    width: 100%;
    height: 48px;
    background: #6c47ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .2s, transform .15s;
}
.s24-auth-card .s24-btn-submit:hover {
    background: #5535e0;
    transform: translateY(-1px);
}
.s24-auth-hint {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #777;
}
.s24-auth-hint a { color: #6c47ff; font-weight: 600; text-decoration: none; }
.s24-auth-hint a:hover { text-decoration: underline; }
.s24-pw-hint {
    font-size: 12px;
    color: #999;
    margin-top: 22px;
    line-height: 1.5;
}
@media (max-width: 640px) {
    .s24-auth-surface { padding: 28px 20px 36px; }
    .s24-auth-head { padding: 22px 22px 18px; margin-bottom: 26px; }
    .s24-auth-card { padding: 28px 20px 24px; }
}

/* ── Cart page: prevent nested footer block from appearing mid-content ── */
.woocommerce-cart .entry-content .wp-block-template-part {
    display: none;
}

/* ─────────────────────────────────────
   Single Product – Center gallery layout overrides
   Move left-side thumbs below the main image and remove left gutter
────────────────────────────────────── */
.shop-detail-section .gallery-column .carousel-outer { padding-left: 0 !important; }
.shop-detail-section .gallery-column .thumbs-carousel {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  margin-top: 12px !important;
}
.shop-detail-section .gallery-column .thumbs-carousel .swiper-wrapper { justify-content: center !important; }
.shop-detail-section .gallery-column .thumbs-carousel .swiper-slide { height: auto !important; }

/* ── Ensure gallery navigation arrows are black ── */
.shop-detail-section .swiper-button-next,
.shop-detail-section .swiper-button-prev {
  --swiper-navigation-color: #000 !important; /* Swiper var */
  color: #000 !important;                     /* Fallback */
}
.shop-detail-section .swiper-button-next:after,
.shop-detail-section .swiper-button-prev:after {
  color: #000 !important;
}

/* ── Blue circular navigation arrows with white chevrons – mobile only ── */
@media (max-width: 767.98px) {
  .shop-detail-section .swiper-button-next,
  .shop-detail-section .swiper-button-prev {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #3BA3E3 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    padding: 0 !important;
  }
  .shop-detail-section .swiper-button-prev:after {
    content: '‹' !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-shadow: none !important;
  }
  .shop-detail-section .swiper-button-next:after {
    content: '›' !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-shadow: none !important;
  }
  .shop-detail-section .swiper-button-next:hover,
  .shop-detail-section .swiper-button-prev:hover { background: #2F8FCC !important; }
}

/* ── Desktop layout: restore left-side vertical thumbnails ── */
@media (min-width: 992px) {
  .shop-detail-section .gallery-column .carousel-outer { padding-left: 100px !important; }
  .shop-detail-section .gallery-column .thumbs-carousel {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100px !important;
    height: 100% !important;
    margin-top: 0 !important;
  }
  .shop-detail-section .gallery-column .thumbs-carousel .swiper-slide { height: 88px !important; }
}
