/*
Theme Name: GoStore Child
Theme URI: https://demo.theme-sky.com/gostore/
Author: Theme Sky Team
Author URI: http://theme-sky.com/
Description: A Premium and Responsive WordPress theme, designed for E-Commerce websites
Template: gostore
Version: 1.0.0
License: GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: gostore-child
*/

/* ═══════════════════════════════════════════════════════
   NICHE GARDEN — Product Cards & Page Styles
   Header styles are in templates/headers/header-v4.php
   Colors: Gold #C5A255  |  Black #1a1a1a
   ═══════════════════════════════════════════════════════ */

/* ─── PRODUCT CARDS — ng-card (via content-product.php template) ─── */

/* Hide old GoStore wrapper if it exists alongside ng-card */
.woocommerce .products .product .product-wrapper { display: none !important; }

/* Product spacing */
.woocommerce .products .product {
    border: none !important; border-width: 0 !important;
    padding: 10px !important; margin-bottom: 20px !important;
}

/* ng-card — the unified luxury card */
.ng-card {
    display: block !important; text-decoration: none !important; color: #1a1a1a !important;
    text-align: center; transition: transform 0.4s;
}
.ng-card:hover { transform: translateY(-6px); color: #1a1a1a !important; text-decoration: none !important; }
.ng-card-img {
    width: 100%; aspect-ratio: 3/4; overflow: hidden;
    background: #f5f3ef; margin-bottom: 14px;
    position: relative;
}
.ng-card-img img {
    width: 100% !important; height: 100% !important; object-fit: cover !important;
    transition: opacity 0.5s, transform 0.6s;
}
.ng-card-stock-label {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    background: #1a1a1a !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    pointer-events: none;
}
.ng-card-img .ng-card-img-hover {
    position: absolute; top: 0; left: 0;
    opacity: 0;
}
.ng-card:hover .ng-card-img.has-hover .ng-card-img-main { opacity: 0; }
.ng-card:hover .ng-card-img.has-hover .ng-card-img-hover { opacity: 1; }
.ng-card:hover .ng-card-img:not(.has-hover) img { transform: scale(1.05); }
.ng-card-brand {
    display: block; text-align: center;
    font-size: 9px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
    color: #C5A255; margin: 0 0 4px;
}
.ng-card-name {
    font-size: 16px !important; font-weight: 400 !important; letter-spacing: 1px;
    margin: 0 0 6px; text-align: center; line-height: 1.4;
}
.ng-card-price {
    font-size: 14px; color: #888; font-weight: 400; text-align: center; display: block;
}
.ng-card-price del { color: #ccc; }
.ng-card-price ins { text-decoration: none; color: #1a1a1a; font-weight: 500; }

/* Wishlist heart on card — top-left corner */
.ng-card-wishlist {
    position: absolute; top: 10px; left: 10px; z-index: 5;
}
section.product { position: relative; }
.ng-card-wishlist a {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.85) !important; border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-decoration: none !important; border: none !important;
    transition: all 0.2s;
}
.ng-card-wishlist a:hover { background: #fff !important; }
.ng-card-wishlist a::before {
    font-family: themify; content: "\e634";
    font-size: 15px; color: #bbb; transition: color 0.2s;
}
.ng-card-wishlist a:hover::before { color: #d63638; }
.ng-card-wishlist a.added::before {
    content: "\e634"; color: #d63638;
}
.ng-card-wishlist .ts-tooltip { display: none !important; }

/* Old GoStore card styles removed — template override renders ng-card instead */

/* Sale badge hide */
span.onsale { display: none !important; }

.meta-wrapper .product-name a {
    color: #1a1a1a;
    text-decoration: none;
    display: inline !important;
    overflow: hidden;
}
.meta-wrapper .product-name a:hover {
    color: #C5A255;
}

/* Price on cards — matches ng-bprod-price exactly */
.woocommerce .products .product .price {
    text-align: center !important; display: block !important;
}
.woocommerce .products .product .amount,
.product-meta .amount,
.price .amount {
    font-size: 14px !important; font-weight: 400 !important; color: #888 !important;
}
.woocommerce .products .product del .amount { color: #ccc !important; font-size: 12px !important; }
.woocommerce .products .product ins { text-decoration: none; }

/* Hide category count */
.count { display: none; }

/* ─── WISHLIST BUTTON (YITH fallback on product page) ─── */
.yith-wcwl-add-to-wishlist a span {
    display: none;
}
.yith-wcwl-add-to-wishlist a::before {
    font-family: "themify";
    content: "\e634";
    font-size: 16px;
    color: #999;
    transition: color 0.2s;
}
.yith-wcwl-add-to-wishlist a:hover::before {
    color: #d63638;
}
.yith-wcwl-wishlistaddedbrowse a::before,
.yith-wcwl-wishlistexistsbrowse a::before {
    content: "\e64d";
    color: #d63638;
}

/* ─── QUICKSHOP MODAL ──────────────────────────────── */
.ts-popup-modal.loading .overlay,
.ts-popup-modal.show .popup-container {
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

/* ─── CHECKOUT & CART BUTTONS ──────────────────────── */
.woocommerce #payment #place_order,
.cart_totals .wc-proceed-to-checkout a.button {
    background-color: #C5A255 !important;
    border: 2px solid #1a1a1a !important;
    border-radius: 12px;
    color: #1a1a1a !important;
    font-weight: 700;
    transition: all 0.25s ease;
}
.woocommerce #payment #place_order:hover,
.cart_totals .wc-proceed-to-checkout a.button:hover {
    background-color: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
}

/* ═══════════════════════════════════════════════════════
   CHECKOUT PAGE — Luxury 2-Column (ng-checkout template)
   ═══════════════════════════════════════════════════════ */

/* Hide GoStore page title, breadcrumbs, step wizard */
body.woocommerce-checkout .breadcrumb-title-wrapper { display: none !important; }
body.woocommerce-checkout .page-container { padding: 0 !important; }
body.woocommerce-checkout #main-content { padding: 0 !important; }
body.woocommerce-checkout .ts-cart-checkout-process-bar { display: none !important; }
body.woocommerce-checkout .checkout-login-coupon-wrapper { display: none !important; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle { display: none !important; }
/* Hide privacy policy paragraph — we keep only the terms checkbox */
body.woocommerce-checkout .woocommerce-privacy-policy-text { display: none !important; }
/* Terms checkbox link opens in new tab */
body.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text a { target: _blank; }
/* Hide WooCommerce's duplicate order review table — we render our own */
body.woocommerce-checkout .ng-checkout-payment .woocommerce-checkout-review-order-table { display: none !important; }

/* Main 2-column layout */
.ng-checkout { display: flex; min-height: 100vh; direction: rtl; }
.ng-checkout .checkout { display: flex; width: 100%; }

/* RIGHT: Customer details */
.ng-checkout-details {
    flex: 1; padding: 40px 25% 60px 40px;
    background: #fff;
}
.ng-checkout-logo { margin-bottom: 24px; }
.ng-checkout-logo img { max-height: 36px; }

/* LEFT: Order summary + payment — wider */
.ng-checkout-summary {
    width: 480px; flex-shrink: 0;
    padding: 40px 40px 60px;
    background: #FAFAF8; border-right: 1px solid #f0f0f0;
}

/* Headings */
.ng-checkout-heading {
    font-size: 12px !important; font-weight: 500 !important;
    letter-spacing: 4px !important; text-transform: uppercase !important;
    color: #1a1a1a !important; margin: 0 0 24px !important;
    padding-bottom: 12px; border-bottom: 1px solid #f0f0f0;
}

/* Billing form inputs */
.ng-checkout-details input[type="text"],
.ng-checkout-details input[type="email"],
.ng-checkout-details input[type="tel"],
.ng-checkout-details select {
    border: none !important; border-bottom: 1px solid #e0e0e0 !important;
    border-radius: 0 !important; background: transparent !important;
    padding: 14px 0 !important; font-size: 15px !important;
    font-weight: 300 !important; color: #1a1a1a !important;
    outline: none !important; box-shadow: none !important;
    transition: border-color 0.3s; width: 100% !important;
}
.ng-checkout-details .select2-container .select2-selection {
    border: none !important; border-bottom: 1px solid #e0e0e0 !important;
    border-radius: 0 !important; background: transparent !important;
    height: auto !important; min-height: 44px !important;
}
.ng-checkout-details input:focus { border-bottom-color: #C5A255 !important; }
.ng-checkout-details label {
    font-size: 10px !important; font-weight: 500 !important;
    letter-spacing: 2px !important; text-transform: uppercase !important;
    color: #999 !important;
}
.ng-checkout-details label .required { color: #C5A255 !important; }
.ng-checkout-details .form-row { margin-bottom: 20px !important; }
.ng-checkout-details h3 {
    font-size: 12px !important; font-weight: 500 !important;
    letter-spacing: 4px !important; text-transform: uppercase !important;
    color: #1a1a1a !important; margin: 30px 0 20px !important;
    padding-bottom: 10px; border-bottom: 1px solid #f0f0f0;
}

/* Cart items in summary */
.ng-checkout-items { margin-bottom: 24px; }
.ng-checkout-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 0; border-bottom: 1px solid #f0f0f0;
}
.ng-checkout-item:last-child { border-bottom: none; }
.ng-checkout-item-img {
    width: 56px; height: 56px; flex-shrink: 0;
    background: #fff; border-radius: 8px; overflow: hidden;
    position: relative; border: 1px solid #eee;
}
.ng-checkout-item-img img { width: 100%; height: 100%; object-fit: contain; }
.ng-checkout-item-qty {
    display: none;
}
.ng-checkout-item-info { flex: 1; }
.ng-checkout-item-name {
    font-size: 14px; font-weight: 400; color: #1a1a1a; letter-spacing: 0.5px;
}
.ng-checkout-item-size {
    display: block; font-size: 12px; color: #999; margin-top: 2px;
}
.ng-checkout-item-price {
    font-size: 14px; font-weight: 400; color: #1a1a1a; flex-shrink: 0;
}

/* Coupon */
.ng-checkout-coupon { margin-bottom: 20px; }
.ng-checkout-coupon summary {
    font-size: 12px; color: #C5A255; cursor: pointer; letter-spacing: 1px;
    list-style: none; padding: 10px 0;
}
.ng-checkout-coupon summary::-webkit-details-marker { display: none; }
.ng-checkout-coupon-form {
    display: flex; gap: 10px; margin-top: 10px;
}
.ng-checkout-coupon-form input {
    flex: 1; border: none !important; border-bottom: 1px solid #ddd !important;
    border-radius: 0 !important; background: transparent !important;
    padding: 10px 0 !important; font-size: 14px; outline: none;
}
.ng-coupon-btn, .ng-coupon-btn:hover {
    padding: 10px 20px !important; background: #1a1a1a !important;
    color: #fff !important; border: none !important; border-radius: 0 !important;
    font-size: 10px !important; letter-spacing: 2px !important;
    text-transform: uppercase !important; cursor: pointer;
}

/* Totals */
.ng-checkout-totals {
    padding: 20px 0; border-top: 1px solid #f0f0f0;
    margin-bottom: 24px;
}
.ng-checkout-total-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; font-size: 14px; color: #666;
}
.ng-checkout-grand-total {
    font-size: 20px !important; font-weight: 400 !important;
    color: #1a1a1a !important; padding-top: 16px !important;
    border-top: 1px solid #e0e0e0; margin-top: 8px;
}
.ng-checkout-discount { color: #C5A255; }

/* Checkout Upsell */
.ng-checkout-upsell {
    padding: 20px 0; margin-bottom: 20px;
    border-top: 1px solid #eee; border-bottom: 1px solid #eee;
}
.ng-checkout-upsell-title {
    font-size: 10px !important; font-weight: 500 !important;
    letter-spacing: 3px !important; text-transform: uppercase !important;
    color: #C5A255 !important; margin: 0 0 14px !important;
}
.ng-checkout-upsell-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0;
}
.ng-checkout-upsell-img {
    width: 48px; height: 48px; flex-shrink: 0;
    background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid #eee;
}
.ng-checkout-upsell-img img { width: 100%; height: 100%; object-fit: contain; }
.ng-checkout-upsell-info { flex: 1; min-width: 0; }
.ng-checkout-upsell-brand {
    display: block; font-size: 8px; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; color: #C5A255; margin-bottom: 2px;
}
.ng-checkout-upsell-name {
    display: block; font-size: 13px; font-weight: 400; color: #1a1a1a;
    letter-spacing: 0.3px; margin-bottom: 2px;
}
.ng-checkout-upsell-price { font-size: 12px; color: #888; }
.ng-checkout-upsell-add, .ng-checkout-upsell-add:focus {
    padding: 8px 16px !important; background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    border: none !important; color: #fff !important;
    font-size: 9px !important; letter-spacing: 2px !important;
    text-transform: uppercase !important; text-decoration: none !important;
    flex-shrink: 0; cursor: pointer; transition: background 0.3s !important;
    border-radius: 0 !important;
}
.ng-checkout-upsell-add:hover {
    background: #333 !important; background-color: #333 !important;
    color: #fff !important;
}

/* Payment section from WooCommerce */
.ng-checkout-payment #payment {
    background: transparent !important; border: none !important;
    box-shadow: none !important; padding: 0 !important;
}
.ng-checkout-payment .payment_methods {
    border: none !important; padding: 0 !important; margin-bottom: 16px;
}
.ng-checkout-payment .payment_methods li {
    border: 1px solid #f0f0f0 !important; margin-bottom: 8px;
    padding: 14px !important; border-radius: 0 !important;
}
.ng-checkout-payment .payment_methods li label {
    font-size: 14px !important; font-weight: 400 !important;
}

/* Place order — luxury black */
.ng-checkout-payment #place_order,
.ng-checkout-payment #place_order:hover,
.ng-checkout-payment #place_order:focus {
    background: #1a1a1a !important; background-color: #1a1a1a !important;
    color: #fff !important; border: none !important; border-radius: 0 !important;
    padding: 20px !important; width: 100% !important;
    font-size: 12px !important; font-weight: 500 !important;
    letter-spacing: 4px !important; text-transform: uppercase !important;
    transition: background 0.3s !important; margin-top: 10px;
}
.ng-checkout-payment #place_order:hover { background: #333 !important; }

/* Terms */
.ng-checkout-payment .woocommerce-terms-and-conditions-wrapper {
    font-size: 11px; color: #999; margin: 12px 0;
}
.ng-checkout-payment .woocommerce-terms-and-conditions-wrapper a { color: #C5A255; }

/* Hide GoStore's default checkout elements that leak through */
.woocommerce-checkout .woocommerce-additional-fields { display: none !important; }
.woocommerce-checkout .ts-back-to-cart { display: none !important; }
#order_review_heading { display: none !important; }
/* Hide country field — Israel only */
.ng-checkout-details #billing_country_field { display: none !important; }
.ng-checkout-details #shipping_country_field { display: none !important; }
/* Hide "use same address for billing" checkbox — we only show shipping */
.ng-checkout-details .woocommerce-shipping-fields__field-wrapper + #ship-to-different-address-checkbox { display: none !important; }
.ng-checkout-details #ship-to-different-address { display: none !important; }
/* Hide the billing section title if shipping is shown */
.ng-checkout-details .woocommerce-billing-fields > h3 { display: none !important; }
/* Only show one set of address fields */
.ng-checkout-shipping-toggle { display: none !important; }

/* Mobile */
@media (max-width: 767px) {
    .ng-checkout, .ng-checkout .checkout { flex-direction: column; }
    .ng-checkout-details { padding: 24px 20px 30px; }
    .ng-checkout-summary { width: 100%; padding: 24px 20px 30px; border-right: none; border-top: 1px solid #f0f0f0; }
    .ng-checkout-logo { margin-bottom: 20px; }
}

/* ─── SIDE CART (Floating Sidebar) ─────────────────── */
#ts-shopping-cart-sidebar .ts-sidebar-content {
    background: #f5f6f7;
    padding: 0 !important;
}
#ts-shopping-cart-sidebar .ts-sidebar-content > .close {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    width: 36px !important;
    height: 36px !important;
    background: #f0f0f0 !important;
    border-radius: 50% !important;
    z-index: 20;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
#ts-shopping-cart-sidebar .ts-sidebar-content > .close:hover {
    background: #ddd !important;
}

/* Cart Title */
#ts-shopping-cart-sidebar .dropdown-title,
.ts-tiny-cart-wrapper .dropdown-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #333 !important;
    text-align: center !important;
    padding: 16px 50px 14px !important;
    margin: 0 !important;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
    display: block !important;
}
#ts-shopping-cart-sidebar .clear-cart-button,
.ts-tiny-cart-wrapper .clear-cart-button {
    display: none !important;
}

/* Cart list */
#ts-shopping-cart-sidebar .cart-wrapper,
.ts-tiny-cart-wrapper .cart-wrapper {
    padding: 8px 0;
}

/* Product cards in cart — flex layout */
#ts-shopping-cart-sidebar .cart_list li,
.ts-tiny-cart-wrapper .dropdown-container .cart_list li {
    background: #fff !important;
    border-radius: 14px !important;
    padding: 14px !important;
    margin: 0 12px 10px !important;
    border: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: auto !important;
}

/* Kill parent thumbnail float */
#ts-shopping-cart-sidebar .cart_list li > a.thumbnail,
.ts-tiny-cart-wrapper .cart_list li > a.thumbnail,
#ts-shopping-cart-sidebar .cart_list li > a:first-child,
.ts-tiny-cart-wrapper .dropdown-container .cart_list li > a:first-child {
    float: none !important;
    width: 70px !important;
    height: 70px !important;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 !important;
}
#ts-shopping-cart-sidebar .cart_list li > a img,
.ts-tiny-cart-wrapper .dropdown-container .cart_list li > a img {
    border-radius: 10px;
    object-fit: contain;
    width: 70px !important;
    height: 70px !important;
}

/* Kill parent margin-left */
#ts-shopping-cart-sidebar .cart-item-wrapper,
.ts-tiny-cart-wrapper .dropdown-container .cart-item-wrapper {
    flex: 1 !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 24px !important;
}

/* Product name in cart */
#ts-shopping-cart-sidebar .cart-item-wrapper .product-name,
.ts-tiny-cart-wrapper .cart-item-wrapper .product-name {
    margin: 0 0 4px !important;
}
#ts-shopping-cart-sidebar .cart-item-wrapper .product-name a,
.ts-tiny-cart-wrapper .cart-item-wrapper .product-name a {
    font-size: 13px !important;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price in cart */
#ts-shopping-cart-sidebar .cart-item-wrapper .price,
.ts-tiny-cart-wrapper .cart-item-wrapper .price {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* Subtotal */
#ts-shopping-cart-sidebar .cart-item-wrapper .subtotal,
.ts-tiny-cart-wrapper .cart-item-wrapper .subtotal {
    color: #888;
    font-size: 12px;
}

/* Remove button */
#ts-shopping-cart-sidebar .cart_list li .cart-item-wrapper a.remove,
.ts-tiny-cart-wrapper .cart_list li .cart-item-wrapper a.remove,
#ts-shopping-cart-sidebar .cart_list li a.remove_from_cart_button,
.ts-tiny-cart-wrapper .cart_list li a.remove_from_cart_button {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: 22px !important;
    height: 22px !important;
    background: #fee !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #d63638 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: background 0.2s;
    z-index: 5;
    padding: 0 !important;
    margin: 0 !important;
}
#ts-shopping-cart-sidebar .cart_list li .cart-item-wrapper a.remove:hover,
.ts-tiny-cart-wrapper .cart_list li .cart-item-wrapper a.remove:hover {
    background: #d63638 !important;
    color: #fff !important;
}
#ts-shopping-cart-sidebar .cart_list li .cart-item-wrapper a.remove::before,
.ts-tiny-cart-wrapper .cart_list li .cart-item-wrapper a.remove::before {
    display: none !important;
}

/* Quantity */
#ts-shopping-cart-sidebar .quantity .number-button,
.ts-tiny-cart-wrapper .quantity .number-button {
    border-radius: 20px;
    background: #f0f0f0;
}
#ts-shopping-cart-sidebar .quantity input.qty,
.ts-tiny-cart-wrapper .quantity input.qty {
    font-size: 13px;
    font-weight: 600;
}

/* Footer */
#ts-shopping-cart-sidebar .dropdown-footer,
.ts-tiny-cart-wrapper .dropdown-footer {
    padding: 16px 16px 20px !important;
    background: #fff !important;
    border-top: 2px solid #1a1a1a !important;
}
#ts-shopping-cart-sidebar .dropdown-footer::after,
.ts-tiny-cart-wrapper .dropdown-footer::after {
    display: none !important;
}

/* Total */
#ts-shopping-cart-sidebar .dropdown-footer .total,
.ts-tiny-cart-wrapper .dropdown-footer .total {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    color: #333 !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}
#ts-shopping-cart-sidebar .dropdown-footer .total .amount,
.ts-tiny-cart-wrapper .dropdown-footer .total .amount {
    color: #1a1a1a !important;
    font-size: 20px !important;
}

/* HIDE "View Cart" */
.ts-tiny-cart-wrapper .dropdown-footer .button.view-cart,
#ts-shopping-cart-sidebar .dropdown-footer .button.view-cart {
    display: none !important;
}

/* Checkout — full width */
.ts-tiny-cart-wrapper .dropdown-footer .button.checkout-button,
#ts-shopping-cart-sidebar .dropdown-footer .button.checkout-button {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(26,26,26,0.3);
}
.ts-tiny-cart-wrapper .dropdown-footer .button.checkout-button:hover,
#ts-shopping-cart-sidebar .dropdown-footer .button.checkout-button:hover {
    background: #333 !important;
}

/* Kill parent float on footer buttons */
#ts-shopping-cart-sidebar .dropdown-footer > a,
.ts-tiny-cart-wrapper .dropdown-footer > a {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Empty cart */
#ts-shopping-cart-sidebar .emty-title,
.ts-tiny-cart-wrapper .emty-title {
    color: #888;
    font-size: 16px;
    text-align: center;
    padding: 40px 20px 10px;
}
#ts-shopping-cart-sidebar .continue-shopping-button,
.ts-tiny-cart-wrapper .continue-shopping-button {
    display: block;
    text-align: center;
    color: #C5A255;
    font-weight: 600;
    margin-top: 10px;
    font-size: 14px;
}

/* ─── HIDE GREEN ADD-TO-CART NOTICE ────────────────── */
.single-product .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-message {
    display: none !important;
}

/* ─── Size label in cart ──────────────────────────── */
.ng-cart-size {
    font-size: 12px; font-weight: 400; color: #888;
    display: block; margin-top: 2px;
}
#ts-shopping-cart-sidebar .ng-cart-size,
.ts-tiny-cart-wrapper .ng-cart-size {
    font-size: 11px; color: #999;
}

/* ─── WISHLIST PAGE ───────────────────────────────── */
.ts-wishlist-table-wrapper {
    max-width: 900px; margin: 0 auto; direction: rtl;
}
.ts-wishlist-table-wrapper .heading-row {
    display: none !important;
}
/* Items */
.ts-wishlist-table-wrapper .items .item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 0; border-bottom: 1px solid #f0f0f0;
}
.ts-wishlist-table-wrapper .items .item .product-thumbnail {
    width: 70px; height: 70px; flex-shrink: 0;
    border-radius: 8px; overflow: hidden;
}
.ts-wishlist-table-wrapper .items .item .product-thumbnail img {
    width: 100%; height: 100%; object-fit: contain;
}
.ts-wishlist-table-wrapper .items .item .product-name {
    flex: 1; font-size: 14px; font-weight: 500; color: #1a1a1a;
}
.ts-wishlist-table-wrapper .items .item .product-name a {
    color: #1a1a1a; text-decoration: none;
}
.ts-wishlist-table-wrapper .items .item .product-price {
    font-size: 14px; color: #1a1a1a; font-weight: 400;
}
.ts-wishlist-table-wrapper .items .item .product-stock-status {
    font-size: 12px; color: #888;
}
/* Add to cart button in wishlist */
.ts-wishlist-table-wrapper .items .item .product-add-to-cart a.button,
.ts-wishlist-table-wrapper .items .item .product-add-to-cart .button {
    background: #1a1a1a !important; color: #fff !important;
    border: none !important; padding: 10px 24px !important;
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: 2px !important; text-transform: uppercase !important;
    text-decoration: none !important; display: inline-block;
    transition: background 0.3s !important;
}
.ts-wishlist-table-wrapper .items .item .product-add-to-cart a.button:hover,
.ts-wishlist-table-wrapper .items .item .product-add-to-cart .button:hover {
    background: #333 !important;
}
.ts-wishlist-table-wrapper .items .item .product-add-to-cart a.button::before {
    display: none !important;
}
/* Remove button */
.ts-wishlist-table-wrapper .items .item .product-remove a {
    color: #ccc !important; font-size: 18px; text-decoration: none;
    transition: color 0.2s;
}
.ts-wishlist-table-wrapper .items .item .product-remove a:hover {
    color: #d63638 !important;
}
/* Empty state */
.ts-wishlist-table-wrapper.empty-wishlist .heading-row { display: none !important; }
.ts-wishlist-table-wrapper.empty-wishlist .items {
    text-align: center; padding: 60px 20px;
}
.ts-wishlist-table-wrapper.empty-wishlist .items .item {
    display: block; border: none; padding: 0;
}
.ts-wishlist-table-wrapper.empty-wishlist .items .item span {
    display: block; color: #999; font-size: 16px; margin-bottom: 24px;
}
.ts-wishlist-table-wrapper.empty-wishlist .items::before {
    content: "♡"; display: block; font-size: 48px; color: #ddd; margin-bottom: 16px;
}
.ts-wishlist-table-wrapper.empty-wishlist .items::after {
    content: "חזרה לחנות"; display: inline-block;
    background: #1a1a1a; color: #fff; padding: 14px 40px;
    font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
    cursor: pointer; text-decoration: none;
    transition: background 0.3s;
}
.ts-wishlist-table-wrapper.empty-wishlist .items:hover::after {
    background: #333;
}

/* ─── LEGAL PAGES ─────────────────────────────────── */
.ng-legal-page {
    max-width: 800px; margin: 40px auto; padding: 0 20px;
    font-size: 15px; line-height: 1.9; color: #444;
}
.ng-legal-page h2 {
    font-size: 28px; font-weight: 300; letter-spacing: 2px;
    color: #1a1a1a; margin-bottom: 24px; text-align: center;
}
.ng-legal-page h3 {
    font-size: 16px; font-weight: 600; color: #1a1a1a;
    margin: 24px 0 8px;
}
.ng-legal-page p { margin-bottom: 12px; }
.ng-legal-page ul {
    padding-right: 20px; margin-bottom: 16px;
}
.ng-legal-page li { margin-bottom: 6px; }

/* ─── CONTACT PAGE ────────────────────────────────── */
.ng-contact-page {
    max-width: 700px; margin: 40px auto; padding: 0 20px; text-align: center;
}
.ng-contact-page h2 {
    font-size: 28px; font-weight: 300; letter-spacing: 2px; color: #1a1a1a; margin-bottom: 8px;
}
.ng-contact-subtitle {
    color: #888; font-size: 15px; margin-bottom: 36px;
}
.ng-contact-cards {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px;
}
.ng-contact-card {
    flex: 1; min-width: 180px; max-width: 220px;
    padding: 28px 20px; border: 1px solid #eee; border-radius: 12px;
    transition: border-color 0.3s;
}
.ng-contact-card:hover { border-color: #C5A255; }
.ng-contact-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.ng-contact-card h3 {
    font-size: 13px; font-weight: 600; letter-spacing: 1px; color: #1a1a1a; margin-bottom: 8px;
}
.ng-contact-card a {
    color: #C5A255; text-decoration: none; font-size: 14px; font-weight: 500;
}
.ng-contact-card a:hover { color: #1a1a1a; }
.ng-contact-hours {
    margin-bottom: 24px; padding: 20px; background: #FAF8F5; border-radius: 10px;
}
.ng-contact-hours h3 {
    font-size: 13px; font-weight: 600; letter-spacing: 1px; color: #1a1a1a; margin-bottom: 8px;
}
.ng-contact-hours p { color: #666; font-size: 14px; line-height: 1.8; margin: 0; }
.ng-contact-business { color: #999; font-size: 13px; }
.ng-contact-business p { margin: 0; line-height: 1.8; }

/* ─── PAGINATION HIDE ──────────────────────────────── */
.woocommerce nav.woocommerce-pagination {
    display: none;
}

/* ─── PRODUCT IMAGE SIZES ──────────────────────────── */

@media (max-width: 767px) {
    .woocommerce .products .product {
        padding: 6px !important;
    }
    h3.heading-title.product-name {
        font-size: 13px;
    }
    .woocommerce .products .product .meta-wrapper .button,
    a.button.add_to_cart_button.ajax_add_to_cart,
    .product-wrapper .button.product_type_simple.add_to_cart_button {
        padding: 8px 10px !important;
        font-size: 11px !important;
        margin-bottom: 2px !important;
    }
    .woocommerce .products .product .product-group-price-button-meta-wrapper,
    .woocommerce .products .product .meta-wrapper {
        overflow: visible !important;
    }
}

/* Image sizes handled by aspect-ratio: 3/4 on all breakpoints */

/* ═══════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE — Xerjoff-Level Luxury
   ═══════════════════════════════════════════════════════ */

body.single-product #main-content {
    overflow: hidden; position: relative;
    background: #FAF8F5; padding-top: 0;
}
body.single-product .page-container { background: #FAF8F5; }
body.single-product #primary { background: #fff; padding: 30px 40px 40px; max-width: 1300px; margin: 0 auto; }

/* ── HIDE everything that breaks luxury feel ── */
.single-product .breadcrumbs,
.single-product .breadcrumb-title-wrapper { display: none !important; }
.single-product .summary .single-counter-wrapper { display: none !important; }
.single-product .summary .ts-review-link,
.single-product .summary .woocommerce-product-rating { display: none !important; }
.single-product .ts-buy-now-button,
.single-product .summary .ts-buy-now-button { display: none !important; }
.single-product .summary .meta-content { display: none !important; }
.single-product .ts-social-sharing,
.single-product .summary .ts-social-sharing { display: none !important; }
.single-product .summary .availability,
.single-product .summary .availability.stock { display: none !important; }
/* Hide quantity selector — luxury sites don't show it */
.single-product .summary .quantity { display: none !important; }
/* Hide zoom trigger on image */
.woocommerce-product-gallery__trigger { display: none !important; }
/* Hide tabs — we show description inline */
.woocommerce div.product .woocommerce-tabs { display: none !important; }

/* ── Product layout — image right, info left ── */
.woocommerce div.product div.images {
    width: 50% !important; float: right !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    min-height: 500px; padding: 20px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    border-radius: 0 !important;
    max-height: 550px;
    object-fit: contain !important;
    margin: 0 auto;
}
.woocommerce div.product .summary {
    width: 45% !important; float: left !important;
    padding-top: 10px;
    display: flex !important; flex-direction: column !important;
}
/* Force correct visual order via flexbox (GoStore scrambles DOM priorities) */
.woocommerce div.product .summary > .ng-product-brand  { order: 1; }
.woocommerce div.product .summary > .product_title      { order: 2; }
.woocommerce div.product .summary > .ng-product-divider { order: 3; }
.woocommerce div.product .summary > .ng-price           { order: 4; }
.woocommerce div.product .summary > .woocommerce-product-details__short-description { order: 5; }
.woocommerce div.product .summary > .ng-scent-tags      { order: 6; }
.woocommerce div.product .summary > .ng-scent-notes     { order: 7; }
.woocommerce div.product .summary > .ng-size-selector   { order: 8; }
.woocommerce div.product .summary > form.cart            { order: 9; }
/* Everything else hidden or at the end */
.woocommerce div.product .summary > * { order: 99; }

/* ── Brand name ── */
.ng-product-brand { display: block; margin-bottom: 8px; }
.ng-product-brand a {
    font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase;
    color: #C5A255; text-decoration: none; transition: color 0.3s;
}
.ng-product-brand a:hover { color: #1a1a1a; }

/* ── Product Title ── */
.woocommerce div.product .product_title {
    font-size: 32px !important; font-weight: 300 !important;
    color: #1a1a1a !important; line-height: 1.2;
    letter-spacing: 2px;
    margin-bottom: 0 !important; padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* ── Gold divider ── */
.ng-product-divider {
    width: 40px; height: 1px; background: #C5A255;
    margin: 16px 0 16px; margin-right: 0;
}

/* ── Short description ── */
.woocommerce div.product .summary .woocommerce-product-details__short-description {
    font-style: normal !important; font-size: 14px;
    line-height: 1.8; color: #555; margin-bottom: 20px;
}

/* ── Scent Tags (pill badges) ── */
.ng-scent-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 16px;
}
.ng-scent-tag {
    display: inline-block; padding: 6px 18px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
    border: 1px solid #ddd; border-radius: 20px;
    color: #1a1a1a; background: transparent;
    line-height: 1.4;
}
.ng-scent-tag--primary {
    background: #C5A255; color: #fff;
    border-color: #C5A255;
}

/* ── Scent Notes (uppercase ingredients) ── */
.ng-scent-notes {
    font-size: 12px; font-weight: 500; letter-spacing: 2px;
    color: #888; text-transform: uppercase;
    margin-bottom: 24px;
}

/* ── Price (WooCommerce default — hidden, we use .ng-price) ── */
.woocommerce div.product .summary > p.price { display: none !important; }

/* ── Our price ── */
.ng-price {
    margin-bottom: 20px !important;
}
.ng-price .woocommerce-Price-amount {
    font-size: 24px !important; font-weight: 400 !important;
    color: #1a1a1a !important; letter-spacing: 1px;
}
.ng-price ins { text-decoration: none !important; }
.ng-price del .woocommerce-Price-amount {
    font-size: 16px !important; color: #bbb !important;
}
.ng-price-size {
    display: block; font-size: 12px; font-weight: 400;
    color: #999; letter-spacing: 0.5px; margin-top: 4px;
}

/* ── Tax note — removed per client request ── */
.ng-tax-note { display: none !important; }

/* ── Add to Cart — row with qty + button ── */
.single-product .summary form.cart {
    display: block !important; margin-bottom: 0 !important;
    clear: both !important; overflow: visible !important;
    position: relative !important; z-index: 1 !important;
}
.ng-cart-row {
    display: flex; align-items: center; gap: 10px;
    direction: rtl; /* RTL: qty on right, button on left */
}
/* Qty selector */
.single-product .ng-qty-selector,
.ng-qty-selector {
    display: flex !important; align-items: center !important;
    flex-shrink: 0 !important; direction: ltr !important;
    border: 1px solid #ddd !important; height: 48px !important;
    box-sizing: border-box !important; overflow: hidden !important;
}
.single-product .ng-qty-selector button.ng-qty-btn,
button.ng-qty-btn {
    width: 36px !important; min-width: 36px !important; max-width: 36px !important;
    height: 100% !important; border: none !important; background: none !important;
    font-size: 16px !important; font-weight: 300 !important; color: #1a1a1a !important;
    cursor: pointer !important; display: flex !important;
    align-items: center !important; justify-content: center !important;
    font-family: inherit !important; padding: 0 !important; margin: 0 !important;
    line-height: 1 !important; -webkit-user-select: none; user-select: none;
    box-shadow: none !important; outline: none !important;
}
button.ng-qty-btn:hover { background: #f5f5f5 !important; }
.single-product input.ng-qty-input,
input.ng-qty-input,
input[type="number"].ng-qty-input {
    width: 32px !important; min-width: 32px !important; max-width: 32px !important;
    height: 100% !important; text-align: center !important;
    border: none !important; border-left: 1px solid #eee !important; border-right: 1px solid #eee !important;
    font-size: 14px !important; font-weight: 600 !important; color: #1a1a1a !important;
    -moz-appearance: textfield !important; background: none !important;
    font-family: inherit !important; padding: 0 !important; margin: 0 !important;
    box-shadow: none !important; outline: none !important;
}
input.ng-qty-input::-webkit-outer-spin-button,
input.ng-qty-input::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0 !important; }

/* Add to cart button */
button.single_add_to_cart_button.button.alt {
    background: #1a1a1a !important; color: #fff !important;
    border: none !important; border-radius: 0 !important;
    padding: 0 40px !important; height: 48px !important;
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: 3px !important; text-transform: uppercase !important;
    transition: background 0.3s !important;
    flex: 1 !important; display: flex !important;
    align-items: center !important; justify-content: center !important;
    position: relative !important;
}
button.single_add_to_cart_button.button.alt:hover {
    background: #333 !important; color: #fff !important;
}
button.single_add_to_cart_button.button.alt::before {
    display: none !important;
}
/* Add to cart spinner */
.ng-btn-spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff; border-radius: 50%;
    animation: ng-spin 0.6s linear infinite;
    vertical-align: middle;
}
@keyframes ng-spin { to { transform: rotate(360deg); } }

/* ── Size Selector (custom buttons) ── */
.ng-size-selector {
    margin-bottom: 24px;
}
.ng-size-label {
    display: block; font-size: 13px; font-weight: 700;
    letter-spacing: 1px; color: #1a1a1a; margin-bottom: 10px;
}
.ng-size-buttons {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.ng-size-btn {
    padding: 10px 22px; border: 1.5px solid #ddd;
    background: #fff; color: #1a1a1a;
    font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
    cursor: pointer; transition: all 0.2s;
    font-family: inherit;
}
.ng-size-btn:hover {
    border-color: #C5A255;
}
.ng-size-btn.ng-size-active {
    border-color: #1a1a1a; background: #1a1a1a; color: #fff;
}

/* ── Product Attributes — clearly below the button ── */
.ng-product-attrs {
    clear: both !important; position: relative !important; z-index: 0 !important;
}

/* ── Wishlist — on the product image, not in summary ── */
.single-product .summary .button-in.wishlist { display: none !important; }
.single-product .woocommerce-product-gallery {
    position: relative !important;
}
.single-product .woocommerce-product-gallery .product-group-button {
    display: block !important; position: absolute !important;
    top: 16px; left: 16px; right: auto !important; z-index: 10;
}
.single-product .woocommerce-product-gallery .product-group-button > div.wishlist {
    display: block !important; opacity: 1 !important; transform: none !important;
    width: 40px !important; height: 40px !important;
    background: rgba(255,255,255,0.9) !important; border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.single-product .woocommerce-product-gallery .product-group-button > div.wishlist a {
    width: 40px !important; height: 40px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    color: #bbb !important;
}
.single-product .woocommerce-product-gallery .product-group-button > div.wishlist a:hover {
    color: #d63638 !important; background: transparent !important;
}
.single-product .woocommerce-product-gallery .product-group-button > div.wishlist a::after {
    font-family: themify !important; font-size: 17px !important;
    color: inherit !important; line-height: 1 !important; display: inline !important;
    width: auto !important; height: auto !important; position: static !important;
    background: transparent !important;
}
.single-product .woocommerce-product-gallery .product-group-button > div.wishlist a.added::after {
    font-family: themify !important; content: "\e64d" !important;
    color: #d63638 !important;
}
.single-product .woocommerce-product-gallery .product-group-button > div.wishlist .ts-tooltip { display: none !important; }
.single-product .woocommerce-product-gallery .product-group-button > div:not(.wishlist) { display: none !important; }

/* ── Product Attributes — inside summary, after add-to-cart ── */
.ng-product-attrs {
    margin: 20px 0 0; padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.ng-product-attr {
    display: flex; align-items: baseline; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid #f5f5f5;
}
.ng-product-attr:last-child { border-bottom: none; }
.ng-product-attr-label {
    font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    color: #C5A255; min-width: 80px; flex-shrink: 0;
}
.ng-product-attr-value {
    font-size: 14px; font-weight: 400; color: #1a1a1a; letter-spacing: 0.5px;
}

/* ── Description Section — full width below image+summary ── */
.ng-product-details-section {
    clear: both; padding-top: 40px; margin-top: 40px;
    border-top: 1px solid #f0f0f0;
    max-width: 700px; direction: rtl;
}
.ng-product-description h3 {
    font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    color: #1a1a1a; margin: 24px 0 12px;
}
.ng-product-description h3:first-child { margin-top: 0; }
.ng-product-description p {
    font-size: 15px; line-height: 1.9; color: #555; margin: 0 0 16px;
}
.ng-product-description strong { color: #C5A255; font-weight: 600; }

/* ── Product image — no radius ── */
.woocommerce div.product div.images img { border-radius: 0 !important; }

/* ── Hide GoStore's empty related products — we use our own ── */
.related-upsells-products-wrapper { display: none !important; }

/* ── Custom Related Products ── */
.ng-related-section {
    clear: both; padding: 50px 0 0; margin-top: 40px;
    border-top: 1px solid #f0f0f0;
}
.ng-related-title {
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: 4px !important; text-transform: uppercase !important;
    color: #C5A255 !important; text-align: center;
    margin: 0 0 30px !important;
}
.ng-related-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.ng-related-card, .ng-related-card:hover, .ng-related-card:focus, .ng-related-card:active {
    display: block; text-decoration: none !important; color: #1a1a1a !important;
    text-align: center; transition: transform 0.4s;
}
.ng-related-card:hover { transform: translateY(-6px); }
.ng-related-card .ng-related-name, .ng-related-card:hover .ng-related-name { text-decoration: none !important; color: #1a1a1a !important; }
.ng-related-card .ng-related-price, .ng-related-card:hover .ng-related-price { text-decoration: none !important; color: #888 !important; }
.ng-related-img {
    width: 100%; aspect-ratio: 3/4; overflow: hidden;
    background: #f5f3ef; margin-bottom: 12px;
}
.ng-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.ng-related-card:hover .ng-related-img img { transform: scale(1.05); }
.ng-related-brand {
    display: block; font-size: 9px; font-weight: 500; letter-spacing: 3px;
    text-transform: uppercase; color: #C5A255; margin-bottom: 4px;
}
.ng-related-name { font-size: 15px; font-weight: 400; letter-spacing: 0.5px; margin: 0 0 6px; }
.ng-related-price { font-size: 13px; color: #888; }

@media (max-width: 767px) {
    .ng-related-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ── Mobile single product ── */
@media (max-width: 767px) {
    body.single-product #primary { padding: 20px 16px; margin: 10px auto; }
    .woocommerce div.product div.images { width: 100% !important; float: none !important; }
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper { min-height: 350px; }
    .woocommerce div.product .summary { width: 100% !important; float: none !important; padding-top: 20px; }
    .woocommerce div.product .product_title { font-size: 26px !important; }
    .woocommerce div.product .summary > p.price .woocommerce-Price-amount { font-size: 22px !important; }
    .ng-scent-tags { gap: 6px; }
    .ng-scent-tag { padding: 5px 14px; font-size: 11px; }
    .ng-scent-notes { font-size: 11px; letter-spacing: 1.5px; }
    .ng-size-btn { padding: 8px 16px; font-size: 12px; }
    .ng-tax-note { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════
   LOGIN / REGISTER PAGE
   ═══════════════════════════════════════════════════════ */

.woocommerce-account #main-content {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    padding: 40px 0;
}

/* Two-column layout */
.woocommerce-account .u-columns {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.woocommerce-account .u-columns .u-column-1,
.woocommerce-account .u-columns .u-column-2 {
    flex: 1;
}

/* Form cards */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px 28px !important;
    border: 1px solid #eee;
}

/* Form titles */
.woocommerce-account .u-column-1 > h2,
.woocommerce-account .u-column-2 > h2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1a1a1a;
    margin-bottom: 20px !important;
    padding-bottom: 14px;
    border-bottom: 3px solid #C5A255;
    display: inline-block;
}

/* Labels */
.woocommerce-account .woocommerce-form label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    display: block;
}

/* Inputs */
.woocommerce-account .woocommerce-form input[type="text"],
.woocommerce-account .woocommerce-form input[type="email"],
.woocommerce-account .woocommerce-form input[type="password"],
.woocommerce-account .woocommerce-form input[type="tel"] {
    width: 100%;
    padding: 12px 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}
.woocommerce-account .woocommerce-form input[type="text"]:focus,
.woocommerce-account .woocommerce-form input[type="email"]:focus,
.woocommerce-account .woocommerce-form input[type="password"]:focus,
.woocommerce-account .woocommerce-form input[type="tel"]:focus {
    border-color: #C5A255 !important;
    box-shadow: 0 0 0 3px rgba(197,162,85,0.1);
}

/* Submit buttons */
.woocommerce-account .woocommerce-form .woocommerce-button,
.woocommerce-account .woocommerce-form button[type="submit"] {
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.25s;
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 10px;
}
.woocommerce-account .woocommerce-form .woocommerce-button:hover,
.woocommerce-account .woocommerce-form button[type="submit"]:hover {
    background: #333 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,26,26,0.3);
}

/* Remember me */
.woocommerce-account .woocommerce-form .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin: 12px 0;
}

/* Lost password link */
.woocommerce-account .woocommerce-LostPassword a {
    color: #C5A255;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.woocommerce-account .woocommerce-LostPassword a:hover {
    text-decoration: underline;
}

/* Privacy text */
.woocommerce-account .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

/* Mobile login/register */
@media (max-width: 767px) {
    .woocommerce-account .u-columns {
        flex-direction: column;
        gap: 24px;
        padding: 0 14px;
    }
    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register {
        padding: 24px 20px !important;
        border-radius: 14px;
    }
    .woocommerce-account .u-column-1 > h2,
    .woocommerce-account .u-column-2 > h2 {
        font-size: 20px !important;
    }
    .woocommerce-account #main-content {
        padding: 24px 0;
        border-radius: 12px;
    }
}

/* ── My Account Dashboard ── */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px !important;
    justify-content: center;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 24px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f9f6f0;
    color: #1a1a1a;
    border-color: #C5A255;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Dashboard content */
.woocommerce-account .woocommerce-MyAccount-content {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}
.woocommerce-account .woocommerce-MyAccount-content a {
    color: #C5A255;
    font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-content p:first-child {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Logout link */
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    background: #fee;
    color: #d63638;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #d63638;
    color: #fff;
    border-color: #d63638;
}

/* Account tables */
.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account table.shop_table {
    border-radius: 12px !important;
    overflow: hidden;
    border: 1px solid #eee !important;
}
.woocommerce-account table.shop_table th {
    background: #f8f9fa;
    font-weight: 700;
    color: #333;
}

/* Account forms */
.woocommerce-account .woocommerce-EditAccountForm input[type="text"],
.woocommerce-account .woocommerce-EditAccountForm input[type="email"],
.woocommerce-account .woocommerce-EditAccountForm input[type="password"],
.woocommerce-account .woocommerce-address-fields input[type="text"],
.woocommerce-account .woocommerce-address-fields input[type="tel"],
.woocommerce-account .woocommerce-address-fields select {
    padding: 12px 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    font-size: 14px;
    transition: border-color 0.2s;
}
.woocommerce-account .woocommerce-EditAccountForm input:focus,
.woocommerce-account .woocommerce-address-fields input:focus,
.woocommerce-account .woocommerce-address-fields select:focus {
    border-color: #C5A255 !important;
    box-shadow: 0 0 0 3px rgba(197,162,85,0.1);
}

/* Save button */
.woocommerce-account button[name="save_account_details"],
.woocommerce-account button[name="save_address"] {
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.25s;
}
.woocommerce-account button[name="save_account_details"]:hover,
.woocommerce-account button[name="save_address"]:hover {
    background: #333 !important;
}

/* Mobile — single product */
@media (max-width: 767px) {
    body.single-product #main-content {
        border-radius: 12px;
    }
    .woocommerce div.product .product_title {
        font-size: 20px !important;
    }
}

/* Out-of-stock badge for custom brand product cards */
.ng-bprod-img {
    position: relative;
}
.ng-bprod-stock-label {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    background: #1a1a1a !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    pointer-events: none;
}

/* Product category hero image */
.ng-category-hero {
    height: min(60vh, 560px) !important;
    min-height: 420px !important;
    background-size: cover !important;
    background-position: center !important;
}
.ng-category-hero .ng-brand-hero-content {
    padding: 40px 24px !important;
}
@media (max-width: 767px) {
    .ng-category-hero {
        height: 360px !important;
        min-height: 360px !important;
    }
}


/* Product category archive should behave like brand pages with a clean hero. */
body.tax-product_cat.ng-hero-page .ng-shop-brands {
    display: none !important;
}

body.tax-product_cat.ng-hero-page .page-container {
    flex-wrap: wrap !important;
}
body.tax-product_cat.ng-hero-page .ng-category-hero {
    flex: 0 0 100vw !important;
    max-width: none !important;
}
body.tax-product_cat.ng-hero-page .site-content,
body.tax-product_cat.ng-hero-page #main-content {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}
body.admin-bar.tax-product_cat.ng-hero-page .ng-category-hero {
    margin-top: 32px !important;
}
@media (max-width: 782px) {
    body.admin-bar.tax-product_cat.ng-hero-page .ng-category-hero {
        margin-top: 46px !important;
    }
}


body.tax-product_cat.ng-hero-page .site-content {
    margin-top: max(420px, min(60vh, 560px)) !important;
}
body.admin-bar.tax-product_cat.ng-hero-page .site-content {
    margin-top: calc(32px + max(420px, min(60vh, 560px))) !important;
}
@media (max-width: 767px) {
    body.tax-product_cat.ng-hero-page .site-content {
        margin-top: 360px !important;
    }
    body.admin-bar.tax-product_cat.ng-hero-page .site-content {
        margin-top: 406px !important;
    }
}


/* Keep the category hero above archive content layers. */
body.tax-product_cat.ng-hero-page .ng-category-hero {
    position: relative !important;
    z-index: 10 !important;
}
body.tax-product_cat.ng-hero-page #main-content {
    z-index: 1 !important;
}


/* Match product-category brand pages to the custom brand page layout. */
body.tax-product_cat.ng-hero-page {
    --ng-category-hero-height: min(70vh, 560px);
}
body.tax-product_cat.ng-hero-page .ng-category-hero {
    height: var(--ng-category-hero-height) !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    background-position: center bottom !important;
    position: relative !important;
    z-index: 10 !important;
}
body.tax-product_cat.ng-hero-page .ng-category-hero .ng-brand-hero-content {
    padding: 0 24px 50px !important;
}
body.tax-product_cat.ng-hero-page .site-content {
    margin-top: var(--ng-category-hero-height) !important;
}
body.admin-bar.tax-product_cat.ng-hero-page .site-content {
    margin-top: calc(32px + var(--ng-category-hero-height)) !important;
}
body.tax-product_cat.ng-hero-page .term-description {
    min-height: 285px !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 72px max(24px, calc((100vw - 760px) / 2)) 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
    background: #fff !important;
}
body.tax-product_cat.ng-hero-page .term-description:before {
    content: "";
    position: absolute;
    top: 54px;
    left: 50%;
    width: 56px;
    height: 1px;
    background: #C5A255;
    transform: translateX(-50%);
}
body.tax-product_cat.ng-hero-page .term-description p {
    max-width: 760px !important;
    margin: 0 auto !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
}
body.tax-product_cat.ng-hero-page .woocommerce.main-products {
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 40px 0 60px !important;
}
body.tax-product_cat.ng-hero-page .woocommerce.main-products .products {
    margin: 0 !important;
}
@media (max-width: 767px) {
    body.tax-product_cat.ng-hero-page {
        --ng-category-hero-height: 360px;
    }
    body.admin-bar.tax-product_cat.ng-hero-page .site-content {
        margin-top: calc(46px + var(--ng-category-hero-height)) !important;
    }
    body.tax-product_cat.ng-hero-page .term-description {
        min-height: 240px !important;
        padding: 64px 22px 38px !important;
    }
}


body.admin-bar.tax-product_cat.ng-hero-page .ng-category-hero {
    margin-top: 0 !important;
}


/* INSENF category logo in brand-style hero. */
body.tax-product_cat.term-insenf .ng-category-brand-logo {
    display: block !important;
    width: min(620px, 72vw) !important;
    max-height: 170px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto 20px !important;
}
body.tax-product_cat.term-insenf .ng-brand-hero-content {
    width: min(720px, 86vw) !important;
}
@media (max-width: 767px) {
    body.tax-product_cat.term-insenf .ng-category-brand-logo {
        width: min(360px, 78vw) !important;
        max-height: 115px !important;
        margin-bottom: 12px !important;
    }
}


/* Final INSENF category match to legacy brand pages. */
body.tax-product_cat.term-insenf .ng-category-brand-logo {
    width: min(430px, 70vw) !important;
    max-height: 95px !important;
    margin: 0 auto 16px !important;
    filter: brightness(0) invert(1) !important;
    opacity: 0.96 !important;
}
body.tax-product_cat.term-insenf .ng-brand-hero-content {
    width: min(520px, 86vw) !important;
    height: auto !important;
    padding: 0 24px 50px !important;
}
body.tax-product_cat.term-insenf .ng-brand-hero-sub {
    display: block !important;
    margin: 0 0 20px !important;
    color: #C5A255 !important;
    font-size: 13px !important;
    line-height: 26px !important;
    font-weight: 400 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    text-align: center !important;
}
body.tax-product_cat.term-insenf .term-description {
    min-height: 285px !important;
    background: #1A1A1A !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 30px max(24px, calc((100vw - 700px) / 2)) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}
body.tax-product_cat.term-insenf .term-description:before {
    content: "" !important;
    display: block !important;
    position: static !important;
    width: 40px !important;
    height: 1px !important;
    margin: 0 auto 24px !important;
    background: #C5A255 !important;
    transform: none !important;
}
body.tax-product_cat.term-insenf .term-description p {
    max-width: 700px !important;
    margin: 0 auto !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 16px !important;
    line-height: 32px !important;
}
body.tax-product_cat.term-insenf .woocommerce.main-products {
    background: #fff !important;
}
@media (max-width: 767px) {
    body.tax-product_cat.term-insenf .ng-category-brand-logo {
        width: min(320px, 74vw) !important;
        max-height: 78px !important;
        margin-bottom: 12px !important;
    }
    body.tax-product_cat.term-insenf .term-description {
        min-height: 260px !important;
        padding: 30px 22px !important;
    }
}
