*{box-sizing:border-box;margin:0;padding:0;font-family: 'Poppins', 'Quicksand', system-ui, sans-serif}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
/* Global animation utilities */
.reveal, .reveal-stagger > * {opacity:0;transform:translateY(12px) scale(.997);transition:opacity .6s ease, transform .6s cubic-bezier(.2,.9,.3,1);will-change:transform,opacity}
.reveal.in-view, .reveal-stagger.in-view > * {opacity:1;transform:none}
.reveal-stagger > * {transition-delay:0ms}
.btn, .nav-link, .card, .feature-card, .card-wrap .card, .auth-card {transition: transform .18s cubic-bezier(.2,.9,.3,1), box-shadow .18s ease}
.btn:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,0.08)}
.nav-link.hovered{transform:translateY(-2px)}
.card:hover, .feature-card:hover, .card-wrap:hover .card{transform:translateY(-6px) scale(1.01);box-shadow:0 20px 40px rgba(0,0,0,0.08)}
.hero-right img{transition:transform .8s cubic-bezier(.22,.9,.3,1)}
.hero-right:hover img{transform:translateY(-6px) scale(1.02)}

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > * {transition:none;transform:none;opacity:1}
  .btn, .nav-link, .card, .feature-card {transition:none}
}
/* header */
.site-header{background:linear-gradient(180deg,#e9d7bf,#ead2bb);padding:18px 0;border-bottom:1px solid rgba(0,0,0,0.04);position:relative;z-index:20}
.header-inner{display:flex;align-items:center;gap:20px;justify-content:space-between}
.logo{font-family: 'Poppins', 'Montserrat', sans-serif;font-weight:800;letter-spacing:2px;color:#8b5b3a;font-size:30px;-webkit-text-stroke:0.6px #f6e5d8;text-shadow:0 1px 0 rgba(255,255,255,0.6);text-decoration:none;display:inline-block}
.nav-link{display:inline-block;margin-left:12px;color:#2b1e15;text-decoration:none;font-weight:700}
.nav-link.active{padding:8px 12px;border-radius:8px;background:rgba(0,0,0,0.03)}
.search-wrap{flex:1;display:flex;justify-content:center;position:relative;margin:0 20px;max-width:760px}
.search-icon{position:absolute;left:18px;top:50%;transform:translateY(-50%);font-size:16px;color:#a37a5b;opacity:0.95}
.search{width:100%;max-width:680px;padding:12px 20px;border-radius:999px;border:1px solid rgba(0,0,0,0.06);box-shadow:0 6px 20px rgba(0,0,0,0.08);font-size:14px;padding-left:44px;background:rgba(255,255,255,0.95)}
.actions{display:flex;gap:18px;align-items:center}
.account, .account-btn{display:flex;align-items:center;gap:8px;text-decoration:none;color:#2b1e15;background:transparent;border:0;padding:6px 8px;border-radius:8px}
.account:hover, .account-btn:hover{background:rgba(0,0,0,0.02)}
.acc-icon{width:20px;height:20px;flex:0 0 20px}
.acc-text{display:flex;flex-direction:column;align-items:flex-end;line-height:1}
.acc-top{font-size:12px;color:#2b1e15}
.acc-bottom{font-size:13px;font-weight:700;letter-spacing:1px;color:#2b1e15}
.cart-icon{width:22px;height:22px;display:block}

@media(max-width:900px){.product-grid{grid-template-columns:1fr;}.hero-inner{flex-direction:column}.hero-right{width:100%}.footer-inner{flex-direction:column}.search-wrap{order:3}.header-inner{flex-direction:column;gap:12px}.search{max-width:100%;margin:0 12px}.logo{text-align:center}.actions{justify-content:center}}

/* hero */
.hero{padding:48px 0;position:relative;overflow:hidden;background:transparent}
/* Full-bleed blurred background with soft left overlay */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.05) 70%, rgba(255,255,255,0) 100%), url('/images/Header_image.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(8px) brightness(.95);
  transform: scale(1.02);
  z-index: 0;
  pointer-events: none;
}
.hero-inner{display:flex;align-items:center;gap:60px;position:relative;z-index:1;max-width:1200px;margin:0 auto;padding:0 24px}
.hero-left{flex:1;color:#111}
.hero-left h1{font-size:44px;margin-bottom:12px}
.lead{color:rgba(0,0,0,0.75);margin-bottom:18px}
.btn{display:inline-block;background:#d6a97c;color:#fff;padding:10px 18px;border-radius:22px;text-decoration:none}
/* Hide the white card on the right to match the full-bleed background design */
.hero-right{display:none}
.hero-right img{width:100%;border-radius:8px;display:block}

/* Respect reduced motion and performance */
@media (prefers-reduced-motion: reduce){
  .hero::before{filter:none;transform:none}
}

/* Responsive: on small screens stack content and show the hero-right as a normal image below */
@media(max-width:900px){
  .hero-inner{flex-direction:column}
  .hero-left h1{font-size:34px}
  .hero-right{display:block;flex:0 0 100%;max-width:560px;margin-top:18px}
}

/* Respect reduced motion and performance */
@media (prefers-reduced-motion: reduce){
  .hero::before{filter:none;transform:none}
}

/* about */
.about{padding:40px 0;background:#fff}
.about-inner{display:flex;gap:40px;align-items:center}
/* Ensure text stays on the left column and prepare staggered animation for children */
.about-left{flex:1}
.about-left > *{opacity:0;transform:translateX(-12px);transition:opacity .48s ease, transform .48s ease}
.about-left.in-view > *{opacity:1;transform:none}
/* Staggered delays (h2 then paragraphs) */
.about-left.in-view > *:nth-child(1){transition-delay:0s}
.about-left.in-view > *:nth-child(2){transition-delay:0.06s}
.about-left.in-view > *:nth-child(3){transition-delay:0.12s}
.about-left.in-view > *:nth-child(4){transition-delay:0.18s}
.about-left h2{font-size:22px;margin-bottom:12px}
.about-left p{color:#6b5a4a;line-height:1.6;margin-bottom:12px}
/* Accessible: respect reduced motion preference */
@media (prefers-reduced-motion: reduce){
  .about-left > *{transition:none;transform:none;opacity:1}
}
.about-right{flex:0 0 420px;background:#fff;padding:18px;border-radius:12px;box-shadow:0 18px 40px rgba(0,0,0,0.04)}
.about-right img{width:100%;border-radius:8px;display:block}
/* slider inside about-right */
.slider{position:relative;overflow:hidden;border-radius:8px}
.slides{display:flex;transition:transform .6s cubic-bezier(.22,.9,.3,1);will-change:transform}
.slide{flex:0 0 100%;display:block}
.slide img{width:100%;height:auto;display:block;border-radius:8px}
.dots{display:flex;gap:8px;justify-content:center;margin-top:12px}
.dot{width:10px;height:10px;border-radius:50%;background:#e6cdb7;border:0;opacity:.5;cursor:pointer}
.dot.active{opacity:1;background:#8b5b3a}
@media (prefers-reduced-motion: reduce){
  .slides{transition:none}
}
@media(max-width:900px){.about-inner{flex-direction:column}.about-right{width:100%}}

/* features */
.features{padding:48px 0;background:transparent}
.section-title{font-size:26px;text-align:center;margin-bottom:28px;color:#2b1e15}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:start}
.feature-card{text-align:center}
.icon-wrap{width:120px;height:120px;margin:0 auto;border-radius:16px;background:linear-gradient(180deg,#fff,#fbf6ef);box-shadow:0 14px 40px rgba(0,0,0,0.06);display:flex;align-items:center;justify-content:center;position:relative;border:1px solid rgba(0,0,0,0.04)}
.icon-wrap svg{width:56px;height:56px}
.check{position:absolute;top:-10px;right:-10px;background:#f5c84b;color:#fff;width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;border:3px solid #fff;box-shadow:0 8px 18px rgba(0,0,0,0.08)}
.feature-title{margin-top:12px;font-weight:700;color:#2b1e15;text-transform:uppercase;font-size:13px;letter-spacing:0.6px}

/* entrance animation */
.feature-card{opacity:0;transform:translateY(12px);transition:opacity .48s ease, transform .48s ease}
.feature-card.in-view{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){ .feature-card{transition:none;opacity:1;transform:none} }

@media(max-width:900px){.features-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.features-grid{grid-template-columns:1fr}.icon-wrap{width:100px;height:100px}}

.divider{border:0;height:1px;background:#ddd;margin:30px 0}

/* trending */
.trending h2{font-size:20px;margin-bottom:12px}
.cards{display:flex;gap:18px;overflow-x:auto;padding-bottom:12px}
.card-wrap{display:flex;flex-direction:column;gap:8px;align-items:center}
.card{background:#fff;border-radius:16px;box-shadow:0 10px 20px rgba(0,0,0,0.06);width:220px;flex:0 0 auto;border:1px solid rgba(0,0,0,0.04);overflow:hidden}
.card-img img{width:100%;height:150px;object-fit:cover}
.card-body{padding:12px}
.card-title{font-size:13px;margin-bottom:6px}
.card-price{font-size:14px;color:#7a5b45;margin-bottom:8px}
.small{background:#f1d8c1;border:none;padding:8px 12px;border-radius:999px}

/* footer */
.site-footer{background:#e6cdb7;padding:40px 0;margin-top:30px}
.footer-inner{display:flex;gap:20px}
.footer-left{flex:1}
.footer-center{width:320px}
.footer-right{width:220px}
.brand{font-family: 'Montserrat', sans-serif;font-weight:700;letter-spacing:2px;margin-bottom:8px}

/* flash messages */
.flash{position:fixed;top:18px;right:18px;padding:10px 14px;border-radius:8px;z-index:1000;font-weight:600;font-size:13px}
.flash-success{background:#e6ffef;color:#0a5a2b;border:1px solid #9ff0b9}
.flash-error{background:#fff0f0;color:#7a0a0a;border:1px solid #f2b3b3}

/* product page */
.product-page{padding:40px 0}
.product-grid{display:grid;grid-template-columns:120px 1fr 420px;gap:24px;align-items:start;}
.product-thumbs{display:flex;flex-direction:column;gap:16px}
.product-thumb{width:100px;height:100px;border-radius:12px;overflow:hidden;box-shadow:0 6px 16px rgba(0,0,0,0.06);cursor:pointer}
.product-thumb img{width:100%;height:100%;object-fit:cover}
.product-main{background:#fff;padding:10px;border-radius:18px;box-shadow:0 18px 40px rgba(0,0,0,0.06)}
.product-main img{width:100%;border-radius:14px;display:block}
.product-info h1{font-size:26px;margin-bottom:10px}
.rating{display:inline-block;padding:8px 12px;border-radius:10px;border:1px solid #111;margin-bottom:12px;font-weight:700}
.price{font-weight:800;margin-top:12px;font-size:18px}
.qty{display:flex;gap:8px;align-items:center;margin-top:8px}
.qty input{width:72px;padding:8px;border-radius:8px;border:1px solid #ddd;text-align:center}
.btn-blue{background:linear-gradient(90deg,#69a8ff,#2f8cfe);color:white;padding:14px 20px;border-radius:999px;display:block;margin-top:12px;text-align:center;border:none;font-weight:600;box-shadow:0 10px 30px rgba(47,140,254,0.18)}
.btn-outline{background:transparent;padding:12px 20px;border-radius:999px;border:2px solid #111;margin-top:10px}

/* misc */
.card-link{display:block;text-decoration:none;color:inherit}
.card-form{display:flex;justify-content:center}

/* contact page */
.contact{padding:48px 0;background:transparent}
.contact .container{max-width:980px}
.contact h1{font-size:30px;margin-bottom:8px;color:#2b1e15}
.contact .lead{color:#6b5a4a;margin-bottom:18px}
.contact-card{background:linear-gradient(180deg,#fff,#fbf6ef);padding:22px;border-radius:12px;box-shadow:0 18px 40px rgba(0,0,0,0.04);border:1px solid rgba(0,0,0,0.04)}
.contact-list{list-style:none;padding:0;margin:0;display:grid;gap:16px}
.contact-item{display:flex;align-items:center;gap:14px}
.contact-icon{width:56px;height:56px;flex:0 0 56px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff,#f6e9dd);box-shadow:0 8px 20px rgba(0,0,0,0.06);color:#8b5b3a;border:1px solid rgba(0,0,0,0.04)}
.contact-icon svg{width:22px;height:22px}
.contact-body{display:flex;flex-direction:column}
.contact-label{font-size:12px;font-weight:700;color:#8b5b3a;letter-spacing:0.6px;text-transform:uppercase}
.contact-link{color:#2b62a6;text-decoration:underline;font-weight:600}
.contact-link:hover{color:#1f4f86}
.contact-text{color:#6b5a4a}

@media(max-width:600px){
  .contact-list{gap:12px}
  .contact-icon{width:48px;height:48px;flex:0 0 48px}
  .contact h1{font-size:24px}
}

@media(max-width:900px){.product-grid{grid-template-columns:1fr;}.hero-inner{flex-direction:column}.hero-right{width:100%}.footer-inner{flex-direction:column}.search-wrap{order:3}}

/* auth modal / sign-in */
.auth-page{display:flex;align-items:center;justify-content:center;padding:40px 0}
.auth-card{background:#fff;width:380px;border-radius:16px;padding:28px 28px 34px;box-shadow:0 30px 80px rgba(0,0,0,0.12);position:relative}
.auth-card .close{position:absolute;top:12px;right:12px;background:#fff;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#111;border:2px solid rgba(0,0,0,0.06)}
.auth-card h2{text-align:center;margin-bottom:6px}
.auth-card .muted{text-align:center;color:#666;margin-bottom:16px;font-size:13px}
.auth-error{background:#fff4f4;border:1px solid #f5c6c6;color:#7a0a0a;padding:10px;border-radius:10px;margin-bottom:12px;text-align:center;font-weight:700}
.auth-form{display:flex;flex-direction:column;gap:12px}
.auth-form input{padding:14px;border-radius:28px;border:2px solid #111;background:transparent}
.auth-continue{background:linear-gradient(90deg,#69a8ff,#2f8cfe);border:none;color:#fff;padding:12px;border-radius:28px;font-weight:700;margin-top:6px}
.or-divider{display:flex;align-items:center;margin:12px 0;color:#777}
.or-divider span{display:inline-block;padding:0 12px;background:#fff}
.or-divider:before,.or-divider:after{content:'';flex:1;height:1px;background:#ddd}
.auth-social{width:100%;display:block;padding:12px;border-radius:28px;border:2px solid #111;background:transparent;margin-bottom:8px;text-align:center}
.stay{display:block;margin-top:8px;font-size:13px;color:#444}

/* profile page */
.profile-page{padding:40px 0}
.profile-grid{display:grid;grid-template-columns:260px 1fr;gap:40px;align-items:start}
.profile-nav{background:transparent}
.profile-avatar{width:72px;height:72px;border-radius:50%;background:#e6cdb7;color:#2b1e15;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:28px;margin-bottom:12px;box-shadow:0 6px 18px rgba(0,0,0,0.06)}
.profile-nav h3{margin-bottom:12px;font-size:18px}
.profile-nav ul{list-style:none;padding:0;margin:8px 0}
.profile-nav ul li{margin:10px 0}
.profile-nav ul li a{color:#2b1e15;text-decoration:none;font-weight:600}
.profile-content .card{background:#fff;border-radius:12px;padding:22px;border:1px solid rgba(0,0,0,0.04);box-shadow:0 20px 40px rgba(0,0,0,0.06)}
.profile-content .card h2{margin-bottom:12px}
.profile-content label{display:block;font-weight:600;margin-top:12px;margin-bottom:6px}
.profile-content input[type="text"], .profile-content input[type="email"], .profile-content input[type="password"], .profile-content textarea{
  width:100%;padding:12px;border-radius:12px;border:2px solid rgba(0,0,0,0.08);background:transparent;font-size:14px}
.profile-content textarea{min-height:110px;resize:vertical;padding:14px}
.profile-content .btn{background:#d6a97c;color:#fff;padding:10px 18px;border-radius:10px;border:none}
.profile-content .btn-outline{background:transparent;border:2px solid #111;border-radius:12px;padding:8px 14px}
.profile-content form .actions-row{display:flex;gap:12px;margin-top:18px}

@media(max-width:900px){
  .profile-grid{grid-template-columns:1fr;padding:0 12px}
  .profile-nav{display:flex;align-items:center;gap:12px;margin-bottom:16px}
  .profile-nav h3{font-size:16px}
  .profile-avatar{width:48px;height:48px;font-size:18px}
}

/* orders & support specific */
.profile-tabs{display:flex;gap:18px;border-bottom:1px solid rgba(0,0,0,0.12);padding-bottom:12px;margin-bottom:18px}
.profile-tabs .tab{padding:14px 6px;cursor:pointer;font-weight:700;color:#444}
.profile-tabs .tab.active{border-bottom:3px solid #111}

.orders-list{display:flex;flex-direction:column;gap:18px}
.order-item{display:flex;align-items:center;gap:18px;padding:14px;border-radius:8px;border:1px solid rgba(0,0,0,0.06)}
.order-item img{width:120px;height:100px;object-fit:cover;border-radius:8px}
.order-body{flex:1}
.order-title{font-weight:700;margin-bottom:8px}
.order-meta{color:#666;font-size:13px}
.order-price{font-weight:800;font-size:18px}
.order-item .qty{background:#f1f1f1;border-radius:6px;padding:4px 8px;margin-right:8px;font-size:13px;border:1px solid rgba(0,0,0,0.04)}

.support-form{display:flex;flex-direction:column;gap:12px}
.support-form textarea{min-height:140px}
.support-actions{display:flex;justify-content:flex-end}
.support-actions .btn{padding:10px 20px}

.profile-nav ul li a.active{font-weight:800;color:#2b1e15}

/* admin styles */
.admin-wrap{display:flex;gap:32px;align-items:flex-start;padding:40px 0}
.admin-sidebar{width:260px;background:#fff;border-radius:14px;padding:22px;border:1px solid rgba(0,0,0,0.06);box-shadow:0 20px 40px rgba(0,0,0,0.06)}
.admin-logo{font-weight:800;color:#8b5b3a;margin-bottom:18px}
.admin-sidebar nav a{display:block;padding:12px 6px;color:#333;text-decoration:none;border-radius:6px;margin-bottom:8px}
.admin-sidebar nav a.active{font-weight:700;background:rgba(0,0,0,0.02)}
.admin-content{flex:1}
.admin-stats{display:flex;gap:18px;margin-bottom:18px}
.admin-stats .stat{background:#fff;border-radius:10px;padding:18px;border:1px solid rgba(0,0,0,0.04);min-width:180px}
.admin-card{background:#fff;padding:18px;border-radius:12px;border:1px solid rgba(0,0,0,0.04);box-shadow:0 20px 30px rgba(0,0,0,0.06);margin-bottom:18px}
.admin-card.chart{height:220px}
.product-list{display:flex;flex-direction:column;gap:12px}
.product-item{display:flex;align-items:center;gap:12px;padding:10px;border-radius:8px;border:1px solid rgba(0,0,0,0.08)}
.product-item img{width:80px;height:60px;object-fit:cover;border-radius:6px}
.product-title{flex:1}
.product-actions{display:flex;gap:8px}
.btn-danger{background:#ff5858;border:none;color:#fff;padding:8px 10px;border-radius:6px}
.admin-card .list-item{padding:12px;border-radius:8px;border:1px solid rgba(0,0,0,0.06);display:flex;align-items:center;gap:12px;margin-bottom:8px}
.user-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;border:1px solid rgba(0,0,0,0.06);margin-bottom:8px}
.order-link{display:block}
.order-card{display:flex;align-items:center;gap:12px;border:1px solid #eee;padding:12px;border-radius:10px;background:#fff;transition:transform .12s ease,box-shadow .12s ease}
.order-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(0,0,0,0.06)}
.order-thumb{width:96px;height:84px;border-radius:8px;overflow:hidden;border:1px solid #f2f2f2;background:#fff;flex:0 0 96px;display:flex;align-items:center;justify-content:center}
.order-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.order-body{flex:1}
.order-title{font-weight:700}
.order-qty{background:#f2f2f2;padding:4px 6px;border-radius:6px;margin-right:8px;font-weight:600}
.order-meta{color:#777;font-size:13px;margin-top:6px}
.order-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.order-price{font-weight:700}
.order-badge{padding:6px 8px;border-radius:999px;font-weight:700;font-size:12px}
.order-badge.paid{background:#e6ffef;color:#0a5a2b;border:1px solid #bff0c8}
.order-badge.unpaid{background:#fff7ed;color:#b35a1a;border:1px solid #f2d1b0}

@media(max-width:700px){
  .order-card{flex-direction:column;align-items:flex-start}
  .order-right{align-self:flex-end}
}

.order-delete-btn{background:transparent;border:1px solid #e0a96f;color:#b35a1a;padding:6px 10px;border-radius:8px;cursor:pointer;font-weight:700}
.order-delete-btn:hover{background:#fff0e6}
.admin-avatar{width:64px;height:64px;border-radius:50%;background:#e6cdb7;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:12px}
.profile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.profile-left{display:flex;align-items:center}
.profile-name{font-weight:700}
.profile-role{color:#666;font-size:13px}
@media(max-width:900px){.admin-wrap{flex-direction:column}.admin-sidebar{width:100%}}


/* flash messages */
.flash{position:fixed;top:12px;right:12px;padding:10px 14px;border-radius:6px;z-index:1000;font-weight:600}
.flash-success{background:#e6ffef;color:#0a5a2b;border:1px solid #9ff0b9}
.flash-error{background:#fff0f0;color:#7a0a0a;border:1px solid #f2b3b3}

/* product page */
.product-page{padding:40px 0}
.product-grid{display:flex;gap:24px;align-items:flex-start}
.product-thumbs{display:flex;flex-direction:column;gap:14px}
.product-thumb{width:90px;height:90px;border-radius:12px;overflow:hidden}
.product-thumb img{width:100%;height:100%;object-fit:cover}
.product-main{flex:1}
.product-main img{width:100%;border-radius:18px}
.product-info{width:420px}
.rating{display:inline-block;padding:8px 12px;border-radius:8px;border:1px solid #ddd;margin-bottom:14px}
.price{font-weight:700;margin-top:10px}
.qty{display:flex;gap:8px;align-items:center;margin-top:8px}
.qty input{width:60px;padding:8px;border-radius:6px;border:1px solid #ddd;text-align:center}
.btn-blue{background:#2f8cfe;color:white;padding:12px 20px;border-radius:10px;display:block;margin-top:12px;text-align:center;border:none}
.btn-outline{background:transparent;padding:12px 20px;border-radius:24px;border:2px solid #000;margin-top:10px}

.card-link{display:block;text-decoration:none;color:inherit}
.card-wrap{display:flex;flex-direction:column;gap:8px}
.card-form{display:flex;justify-content:center}

