/* ═══════════════════════════════════════════════════════════════════════════
   RIFTBOUND STORE - GetCasely-Inspired Dark Theme
   Modern, Premium E-Commerce Design
   ═══════════════════════════════════════════════════════════════════════════ */

/* --- ROOT VARIABLES --- */
:root {
    /* Background Colors */
    --bg-primary: #0a0c10;
    --bg-secondary: #12151c;
    --bg-tertiary: #1a1e28;
    --bg-card: #0e1116;
    --bg-card-hover: #151920;

    /* Accent Colors */
    --gold: #c8aa6e;
    --gold-light: #e8d5a3;
    --gold-dim: #927345;
    --gold-glow: rgba(200, 170, 110, 0.4);

    /* Status Colors */
    --accent-pink: #ff6b9d;
    --accent-green: #2ecc71;
    --accent-blue: #3498db;
    --accent-red: #e74c3c;
    --accent-purple: #9b59b6;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a5b0;
    --text-muted: #666b78;

    /* Border & Shadow */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-gold: rgba(200, 170, 110, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.6);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- GLOBAL STYLES --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.announcement-bar {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dim) 50%, var(--gold) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
    color: #000;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 100;
}

.announcement-bar a {
    color: #000;
    text-decoration: underline;
    margin-left: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTAINER
   ═══════════════════════════════════════════════════════════════════════════ */
.store-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.store-main {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 40px 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SLIDER SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-slider-section {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-swiper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 16, 0.75);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 60px 80px;
    max-width: 700px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    letter-spacing: 1px;
    box-shadow: 0 0 30px var(--gold-glow);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 20px;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--gold);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 450px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: #000;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-med);
    box-shadow: 0 10px 30px rgba(200, 170, 110, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 170, 110, 0.5);
}

.hero-cta i {
    transition: var(--transition-fast);
}

.hero-cta:hover i {
    transform: translateX(5px);
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination {
    bottom: 30px !important;
}

/* Hero Swiper Slide - Full Width */
.hero-swiper .swiper-slide {
    width: 100% !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: var(--transition-fast);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    width: 36px;
    border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════════════ */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--gold);
    font-size: 0.9em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 5px;
}

.section-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.section-link:hover {
    color: var(--gold-light);
}

.section-link:hover i {
    transform: translateX(5px);
}

.section-link i {
    transition: var(--transition-fast);
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    gap: 10px;
}

.carousel-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-nav-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.carousel-nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT CAROUSEL
   ═══════════════════════════════════════════════════════════════════════════ */
.products-section {
    padding: 0 20px;
}

.products-swiper {
    overflow: visible !important;
    padding: 10px 0 30px;
}

.products-swiper .swiper-slide {
    width: 280px;
    height: auto;
}

/* Ensure all cards have same height in carousel */
.products-swiper .swiper-wrapper {
    align-items: stretch;
}

.products-swiper .product-card {
    height: 100%;
    min-height: 420px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT CARDS (NEW DESIGN)
   ═══════════════════════════════════════════════════════════════════════════ */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: var(--transition-med);
    border: 1px solid var(--border-subtle);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-gold);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1/1;
    background: #050505;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.product-badge {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.new {
    background: var(--accent-blue);
    color: #fff;
}

.product-badge.sale {
    background: linear-gradient(135deg, var(--accent-pink), #ff4757);
    color: #fff;
}

.product-badge.preorder {
    background: var(--gold);
    color: #000;
}

.product-badge.hot {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
}

/* Quick Add Button */
.product-quick-add {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-med);
    z-index: 10;
}

.product-card:hover .product-quick-add {
    opacity: 1;
    transform: translateY(0);
}

.product-quick-add:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    transform: scale(1.1) rotate(90deg);
}

/* Product Info */
.product-card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-card-meta {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 1px;
    opacity: 0.8;
}

.product-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    min-height: 2.6em;
    /* Fixed height for 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-subtle);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-price-current {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.product-price-current.sale {
    color: var(--accent-green);
}

.product-price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Out of Stock Overlay */
.product-oos-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: grayscale(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
}

.product-oos-overlay span {
    background: rgba(20, 20, 20, 0.9);
    color: var(--accent-red);
    border: 1px solid rgba(231, 76, 60, 0.5);
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CATEGORY GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.category-section {
    padding: 0 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    height: 280px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    transition: var(--transition-med);
    border: 1px solid var(--border-subtle);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 12, 16, 0.95) 100%);
    z-index: 1;
    transition: var(--transition-med);
}

