/* ===== BACKSPIN GOLF APPAREL — Design System ===== */

:root {
    --green-900: #0a1f14;
    --green-800: #1a3a2a;
    --green-700: #2d5a3f;
    --green-600: #3d7a55;
    --green-500: #4d9a6b;
    --green-200: #c8e6c9;
    --green-100: #e8f5ed;
    --green-50: #f0faf4;

    --navy-900: #0a0a1e;
    --navy-800: #1a1a3e;
    --navy-700: #2a2a5e;

    --sand-500: #c2b280;
    --sand-300: #ddd4b8;
    --sand-100: #f5f0e0;

    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    --gold: #b8860b;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
    background: var(--green-800);
    color: var(--white);
    text-align: center;
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.announcement-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
    padding: 4px;
}

.announcement-close:hover { color: var(--white); }

.announcement-bar.hidden { display: none; }

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 45px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gray-700);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-700);
    transition: var(--transition);
}

.nav-link:hover { color: var(--green-700); }
.nav-link:hover::after { width: 100%; }

.nav-highlight {
    color: var(--green-700);
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.icon-btn {
    color: var(--gray-700);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--green-700);
    background: var(--green-100);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--green-700);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(25%, -25%);
    transition: var(--transition);
}

.cart-count:empty,
.cart-count[data-count="0"] {
    opacity: 0;
    transform: translate(25%, -25%) scale(0);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
}

/* ===== Hero Slider ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.15) 100%
    );
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 0 80px;
    text-align: left;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sand-300);
    margin-bottom: 20px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 90px;
    left: 80px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
    padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Hero arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-arrow:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-left { left: 24px; }
.hero-arrow-right { right: 24px; }

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Trust Bar ===== */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 28px 0;
}

.trust-items {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    color: var(--green-800);
}

.trust-item svg {
    flex-shrink: 0;
    color: var(--green-700);
}

.trust-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-900);
}

.trust-item span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-700);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-800);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-full {
    width: 100%;
}

/* ===== Sections ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.2;
}

/* ===== Categories ===== */
.categories {
    padding: 100px 0;
    background: var(--gray-50);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.categories-grid .category-large {
    grid-row: span 2;
}

.category-card {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.category-img {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-large .category-img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 300px;
}

.category-icon {
    opacity: 0.6;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    opacity: 1;
    transform: scale(1.1);
}

.category-info {
    background: var(--white);
    padding: 20px;
}

.category-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.category-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.category-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-700);
    letter-spacing: 0.5px;
}

/* ===== Products ===== */
.products {
    padding: 100px 0;
}

.product-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--green-800);
    color: var(--white);
    border-color: var(--green-800);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-img {
    aspect-ratio: 3/4;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: block;
    background-size: cover;
    background-position: center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--green-700);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.best {
    background: var(--gold);
}

.product-actions-overlay {
    display: none;
}

.quick-add {
    width: 100%;
    padding: 10px;
    min-height: 44px; /* WCAG touch target */
    margin-top: 12px;
    background: var(--green-700);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.quick-add:hover {
    background: var(--green-800);
}

.product-sizes {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-sizes {
    opacity: 1;
}

.product-sizes span {
    background: rgba(255,255,255,0.9);
    color: var(--gray-800);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
}

.product-info {
    padding: 16px;
}

.product-category-tag {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 4px 0;
    color: var(--gray-900);
}

.product-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-800);
}

.product-colors {
    display: flex;
    gap: 6px;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.color-dot:hover {
    transform: scale(1.2);
    border-color: var(--gray-400);
}

/* ===== Brand Story ===== */
.brand-story {
    padding: 100px 0;
    background: var(--gray-50);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 500px;
}

.story-img-1 {
    border-radius: var(--radius-md);
    height: 100%;
}

.story-img-2 {
    border-radius: var(--radius-md);
    height: 100%;
    margin-top: 40px;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.story-logo {
    width: 80%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
}

.story-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.story-content .btn {
    margin-top: 16px;
}

/* ===== Customization ===== */
.customization {
    padding: 100px 0;
    background: var(--green-900);
    color: var(--white);
}

.custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 48px;
}

.customization .section-tag {
    color: var(--sand-300);
}

.customization .section-title {
    color: var(--white);
}

.custom-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.custom-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--sand-300);
}

