/*!
Theme Name: Resin Art
Theme URI:
Author: Custom Developer
Author URI:
Description: A minimal, modern WooCommerce theme for handmade artisan resin products. Clean layout, fast loading, SEO-optimized with full WooCommerce integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
WC requires at least: 7.0
WC tested up to: 8.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
Tags: e-commerce, woocommerce, minimal, artisan, handmade, custom-menu, featured-images, translation-ready
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --color-text:        #231916;
    --color-bg:          #fcfaf7;
    --color-accent:      #f0e3d4;
    --color-btn:         #2a201c;
    --color-btn-hover:   #4f3a33;
    --color-border:      #e4d7cb;
    --color-muted:       #77655d;
    --color-light:       #f6efe8;
    --color-highlight:   #c9835b;
    --font-display:      'Fraunces', 'Times New Roman', serif;
    --font-body:         'Manrope', system-ui, -apple-system, sans-serif;
    --font-base:         var(--font-body);
    --max-width:         1280px;
    --header-height:     70px;
    --spacing-xs:        0.5rem;
    --spacing-sm:        1rem;
    --spacing-md:        2rem;
    --spacing-lg:        3rem;
    --spacing-xl:        5rem;
    --radius:            4px;
    --transition:        0.25s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    font-size: 1.02rem;
    line-height: 1.72;
    letter-spacing: -0.01em;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.04em;
    margin-bottom: var(--spacing-sm);
}
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: var(--spacing-sm); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    padding-top: var(--header-height);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}
.site-header.is-sticky { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--spacing-md);
}

/* Logo */
.site-branding { flex-shrink: 0; }
.site-logo img { height: 40px; width: auto; }
.site-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 650;
    letter-spacing: -0.05em;
    margin: 0;
}
.site-title a:hover { text-decoration: none; opacity: 0.8; }

/* Navigation */
.main-navigation { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color var(--transition);
}
.nav-menu > li > a:hover { color: var(--color-muted); text-decoration: none; }
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a { color: var(--color-muted); }

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--color-text);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 100;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-menu .sub-menu li a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--color-light);
    transition: background var(--transition), padding-left var(--transition);
}
.nav-menu .sub-menu li:last-child a { border-bottom: none; }
.nav-menu .sub-menu li a:hover {
    background: var(--color-light);
    padding-left: 1.5rem;
    text-decoration: none;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

/* Cart */
.cart-icon-wrapper a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity var(--transition);
}
.cart-icon-wrapper a:hover { opacity: 0.7; text-decoration: none; }
.cart-icon-wrapper svg {
    width: 22px; height: 22px;
    stroke: currentColor; fill: none; stroke-width: 1.5;
}
.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    font-size: 0.7rem; font-weight: 700;
    background: var(--color-text);
    color: #fff;
    border-radius: 9px;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px; height: 18px;
    background: none; border: none;
    cursor: pointer; padding: 0;
}
.menu-toggle span {
    display: block; height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}
.mobile-nav.is-open { display: block; }
.mobile-nav .nav-menu { flex-direction: column; align-items: flex-start; }
.mobile-nav .nav-menu > li { width: 100%; border-bottom: 1px solid var(--color-border); }
.mobile-nav .nav-menu > li > a { padding: 1rem 0; font-size: 1rem; }
.mobile-nav .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-top: none;
    padding-left: var(--spacing-sm);
    background: var(--color-light);
}
.mobile-nav .sub-menu li a { padding: 0.6rem 1rem; border-bottom: 1px solid var(--color-border); }

/* ============================================
   BUTTONS
   ============================================ */
