* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', 'Segoe UI', sans-serif;
      background: #fafafa;
      color: #2c3e50;
      overflow-x: hidden;
    }

    /* HEADER */
    header {
      background: white;
      padding: 20px 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      position: sticky;
      top: 0;
      z-index: 100;
      animation: slideDown 0.6s ease-out;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .logo {
      font-size: 28px;
      font-weight: 800;
      background: linear-gradient(135deg, #d4a5a5, #a97878);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -1px;
      cursor: pointer;
      transition: transform 0.3s;
    }

    
.logo{ display:flex; align-items:center; }
.logo img{ height:56px; width:auto; display:block; }
.logo:hover {
      transform: scale(1.05);
    }

    nav {
      display: flex;
      gap: 40px;
      align-items: center;
    }

    nav a {
      text-decoration: none;
      color: #555;
      font-weight: 600;
      font-size: 15px;
      position: relative;
      cursor: pointer;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #a97878;
    }

    nav a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, #d4a5a5, #a97878);
      transition: width 0.3s;
    }

    nav a:hover::after {
      width: 100%;
    }

    .auth-buttons {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .btn {
      padding: 12px 28px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 700;
      font-size: 14px;
      transition: all 0.3s;
      text-decoration: none;
      display: inline-block;
    }

    .btn-login {
      background: white;
      color: #a97878;
      border: 2px solid #a97878;
    }

    .btn-login:hover {
      background: #a97878;
      color: white;
      transform: translateY(-2px);
    }

    .btn-primary {
      background: linear-gradient(135deg, #d4a5a5, #a97878);
      color: white;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(169, 120, 120, 0.3);
    }

    .user-status {
      font-size: 14px;
      color: #a97878;
      font-weight: 600;
    }

    /* HERO SECTION */
    .hero {
      background: linear-gradient(135deg, #d4a5a5 0%, #e8c5c5 50%, #f0e5e5 100%);
      padding: 120px 40px;
      text-align: center;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      top: -100px;
      right: -100px;
      animation: float 6s ease-in-out infinite;
    }

    .hero::after {
      content: '';
      position: absolute;
      width: 300px;
      height: 300px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      bottom: -50px;
      left: -50px;
      animation: float 8s ease-in-out infinite reverse;
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0px);
      }
      50% {
        transform: translateY(-30px);
      }
    }

    .hero-content {
      position: relative;
      z-index: 2;
      animation: fadeInUp 0.8s ease-out 0.2s both;
    }

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

    .hero h1 {
      font-size: 64px;
      font-weight: 800;
      margin-bottom: 20px;
      line-height: 1.2;
      text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .hero p {
      font-size: 20px;
      margin-bottom: 40px;
      opacity: 0.95;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }

    .hero .btn-primary {
      padding: 16px 40px;
      font-size: 16px;
    }

    /* FEATURED SECTION */
    .featured {
      padding: 100px 40px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .section-title {
      font-size: 48px;
      font-weight: 800;
      text-align: center;
      margin-bottom: 60px;
      color: #2c3e50;
      position: relative;
      padding-bottom: 20px;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: linear-gradient(90deg, #d4a5a5, #a97878);
      border-radius: 2px;
    }

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

    .featured-image {
      position: relative;
      height: 500px;
      border-radius: 20px;
      background: linear-gradient(135deg, #f0e5e5, #e8d5d5);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 250px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
      animation: scaleIn 0.8s ease-out;
    }

    @keyframes scaleIn {
      from {
        opacity: 0;
        transform: scale(0.95);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .featured-content h2 {
      font-size: 42px;
      margin-bottom: 20px;
      color: #2c3e50;
      animation: fadeInUp 0.8s ease-out 0.3s both;
    }

    .featured-content p {
      font-size: 18px;
      color: #666;
      line-height: 1.8;
      margin-bottom: 30px;
      animation: fadeInUp 0.8s ease-out 0.4s both;
    }

    .feature-list {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin-bottom: 40px;
      animation: fadeInUp 0.8s ease-out 0.5s both;
    }

    .feature-item {
      display: flex;
      gap: 15px;
      align-items: center;
      font-size: 16px;
      color: #555;
    }

    .feature-icon {
      font-size: 24px;
      min-width: 30px;
    }

    .featured-content .btn-primary {
      animation: fadeInUp 0.8s ease-out 0.6s both;
    }

    /* BESTSELLERS */
    .bestsellers {
      padding: 100px 40px;
      background: white;
    }

    .bestsellers .section-title {
      margin-bottom: 60px;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .product-card {
      background: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
      transition: all 0.3s;
      cursor: pointer;
      animation: fadeInUp 0.6s ease-out both;
    }

    .product-card:nth-child(1) { animation-delay: 0.1s; }
    .product-card:nth-child(2) { animation-delay: 0.2s; }
    .product-card:nth-child(3) { animation-delay: 0.3s; }
    .product-card:nth-child(4) { animation-delay: 0.4s; }

    .product-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(169, 120, 120, 0.2);
    }

    .product-image {
      width: 100%;
      height: 280px;
      background: linear-gradient(135deg, #f0e5e5, #e8d5d5);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 120px;
      position: relative;
      overflow: hidden;
    }

    .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .product-image::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(169, 120, 120, 0.1);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .product-card:hover .product-image::after {
      opacity: 1;
    }

    .product-info {
      padding: 25px;
    }

    .product-name {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
      color: #2c3e50;
    }

    .product-desc {
      font-size: 14px;
      color: #888;
      margin-bottom: 15px;
      min-height: 40px;
    }

    .product-price {
      font-size: 24px;
      color: #a97878;
      font-weight: 800;
      margin-bottom: 15px;
    }

    .stock-status {
      font-size: 13px;
      padding: 8px 12px;
      border-radius: 6px;
      margin-bottom: 15px;
      font-weight: 600;
    }

    .stock-available {
      background: #d4edda;
      color: #155724;
    }

    .stock-low {
      background: #fff3cd;
      color: #856404;
    }

    .stock-outofstock {
      background: #f8d7da;
      color: #721c24;
    }

    .product-card .btn {
      width: 100%;
      text-align: center;
    }

    /* TESTIMONIALS */
    .testimonials {
      padding: 100px 40px;
      background: linear-gradient(135deg, #f0e5e5, #fafafa);
    }

    .testimonials .section-title {
      margin-bottom: 60px;
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .testimonial-card {
      background: white;
      padding: 40px;
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
      animation: fadeInUp 0.6s ease-out both;
    }

    .testimonial-card:nth-child(1) { animation-delay: 0.1s; }
    .testimonial-card:nth-child(2) { animation-delay: 0.2s; }
    .testimonial-card:nth-child(3) { animation-delay: 0.3s; }

    .stars {
      font-size: 20px;
      margin-bottom: 15px;
      color: #ffc107;
    }

    .testimonial-text {
      font-size: 16px;
      color: #555;
      line-height: 1.8;
      margin-bottom: 20px;
      font-style: italic;
    }

    .testimonial-author {
      font-weight: 700;
      color: #2c3e50;
      font-size: 15px;
    }

    .testimonial-role {
      font-size: 13px;
      color: #a97878;
    }

    /* CTA SECTION */
    .cta {
      padding: 80px 40px;
      background: linear-gradient(135deg, #d4a5a5, #a97878);
      text-align: center;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .cta::before {
      content: '';
      position: absolute;
      width: 500px;
      height: 500px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      top: -200px;
      right: -200px;
    }

    .cta::after {
      content: '';
      position: absolute;
      width: 300px;
      height: 300px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      bottom: -100px;
      left: -100px;
    }

    .cta-content {
      position: relative;
      z-index: 2;
      max-width: 700px;
      margin: 0 auto;
      animation: fadeInUp 0.8s ease-out;
    }

    .cta h2 {
      font-size: 48px;
      margin-bottom: 20px;
      font-weight: 800;
    }

    .cta p {
      font-size: 18px;
      margin-bottom: 40px;
      opacity: 0.95;
    }

    .cta .btn {
      background: white;
      color: #a97878;
      padding: 16px 50px;
      font-size: 16px;
    }

    .cta .btn:hover {
      background: #f5f5f5;
      transform: translateY(-2px);
    }

    /* FOOTER */
    footer {
      background: #2c3e50;
      color: white;
      padding: 60px 40px;
      text-align: center;
    }

    footer p {
      margin-bottom: 10px;
      opacity: 0.8;
    }

    .footer-links {
      margin-top: 30px;
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: #d4a5a5;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s;
    }

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

    /* MODALS */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      animation: fadeIn 0.3s;
    }

    .modal.active {
      display: flex;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    .modal-content {
      background: white;
      padding: 50px;
      border-radius: 15px;
      max-width: 450px;
      width: 90%;
      animation: slideUp 0.4s ease-out;
      position: relative;
    }

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

    .modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 28px;
      cursor: pointer;
      color: #ccc;
      transition: color 0.3s;
    }

    .modal-close:hover {
      color: #333;
    }

    .modal-title {
      font-size: 28px;
      font-weight: 800;
      margin-bottom: 25px;
      color: #2c3e50;
    }

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

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #2c3e50;
      font-size: 14px;
    }

    .form-group input {
      width: 100%;
      padding: 12px 15px;
      border: 2px solid #eee;
      border-radius: 8px;
      font-size: 14px;
      font-family: inherit;
      transition: border-color 0.3s;
    }

    .form-group input:focus {
      outline: none;
      border-color: #a97878;
    }

    .modal-actions {
      display: flex;
      gap: 12px;
      margin-top: 30px;
    }

    .modal-actions .btn {
      flex: 1;
      padding: 14px;
    }

    .modal-switch {
      text-align: center;
      margin-top: 20px;
      font-size: 14px;
      color: #666;
    }

    .modal-switch a {
      color: #a97878;
      cursor: pointer;
      font-weight: 600;
      text-decoration: none;
    }

    .modal-switch a:hover {
      text-decoration: underline;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      header {
        padding: 15px 20px;
      }

      .logo {
        font-size: 22px;
      }

      nav {
        gap: 20px;
      }

      nav a {
        font-size: 13px;
      }

      .hero {
        padding: 80px 20px;
      }

      .hero h1 {
        font-size: 42px;
      }

      .hero p {
        font-size: 16px;
      }

      .featured-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }

      .section-title {
        font-size: 36px;
      }

      .products-grid {
        grid-template-columns: 1fr;
      }
    }
  

    /* DARK MODE (toggle by adding class 'dark' on body) */
    body.dark {
      background: #0f1115;
      color: #e6e6e6;
    }

    body.dark header {
      background: #12151b;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    }

    body.dark nav a {
      color: #cfcfcf;
    }

    body.dark nav a:hover {
      color: #d4a5a5;
    }

    body.dark .section-title,
    body.dark .featured-content h2,
    body.dark .product-name,
    body.dark .testimonial-author,
    body.dark .modal-title,
    body.dark .form-group label {
      color: #e6e6e6;
    }

    body.dark .featured-content p,
    body.dark .product-desc,
    body.dark .testimonial-text,
    body.dark .modal-switch,
    body.dark .feature-item {
      color: #b9b9b9;
    }

    body.dark .featured-image,
    body.dark .product-image {
      background: linear-gradient(135deg, #1c2330, #202836);
    }

    body.dark .bestsellers {
      background: #12151b;
    }

    body.dark .product-card,
    body.dark .testimonial-card,
    body.dark .modal-content {
      background: #151a22;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    }

    body.dark .testimonials {
      background: linear-gradient(135deg, #151a22, #0f1115);
    }

    body.dark .cta {
      color: white;
    }

    body.dark .btn-login {
      background: transparent;
      color: #d4a5a5;
      border-color: #d4a5a5;
    }

    body.dark .btn-login:hover {
      background: #a97878;
      color: white;
    }

    body.dark .form-group input {
      background: #0f1115;
      color: #e6e6e6;
      border-color: #2a3342;
    }

    body.dark .form-group input:focus {
      border-color: #d4a5a5;
    }

    body.dark .modal {
      background: rgba(0, 0, 0, 0.7);
    }


/* Mobile header */
@media (max-width: 640px){
  header{ padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
  nav{ gap: 14px; flex-wrap: wrap; justify-content: center; }
  .logo img{ height: 56px; }
}

@media (max-width: 480px){
  .logo img{ height:44px; }
}