.custom-feature h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.custom-feature p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.custom-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.showcase-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.showcase-item:hover {
    transform: scale(1.03);
}

/* Custom Order Form */
.custom-form-wrapper {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.custom-order-form .form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sand-300);
    background: rgba(255,255,255,0.12);
}

.form-group select option {
    background: var(--gray-900);
    color: var(--white);
}

.file-upload-area {
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.file-upload-area.drag-over {
    border-color: var(--sand-300);
    background: rgba(255,255,255,0.05);
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    cursor: pointer;
    color: rgba(255,255,255,0.4);
}

.file-upload-content span {
    font-size: 0.85rem;
}

.file-upload-content small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

.file-list {
    padding: 0 16px;
}

.file-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

.file-list-item button {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 6px;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    margin-top: 8px;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    margin-top: 12px;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 12px;
    align-items: center;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===== Newsletter ===== */
.newsletter {
    padding: 80px 0;
    background: var(--sand-100);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.newsletter-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 14px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    width: 300px;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--green-700);
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    margin-bottom: 8px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    object-position: left;
    filter: invert(1);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-400);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.payment-methods {
    display: flex;
    gap: 16px;
}

.payment-methods span {
    background: var(--gray-800);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== Cart Sidebar ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: var(--white);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.cart-close {
    font-size: 1.5rem;
    color: var(--gray-500);
    padding: 4px 8px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
    color: var(--gray-400);
    text-align: center;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.cart-item-info .cart-item-price {
    font-weight: 700;
    color: var(--green-800);
}

.cart-item-remove {
    color: var(--gray-400);
    font-size: 0.8rem;
    padding: 4px;
}

.cart-item-remove:hover {
    color: #c00;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--green-800);
    color: #fff;
    border-color: var(--green-800);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--gray-100);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-shipping-msg {
    font-size: 0.8rem;
    color: var(--green-700);
    margin-bottom: 16px;
    text-align: center;
}

/* ===== Search Modal ===== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 300;
    padding: 0 24px;
    transform: translateY(-100%);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

.search-modal.active {
    transform: translateY(0);
}

.search-modal-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
}

.search-input {
    flex: 1;
    border: none;
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--gray-900);
    outline: none;
}

.search-close {
    font-size: 2rem;
    color: var(--gray-400);
    padding: 4px 8px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .story-grid { gap: 40px; }
    .custom-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 40px;
        gap: 24px;
        z-index: 150;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
        visibility: hidden;
    }

    .nav.active { left: 0; visibility: visible; }

    .nav-link {
        font-size: 1.1rem;
        padding: 8px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .trust-items { flex-wrap: wrap; }
    .trust-item { flex: 1 1 45%; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid .category-large { grid-row: span 1; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .story-grid { grid-template-columns: 1fr; }
    .story-visual { height: 300px; }
    .custom-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { flex-direction: column; width: 100%; }
    .newsletter-form input { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

    .cart-sidebar { width: 100%; right: -100%; }

    .hero-slide-content {
        padding: 0 24px;
        text-align: center;
        max-width: 100%;
        left: 0;
        right: 0;
    }
    .hero-slide-overlay {
        background: rgba(0,0,0,0.55);
    }
    .hero { min-height: 500px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 0.95rem; margin-left: auto; margin-right: auto; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-arrow { display: none; }
    .hero-dots { left: 50%; transform: translateX(-50%); bottom: 30px; }
    .header-inner { padding: 6px 12px; }
    .header-actions { gap: 4px; }
    .icon-btn { padding: 5px; }
    .icon-btn svg { width: 20px; height: 20px; }
    .logo-img { height: 36px; max-width: 120px; object-fit: contain; }
    .header.scrolled .logo-img { height: 30px; }
    .nav-group { display: contents; }
    .nav-divider { display: none; }
    .nav-close-mobile { display: block; position: absolute; top: 24px; right: 24px; font-size: 1.8rem; color: var(--gray-500); cursor: pointer; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .announcement-bar { font-size: 0.7rem; }
    body { padding-bottom: 68px; }
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

/* Generic skeleton — reused anywhere we need a loading placeholder */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 400px 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    border-radius: 8px;
    color: transparent !important;
}

/* Announcement bar slide-down entrance */
@keyframes announceSlideDown {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

.announcement-bar {
    animation: announceSlideDown 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Cart badge pulse when item added */
@keyframes cartPulse {
    0%   { transform: translate(25%, -25%) scale(1); }
    40%  { transform: translate(25%, -25%) scale(1.55); }
    70%  { transform: translate(25%, -25%) scale(0.9); }
    100% { transform: translate(25%, -25%) scale(1); }
}

.cart-count.pulse {
    animation: cartPulse 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .hero-tag { animation: heroFadeIn 0.8s 0.3s ease-out both; }
.hero-slide.active .hero-title { animation: heroFadeIn 0.8s 0.5s ease-out both; }
.hero-slide.active .hero-subtitle { animation: heroFadeIn 0.8s 0.7s ease-out both; }
.hero-slide.active .hero-actions { animation: heroFadeIn 0.8s 0.9s ease-out both; }

/* Product card animation — only applied via JS on filter */

/* ===== Smooth scroll target offset ===== */
:target {
    scroll-margin-top: 100px;
}

/* ===== Back to top button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--green-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--green-800);
    transform: translateY(-3px);
}

/* ===== Toast notification ===== */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    left: auto;
    transform: translateX(120px);
    opacity: 0;
    min-width: 240px;
    max-width: 340px;
    background: var(--gray-900);
    color: var(--white);
    padding: 14px 20px 18px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 500;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Type variants */
.toast.toast-success { background: var(--green-800); }
.toast.toast-error   { background: #c0392b; }
.toast.toast-info    { background: var(--navy-800); }

/* Progress bar — shrinks over the auto-dismiss duration */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    width: 100%;
    transform-origin: left;
}

@keyframes toastProgress {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

.toast.show .toast-progress {
    animation: toastProgress var(--toast-duration, 3s) linear forwards;
}

/* Toast message content row */
.toast-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

/* On mobile keep toast full-width at bottom */
@media (max-width: 480px) {
    .toast {
        bottom: 72px; /* above mobile nav */
        right: 16px;
        left: 16px;
        max-width: none;
        transform: translateY(100px);
    }
    .toast.show {
        transform: translateY(0);
    }
}

/* ===== Nav Groups ===== */
.nav-group { display: flex; gap: 28px; align-items: center; }
.nav-divider { width: 1px; height: 20px; background: var(--gray-200); margin: 0 8px; }
.nav-close-mobile { display: none; }

/* ===== Mobile Bottom Navigation ===== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(16px);
        border-top: 1px solid var(--gray-200);
        z-index: 120;
        align-items: stretch;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 0.62rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        color: var(--gray-500);
        text-transform: uppercase;
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        font-family: inherit;
        /* 44px min touch target — achieved via flex height of 60px */
        min-height: 44px;
        transition: color 0.2s;
        position: relative;
    }

    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav button:hover,
    .mobile-bottom-nav a.active,
    .mobile-bottom-nav button.active {
        color: var(--green-700);
    }

    .mobile-bottom-nav a svg,
    .mobile-bottom-nav button svg {
        flex-shrink: 0;
    }

    /* Cart badge inside mobile nav */
    .mobile-nav-cart-badge {
        position: absolute;
        top: 8px;
        right: calc(50% - 20px);
        background: var(--green-700);
        color: white;
        font-size: 0.55rem;
        font-weight: 700;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
        transition: var(--transition);
    }

    /* Push page content up so bottom nav doesn't cover it */
    body {
        padding-bottom: 60px;
    }

    /* Adjust back-to-top and whatsapp positions above bottom nav */
    .back-to-top {
        bottom: 76px;
    }

    .whatsapp-float {
        bottom: 76px;
    }

    .toast {
        bottom: 76px;
    }
}

/* ===== Product image zoom on hover (background-image based cards) ===== */
/* The .product-img is a div with background-image set as inline style.
   We animate its transform; the card's overflow:hidden clips the scale.
   Transition already declared on .product-img in the Products section above. */
.product-card:hover .product-img {
    transform: scale(1.05);
}

/* Children (badge, wishlist, sizes) scale naturally with the parent at 1.05x.
   At this zoom level the scaling is imperceptible — no counter-scale needed. */

/* ===== Product Wishlist ===== */
.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { color: #e74c3c; transform: scale(1.15); }
.product-wishlist.active { color: #e74c3c; opacity: 1; }

/* Touch devices: show wishlist & sizes always (no hover) */
@media (hover: none) {
    .product-wishlist { opacity: 0.85; }
    .product-sizes { opacity: 1; }
}
.product-wishlist.active svg { fill: #e74c3c; }

/* ===== Products CTA ===== */
.products-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== Story Stats ===== */
.story-stats {
    display: flex;
    gap: 32px;
    margin: 28px 0;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green-700);
}

.stat span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== Account Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.account-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 420px;
    max-width: 90vw;
    background: var(--white);
    border-radius: var(--radius-lg);
    z-index: 201;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.account-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.modal-close {
    color: var(--gray-400);
    padding: 4px;
}

.modal-close:hover { color: var(--gray-800); }

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--gray-700);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--green-700);
}

.account-form .btn { margin-top: 8px; }

.form-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.form-link {
    color: var(--green-700);
    font-weight: 600;
}

.form-link:hover { text-decoration: underline; }

/* ===== Search Improved ===== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 299;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active { opacity: 1; visibility: visible; }

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 300;
    padding: 0 24px;
    transform: translateY(-100%);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

.search-modal.active { transform: translateY(0); }

.search-modal-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.search-input {
    flex: 1;
    border: none;
    font-size: 1.2rem;
    font-family: inherit;
    color: var(--gray-900);
    outline: none;
}

.search-close {
    color: var(--gray-400);
    padding: 4px;
}

.search-close:hover { color: var(--gray-800); }

.search-suggestions {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 24px;
}

.search-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag {
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.search-tag:hover {
    background: var(--green-100);
    border-color: var(--green-700);
    color: var(--green-800);
}

/* Search Results */
.search-results {
    max-width: 800px;
    margin: 0 auto;
    max-height: 400px;
    overflow-y: auto;
}

.search-hint {
    color: var(--gray-400);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: var(--gray-50);
}

.search-result-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    flex-shrink: 0;
}

.search-result-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.search-result-cat {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-right: 8px;
}

.search-result-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-800);
}