.btn, button.btn, a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.85rem;
    font-size: 0.78rem; font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: var(--color-btn);
    color: #fff;
    border: 2px solid var(--color-btn);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
}
.btn:hover, button.btn:hover, a.btn:hover {
    background: var(--color-btn-hover);
    border-color: var(--color-btn-hover);
    color: #fff; text-decoration: none;
}
.btn-outline { background: transparent; color: var(--color-btn); }
.btn-outline:hover { background: var(--color-btn); color: #fff; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 80vh;
    background: var(--color-accent);
    overflow: hidden;
}
.hero-slider {
    color: #fff;
    background: #1f1c1a;
}
.hero-slider-track {
    position: relative;
    min-height: 80vh;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18, 15, 12, 0.84) 0%, rgba(18, 15, 12, 0.55) 44%, rgba(18, 15, 12, 0.18) 100%),
        linear-gradient(180deg, rgba(18, 15, 12, 0.18) 0%, rgba(18, 15, 12, 0.4) 100%);
}
.hero-slide-media {
    position: absolute;
    inset: 0;
}
.hero-bg {
    position: absolute; inset: 0;
    object-fit: cover; width: 100%; height: 100%;
    opacity: 0.7;
    transform: scale(1.02);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 620px;
    padding: var(--spacing-xl) 0;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    margin-bottom: var(--spacing-sm); opacity: 0.8;
    color: rgba(255,255,255,0.84);
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 650; line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-md);
    max-width: 10ch;
}
.hero-description {
    font-size: 1.08rem; line-height: 1.8;
    margin-bottom: var(--spacing-md); opacity: 0.92;
    color: rgba(255,255,255,0.92);
}
.hero-cta { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; }
.hero-slider .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.hero-slider .btn-outline:hover {
    background: #fff;
    color: #1a1a1a;
}
.hero-slider-controls {
    position: absolute;
    inset-inline: 0;
    bottom: 2rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 1.25rem;
}
.hero-slider-arrow {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.hero-slider-arrow:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-1px);
}
.hero-slider-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.hero-slider-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: transform var(--transition), background var(--transition);
}
.hero-slider-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: var(--spacing-xl) 0; }
.section-sm { padding: var(--spacing-lg) 0; }
.section-bg { background: var(--color-light); }
.section-accent { background: var(--color-accent); }

.section-header { text-align: center; margin-bottom: var(--spacing-lg); }
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-size: 1rem; color: var(--color-muted);
    max-width: 500px; margin: 0 auto;
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 3/2;
    background: var(--color-accent);
}
.category-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.5rem; color: #fff;
}
.category-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.category-card-link {
    display: inline-block; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: border-color var(--transition);
}
.category-card-link:hover { border-color: #fff; text-decoration: none; }

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* Product Card */
.product-card { position: relative; }
.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-light);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}
.product-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-card-actions {
    position: absolute; bottom: -60px;
    left: 0; right: 0;
    padding: 0.75rem;
    transition: bottom var(--transition);
    display: flex; gap: 0.5rem;
}
.product-card:hover .product-card-actions { bottom: 0; }