.category-card:hover::before {
    background: linear-gradient(180deg, transparent 20%, rgba(10, 12, 16, 0.98) 100%);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-gold);
}

.category-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.category-card:hover .category-card-bg {
    transform: scale(1.05);
}

.category-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
}

.category-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px;
    text-transform: uppercase;
}

.category-card-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.category-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    z-index: 2;
    transition: var(--transition-med);
}

.category-card:hover .category-card-arrow {
    background: var(--gold);
    color: #000;
}

/* Category Card Color Variants */
.category-card.origins {
    background: linear-gradient(135deg, #1a2a4a 0%, #0a1428 100%);
}

.category-card.spiritforged {
    background: linear-gradient(135deg, #2a1a3a 0%, #140a28 100%);
}

.category-card.playmats {
    background: linear-gradient(135deg, #1a3a2a 0%, #0a2814 100%);
}

.category-card.sleeves {
    background: linear-gradient(135deg, #3a2a1a 0%, #281a0a 100%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SOCIAL / INSTAGRAM SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.social-section {
    padding: 0 20px;
    text-align: center;
}

.social-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.social-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.social-subtitle a {
    color: var(--gold);
    text-decoration: none;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.instagram-item {
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-med);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item::after {
    content: '\f16d';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.instagram-item:hover::after {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROMO SECTION (CTA)
   ═══════════════════════════════════════════════════════════════════════════ */
.promo-section {
    margin: 0 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    min-height: 400px;
}

.promo-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-badge {
    display: inline-block;
    background: rgba(200, 170, 110, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    width: fit-content;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 15px;
    line-height: 1.2;
}

.promo-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: #000;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-med);
    width: fit-content;
}

.promo-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 170, 110, 0.4);
}

.promo-image {
    position: relative;
    background-size: cover;
    background-position: center;
}

.promo-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 30%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEWSLETTER SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.newsletter-section {
    margin: 0 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 170, 110, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--gold);
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.newsletter-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    padding: 16px 24px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(200, 170, 110, 0.1);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-med);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 170, 110, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCTS GRID (FILTERED VIEW)
   ═══════════════════════════════════════════════════════════════════════════ */
.products-grid-section {
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    color: var(--text-muted);
    border: 2px dashed var(--border-medium);
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FILTER BAR (FOR FILTERED VIEW)
   ═══════════════════════════════════════════════════════════════════════════ */
.filter-bar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    border: 1px solid var(--border-subtle);
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.filter-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-chip.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.filter-reset {
    margin-left: auto;
    color: var(--accent-red);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-reset:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CART DRAWER (UPDATED)
   ═══════════════════════════════════════════════════════════════════════════ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9998;
    display: none;
    transition: var(--transition-fast);
}

.cart-overlay.open {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 450px;
    max-width: 90vw;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-gold);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    transition: right var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(200, 170, 110, 0.05), transparent);
}

.cart-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.cart-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-close:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    gap: 15px;
    background: var(--bg-card);
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    position: relative;
    transition: var(--transition-fast);
}

.cart-item:hover {
    border-color: var(--border-gold);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: #000;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.cart-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.cart-item-price {
    font-weight: 700;
    color: var(--gold);
}

.cart-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.1);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.cart-remove:hover {
    background: var(--accent-red);
    color: #fff;
}

.cart-footer {
    padding: 25px 30px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-total-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.cart-total-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.cart-btn {
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-med);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 170, 110, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKOUT MODAL
   ═══════════════════════════════════════════════════════════════════════════ */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 12, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.checkout-overlay.active {
    display: flex;
}

.checkout-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-gold);
    width: 1000px;
    max-width: 95%;
    max-height: 90vh;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.9);
    animation: modalSlideUp 0.4s var(--transition-slow);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-header {
    padding: 25px 35px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(200, 170, 110, 0.05), transparent);
}

.checkout-header h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-header h2 i {
    color: var(--gold);
}

.checkout-close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.checkout-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.checkout-body {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
}

.checkout-form-col {
    flex: 1.2;
    min-width: 350px;
    padding: 35px;
    border-right: 1px solid var(--border-subtle);
}

.checkout-summary-col {
    flex: 1;
    min-width: 320px;
    padding: 35px;
    background: var(--bg-card);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(200, 170, 110, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-option {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-fast);
    position: relative;
}

.payment-option:hover {
    border-color: var(--gold);
}

.payment-option.active {
    border-color: var(--gold);
    background: rgba(200, 170, 110, 0.1);
}

.payment-option .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.payment-option.active .check-icon {
    display: flex;
}

.pay-opt-icon {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.pay-opt-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pay-opt-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Order Summary */
.summary-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-medium);
}