/* Product compare price (strikethrough) */
.product-sizes-text {
    font-size: 0.72rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.product-price-old {
    text-decoration: line-through;
    color: var(--gray-400);
    font-size: 0.8rem;
    margin-right: 6px;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-name a:hover {
    color: var(--green-700);
}

/* ===== Cart improvements ===== */
.cart-empty-sub {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-footer .btn + .btn { margin-top: 8px; }

.btn-outline-dark {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    background: transparent;
}

.btn-outline-dark:hover {
    border-color: var(--gray-800);
    color: var(--gray-900);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 98;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* ===== Image Zoom Modal ===== */
.img-zoom-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 200;
    display: flex; align-items: center; justify-content: center; cursor: zoom-out;
    opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.img-zoom-overlay.active { opacity: 1; pointer-events: all; }
.img-zoom-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.img-zoom-close { position: absolute; top: 20px; right: 24px; color: white; font-size: 2rem; z-index: 201; }

/* ===== Product Reviews ===== */
.reviews-section { margin-top: 48px; border-top: 1px solid var(--gray-200); padding-top: 32px; }
.reviews-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.reviews-header h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.reviews-summary { display: flex; align-items: center; gap: 12px; }
.reviews-avg { font-size: 2rem; font-weight: 700; color: var(--green-700); }
.reviews-stars { color: #f5a623; font-size: 1.2rem; letter-spacing: 2px; }
.reviews-count { color: var(--gray-500); font-size: 0.85rem; }
.review-card { padding: 20px 0; border-bottom: 1px solid var(--gray-100); }
.review-card:last-child { border-bottom: none; }
.review-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-author { font-weight: 600; font-size: 0.9rem; }
.review-date { color: var(--gray-400); font-size: 0.8rem; }
.review-verified { background: var(--green-100); color: var(--green-700); padding: 2px 8px; border-radius: 12px; font-size: 0.7rem; font-weight: 600; }
.review-stars { color: #f5a623; font-size: 0.95rem; letter-spacing: 1px; }
.review-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.review-body { color: var(--gray-600); font-size: 0.9rem; line-height: 1.6; }
.review-reply { background: var(--gray-50); border-left: 3px solid var(--green-700); padding: 12px 16px; margin-top: 12px; border-radius: 0 8px 8px 0; }
.review-reply strong { font-size: 0.8rem; color: var(--green-700); }
.review-reply p { font-size: 0.85rem; color: var(--gray-600); margin-top: 4px; }

.review-form { background: var(--gray-50); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.review-form h3 { font-size: 1rem; margin-bottom: 16px; }
.review-form .field { margin-bottom: 12px; }
.review-form label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 4px; color: var(--gray-700); }
.review-form input, .review-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--gray-200); border-radius: 8px; font-family: var(--font-body); font-size: 0.9rem; }
.review-form textarea { resize: vertical; min-height: 80px; }
.review-form .star-input { display: flex; gap: 4px; font-size: 1.5rem; cursor: pointer; }
.review-form .star-input span { color: var(--gray-300); transition: color 0.15s; }
.review-form .star-input span.active { color: #f5a623; }

/* ===== Social Sharing ===== */
.share-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.share-label { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px; }
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, opacity 0.2s; text-decoration: none; flex-shrink: 0; }
.share-btn:hover { transform: scale(1.1); }
.share-btn.whatsapp { background: #25D366; color: white; }
.share-btn.facebook { background: #1877F2; color: white; }
.share-btn.twitter { background: #1DA1F2; color: white; }
.share-btn.copy { background: var(--gray-100); color: var(--gray-600); }
.share-btn.copy:hover { background: var(--gray-200); }

/* Legacy selector kept for backward compatibility with any existing .social-share usages on other pages */
.social-share { display: flex; gap: 8px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.social-share-label { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; }
.social-share a, .social-share button { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-500); border: 1px solid var(--gray-200); transition: var(--transition); background: white; }
.social-share a:hover, .social-share button:hover { color: var(--green-700); border-color: var(--green-700); }

/* ===== Low Stock Badge ===== */
.low-stock-badge { display: inline-flex; align-items: center; gap: 4px; background: #fff3e0; color: #e65100; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; margin-top: 8px; }
.low-stock-badge svg { width: 14px; height: 14px; }

/* ===== Wishlist Heart (PDP) ===== */
.pdp-wishlist-btn { width: 44px; height: 44px; border: 1.5px solid var(--gray-200); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gray-400); transition: var(--transition); background: white; flex-shrink: 0; }
.pdp-wishlist-btn:hover { border-color: #e53935; color: #e53935; }
.pdp-wishlist-btn.active { background: #fbe9e7; border-color: #e53935; color: #e53935; }
.pdp-wishlist-btn.active svg { fill: #e53935; }

/* ===== Lazy Load ===== */
.lazy-img { opacity: 0; transition: opacity 0.4s ease-in; }
.lazy-img.loaded { opacity: 1; }

/* ===== Responsive additions ===== */
@media (max-width: 768px) {
    .whatsapp-float { bottom: 76px; left: 20px; width: 50px; height: 50px; }
    .back-to-top { bottom: 76px; right: 20px; width: 42px; height: 42px; }
    .account-modal { padding: 24px; }
    .story-stats { gap: 16px; }
    .stat strong { font-size: 1.2rem; }
    .social-share { flex-wrap: wrap; }
    .reviews-header { flex-direction: column; align-items: flex-start; }
}

/* ===== Compare Button (on product cards) ===== */
.product-card-actions {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-top: 12px;
}

.product-card-actions .quick-add {
    flex: 1;
    margin-top: 0;
}

.compare-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    min-height: 44px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-500);
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.compare-btn:hover {
    border-color: var(--green-700);
    color: var(--green-700);
}

.compare-btn.active {
    background: var(--green-50);
    border-color: var(--green-700);
    color: var(--green-700);
}

/* ===== Floating Compare Bar ===== */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--green-900);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

.compare-bar.visible {
    transform: translateY(0);
}

.compare-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.compare-count {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.btn-compare {
    padding: 9px 22px;
    background: var(--green-600);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    min-height: 40px;
}

.btn-compare:hover { background: var(--green-500); }

.btn-compare-clear {
    padding: 9px 16px;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    min-height: 40px;
    opacity: 0.8;
}

.btn-compare-clear:hover { border-color: rgba(255,255,255,0.7); opacity: 1; }

/* ===== Recently Viewed Products ===== */
.recently-viewed {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-100);
}

.recently-viewed h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.rv-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.rv-scroll::-webkit-scrollbar { height: 4px; }
.rv-scroll::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

.rv-scroll .related-card {
    min-width: 200px;
    max-width: 200px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.rv-scroll .related-card img,
.rv-scroll .related-card .no-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.rv-scroll .related-card .no-img {
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rv-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--green-700);
    color: var(--white);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Homepage "Seguí explorando" section */
.seguí-explorando {
    padding: 48px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.seguí-explorando .section-header {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.seguí-explorando h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gray-900);
}

.seguí-explorando .ver-mas {
    font-size: 0.85rem;
    color: var(--green-700);
    font-weight: 500;
    text-decoration: none;
}

.seguí-explorando .ver-mas:hover { text-decoration: underline; }

.seguí-explorando .rv-scroll {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 8px;
}

/* Comparison page */
.compare-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.compare-page h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 32px;
}

.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    text-align: left;
    vertical-align: top;
}

.compare-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-500);
    font-weight: 600;
    background: var(--gray-50);
    width: 140px;
    min-width: 120px;
}

.compare-table td {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.compare-product-col {
    vertical-align: top;
}

.compare-product-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    background: var(--gray-50);
}

.compare-product-img.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-product-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.compare-product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-900);
}

.compare-product-compare-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--gray-400);
    margin-left: 6px;
}

.compare-remove-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: 0.2s;
    margin-top: 8px;
}

