* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #fdfaf7;
  color: #2d1e12;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================
   Header
======================== */
.header {
  position: sticky;
  top: 0;
  background: rgba(253, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid #f0e6e0;
  padding: 18px 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: #5d3a1f;
  text-decoration: none;
  font-weight: 700;
}

.logo span {
  color: #c89f8c;
}

.nav a {
  margin-left: 2.2rem;
  text-decoration: none;
  color: #4a3326;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #c89f8c;
}

.cart-icon {
  font-size: 1.4rem;
  position: relative;
  text-decoration: none;
  color: #5d3a1f;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #c89f8c;
  color: white;
  font-size: 0.68rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo container helps with alignment */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;   /* centers if needed */
}

/* The image itself */
.logo img {
  height: 52px;           /* ← adjust this to your preferred size */
  width: 52px;            /* same value as height → forces square */
  object-fit: cover;      /* crops if not perfectly square */
  border-radius: 50%;     /* makes it fully round */
  display: block;
}

.logo img:hover {
  transform: scale(1.06);
}

/* Optional: make it a bit smaller on mobile */
@media (max-width: 768px) {
  .logo img {
   height: 52px;              /* ← tune this value */
  width: 52px;
  }
}

/* ========================
   Categories
======================== */
.categories {
  padding: 0px 0;
  background: #fff8f4;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 3.5rem;
  color: #3f2a1e;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
}

.category-card {
  height: 260px;                    /* or whatever height you want */
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;                    /* ← important */
  align-items: center;              /* vertical center */
  justify-content: center;          /* horizontal center */
  color: white;
  font-weight: 700;
  font-size: 1.9rem;                /* ← big text size – adjust freely */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;                    /* breathing room around text */
}

.category-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

/* Overlay – full card coverage, strong but not pitch black */
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;             /* clicks go through to the <a> */
  transition: background 0.4s ease;
}

/* Optional: darken on hover for better contrast */
.category-card:hover .category-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

/* Make sure text is above overlay and centered */
.category-card span {
  position: relative;               /* above overlay */
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7); /* better readability */
  line-height: 1.2;
}


/* You should replace with real category background images */
.category-card:nth-child(1) { background-image: url('images/gift.jpg'); }
.category-card:nth-child(2) { background-image: url('images/stationery.jpg'); }
.category-card:nth-child(3) { background-image: url('images/digital.jpg'); }
.category-card:nth-child(4) { background-image: url('images/footwear.jpg'); }
.category-card:nth-child(5) { background-image: url('images/lifestyle.jpg'); }
.category-card:nth-child(6) { background-image: url('images/ebooks.jpg'); }
/* ========================
   Products
======================== */
.bestsellers {
  padding: 50px 0;
}