.checkout-items-scroll {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.order-total-big {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--border-medium);
}

.pay-btn {
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-med);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pay-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 170, 110, 0.4);
}

.pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-slide {
        height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slide-content {
        padding: 40px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .category-card {
        height: 220px;
    }

    .promo-section {
        grid-template-columns: 1fr;
    }

    .promo-image {
        min-height: 250px;
    }

    .promo-image::before {
        background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 30%);
    }
}

@media (max-width: 768px) {
    .store-main {
        gap: 50px;
        padding: 20px 0;
    }

    .hero-slider-section {
        padding: 0 15px;
    }

    .hero-slide {
        height: 350px;
    }

    .hero-slide-content {
        padding: 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-cta {
        padding: 14px 24px;
        font-size: 0.8rem;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .products-swiper .swiper-slide {
        width: 240px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 200px;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .promo-section {
        margin: 0 15px;
    }

    .promo-content {
        padding: 40px;
    }

    .promo-title {
        font-size: 1.8rem;
    }

    .newsletter-section {
        padding: 40px 20px;
        margin: 0 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-title {
        font-size: 1.5rem;
    }

    .checkout-body {
        flex-direction: column;
    }

    .checkout-form-col,
    .checkout-summary-col {
        min-width: 100%;
    }

    .checkout-form-col {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        height: 300px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-swiper .swiper-slide {
        width: 200px;
    }

    .filter-bar {
        padding: 15px;
    }

    .filter-chip {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH BOX (NEW)
   ═══════════════════════════════════════════════════════════════════════════ */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    padding: 12px 20px 12px 45px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition-fast);
}

.search-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(200, 170, 110, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGACY SUPPORT (Keep existing functionality working)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Support for old card structure until PHP is updated */
.card-3d-wrapper {
    height: 100%;
}

.store-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition-med);
    height: 100%;
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-gold);
}

.card-img-box {
    position: relative;
    aspect-ratio: 1/1;
    background: #050505;
    overflow: hidden;
}

.card-blur-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.3);
    opacity: 0.5;
}

.prod-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: var(--transition-slow);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.store-card:hover .prod-img {
    transform: scale(1.05);
}

.card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.store-card:hover .card-shine {
    opacity: 1;
}

.badges-top {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.badge {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
}

.badge-discount {
    background: linear-gradient(135deg, var(--accent-pink), #ff4757);
}

.badge-new {
    background: var(--accent-blue);
}

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
}

.card-meta {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.card-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.3;
}

.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    padding-top: 15px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.current-price.discounted {
    color: var(--accent-green);
}

.old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 8px;
}

.card-add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-med);
    z-index: 100;
}

.card-add-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    transform: scale(1.1) rotate(90deg);
}

.oos-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: grayscale(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
}

.oos-overlay span {
    background: rgba(20, 20, 20, 0.9);
    color: var(--accent-red);
    border: 1px solid rgba(231, 76, 60, 0.5);
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE - GETCASELY INSPIRED REDESIGN
   ═══════════════════════════════════════════════════════════════════════════ */

/* --- PRODUCT CONTAINER --- */
.pp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px 80px;
}

/* --- BREADCRUMB --- */
.pp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding: 0 10px;
}

.pp-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.pp-breadcrumb a:hover {
    color: var(--gold);
}

.pp-breadcrumb i {
    font-size: 0.6rem;
    opacity: 0.5;
}

.pp-breadcrumb span {
    color: var(--gold);
    font-weight: 600;
}

/* --- PRODUCT HERO (2 Column Grid) --- */
.pp-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* --- GALLERY (Left Column) --- */
.pp-gallery {
    position: sticky;
    top: 30px;
    height: fit-content;
}

.pp-main-image {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
}

.pp-main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: var(--transition-slow);
}

.pp-main-image:hover img {
    transform: scale(1.05);
}

.pp-image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: #000;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(200, 170, 110, 0.3);
}

.pp-image-badge.preorder {
    background: var(--accent-blue);
    color: #fff;
}

.pp-image-badge.sale {
    background: linear-gradient(135deg, var(--accent-pink), #ff4757);
    color: #fff;
}

/* --- INFO PANEL (Right Column) --- */
.pp-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pp-set-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 170, 110, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
}

.pp-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

/* Rating */
.pp-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pp-rating:hover {
    opacity: 0.8;
}

.pp-stars {
    display: flex;
    gap: 3px;
    color: var(--gold);
    font-size: 1rem;
}

.pp-stars .empty {
    color: var(--text-muted);
}