.compare-remove-btn:hover { color: #e53935; background: #fbe9e7; }

.compare-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.compare-actions a,
.compare-actions button {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
    font-family: var(--font-body);
}

.compare-actions .btn-ver {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
}

.compare-actions .btn-ver:hover { background: var(--gray-200); }

.compare-actions .btn-agregar {
    background: var(--green-700);
    color: var(--white);
    border: none;
}

.compare-actions .btn-agregar:hover { background: var(--green-800); }

.compare-attr-name { color: var(--gray-600); font-size: 0.82rem; }

.compare-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--gray-500);
}

.compare-empty h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin: 16px 0 8px;
    color: var(--gray-700);
}

.compare-empty p { font-size: 0.95rem; margin-bottom: 24px; }

@media (max-width: 768px) {
    .compare-bar-content { padding: 12px 16px; }
    .compare-count { font-size: 0.82rem; }
    .btn-compare, .btn-compare-clear { padding: 8px 14px; font-size: 0.8rem; }
    .rv-scroll .related-card { min-width: 160px; max-width: 160px; }
    .seguí-explorando .section-header { flex-direction: column; align-items: flex-start; gap: 4px; }
    .compare-table th { width: 110px; min-width: 100px; }
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--green-900); color: #fff; padding: 16px 24px; display: flex; align-items: center; justify-content: center; gap: 16px; z-index: 9999; font-size: 0.85rem; line-height: 1.5; box-shadow: 0 -2px 12px rgba(0,0,0,0.2); flex-wrap: wrap; }
.cookie-banner p { margin: 0; max-width: 700px; }
.cookie-banner a { color: var(--green-200); text-decoration: underline; }
.cookie-banner .cookie-btn { padding: 8px 24px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 0.85rem; font-family: inherit; white-space: nowrap; }
.cookie-banner .cookie-accept { background: var(--green-500, #38a169); color: #fff; }
.cookie-banner .cookie-accept:hover { background: var(--green-400, #48bb78); }
.cookie-banner .cookie-reject { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.cookie-banner .cookie-reject:hover { border-color: #fff; }
@media (max-width: 600px) { .cookie-banner { flex-direction: column; text-align: center; padding: 14px 16px 20px; gap: 10px; } }