.product-card-badge {
    position: absolute; top: 0.75rem; left: 0.75rem;
    display: flex; flex-direction: column; gap: 0.25rem;
}
.badge {
    display: inline-block; padding: 0.2rem 0.6rem;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase;
    border-radius: 2px;
}
.badge-sale     { background: #d32f2f; color: #fff; }
.badge-new      { background: var(--color-text); color: #fff; }
.badge-featured { background: var(--color-accent); color: var(--color-text); }

.product-card-category {
    font-size: 0.75rem; color: var(--color-muted);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}
.product-card-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.4; }
.product-card-title a:hover { text-decoration: none; opacity: 0.7; }
.product-card-price { font-size: 1rem; font-weight: 700; }
.price ins { text-decoration: none; }
.price del { color: var(--color-muted); font-size: 0.85em; font-weight: 400; margin-right: 0.5rem; }

/* ============================================
   BRAND SECTION
   ============================================ */
.brand-section { background: var(--color-accent); }
.brand-content { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); align-items: center; }
.brand-text .section-title { text-align: left; }
.brand-image img { width: 100%; border-radius: var(--radius); }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section { background: var(--color-text); color: #fff; text-align: center; }
.newsletter-section .section-title { color: #fff; }
.newsletter-section .section-subtitle { color: rgba(255,255,255,0.7); }
.newsletter-form {
    display: flex; gap: 0.75rem;
    max-width: 480px; margin: var(--spacing-md) auto 0;
    flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
    flex: 1; min-width: 200px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #fff; border-radius: var(--radius); outline: none;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input[type="email"]:focus { border-color: rgba(255,255,255,0.7); }
.newsletter-form .btn { background: #fff; color: var(--color-text); border-color: #fff; }
.newsletter-form .btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-text); }
.newsletter-section P{max-width: 100%;}
/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #111; color: rgba(255,255,255,0.8); padding: var(--spacing-xl) 0 var(--spacing-md); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); margin-bottom: var(--spacing-lg); }
.footer-brand .site-title { color: #fff; font-size: 1.1rem; margin-bottom: var(--spacing-xs); }
.footer-description { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: var(--spacing-sm); }
.footer-heading { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: var(--spacing-sm); }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links li a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links li a:hover { color: #fff; text-decoration: none; }
.footer-contact p { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: var(--spacing-sm);
}
.footer-copyright, .footer-powered { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-powered a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-powered a:hover { color: #fff; }
.footer-logo{BACKGROUND: WHITE;BORDER-RADIUS:20px;}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-wrapper { padding: 0.85rem 0 0.95rem; border-bottom: 1px solid var(--color-border); margin-bottom: 1.35rem; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; font-size: 0.84rem; color: var(--color-muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumb a { color: var(--color-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-text); text-decoration: none; }
.breadcrumb-sep { opacity: 0.5; }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header { padding: 2.2rem 0 2rem; text-align: center; border-bottom: 1px solid var(--color-border); }
.page-title { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }

/* ============================================
   SHOP / ARCHIVE
   ============================================ */
.shop-layout { padding: var(--spacing-lg) 0; }
.woocommerce-page .page-header {
    padding: 1rem 0 1.1rem;
    margin-bottom: 1rem;
}
.woocommerce-page .page-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}
.woocommerce-page .category-description {
    margin-top: 0.45rem !important;
}
.shop-archive-header {
    text-align: left;
    padding: 1.2rem 0 1rem;
    margin-bottom: 1.1rem;
}
.shop-archive-header .page-title {
    font-size: clamp(2rem, 3.2vw, 2.95rem);
    margin-bottom: 0.55rem;
}
.shop-archive-breadcrumb .breadcrumb-wrapper {
    padding: 0;
    margin: 0;
    border: 0;
}
.shop-archive-breadcrumb .breadcrumb {
    gap: 0.45rem;
    font-size: 0.8rem;
}
.shop-archive-breadcrumb .breadcrumb a {
    color: var(--color-text);
    font-weight: 600;
}
.shop-archive-breadcrumb .breadcrumb li:last-child span:not(.breadcrumb-sep) {
    color: var(--color-muted);
    font-weight: 500;
}
.shop-layout--catalog {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.shop-sidebar-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem 1rem 0.7rem;
}
.shop-sidebar-title,
.shop-filter-heading h4 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
}
.shop-category-list,
.shop-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.shop-category-list li,
.shop-filter-list li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.shop-category-list li::marker,
.shop-filter-list li::marker,
.shop-category-list li::before,
.shop-filter-list li::before {
    content: none !important;
    display: none !important;
}
.shop-category-list li + li,
.shop-filter-list li + li {
    border-top: 1px solid var(--color-border);
}
.shop-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0.1rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}
.shop-category-list li.is-active a,
.shop-category-list a:hover {
    color: var(--color-highlight);
}
.shop-category-arrow {
    color: var(--color-muted);
    font-size: 1.05rem;
}
.shop-filter-group {
    padding-top: 0.15rem;
    border-top: 1px solid var(--color-border);
}
.shop-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}
.shop-filter-heading span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}
.shop-filter-list a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.58rem 0;
    color: var(--color-muted);
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
}
.shop-filter-list a.is-active,
.shop-filter-list a:hover {
    color: var(--color-text);
}
.shop-filter-box {
    width: 13px;
    height: 13px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 2px;
    flex: 0 0 13px;
}
.shop-filter-list a.is-active .shop-filter-box {
    border-color: var(--color-highlight);
    background: var(--color-highlight);
    box-shadow: inset 0 0 0 2px #fff;
}
.shop-main {
    min-width: 0;
}
.shop-toolbar {
    display: flex; align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-border);
}
.woocommerce-result-count { font-size: 0.875rem; color: var(--color-muted); margin: 0; }
.woocommerce-ordering select {
    min-width: 150px;
    padding: 0.8rem 2.5rem 0.8rem 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
    font-size: 0.92rem; cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

/* WooCommerce product loop */
ul.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    list-style: none; padding: 0; margin: 0;
}
.woocommerce ul.products li.product.product-card {
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
}
.product-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.product-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #161616;
}
.woocommerce ul.products li.product a img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 10px; transition: transform 0.4s ease;
    margin-bottom: 0;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.03); }
