:root {
    --primary: #8E6E53;
    /* Bronze/Wood tone */
    --primary-dark: #6D5440;
    --accent: #CEA17F;
    --dark: #1A1A1A;
    --light: #F8F5F1;
    /* Subtle cream */
    --white: #FFFFFF;
    --gray: #777;
    --transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.85);
}

/* ============ ENTRANCE ANIMATION KEYFRAMES ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes clipRevealDown {
    from {
        clip-path: inset(0 0 100% 0);
        opacity: 0;
    }

    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes clipRevealUp {
    from {
        clip-path: inset(100% 0 0 0);
        opacity: 0;
    }

    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes letterSpread {
    from {
        letter-spacing: 0.3em;
        opacity: 0;
    }

    to {
        letter-spacing: 0.1em;
        opacity: 1;
    }
}

@keyframes underlineGrow {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

/* Progressive Image Loading */
.smart-img {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.smart-img.loaded {
    opacity: 1;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(142, 110, 83, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(142, 110, 83, 0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(-2deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes typewriterCursor {

    0%,
    100% {
        border-right-color: transparent;
    }

    50% {
        border-right-color: var(--primary);
    }
}

/* ============ ANIMATION UTILITIES ============ */
.anim-hidden {
    opacity: 0;
}

.anim-fade-up {
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-fade-down {
    animation: fadeInDown 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-fade-left {
    animation: fadeInLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-fade-right {
    animation: fadeInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-blur-in {
    animation: blurIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-clip-down {
    animation: clipRevealDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-float-in {
    animation: floatIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Delay classes */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.35s;
}

.delay-4 {
    animation-delay: 0.5s;
}

.delay-5 {
    animation-delay: 0.65s;
}

.delay-6 {
    animation-delay: 0.8s;
}

.delay-7 {
    animation-delay: 0.95s;
}

.delay-8 {
    animation-delay: 1.1s;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    margin-left: 15px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn,
.cart-btn {
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    color: var(--dark);
}

.search-btn:hover,
.cart-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(142, 110, 83, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/Annotation 2026-02-20 151219.jpg') center/cover no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Image Zoom Modal */
.zoom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: default;
    padding: 20px;
}

.zoom-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.zoom-modal img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 1;
}

.zoom-modal.active img {
    transform: scale(1);
}

.zoom-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100;
}

.zoom-close:hover {
    transform: scale(1.1) rotate(90deg);
}

.zoom-nav {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 50;
}

.zoom-nav-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.3s;
}

.zoom-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.zoom-nav-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .zoom-nav {
        padding: 0 10px;
    }

    .zoom-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        background: rgba(0, 0, 0, 0.5);
        /* Higher contrast on mobile */
    }
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content .sub-heading {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
    opacity: 0;
    animation: letterSpread 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    animation: clipRevealUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

/* Individual word animation for hero h1 */
.hero h1 .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero h1 .word:nth-child(1) {
    animation-delay: 0.4s;
}

.hero h1 .word:nth-child(2) {
    animation-delay: 0.55s;
}

.hero h1 .word:nth-child(3) {
    animation-delay: 0.7s;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: blurIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

.hero-cta .btn {
    margin: 0 10px;
    opacity: 0;
    animation: scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-cta .btn:nth-child(1) {
    animation-delay: 1.3s;
}

.hero-cta .btn:nth-child(2) {
    animation-delay: 1.5s;
}

.hero-cta .btn-primary {
    animation: scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards,
        pulseGlow 2s ease-in-out 2.5s infinite;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.tag {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.8rem;
    opacity: 0;
    transition: none;
}

.section-title.animated .tag {
    animation: letterSpread 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transition: none;
}

.section-title.animated h2 {
    animation: clipRevealUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

/* Shimmer effect on section headings */
.section-title.animated h2 {
    background: linear-gradient(90deg,
            var(--dark) 0%,
            var(--primary) 50%,
            var(--dark) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: clipRevealUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards,
        shimmer 3s ease-in-out 1.2s 1;
}

.underline {
    width: 0;
    height: 2px;
    background: var(--primary);
    margin: 0 auto;
    transition: none;
}

.section-title.animated .underline {
    animation: underlineGrow 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

/* Products */
.filter-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.filter-btn {
    background: transparent;
    border: none;
    font-family: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    color: var(--gray);
    padding: 10px 20px;
    transition: var(--transition);
}

.filter-btn.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.clickable-card {
    cursor: pointer;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(142, 110, 83, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.clickable-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay span {
    color: var(--white);
    border: 1px solid var(--white);
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-back {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.btn-back:hover {
    background: var(--primary);
    color: var(--white);
}

/* Search & Filter Bar */
.search-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(142, 110, 83, 0.1);
}

.filter-controls select {
    padding: 12px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    background: var(--white);
}

/* Item Details View */
.item-details-container {
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}

.item-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.item-main-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.item-description-box {
    padding: 20px 0;
}

.item-description-box h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.item-description-box .price {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
}

.item-description-box p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.purchase-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.product-features-list {
    margin: 30px 0;
    list-style: none;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: var(--gray);
    font-size: 0.95rem;
    opacity: 0;
    transform: translateX(-10px);
}

.product-features-list li.animated {
    opacity: 1;
    transform: translateX(0);
}

.product-features-list i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Skeleton Loading */
.skeleton {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 4px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

.skeleton-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.skeleton-img {
    height: 250px;
    width: 100%;
    margin-bottom: 20px;
}

.skeleton-text {
    height: 20px;
    width: 70%;
    margin-bottom: 10px;
}

.skeleton-price {
    height: 15px;
    width: 40%;
}

.skeleton-detail-img {
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 12px;
}

.skeleton-title {
    height: 40px;
    width: 80%;
    margin-bottom: 20px;
}

.skeleton-para {
    height: 100px;
    width: 100%;
    margin-bottom: 30px;
}

/* Product Gallery Slider */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.main-image-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    /* Increased height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image-viewport img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to show the whole image */
    transition: opacity 0.3s ease;
    background: #fff;
    /* Ensure white background for contained images */
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    pointer-events: auto;
    color: var(--dark);
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--white);
    width: 20px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
}

.close-cart {
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.cart-item-info p {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    padding: 4px 10px;
    border-radius: 20px;
}

.cart-qty-controls button {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--primary);
    padding: 0 5px;
    font-weight: 700;
}

.cart-qty-controls span {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 15px;
    text-align: center;
}

.cart-del {
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.cart-del:hover {
    opacity: 1;
    transform: scale(1.1);
}

.cart-footer {
    padding: 30px;
    background: var(--light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .item-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    transition: all 0.4s ease-in-out;
}

.product-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-img {
    aspect-ratio: 4/3;
    /* Increased height */
    height: auto;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to ensure full item is shown */
    transition: var(--transition);
    background: #fff;
    /* White background to blend if image ratio is different */
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-info .price {
    color: var(--primary);
    font-weight: 600;
}

/* About */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    height: 600px;
    background: url('../images/Annotation 2026-02-20 151219.jpg') center/cover no-repeat;
    position: relative;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: none;
}

.about-image.animated {
    animation: fadeInLeft 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    text-align: center;
    opacity: 0;
    transition: none;
}

.experience-badge.animated {
    animation: scaleIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards,
        pulseGlow 2.5s ease-in-out 1.8s 2;
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.about-text .tag {
    opacity: 0;
    transition: none;
}

.about-text.animated .tag {
    animation: letterSpread 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    opacity: 0;
    transition: none;
}

.about-text.animated h2 {
    animation: fadeInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
    opacity: 0;
    transition: none;
}

.about-text.animated p:nth-of-type(1) {
    animation: blurIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.about-text.animated p:nth-of-type(2) {
    animation: blurIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: none;
}

.about-text.animated .about-features li:nth-child(1) {
    animation: fadeInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

.about-text.animated .about-features li:nth-child(2) {
    animation: fadeInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}

.about-text.animated .about-features li:nth-child(3) {
    animation: fadeInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

.about-features i {
    color: var(--primary);
}

/* Reviews */
.review-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.review-card {
    padding: 40px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 4px;
    opacity: 0;
    transition: none;
}

.review-card.animated {
    animation: floatIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.review-card.animated:nth-child(2) {
    animation-delay: 0.2s;
}

.review-card .stars {
    color: #F1C40F;
    margin-bottom: 20px;
    opacity: 0;
    transition: none;
}

.review-card.animated .stars {
    animation: scaleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.review-card.animated:nth-child(2) .stars {
    animation-delay: 0.5s;
}

.review-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0;
    transition: none;
}

.review-card.animated p {
    animation: blurIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.review-card.animated:nth-child(2) p {
    animation-delay: 0.7s;
}

.reviewer {
    opacity: 0;
    transition: none;
}

.review-card.animated .reviewer {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.review-card.animated:nth-child(2) .reviewer {
    animation-delay: 0.9s;
}

.reviewer h4 {
    margin-bottom: 5px;
}

.reviewer span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Contact */
.contact {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transition: none;
}

.contact.animated .contact-info h2 {
    animation: clipRevealUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.contact-info>p {
    margin-bottom: 40px;
    color: var(--gray);
    opacity: 0;
    transition: none;
}

.contact.animated .contact-info>p {
    animation: blurIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    opacity: 0;
    transition: none;
}

.contact.animated .info-item:nth-child(3) {
    animation: fadeInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.contact.animated .info-item:nth-child(4) {
    animation: fadeInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-info .social-links {
    opacity: 0;
    transition: none;
}

.contact.animated .contact-info .social-links {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

.social-links {
    margin-top: 40px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.contact-form {
    opacity: 0;
    transition: none;
}

.contact.animated .contact-form {
    animation: fadeInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
}

.footer-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
    opacity: 0;
    transition: none;
}

.footer.animated .footer-brand h3 {
    animation: letterSpread 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.footer-brand p {
    font-size: 1rem;
    opacity: 0;
    max-width: 400px;
    line-height: 1.8;
    transition: none;
}

.footer.animated .footer-brand p {
    animation: blurIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
    opacity: 0;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Cinzel', serif;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
}

.pulse-animation {
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Product card staggered animation */
.product-card {
    opacity: 0;
    transition: none;
}

.product-card.animated {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-card.animated:nth-child(1) {
    animation-delay: 0s;
}

.product-card.animated:nth-child(2) {
    animation-delay: 0.12s;
}

.product-card.animated:nth-child(3) {
    animation-delay: 0.24s;
}

.product-card.animated:nth-child(4) {
    animation-delay: 0.36s;
}

.product-card.animated:nth-child(5) {
    animation-delay: 0.48s;
}

.product-card.animated:nth-child(6) {
    animation-delay: 0.6s;
}

/* Filter tab animation */
.filter-tabs {
    opacity: 0;
    transition: none;
}

.filter-tabs.animated {
    animation: fadeInDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Footer links stagger */
.footer-links,
.footer-contact {
    opacity: 0;
    transition: none;
}

.footer.animated .footer-links {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.footer.animated .footer-contact {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.footer-bottom {
    opacity: 0;
    transition: none;
}

.footer.animated .footer-bottom {
    animation: blurIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .mobile-toggle {
        display: block;
        z-index: 1100;
        position: relative;
    }

    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1000;
        display: flex;
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active {
        left: 0;
    }

    /* Menu Backdrop Overlay */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: 900;
        animation: fadeIn 0.3s ease;
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 1.1rem;
        margin-left: 0;
        font-weight: 700;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .hero-cta .btn {
        display: block;
        margin: 10px auto;
        width: 100%;
        max-width: 280px;
    }

    .about-grid,
    .contact-grid,
    .review-slider,
    .footer-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 350px;
        margin-bottom: 30px;
    }

    .experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 15px 25px;
        min-width: 120px;
    }

    .experience-badge .years {
        font-size: 1.8rem;
    }

    .experience-badge .text {
        font-size: 0.75rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        /* Forced 1 item per row for mobile */
        gap: 20px;
    }

    .product-info {
        padding: 15px;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-info .price {
        font-size: 0.95rem;
    }

    .btn-back {
        width: 100%;
        max-width: 250px;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-contact .social-links {
        justify-content: center;
        display: flex;
    }

    /* Product Detail Page Responsive */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery {
        max-width: 500px;
        margin: 0 auto 20px;
    }

    .main-image-viewport {
        aspect-ratio: 4/3;
        /* Studio view */
    }

    .product-info-column {
        text-align: center;
    }

    .product-features-list {
        display: inline-block;
        text-align: left;
    }

    .price-tag {
        justify-content: center;
        margin: 20px 0;
    }

    /* Ensure slider buttons are visible on mobile */
    .slider-controls {
        display: flex !important;
        opacity: 1 !important;
        padding: 0 10px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .about-image {
        height: 280px;
    }

    .experience-badge {
        bottom: 10px;
        right: 10px;
        transform: scale(0.9);
    }

    .section-title h2 {
        font-size: 1.6rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}