.pp-rating-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pp-rating-score {
    font-weight: 700;
    color: var(--text-primary);
}

/* Price Box */
.pp-price-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 25px;
}

.pp-shipping-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: var(--accent-green);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pp-shipping-notice.preorder {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
    color: var(--accent-blue);
}

.pp-shipping-notice i {
    font-size: 1.1rem;
}

.pp-price-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px;
}

.pp-price-current {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.pp-price-current.sale {
    color: var(--accent-green);
}

.pp-price-old {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pp-discount-badge {
    background: linear-gradient(135deg, var(--accent-pink), #ff4757);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
}

/* Add to Cart Button */
.pp-add-btn {
    width: 100%;
    padding: 20px 30px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-med);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(200, 170, 110, 0.3);
}

.pp-add-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 170, 110, 0.5);
}

.pp-add-btn:disabled {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid var(--border-medium);
}

/* Description */
.pp-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- TRUST BADGES (Why Shop) --- */
.pp-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.pp-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.pp-trust-item:hover {
    border-color: var(--border-gold);
}

.pp-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(200, 170, 110, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.pp-trust-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT TABS
   ═══════════════════════════════════════════════════════════════════════════ */
.pp-tabs-section {
    margin-bottom: 80px;
}

.pp-tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-medium);
    margin-bottom: 30px;
}

.pp-tab-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.pp-tab-btn:hover {
    color: var(--text-secondary);
}

.pp-tab-btn.active {
    color: var(--gold);
}

.pp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

.pp-tab-content {
    display: none;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.pp-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pp-tab-content h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0 0 15px;
}

.pp-tab-content ul {
    margin: 0;
    padding-left: 20px;
}

.pp-tab-content li {
    margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   WHY SHOP WITH US SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.why-shop-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 60px;
    margin-bottom: 80px;
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.why-shop-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 40px;
}

.why-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-shop-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.why-shop-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(200, 170, 110, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-med);
}

.why-shop-item:hover .why-shop-icon {
    background: var(--gold);
    color: #000;
    transform: scale(1.1);
}

.why-shop-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.why-shop-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 180px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHASE CARDS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.chase-section {
    margin-bottom: 80px;
}

.chase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.chase-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chase-title i {
    color: var(--gold);
}

.chase-swiper {
    overflow: visible !important;
}

.chase-swiper .swiper-slide {
    width: 160px;
}

.chase-card {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-med);
}

.chase-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.chase-card img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.chase-card-price {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════════════
   REVIEWS SECTION (MODERNIZED)
   ═══════════════════════════════════════════════════════════════════════════ */
.reviews-section {
    margin-bottom: 80px;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.reviews-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-title i {
    color: var(--gold);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-fast);
}

.review-card:hover {
    border-color: var(--border-gold);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 20px 15px;
    border-bottom: 1px solid var(--border-subtle);
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-gold);
}

.review-meta {
    flex: 1;
}

.review-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.review-verified {
    font-size: 0.75rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-stars {
    color: var(--gold);
    font-size: 0.9rem;
}

.review-body {
    padding: 20px;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 15px;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reviews-empty {
    text-align: center;
    padding: 60px;
    color: var(--text-muted);
    font-style: italic;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-medium);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RELATED PRODUCTS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.related-section {
    margin-bottom: 80px;
}

.related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-title i {
    color: var(--gold);
}

.related-swiper {
    overflow: visible !important;
}

.related-swiper .swiper-slide {
    width: 280px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .pp-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pp-gallery {
        position: relative;
        top: 0;
    }

    .why-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pp-container {
        padding: 20px 15px 60px;
    }

    .pp-title {
        font-size: 1.8rem;
    }

    .pp-price-current {
        font-size: 2rem;
    }

    .pp-trust-badges {
        grid-template-columns: 1fr;
    }

    .pp-tabs-header {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .pp-tab-btn {
        padding: 12px 20px;
        white-space: nowrap;
        font-size: 0.85rem;
    }

    .why-shop-section {
        padding: 40px 20px;
    }

    .why-shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-shop-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .chase-swiper .swiper-slide {
        width: 130px;
    }

    .related-swiper .swiper-slide {
        width: 240px;
    }
}

@media (max-width: 480px) {
    .pp-title {
        font-size: 1.5rem;
    }

    .pp-price-current {
        font-size: 1.8rem;
    }

    .pp-add-btn {
        padding: 16px 24px;
        font-size: 0.9rem;
    }

    .why-shop-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-shop-label {
        font-size: 0.85rem;
    }

    .why-shop-desc {
        display: none;
    }
}