.product-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.45;
    padding: 0;
    margin: 0;
}
.product-card-title a:hover { text-decoration: none; color: var(--color-highlight); }
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.92rem;
}
.product-card-rating .star-rating {
    margin: 0;
    color: #ffb400;
}
.product-card-rating-count {
    color: var(--color-highlight);
    font-size: 0.92rem;
}
.woocommerce ul.products li.product .price,
.product-card-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ff6938;
}
.product-card-price del {
    color: #b6b1ab;
    font-size: 0.88rem;
    font-weight: 600;
}
.product-card-price ins {
    text-decoration: none;
}
.product-card-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.36rem 0.78rem;
    border-radius: 999px;
    background: #18a54a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}
.woocommerce ul.products li.product .button {
    display: flex; align-items: center; justify-content: center;
    width: 100%; margin-top: 0.75rem;
    padding: 0.6rem 1rem; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.03em; text-transform: uppercase;
    background: var(--color-btn); color: #fff;
    border: 2px solid var(--color-btn); border-radius: var(--radius);
    cursor: pointer; transition: background var(--transition), border-color var(--transition);
    text-decoration: none;
}
.woocommerce ul.products li.product .button:hover {
    background: var(--color-btn-hover); border-color: var(--color-btn-hover); text-decoration: none;
}

/* WC Pagination */
.woocommerce-pagination { margin-top: var(--spacing-xl); text-align: center; }
.woocommerce-pagination .page-numbers {
    display: inline-flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
}
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--color-border); border-radius: var(--radius);
    font-size: 0.875rem; transition: background var(--transition), border-color var(--transition);
    text-decoration: none;
}
.woocommerce-pagination .page-numbers li a:hover,
.woocommerce-pagination .page-numbers li span.current {
    background: var(--color-text); border-color: var(--color-text); color: #fff;
}

/* ============================================
   SINGLE PRODUCT — ETSY STYLE
   ============================================ */
.sp-wrapper { padding: 2rem 0 4rem; }

/* 2-column layout */
.sp-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* Gallery: thumbs strip + main image */
.sp-gallery { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }

.sp-thumbs {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    order: 2;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d6d1cb transparent;
}
.sp-thumbs::-webkit-scrollbar { width: 3px; height: 3px; }
.sp-thumbs::-webkit-scrollbar-thumb { background: #d6d1cb; border-radius: 999px; }

.sp-thumb {
    appearance: none;
    display: block;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 0;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    line-height: 0;
    font-size: 0;
    vertical-align: top;
    box-sizing: border-box;
}
.sp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    margin: 0;
}
.sp-thumb:hover, .sp-thumb.is-active { border-color: #222; transform: translateY(-1px); }

.sp-main-img {
    order: 1;
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-light);
    line-height: 0;
    min-width: 0;
}
.sp-main-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s;
}

/* Product info */
.sp-cats {
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--color-muted); margin-bottom: 0.5rem;
}
.sp-cats a { color: var(--color-muted); }
.sp-cats a:hover { color: var(--color-text); text-decoration: none; }
.sp-cats a + a::before { content: ' · '; }

.sp-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700; line-height: 1.3;
    margin-bottom: 0.75rem; color: #222;
}

