/* ============================================
   TANGOWN HANDICRAFT - PREMIUM STYLESHEET
   ============================================ */

/* ============================================
   1. ROOT VARIABLES & RESET
   ============================================ */
:root {
    --primary: #8b1538;
    --primary-light: #a91d3a;
    --primary-dark: #6b0f2a;
    --gold: #c4a676;
    --bg-dark: #0f0707;
    --surface-dark: #1a0d0d;
    --accent-dark: #2d1515;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Material Symbols Configuration */
.material-symbols-outlined {
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}

/* ============================================
   2. PRELOADER ANIMATIONS
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}
.text-primary {
    --tw-text-opacity: 1;
    color: rgb(139 21 56 / var(--tw-text-opacity, 1)) !important;
}
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.forge-animation {
    position: relative;
    width: 120px;
    height: 80px;
    margin: 0 auto;
}

.anvil {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.anvil-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(139, 21, 56, 0.6));
}

.hammer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    animation: hammerStrike 1.5s ease-in-out infinite;
    transform-origin: bottom center;
}

.hammer-svg {
    width: 100%;
    height: auto;
}

@keyframes hammerStrike {
    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }

    50% {
        transform: translateX(-50%) translateY(-15px) rotate(-15deg);
    }
}

/* ============================================
   3. NAVIGATION
   ============================================ */
.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    background: rgba(26, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--accent-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-header.scrolled {
    padding: 0.75rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-link {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: "Cinzel", serif;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 0.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    min-width: auto;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-link:hover + .mega-menu,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Search Box */
.search-box {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    height: 2.5rem;
}

.search-input-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--accent-dark);
    transition: all 0.3s ease;
}

.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
    border-color: rgba(139, 21, 56, 0.5);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    background: var(--surface-dark);
    color: var(--text-muted);
}

.search-input {
    flex: 1;
    border: none;
    background: var(--surface-dark);
    color: var(--text-primary);
    padding: 0 1rem;
    font-size: 0.875rem;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Icon Buttons */
.icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-btn:hover {
    background: var(--accent-dark);
    color: var(--primary);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.15rem 0.4rem;
    border-radius: 9999px;
    line-height: 1;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 200px;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.icon-btn:hover + .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--accent-dark);
    margin: 0.5rem 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(15, 7, 7, 0.98);
    backdrop-filter: blur(8px);
    z-index: 9999;
    padding: 6rem 2rem;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure mobile menu is hidden on desktop */
@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* Mobile Menu Content Responsive */
.mobile-menu nav {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu nav a {
    display: block;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .flex.justify-center {
    margin-top: 2rem;
}

.mobile-menu button[onclick*="toggleMobileMenu"] {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10000;
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
}

.hero-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    position: relative;
}

.hero-slide {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15, 7, 7, 0.95) 0%,
        rgba(15, 7, 7, 0.7) 50%,
        rgba(15, 7, 7, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 2rem;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-block;
    width: fit-content;
    color: var(--primary);
    font-weight: 700;
    font-family: "Cinzel", serif;
    letter-spacing: 0.2em;
    font-size: 0.65rem;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 0.4rem 0.8rem;
    border-radius: 0.25rem;
}

.hero-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 900;
    font-family: "Cinzel", serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
    width: 28px;
    border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    background: rgba(26, 13, 13, 0.8);
    backdrop-filter: blur(8px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

/* Hero Responsive Styles */
@media (min-width: 640px) {
    .hero-section {
        padding: 1rem 2rem 2rem;
    }

    .hero-slide {
        min-height: 550px;
    }

    .hero-content {
        padding: 0 3rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 1rem;
        margin-top: 1rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 45px;
        height: 45px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1.4rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 1rem 2.5rem 2rem;
    }

    .hero-slide {
        min-height: 600px;
    }

    .hero-content {
        padding: 0 4rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-text {
        font-size: 1.125rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1.5rem;
    }
}

/* ============================================
   5. BUTTONS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 21, 56, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 21, 56, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ============================================
   6. SECTIONS
   ============================================ */
.section-padding {
    padding: 5rem 2.5rem;
}

.container-custom {
    max-width: 1440px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: 900;
    font-family: "Cinzel", serif;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    gap: 0.75rem;
    color: var(--primary-light);
}

/* ============================================
   7. FEATURES SECTION
   ============================================ */
.features-section {
    padding: 3rem 2.5rem;
    background: rgba(26, 13, 13, 0.5);
    position: relative;
    z-index: 20;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(139, 21, 56, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.feature-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    margin-bottom: 0.25rem;
}

.feature-text {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ============================================
   8. CATEGORIES
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 21, 56, 0.3);
}

.category-image {
    position: relative;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 7, 7, 0.95) 0%,
        transparent 60%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-btn {
    padding: 0.75rem 2rem;
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.category-card:hover .category-btn {
    transform: translateY(0);
}

.category-btn:hover {
    background: var(--primary-light);
}

.category-info {
    padding: 1.5rem;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-top: none;
    border-radius: 0 0 0.75rem 0.75rem;
}

.category-name {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    margin-bottom: 0.25rem;
}

.category-count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   9. PRODUCTS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--surface-dark);
}

.product-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 7, 7, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: var(--primary-light);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: "Cinzel", serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0.25rem;
    z-index: 10;
}

.product-badge.new {
    background: var(--primary);
    color: white;
}

.product-badge.sale {
    background: #d97706;
    color: white;
}

.product-badge.trending {
    background: #10b981;
    color: white;
}

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.wishlist-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.product-info {
    padding: 0 0.5rem;
}

.product-name {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: var(--primary);
}

.product-category {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 900;
    font-family: "Cinzel", serif;
}

.product-price-old {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* ============================================
   10. CRAFTSMANSHIP SECTION
   ============================================ */
.craftsmanship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 1rem;
    overflow: hidden;
}

.craftsmanship-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.craftsmanship-title {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: "Cinzel", serif;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.craftsmanship-text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 1.5rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 900;
    font-family: "Cinzel", serif;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.craftsmanship-image {
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

/* ============================================
   11. GALLERY SECTION
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.gallery-large {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 21, 56, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    color: white;
}

/* ============================================
   12. TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 0.75rem;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--gold);
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.author-name {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
}

.author-title {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   13. NEWSLETTER
   ============================================ */
.newsletter-section {
    padding: 5rem 2.5rem;
    background: var(--surface-dark);
}

.newsletter-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.newsletter-icon {
    position: relative;
    z-index: 1;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

.newsletter-title {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: "Cinzel", serif;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-text {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: white;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ============================================
   14. FOOTER
   ============================================ */
.footer {
    background: var(--surface-dark);
    border-top: 1px solid var(--accent-dark);
    padding: 4rem 2.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dark);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-dark);
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ============================================
   15. RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .nav-header {
        padding: 1rem 1.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .craftsmanship-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.gallery-large {
        grid-column: span 1;
        aspect-ratio: 1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 1.5rem;
    }

    .nav-header {
        padding: 1rem;
    }

    .hero-section {
        padding: 1rem;
    }

    .hero-slide {
        min-height: 500px;
    }

    .hero-content {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .craftsmanship-content {
        padding: 2rem;
    }

    .craftsmanship-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .newsletter-card {
        padding: 2rem;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1.25rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .product-name,
    .category-name {
        font-size: 1rem;
    }

    .craftsmanship-grid {
        grid-template-columns: 1fr;
    }

    .craftsmanship-image {
        min-height: 300px;
    }
}

/* ============================================
   16. UTILITY ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* ============================================
   PRODUCT DETAIL PAGE STYLES
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
    padding: 1.5rem 2.5rem;
    background: var(--surface-dark);
    border-bottom: 1px solid var(--accent-dark);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--text-muted);
}

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    margin-bottom: 1.5rem;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image-container:hover .main-image {
    transform: scale(1.1);
}

.wishlist-btn-detail {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.wishlist-btn-detail:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Thumbnail Grid */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid var(--accent-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
    border-color: var(--primary);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-badge-detail {
    display: inline-block;
    width: fit-content;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: "Cinzel", serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0.25rem;
}

.product-badge-detail.new {
    background: var(--primary);
}

.product-title-detail {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 900;
    font-family: "Cinzel", serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: #c4a676;
}

.stars .material-symbols-outlined.filled {
    font-variation-settings: "FILL" 1;
}

.stars .material-symbols-outlined.half {
    font-variation-settings: "FILL" 0.5;
}

.rating-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.product-price-detail {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 900;
    font-family: "Cinzel", serif;
}

.product-category-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-category-detail .material-symbols-outlined {
    color: var(--primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    padding: 1.5rem;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 0.75rem;
}

/* Specifications */
.specifications {
    padding: 1.5rem;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 0.75rem;
}

.spec-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    margin-bottom: 1rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
}

.spec-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.spec-value {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Enquiry Form */
.enquiry-form-container {
    padding: 2rem;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 0.75rem;
}

.enquiry-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
    margin-bottom: 1.5rem;
}

.enquiry-title .material-symbols-outlined {
    color: var(--primary);
    font-size: 2rem;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-dark);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    font-family: "Cormorant Garamond", serif;
}

/* Review Section */
.review-stats {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    padding: 2rem;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.overall-rating {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
}

.rating-number {
    color: var(--primary);
    font-size: 4rem;
    font-weight: 900;
    font-family: "Cinzel", serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars-large {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    color: #c4a676;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.rating-stars-large .material-symbols-outlined.filled {
    font-variation-settings: "FILL" 1;
}

.rating-stars-large .material-symbols-outlined.half {
    font-variation-settings: "FILL" 0.5;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Rating Breakdown */
.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.rating-bar-item {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.rating-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.rating-percentage {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: right;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    padding: 2rem;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: rgba(139, 21, 56, 0.5);
    box-shadow: 0 4px 20px rgba(139, 21, 56, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-family: "Cinzel", serif;
}

.reviewer-name {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    font-family: "Cinzel", serif;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    color: #c4a676;
}

.review-stars .material-symbols-outlined.filled {
    font-variation-settings: "FILL" 1;
}

.review-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Review Form */
.review-form-container {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--surface-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 0.75rem;
}

.star-rating-input {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.star-input {
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-input:hover,
.star-input.filled {
    color: #c4a676;
    font-variation-settings: "FILL" 1;
    transform: scale(1.1);
}

/* Responsive Product Detail */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-gallery {
        position: static;
    }

    .review-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 1rem 1.5rem;
    }

    .product-title-detail {
        font-size: 2rem;
    }

    .product-price-detail {
        font-size: 2rem;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-form-container {
        padding: 1.5rem;
    }

    .rating-bar-item {
        grid-template-columns: 70px 1fr 50px;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .product-title-detail {
        font-size: 1.75rem;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}