.section-lead {
  text-align: center;
  color: #6b5547;
  font-size: 1.24rem;
  margin-bottom: 3.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.product-image-wrapper {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #c89f8c;
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge.new {
  background: #8aa07c;
}

.product-info {
  padding: 20px 24px;
  position: relative;           /* helps with positioning if needed later */
}

.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.38rem;
  margin-bottom: 8px;
  color: #3f2a1e;
  font-weight: 600;             /* slightly bolder for link feel */
  line-height: 1.3;
}

.product-info h3 a {
  color: inherit;               /* keeps original color */
  text-decoration: none;        /* clean look – no underline by default */
  display: block;               /* makes entire title area clickable */
  transition: color 0.2s ease;
}

.product-info h3 a:hover,
.product-info h3 a:focus {
  color: #c89f8c;               /* matches your accent color on hover */
  text-decoration: underline;   /* subtle feedback – optional, remove if unwanted */
}

.price {
  font-weight: 600;
  color: #c89f8c;
  font-size: 1.32rem;
  margin: 8px 0 16px;
}

.btn-add {
  width: 100%;
  padding: 14px;
  background: #f8f0eb;
  border: none;
  border-radius: 50px;
  font-weight: 500;
  color: #5d3a1f;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-add:hover {
  background: #c89f8c;
  color: white;
}
/* ========================
   CTA & Footer
======================== */
.cta-section {
  background: #3f2a1e;
  color: white;
  text-align: center;
  padding: 140px 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.2rem;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

footer {
  background: #2a1c14;
  color: #c9ada0;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
}

footer h4 {
  color: white;
  margin-bottom: 1.4rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

footer ul {
  list-style: none;
}

footer a {
  color: #c9ada0;
  text-decoration: none;
  line-height: 2.2;
  transition: color 0.2s;
}

footer a:hover {
  color: #e8d5c5;
}

.footer-form {
  display: flex;
  margin-top: 16px;
}

.footer-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
}

.footer-form button {
  padding: 0 24px;
  border: none;
  background: #c89f8c;
  color: white;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
}

.copyright {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #3f2a1e;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Background blobs */
.background-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.blob-1 { width: 600px; height: 600px; background: #f5d0c5; top: -20%; left: -15%; animation: float 22s infinite; }
.blob-2 { width: 480px; height: 480px; background: #d8c3bc; bottom: -10%; right: -10%; animation: float 28s infinite reverse; }
.blob-3 { width: 700px; height: 700px; background: #ffe8e0; top: 40%; left: 60%; animation: float 34s infinite; }

@keyframes float {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  25% { transform: translate(120px, -80px) rotate(10deg); }
  50% { transform: translate(-60px, 140px) rotate(-5deg); }
  75% { transform: translate(80px, -120px) rotate(8deg); }
}

/* Responsive */


@media (max-width: 768px) {
  .header-flex { flex-wrap: wrap; gap: 16px; }
  .nav { margin: 16px 0; width: 100%; text-align: center; }
  .nav a { margin: 0 16px; }
  h2 { font-size: 2.6rem; }
  .btn-outline { margin: 16px 0 0; display: block; }
}

/* ========================
   HERO - Circular Rotation with Tight Spacing 
======================== */

.hero {
  padding: 140px 0 160px;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left Side - Bold Text */
.hero-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.6rem;
  line-height: 1.05;
  color: #3f2a1e;
  margin-bottom: 1.6rem;
}

.hero-left h1 span {
  color: #c89f8c;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #6b5547;
  margin-bottom: 2.5rem;
}

/* ========================
   CIRCULAR ROTATOR - Tight & Minimal Distance
======================== */

.hero-right {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
}

.circular-rotator {
  position: relative;
  width: 380px;
  height: 380px;
  transform-style: preserve-3d;
  animation: circularRotate 28s infinite linear;   /* Slower & elegant */
}

/* Mockups with minimal distance */
.mockup {
  position: absolute;
  width: 210px;           /* Smaller size for tighter circle */
  height: 280px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  border: 10px solid white;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  backface-visibility: hidden;
}

/* 6 positions with tight spacing (60° apart) */
.mockup-1 { transform: translate(-50%, -50%) rotateY(0deg)   translateZ(220px); }
.mockup-2 { transform: translate(-50%, -50%) rotateY(60deg)  translateZ(220px); }
.mockup-3 { transform: translate(-50%, -50%) rotateY(120deg) translateZ(220px); }
.mockup-4 { transform: translate(-50%, -50%) rotateY(180deg) translateZ(220px); }
.mockup-5 { transform: translate(-50%, -50%) rotateY(240deg) translateZ(220px); }
.mockup-6 { transform: translate(-50%, -50%) rotateY(300deg) translateZ(220px); }

/* Right to Left Circular Rotation */
@keyframes circularRotate {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(-360deg); }   /* Counter-clockwise */
}

/* Hover Effect */
.mockup:hover {
  animation-play-state: paused;
  box-shadow: 0 25px 60px rgba(200, 159, 140, 0.5);
  z-index: 10;
  transform: translate(-50%, -50%) rotateY(0deg) translateZ(280px) scale(1.12) !important;
}

/* ========================
   NAVIGATION - Six Items
======================== */

.main-nav {
  display: flex;
  justify-content: center;
  gap: 42px;                    /* Minimal but comfortable distance */
  padding: 30px 0;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #5d3a1f;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: #c89f8c;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c89f8c;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .circular-rotator {
    width: 320px;
    height: 320px;
  }
  .mockup {
    width: 180px;
    height: 240px;
  }
}

@media (max-width: 640px) {
  .main-nav {
    gap: 24px;
    font-size: 1rem;
  }
  .hero-left h1 {
    font-size: 3.4rem;
  }
}

   /* ====================== CURA PRODUCT PAGE - ISOLATED STYLES ====================== */

        .cura-product-card {
            width: 100%;
            max-width: 1180px;
            background: white;
            border-radius: 48px;
            box-shadow: 0 30px 90px rgba(0, 0, 0, 0.12);
            overflow: hidden;
            display: flex;
            min-height: 680px;
            margin: 40px auto;
        }

        /* ====================== LEFT SIDE - IMAGE ====================== */
        .cura-image-container {
            flex: 1;
            background: #fafafa;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 60px 40px;
        }

        .cura-image-frame {
            width: 100%;
            max-width: 520px;
            background: white;
            padding: 28px;
            border-radius: 42px;
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
        }

        .cura-image-wrapper {
            position: relative;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .cura-product-image {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.8s ease;
        }

        .cura-product-card:hover .cura-product-image {
            transform: scale(1.06);
        }

        /* Floating Badge */
        .cura-badge {
            position: absolute;
            top: 50px;
            left: 50px;
            background: #fff;
            color: #d32f2f;
            font-size: 13.5px;
            font-weight: 700;
            padding: 10px 26px;
            border-radius: 50px;
            box-shadow: 0 12px 35px rgba(211, 47, 47, 0.25);
            letter-spacing: 1px;
            z-index: 10;
        }

        /* ====================== RIGHT SIDE - CONTENT ====================== */
        .cura-content-side {
            flex: 1;
            padding: 70px 80px;
            display: flex;
            flex-direction: column;
        }

        .cura-product-name {
            font-size: 42px;
            font-weight: 700;
            color: #1a1a1a;
            line-height: 1.1;
            margin-bottom: 8px;
        }

        .cura-product-subtitle {
            font-size: 17px;
            color: #888;
            margin-bottom: 32px;
        }

        .cura-price {
            font-size: 38px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 6px;
        }

        .cura-sale-tag {
            display: inline-block;
            background: #ffebee;
            color: #d32f2f;
            font-size: 13px;
            font-weight: 600;
            padding: 6px 18px;
            border-radius: 30px;
            margin-bottom: 20px;
        }

        .cura-stock {
            font-size: 15px;
            color: #2e7d32;
            margin-bottom: 40px;
        }

        .cura-description {
            font-size: 17.5px;
            line-height: 1.75;
            color: #555;
            margin-bottom: 50px;
            max-width: 420px;
        }

        /* Buy Button */
        .cura-buy-button {
            background: linear-gradient(135deg, #ff3366, #ff4d4d);
            color: white;
            border: none;
            width: 100%;
            padding: 22px;
            font-size: 18px;
            font-weight: 700;
            border-radius: 30px;
            cursor: pointer;
            margin-bottom: 40px;
            transition: all 0.4s ease;
            box-shadow: 0 15px 35px rgba(255, 51, 102, 0.35);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cura-buy-button:hover {
            transform: translateY(-4px);
            box-shadow: 0 22px 45px rgba(255, 51, 102, 0.45);
        }

        /* Share Section */
        .cura-share-section {
            margin-top: auto;
        }

        .cura-share-title {
            font-size: 14px;
            color: #777;
            margin-bottom: 12px;
        }

        .cura-share-buttons {
            display: flex;
            gap: 12px;
        }

        .cura-share-btn {
            flex: 1;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 12px;
            background: white;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cura-share-btn:hover {
            background: #f8f8f8;
            border-color: #ccc;
        }

        /* ====================== RESPONSIVE ====================== */
        @media (max-width: 1024px) {
            .cura-product-card {
                flex-direction: column;
                min-height: auto;
            }
            .cura-image-container {
                padding: 50px 30px;
                height: 420px;
            }
            .cura-content-side {
                padding: 60px 50px;
            }
        }

        @media (max-width: 640px) {
            .cura-product-card {
                border-radius: 32px;
                margin: 20px auto;
            }
            .cura-image-frame {
                padding: 20px;
            }
            .cura-content-side {
                padding: 50px 30px;
            }
            .cura-product-name {
                font-size: 36px;
            }
        }