.sp-rating-row {
    display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
    margin-bottom: 0.75rem; font-size: 0.875rem;
}
.sp-avg-num { font-weight: 700; color: #222; }
.sp-review-link { color: #555; text-decoration: underline; font-size: 0.82rem; }
.sp-review-link:hover { color: #222; text-decoration: none; }

.sp-price {
    font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; color: #222;
}
.sp-price del { font-size: 1.1rem; color: #999; font-weight: 400; margin-right: 0.5rem; }
.sp-price ins { text-decoration: none; color: #222; }

/* Badges */
.sp-badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.sp-badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.8rem; color: #444;
    background: var(--color-light); padding: 0.3rem 0.75rem; border-radius: 20px;
}
.sp-badge svg { flex-shrink: 0; stroke: #4caf50; }

/* Short description */
.sp-short-desc {
    font-size: 0.9rem; line-height: 1.7; color: #555;
    margin-bottom: 1.25rem; padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}
.sp-short-desc p:last-child { margin-bottom: 0; }

/* Cart form */
.sp-cart-form { margin-bottom: 1.25rem; }
.sp-cart-form .quantity { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.sp-cart-form .quantity label {
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
    text-transform: uppercase; min-width: 70px;
}
.sp-cart-form .qty {
    width: 72px; padding: 0.55rem 0.5rem;
    border: 1px solid var(--color-border); border-radius: var(--radius);
    text-align: center; font-size: 1rem;
}
.sp-cart-form .single_add_to_cart_button {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 0.9rem 2rem;
    font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    background: var(--color-btn); color: #fff;
    border: 2px solid var(--color-btn); border-radius: var(--radius);
    cursor: pointer; transition: background var(--transition), border-color var(--transition);
}
.sp-cart-form .single_add_to_cart_button:hover { background: var(--color-btn-hover); border-color: var(--color-btn-hover); }
.sp-cart-form .variations { width: 100%; border: none; border-collapse: collapse; margin-bottom: 1rem; }
.sp-cart-form .variations .label label {
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
.sp-cart-form .variations .value { padding-bottom: 0.6rem; }
.sp-cart-form .variations .value select {
    width: 100%; padding: 0.55rem 2rem 0.55rem 0.75rem;
    border: 1px solid var(--color-border); border-radius: var(--radius);
    background: var(--color-bg); font-size: 0.9rem; cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center;
}

/* Trust row */
.sp-trust-row {
    display: flex; gap: 1rem; flex-wrap: wrap;
    padding: 1rem 0; margin-bottom: 1.25rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.sp-trust-item { display: flex; align-items: center; gap: 0.375rem; font-size: 0.78rem; color: #555; }
.sp-trust-item svg { color: #888; flex-shrink: 0; }

/* Accordions */
.sp-accordion { border-bottom: 1px solid var(--color-border); }
.sp-acc-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 0.9rem 0; background: none; border: none;
    font-size: 0.88rem; font-weight: 600; cursor: pointer; text-align: left; color: #222; gap: 0.5rem;
}
.sp-acc-btn:hover { color: var(--color-muted); }
.sp-acc-icon { flex-shrink: 0; transition: transform 0.25s; }
.sp-acc-btn[aria-expanded="true"] .sp-acc-icon { transform: rotate(180deg); }
.sp-acc-body {
    padding: 0 0 1rem;
    font-size: 0.875rem; line-height: 1.7; color: #555;
}
.sp-acc-body[hidden] { display: none; }
.sp-acc-body ul { padding-left: 1.25rem; }
.sp-acc-body li { list-style: disc; margin-bottom: 0.3rem; }
.sp-acc-body p:last-child { margin-bottom: 0; }

/* Related products */
.related.products { margin-top: var(--spacing-xl); padding-top: var(--spacing-xl); border-top: 1px solid var(--color-border); }
.related.products > h2 { font-size: 1.5rem; margin-bottom: var(--spacing-md); }

/* ============================================
   SP REVIEWS — ETSY STYLE
   ============================================ */
.sp-reviews-section {
    padding: 3rem 0;
    border-top: 2px solid var(--color-border);
    margin-bottom: 3rem;
}
.sp-reviews-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.75rem; }

/* Overview: score + bars */
.sp-reviews-overview {
    display: flex; flex-direction: column; gap: 1.5rem;
    padding-bottom: 2rem; margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}
.sp-score-block {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.35rem; flex-shrink: 0;
}
.sp-score-big { font-size: 3.5rem; font-weight: 800; line-height: 1; color: #222; }
.sp-score-label { font-size: 0.8rem; color: var(--color-muted); }

.sp-rating-bars { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.sp-bar-row { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; }
.sp-bar-label { width: 12px; text-align: right; color: #555; font-weight: 600; }
.sp-bar-track {
    flex: 1; height: 7px; background: #f0f0f0; border-radius: 4px; overflow: hidden;
}
.sp-bar-fill { height: 100%; background: #f5a623; border-radius: 4px; }
.sp-bar-count { width: 22px; text-align: right; color: var(--color-muted); font-size: 0.78rem; }

/* Review cards */
.sp-review-cards {
    display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem;
}
.sp-review-card {
    border: 1px solid var(--color-border); border-radius: 8px; padding: 1.25rem;
}
.sp-review-header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem; }
.sp-review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.sp-review-meta { display: flex; flex-direction: column; gap: 0.05rem; }
.sp-review-author { font-size: 0.875rem; font-weight: 700; color: #222; }
.sp-review-date { font-size: 0.75rem; color: var(--color-muted); }
.sp-review-stars { margin-bottom: 0.5rem; }
.sp-review-stars .star-rating { font-size: 0.85rem; }
.sp-review-text { font-size: 0.875rem; line-height: 1.6; color: #444; margin: 0; }

/* Review form */
.sp-review-form-wrap {
    border-top: 1px solid var(--color-border); padding-top: 2rem; margin-top: 0.5rem;
}
.sp-review-form-wrap h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.sp-review-form-wrap .comment-form { display: flex; flex-direction: column; gap: 1rem; }
.sp-review-form-wrap .comment-form p { margin: 0; }
.sp-review-form-wrap .comment-form label {
    display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem;
}
.sp-review-form-wrap .comment-form input[type="text"],
.sp-review-form-wrap .comment-form input[type="email"],
.sp-review-form-wrap .comment-form textarea {
    width: 100%; padding: 0.65rem 0.9rem;
    border: 1px solid var(--color-border); border-radius: var(--radius);
    font-size: 0.9rem; font-family: inherit;
}
.sp-review-form-wrap .comment-form textarea { min-height: 100px; resize: vertical; }
.sp-review-form-wrap .comment-form input:focus,
.sp-review-form-wrap .comment-form textarea:focus { outline: none; border-color: #222; }
.sp-review-form-wrap .comment-form input[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    background: var(--color-btn); color: #fff; border: 2px solid var(--color-btn);
    border-radius: var(--radius); cursor: pointer; transition: background var(--transition);
    align-self: flex-start;
}
.sp-review-form-wrap .comment-form input[type="submit"]:hover { background: var(--color-btn-hover); border-color: var(--color-btn-hover); }

/* ============================================
   CONTENT PAGES
   ============================================ */
.page-content-wrapper { padding: var(--spacing-lg) 0 var(--spacing-xl); }
.page-content-inner { max-width: 780px; margin: 0 auto; }
.content-area h2 { margin-top: var(--spacing-md); }
.content-area ul, .content-area ol { padding-left: 1.5rem; margin-bottom: var(--spacing-sm); }
.content-area ul li { list-style: disc; margin-bottom: 0.375rem; }
.content-area ol li { list-style: decimal; margin-bottom: 0.375rem; }
.content-area img { border-radius: var(--radius); }

/* ============================================
   SINGLE POST
   ============================================ */
.post-header { padding: var(--spacing-lg) 0 var(--spacing-md); }
.post-meta { display: flex; gap: var(--spacing-sm); font-size: 0.8rem; color: var(--color-muted); flex-wrap: wrap; }
.post-featured-image { margin-bottom: var(--spacing-md); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   SEARCH
   ============================================ */
.search-form-wrapper { max-width: 600px; margin: var(--spacing-md) auto; }
.search-form { display: flex; gap: 0.5rem; }
.search-form input[type="search"] {
    flex: 1; padding: 0.75rem 1rem;
    border: 1px solid var(--color-border); border-radius: var(--radius);
    font-size: 1rem; outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--color-text); }

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
    min-height: 60vh; display: flex; align-items: center;
    justify-content: center; text-align: center; padding: var(--spacing-xl) 0;
}
.error-404-number {
    font-size: clamp(5rem, 15vw, 10rem); font-weight: 900; line-height: 1;
    color: var(--color-accent); margin-bottom: 0;
}

/* ============================================
   WOOCOMMERCE GLOBAL
   ============================================ */
.woocommerce-message { background: #e8f5e9; border-left: 4px solid #4caf50; padding: 1rem 1.25rem; margin-bottom: var(--spacing-md); border-radius: var(--radius); font-size: 0.9rem; }
.woocommerce-info    { background: #e3f2fd; border-left: 4px solid #2196f3; padding: 1rem 1.25rem; margin-bottom: var(--spacing-md); border-radius: var(--radius); font-size: 0.9rem; }
.woocommerce-error   { background: #ffebee; border-left: 4px solid #f44336; padding: 1rem 1.25rem; margin-bottom: var(--spacing-md); border-radius: var(--radius); font-size: 0.9rem; }
.star-rating { font-size: 0.9em; color: #f5a623; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }

/* ============================================
   CUSTOMER REVIEWS SLIDER
   ============================================ */
.reviews-section { background: #fff; }

.reviews-main-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 650;
    letter-spacing: -0.05em;
    text-transform: none;
    margin-bottom: 0.25rem;
}
.reviews-count { font-size: 0.95rem; color: var(--color-muted); margin-bottom: 0.25rem; letter-spacing: 0.08em; text-transform: uppercase;max-width: 100%; }
.reviews-stars { font-size: 1.35rem; color: var(--color-highlight); letter-spacing: 0.18em; }

/* Outer wrapper: arrows + viewport in a row */
.reviews-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: var(--spacing-md) 0;
    /* Prevent layout from overflowing container */
    width: 100%;
    box-sizing: border-box;
}

/* Arrow buttons */
.reviews-arrow {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    font-size: 1.8rem; line-height: 44px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition), border-color var(--transition);
    color: var(--color-text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
    user-select: none;
}
.reviews-arrow:hover  { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.reviews-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

/* Viewport: clips the overflowing track */
.reviews-slider-viewport {
    flex: 1;           /* takes remaining space between two arrows */
    min-width: 0;      /* critical: prevent flex overflow */
    overflow: hidden;
}

/* Track: horizontal row of all cards, no wrap */
.reviews-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;         /* fixed px gap — JS uses same value */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    /* Width is set by JS so cards stay the right size */
}

/* Card — width set via JS, DO NOT set flex-basis here */
.review-card {
    flex-shrink: 0;    /* never shrink */
    /* width injected by JS */
    background: #fff;
    border-radius: var(--radius);
    overflow: visible; /* allow avatar to overflow bottom of photo */
    text-align: center;
    box-sizing: border-box;
}

/* Photo area */
.review-card-photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/2;
    background: linear-gradient(135deg, #f3e5d8 0%, #ead0c0 52%, #d7ab8d 100%);
    margin-bottom: 2.5rem; /* space for avatar that overlaps */
}
.review-card-photo > img { width: 100%; height: 100%; object-fit: cover; }
.review-card-photo-placeholder { width: 100%; height: 100%; background: radial-gradient(circle at top left, rgba(255,255,255,0.75), transparent 45%), linear-gradient(135deg, #f4dfcf 0%, #e5c0aa 60%, #c88867 100%); }

/* Avatar circle overlapping photo bottom */
.review-card-avatar {
    position: absolute;
    bottom: -28px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    background: var(--color-accent);
}
.review-card-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Card body */
.review-card-body { padding: 0 0.75rem 1rem; }

.review-card-stars { font-size: 1rem; color: #f5a623; margin-bottom: 0.6rem; }

.review-card-text { margin: 0 0 0.75rem; padding: 0; border: none; }
.review-card-text p {
    font-style: italic;
    font-size: 0.875rem; line-height: 1.7;
    color: #444; margin: 0;
}

.review-card-footer { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.review-card-name   { font-size: 0.95rem; font-weight: 700; }
.review-card-verified { font-size: 0.78rem; color: var(--color-muted); }

/* Trustpilot CTA */
.reviews-trustpilot { text-align: center; margin-top: var(--spacing-md); }
.reviews-trustpilot-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.85rem;
    border: 1px solid var(--color-border); border-radius: var(--radius);
    font-size: 0.78rem; font-weight: 800; color: var(--color-text);
    letter-spacing: 0.09em; text-transform: uppercase;
    transition: box-shadow var(--transition), border-color var(--transition);
    text-decoration: none;
}
.reviews-trustpilot-btn:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-color: #00b67a; text-decoration: none;
}
.trustpilot-logo { color: #00b67a; }
.trustpilot-logo strong { font-weight: 700; }

/* ============================================
   HOME FAQ SECTION
   ============================================ */
.home-faq-section {
    background: #fef9ec; /* kem nhạt — giống ảnh mẫu */
}

/* Layout 2 cột */
.home-faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

/* Header */
.home-faq-header { margin-bottom: var(--spacing-md); }

.home-faq-title-link {
    display: inline-block;
    text-decoration: none;
}
.home-faq-title-link:hover { text-decoration: none; }

.home-faq-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 650;
    letter-spacing: -0.05em;
    text-transform: none;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    transition: color var(--transition);
}
.home-faq-title-link:hover .home-faq-title { color: var(--color-btn-hover); }

.home-faq-subtitle {
    font-size: 1rem;
    color: var(--color-muted);
    margin: 0;
    max-width: 46ch;
}

/* FAQ list */
.home-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
}

/* FAQ item card */
.home-faq-item {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.home-faq-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }

/* Question button */
.home-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
}
.home-faq-question:hover { background: var(--color-light); }

.home-faq-icon {
    flex-shrink: 0;
    color: var(--color-muted);
    display: flex;
    align-items: center;
}

.home-faq-question-text { flex: 1; }

.home-faq-toggle {
    flex-shrink: 0;
    color: var(--color-muted);
    display: flex;
    align-items: center;
}

/* Answer panel */
.home-faq-answer {
    padding: 0 1.25rem 1rem 3.5rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #555;
}
.home-faq-answer[hidden] { display: none; }
.home-faq-answer p { margin: 0; }

/* Active state */
.home-faq-item.is-open .home-faq-question { background: var(--color-light); }
.home-faq-item.is-open .home-faq-answer { display: block; }

/* "View all FAQs" button */
.home-faq-more { margin-top: var(--spacing-sm); }

/* RIGHT: image frame (arched shape like screenshot) */
.home-faq-image {
    display: none; /* hidden on mobile */
}

.home-faq-image-frame {
    position: relative;
    border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px; /* arched top */
    overflow: hidden;
    aspect-ratio: 6/7;
    background: var(--color-accent);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.home-faq-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }

/* ============================================
   RESPONSIVE — 768px+
   ============================================ */
@media (min-width: 768px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .shop-layout--catalog { grid-template-columns: 240px minmax(0, 1fr); gap: 2.4rem; }
    ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sp-layout { grid-template-columns: 55% 1fr; gap: 3rem; }
    .sp-gallery { grid-template-columns: 90px 1fr; gap: 10px; align-items: start; }
    .sp-thumbs { flex-direction: column; order: 0; overflow-x: visible; overflow-y: auto; max-height: 620px; padding-right: 2px; }
    .sp-thumb { flex-basis: 80px; width: 80px; height: 80px; }
    .sp-main-img { order: 0; }
    .sp-reviews-overview { flex-direction: row; align-items: flex-start; gap: 3rem; }
    .sp-score-block { min-width: 120px; }
    .sp-review-cards { grid-template-columns: 1fr 1fr; }
    .brand-content { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    /* FAQ: hiện ảnh trên tablet+ */
    .home-faq-layout { grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); }
    .home-faq-image { display: block; }
}

/* ============================================
   RESPONSIVE — 1024px+
   ============================================ */
@media (min-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .menu-toggle { display: none !important; }
}

/* ============================================
   RESPONSIVE — max 767px
   ============================================ */
@media (max-width: 767px) {
    .main-navigation { display: none; }
    .menu-toggle { display: flex; }
    .shop-sidebar { gap: 1.25rem; }
    .shop-sidebar-card { padding: 0.85rem 0.75rem; }
    .shop-toolbar { align-items: stretch; }
    .woocommerce-ordering { width: 100%; }
    .woocommerce-ordering select { width: 100%; }
    .hero-section { min-height: 60vh; }
    .hero-slider-track { min-height: 60vh; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-slider-controls {
        bottom: 1.25rem;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    :root { --spacing-xl: 3rem; --spacing-lg: 2rem; }
    .categories-grid, .products-grid, ul.products { grid-template-columns: 1fr 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type="email"], .newsletter-form .btn { width: 100%; }
    .sp-review-cards { grid-template-columns: repeat(3, 1fr); }
    .hero-slider-arrow {
        width: 40px;
        height: 40px;
    }
}
