/* ==========================================================
   Eyesome Fabrics — Shared Stylesheet
   Used by: index.html (Home) and collections.html (Collections)
   ========================================================== */

:root{
  --maroon:#8a3a52;
  --maroon-dark:#6f2e42;
  --gold:#d9a35f;
  --gold-light:#f0c98a;
  --cream:#fdf8f1;
  --brown-text:#7a5230;
  --tan-bg:#f0dcc3;
  --footer-bg:#e0a86a;
  --card-img-bg:#e8d5bd;
}

body{
  font-family:'Poppins', sans-serif;
  color:#4a3a2f;
  background:var(--cream);
}
h1,h2,h3,.brand-font{
  font-family:'Playfair Display', serif;
}

/* ===== Navbar (shared across all pages) ===== */
.navbar-custom{
  background:var(--cream);
  padding:1rem 3rem;
  border-bottom:1px solid rgba(0,0,0,0.05);
}
.navbar-brand-custom{
  font-family:'Playfair Display', serif;
  font-weight:700;
  color:var(--maroon);
  font-size:1.5rem;
  display:flex;
  align-items:center;
  gap:0.6rem;
}
.logo-box{
  width:42px;
  height:42px;
  background:var(--gold);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
}
.nav-link-custom{
  color:#5a4636 !important;
  font-weight:500;
  margin:0 0.6rem;
}
.nav-link-custom.active{
  background:var(--gold);
  color:#4a3a2f !important;
  border-radius:20px;
  padding:0.4rem 1rem !important;
  font-weight:600;
}
.icon-circle{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#5a4636;
}
.account-pill{
  border:1px solid #d8c9b8;
  border-radius:30px;
  padding:0.4rem 1rem;
  display:flex;
  align-items:center;
  gap:0.5rem;
  color:#5a4636;
  font-weight:500;
}
.account-avatar{
  width:24px;
  height:24px;
  border-radius:50%;
  background:#f0dfe4;
  color:var(--maroon);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.75rem;
  font-weight:700;
}

/* ===== Footer (shared across all pages) ===== */
footer{
  background:var(--footer-bg);
  padding:4rem 0 1.5rem;
  color:#5a3d22;
}
footer h5{
  font-family:'Playfair Display', serif;
  color:var(--maroon-dark);
  font-weight:700;
}
footer .footer-heading{
  font-weight:700;
  letter-spacing:1px;
  font-size:0.8rem;
  color:#7a4d2a;
  text-transform:uppercase;
  margin-bottom:1rem;
}
footer a{
  color:#5a3d22;
  text-decoration:none;
  display:block;
  margin-bottom:0.6rem;
  font-size:0.92rem;
}
footer a:hover{ color:var(--maroon-dark); }
footer p{ font-size:0.92rem; }
.footer-social{
  width:36px;
  height:36px;
  background:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--maroon-dark);
}
.footer-bottom{
  border-top:1px solid rgba(90,61,34,0.2);
  margin-top:2.5rem;
  padding-top:1.2rem;
  font-size:0.85rem;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:0.5rem;
}
.footer-bottom a{ display:inline; margin-left:1.5rem; }

/* ==========================================================
   HOME PAGE ONLY
   ========================================================== */

.hero{
  position:relative;
  min-height:780px;
  background:
    linear-gradient(180deg, rgba(20,15,12,0.55) 0%, rgba(20,15,12,0.72) 100%),
    repeating-linear-gradient(100deg, #3a2e28 0px, #4a3a30 40px, #2f251f 80px, #423630 120px),
    radial-gradient(circle at 20% 30%, #6b4a3a 0%, transparent 40%),
    radial-gradient(circle at 75% 40%, #8a5a45 0%, transparent 45%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  padding:3rem 1.5rem 4.5rem;
  text-align:center;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(ellipse 300px 500px at 15% 60%, rgba(120,90,60,0.5), transparent),
    radial-gradient(ellipse 260px 480px at 40% 55%, rgba(90,60,45,0.55), transparent),
    radial-gradient(ellipse 300px 520px at 68% 50%, rgba(150,80,55,0.5), transparent),
    radial-gradient(ellipse 260px 500px at 90% 55%, rgba(70,45,35,0.55), transparent);
}
.hero-logo-card{
  position:relative;
  z-index:2;
  width:230px;
  height:230px;
  background:var(--gold-light);
  border-radius:6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:0 20px 40px rgba(0,0,0,0.35);
  margin-bottom:1.5rem;
}
.hero-logo-card svg{ width:70px; height:70px; }
.hero-logo-text{
  font-family:'Playfair Display', serif;
  color:var(--maroon-dark);
  font-weight:700;
  letter-spacing:2px;
  margin-top:0.5rem;
  font-size:1rem;
}
.hero-logo-sub{
  font-size:0.55rem;
  letter-spacing:2px;
  color:#a97a4a;
  margin-top:2px;
}
.hero h1{
  position:relative;
  z-index:2;
  color:#fdf8f1;
  font-weight:700;
  font-size:4rem;
  margin-bottom:1rem;
  text-shadow:0 4px 20px rgba(0,0,0,0.4);
}
.hero p{
  position:relative;
  z-index:2;
  color:var(--gold-light);
  font-size:1.15rem;
  max-width:560px;
  margin:0 auto 2rem;
}
.hero-buttons{
  position:relative;
  z-index:2;
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  justify-content:center;
}
.btn-maroon{
  background:var(--maroon);
  color:#fff;
  border:none;
  padding:0.75rem 1.8rem;
  border-radius:8px;
  font-weight:500;
}
.btn-maroon:hover{ background:var(--maroon-dark); color:#fff; }
.btn-dark-outline{
  background:rgba(40,30,25,0.6);
  color:#fff;
  border:1px solid rgba(255,255,255,0.3);
  padding:0.75rem 1.8rem;
  border-radius:8px;
  font-weight:500;
}
.btn-dark-outline:hover{ background:rgba(40,30,25,0.8); color:#fff; }
.chat-bubble{
  position:absolute;
  right:2.5rem;
  top:45%;
  width:52px;
  height:52px;
  background:var(--maroon);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  z-index:3;
  box-shadow:0 6px 16px rgba(0,0,0,0.3);
}

.section-title{
  color:var(--maroon);
  font-weight:700;
  text-align:center;
}
.section-sub{
  text-align:center;
  color:#8a6a4a;
  margin-bottom:3rem;
}
.feature-card{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  padding:2.2rem 1.5rem;
  text-align:center;
  height:100%;
  box-shadow:0 4px 14px rgba(0,0,0,0.03);
}
.feature-icon{
  width:64px;
  height:64px;
  background:var(--gold);
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 1.2rem;
  color:var(--maroon-dark);
}
.feature-card h3{
  color:var(--maroon-dark);
  font-size:1.3rem;
  font-weight:700;
  margin-bottom:0.6rem;
}
.feature-card p{
  color:#8a6a4a;
  font-size:0.92rem;
  margin-bottom:0;
}

.how-it-works{
  background:var(--tan-bg);
  padding:5rem 0;
}
.how-it-works h2{
  color:var(--maroon);
  font-weight:700;
}
.step-number{
  width:44px;
  height:44px;
  min-width:44px;
  background:var(--maroon);
  color:#fff;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:1.1rem;
}
.step-title{
  color:var(--maroon-dark);
  font-weight:700;
  margin-bottom:0.3rem;
}
.step-text{
  color:#7a5a3a;
  font-size:0.95rem;
}
.how-image{
  width:100%;
  height:420px;
  border-radius:10px;
  background:
    repeating-linear-gradient(45deg, #c9c2b8 0, #c9c2b8 2px, #b8b0a4 2px, #b8b0a4 4px),
    radial-gradient(circle at 30% 30%, #d8d2c6, #a8a094 80%);
  border:4px solid #fff;
  box-shadow:0 15px 40px rgba(0,0,0,0.25);
}
.btn-get-started{
  background:var(--maroon);
  color:#fff;
  border:none;
  padding:0.7rem 1.6rem;
  border-radius:8px;
  font-weight:500;
}
.btn-get-started:hover{ background:var(--maroon-dark); color:#fff; }

/* ==========================================================
   COLLECTIONS PAGE ONLY
   ========================================================== */

.page-header{
  text-align:center;
  padding:4.5rem 1.5rem 3.5rem;
}
.page-header h1{
  color:var(--maroon);
  font-weight:700;
  font-size:3.4rem;
  margin-bottom:1rem;
}
.page-header p{
  color:#9c7a52;
  font-size:1.15rem;
  max-width:640px;
  margin:0 auto;
}

.collections-section{
  padding:0 1.5rem 5rem;
}
.product-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,0.04);
  height:100%;
  display:flex;
  flex-direction:column;
}
.product-image{
  position:relative;
  background:var(--card-img-bg);
  height:390px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8a7259;
  font-size:1rem;
}
.product-badge{
  position:absolute;
  top:16px;
  left:16px;
  background:#fdf8f1;
  color:#4a3a2f;
  font-size:0.78rem;
  font-weight:600;
  padding:0.35rem 0.8rem;
  border-radius:20px;
}
.product-body{
  padding:1.3rem 1.4rem 1.4rem;
  flex-grow:1;
  display:flex;
  flex-direction:column;
}
.product-title{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.2rem;
  margin-bottom:0.7rem;
}
.product-price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:1.1rem;
}
.product-price{
  color:var(--maroon);
  font-weight:700;
  font-size:1.15rem;
}
.product-tag{
  background:var(--tan-bg);
  color:#8a6a3a;
  font-size:0.8rem;
  font-weight:500;
  padding:0.3rem 0.8rem;
  border-radius:20px;
  display:flex;
  align-items:center;
  gap:0.3rem;
}
.btn-view-details{
  background:var(--maroon);
  color:#fff;
  border:none;
  border-radius:8px;
  padding:0.65rem 1rem;
  font-weight:500;
  width:100%;
  margin-top:auto;
}
.btn-view-details:hover{ background:var(--maroon-dark); color:#fff; }

/* ==========================================================
   PRODUCT DETAIL PAGE ONLY
   ========================================================== */

.back-link{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  color:var(--maroon);
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
  margin-bottom:2.5rem;
}
.back-link:hover{ color:var(--maroon-dark); }

.detail-image{
  background:var(--card-img-bg);
  border:1px solid #e3d3bd;
  border-radius:14px;
  height:600px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8a7259;
  font-size:1.1rem;
}
.detail-badge{
  position:absolute;
  top:20px;
  left:20px;
  background:#fdf8f1;
  color:#4a3a2f;
  font-size:0.8rem;
  font-weight:600;
  padding:0.4rem 0.9rem;
  border-radius:20px;
}

.detail-category{
  color:var(--maroon);
  font-weight:700;
  letter-spacing:1px;
  font-size:0.85rem;
  text-transform:uppercase;
  margin-bottom:0.6rem;
}
.detail-title{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:2.6rem;
  line-height:1.2;
  margin-bottom:1.3rem;
}
.detail-price-row{
  display:flex;
  align-items:center;
  gap:1rem;
  margin-bottom:1.3rem;
}
.detail-price{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:2.1rem;
}
.stock-badge{
  background:#d6f3e3;
  color:#1f7a4d;
  font-size:0.85rem;
  font-weight:600;
  padding:0.35rem 0.9rem;
  border-radius:20px;
}
.detail-description{
  color:#8a6a4a;
  font-size:1rem;
  margin-bottom:2rem;
}
.detail-divider{
  border:none;
  border-top:1px solid #ece0d1;
  margin:1.6rem 0;
}

.quantity-label{
  font-weight:700;
  letter-spacing:1px;
  font-size:0.8rem;
  color:#5a4636;
  text-transform:uppercase;
  margin-bottom:0.8rem;
}
.quantity-control{
  display:inline-flex;
  align-items:center;
  border:1px solid #e0d3bf;
  border-radius:10px;
  overflow:hidden;
}
.quantity-btn{
  background:#fff;
  border:none;
  width:48px;
  height:48px;
  font-size:1.2rem;
  color:#5a4636;
  display:flex;
  align-items:center;
  justify-content:center;
}
.quantity-btn:hover{ background:var(--tan-bg); }
.quantity-value{
  width:56px;
  text-align:center;
  font-weight:700;
  font-size:1.1rem;
  color:#4a3a2f;
}

.btn-add-cart{
  background:var(--maroon);
  color:#fff;
  border:none;
  border-radius:10px;
  padding:1rem 1.5rem;
  font-weight:600;
  font-size:1.05rem;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.6rem;
}
.btn-add-cart:hover{ background:var(--maroon-dark); color:#fff; }

.specifications-title{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.4rem;
  margin-bottom:1rem;
}
.spec-box{
  background:var(--tan-bg);
  color:#6a4a2a;
  border-radius:10px;
  padding:1.1rem 1.3rem;
  font-size:0.98rem;
}

/* ==========================================================
   CUSTOMIZE PAGE ONLY
   ========================================================== */

.customize-header{
  text-align:center;
  padding:4.5rem 1.5rem 2.5rem;
}
.step-indicator{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.8rem;
  margin-bottom:2rem;
}
.step-indicator .step-item{
  display:flex;
  align-items:center;
  gap:0.6rem;
  color:#8a7259;
  font-weight:600;
}
.step-indicator .step-circle{
  width:32px;
  height:32px;
  border-radius:50%;
  background:#ede2d0;
  color:#8a7259;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:0.9rem;
}
.step-indicator .step-item.active{
  color:var(--maroon-dark);
}
.step-indicator .step-item.active .step-circle{
  background:var(--maroon);
  color:#fff;
}
.step-indicator .step-line{
  width:70px;
  height:1px;
  background:#e0d3bf;
}
.customize-header h1{
  color:var(--maroon);
  font-weight:700;
  font-size:3.2rem;
  margin-bottom:0.8rem;
}
.customize-header p{
  color:#9c7a52;
  font-size:1.1rem;
}

.customize-section{
  padding:0 1.5rem 5rem;
}

.piece-card{
  background:#fff;
  border:2px solid #f0e6d8;
  border-radius:14px;
  padding:1.8rem;
  cursor:pointer;
  height:100%;
  transition:border-color .15s ease, background .15s ease;
}
.piece-card:hover{ border-color:#e3c9a8; }
.piece-card.selected{
  border-color:var(--maroon);
  background:#fbf1f4;
}
.piece-icon{
  width:44px;
  height:44px;
  background:var(--tan-bg);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1rem;
  color:var(--maroon-dark);
}
.piece-card.selected .piece-icon{
  background:var(--maroon);
  color:#fff;
}
.piece-card h3{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.25rem;
  margin-bottom:0.5rem;
}
.piece-card p{
  color:#8a6a4a;
  font-size:0.92rem;
  margin-bottom:0;
}

.combination-box{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  padding:2rem;
  margin-top:2.5rem;
}
.combination-box h4{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.15rem;
  margin-bottom:1.2rem;
}
.combo-pills{
  display:flex;
  flex-wrap:wrap;
  gap:0.8rem;
}
.combo-pill{
  background:var(--tan-bg);
  color:#7a5a35;
  border:none;
  border-radius:30px;
  padding:0.6rem 1.4rem;
  font-weight:600;
  font-size:0.95rem;
}
.combo-pill.selected{
  background:var(--maroon);
  color:#fff;
}

.customize-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #ece0d1;
  margin-top:3rem;
  padding-top:1.8rem;
}
.btn-cancel{
  background:#fff;
  border:1px solid #e0d3bf;
  color:#5a4636;
  border-radius:8px;
  padding:0.7rem 1.4rem;
  font-weight:600;
}
.btn-cancel:hover{ background:var(--tan-bg); color:#5a4636; }
.btn-continue{
  background:var(--maroon);
  color:#fff;
  border:none;
  border-radius:8px;
  padding:0.75rem 1.6rem;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:0.6rem;
}
.btn-continue:hover{ background:var(--maroon-dark); color:#fff; }

/* ==========================================================
   FABRICS PAGE (CUSTOMIZE STEP 2) ONLY
   ========================================================== */

.fabric-section{
  margin-bottom:3rem;
}
.fabric-section h2{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.6rem;
  margin-bottom:1rem;
}
.fabric-divider{
  border:none;
  border-top:1px solid #ece0d1;
  margin-bottom:1.5rem;
}
.fabric-placeholder{
  background:#ede4d6;
  border-radius:10px;
  padding:2.2rem 1.5rem;
  text-align:center;
  color:#8a7259;
  font-size:1.05rem;
}

.btn-back-pieces{
  background:#fff;
  border:1px solid #e0d3bf;
  color:#5a4636;
  border-radius:8px;
  padding:0.7rem 1.4rem;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:0.6rem;
}
.btn-back-pieces:hover{ background:var(--tan-bg); color:#5a4636; }

.btn-continue-disabled{
  background:#d8a9b8;
  color:#fff;
  border:none;
  border-radius:8px;
  padding:0.75rem 1.6rem;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:0.6rem;
  cursor:not-allowed;
  opacity:0.9;
}

/* ==========================================================
   CUSTOMIZE — STEP PANEL UTILITY (used by all 4 steps)
   ========================================================== */
.step-panel{ display:none; }
.step-panel.active{ display:block; }

/* ==========================================================
   CUSTOMIZE STEP 3 — STYLES ONLY
   ========================================================== */

.summary-bar{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:12px;
  padding:1rem 1.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:1rem;
  margin-bottom:2rem;
}
.summary-left{ display:flex; align-items:center; gap:0.8rem; flex-wrap:wrap; }
.summary-badge{
  background:var(--tan-bg);
  color:#7a5a35;
  font-weight:700;
  font-size:0.85rem;
  padding:0.35rem 0.9rem;
  border-radius:20px;
}
.summary-combo{ color:#5a4636; font-weight:500; }
.summary-right{ display:flex; align-items:center; gap:1.2rem; flex-wrap:wrap; }
.summary-pending{
  color:#9c7a52;
  font-weight:600;
  font-size:0.95rem;
  padding-right:1.2rem;
  border-right:1px solid #ece0d1;
}
.summary-pending:last-of-type{ border-right:none; padding-right:0; }
.summary-price{ color:var(--maroon-dark); font-weight:700; font-size:1.2rem; }

.creation-tabs{
  display:flex;
  background:#f4ece0;
  border-radius:10px;
  padding:0.4rem;
  gap:0.4rem;
  margin-bottom:2rem;
}
.creation-tab{
  flex:1;
  background:transparent;
  border:none;
  padding:0.8rem 1rem;
  border-radius:8px;
  font-weight:600;
  color:#8a7259;
}
.creation-tab.active{
  background:#fff;
  color:var(--maroon-dark);
  box-shadow:0 2px 6px rgba(0,0,0,0.05);
}
.creation-tab-panel{ display:none; }
.creation-tab-panel.active{ display:block; }

.creation-side{
  background:var(--tan-bg);
  border-radius:14px;
  padding:2rem;
}
.creation-side h2{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.7rem;
  margin-bottom:1.5rem;
}
.creation-slot-label{
  font-weight:700;
  letter-spacing:1px;
  font-size:0.75rem;
  color:#7a5a35;
  text-transform:uppercase;
  margin-bottom:0.6rem;
}
.creation-slot{
  border:2px dashed #d8c2a0;
  border-radius:10px;
  min-height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#8a7259;
  font-size:0.95rem;
  padding:1rem;
  background:rgba(255,255,255,0.4);
}
.btn-save-customization{
  background:#d8a9b8;
  color:#fff;
  border:none;
  border-radius:8px;
  padding:0.9rem 1rem;
  font-weight:600;
  width:100%;
}
.btn-save-customization:hover{ background:#cf94a8; color:#fff; }
.btn-secondary-outline{
  background:#fff;
  border:1px solid #e0d3bf;
  color:#5a4636;
  border-radius:8px;
  padding:0.65rem 1rem;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  font-size:0.92rem;
}
.btn-secondary-outline:hover{ background:var(--tan-bg); color:#5a4636; }
.link-proceed{
  display:block;
  text-align:center;
  color:#9c7a52;
  font-weight:600;
  margin-top:1rem;
  text-decoration:none;
}
.link-proceed:hover{ color:var(--maroon-dark); }

/* ==========================================================
   CUSTOMIZE STEP 4 — MEASUREMENTS ONLY
   ========================================================== */

.measurements-header{
  text-align:center;
  padding:4.5rem 1.5rem 2.5rem;
}
.measurements-header h1{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:2.7rem;
  margin-bottom:0.8rem;
}
.measurements-header p{
  color:#9c7a52;
  font-size:1.05rem;
  max-width:600px;
  margin:0 auto;
}

.how-measure-box{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:1.5rem;
}
.how-measure-title{
  background:#f3ddc4;
  padding:1.5rem;
}
.how-measure-title h3{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.3rem;
  margin-bottom:0.3rem;
}
.how-measure-title p{
  color:#8a6a4a;
  font-size:0.9rem;
  margin-bottom:0;
}
.tips-box{
  background:#f6ecdd;
  border-radius:10px;
  margin:1.5rem;
  padding:1.3rem 1.5rem;
}
.tips-box-label{
  font-weight:700;
  letter-spacing:1px;
  font-size:0.75rem;
  color:#7a5a35;
  text-transform:uppercase;
  margin-bottom:0.8rem;
}
.tips-box ul{
  margin-bottom:0;
  padding-left:1.1rem;
  color:#6a4a2a;
  font-size:0.95rem;
}
.tips-box li{ margin-bottom:0.4rem; }

.faq-box{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  padding:1.5rem;
}
.faq-box h3{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.2rem;
  margin-bottom:1rem;
}
.faq-item{
  border-bottom:1px solid #ece0d1;
  padding:0.9rem 0;
}
.faq-item:last-child{ border-bottom:none; }
.faq-question{
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  color:#4a3a2f;
  font-weight:600;
}
.faq-answer{
  color:#8a6a4a;
  font-size:0.92rem;
  margin-top:0.6rem;
  display:none;
}
.faq-item.open .faq-answer{ display:block; }
.faq-item.open .faq-chevron{ transform:rotate(180deg); }
.faq-chevron{ transition:transform .15s ease; }

.enter-measurements-box{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  padding:2rem;
}
.enter-measurements-box h2{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.6rem;
  margin-bottom:0.3rem;
}
.enter-measurements-box>p{
  color:#8a6a4a;
  font-size:0.95rem;
  margin-bottom:1.5rem;
}

.measurement-section-title{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.15rem;
  margin-bottom:0.3rem;
}
.measurement-section-divider{
  border:none;
  border-top:1px solid #ece0d1;
  margin-bottom:1.3rem;
}

.measurement-field{ margin-bottom:1.4rem; }
.measurement-field label{
  display:block;
  color:#4a3a2f;
  font-weight:600;
  font-size:0.92rem;
  margin-bottom:0.5rem;
}
.measurement-input-wrap{ position:relative; }
.measurement-input-wrap input{
  width:100%;
  border:1px solid #e0d3bf;
  border-radius:8px;
  padding:0.6rem 3rem 0.6rem 0.9rem;
  font-size:0.95rem;
  color:#4a3a2f;
  background:#fdf9f3;
}
.measurement-input-wrap span{
  position:absolute;
  right:0.9rem;
  top:50%;
  transform:translateY(-50%);
  color:#9c7a52;
  font-size:0.85rem;
}
.measurement-hint{
  color:#a08a6a;
  font-size:0.8rem;
  margin-top:0.4rem;
}

.notes-textarea{
  width:100%;
  border:1px solid #e0d3bf;
  border-radius:8px;
  padding:0.9rem;
  font-size:0.95rem;
  color:#4a3a2f;
  background:#fdf9f3;
  min-height:100px;
}

.btn-save-measurements{
  background:var(--maroon);
  color:#fff;
  border:none;
  border-radius:8px;
  padding:1rem;
  font-weight:600;
  width:100%;
  font-size:1.05rem;
  margin-top:1.5rem;
}
.btn-save-measurements:hover{ background:var(--maroon-dark); color:#fff; }

/* ==========================================================
   CART PAGE ONLY
   ========================================================== */

.cart-header{
  text-align:center;
  padding:4.5rem 1.5rem 3rem;
}
.cart-header h1{
  color:var(--maroon);
  font-weight:700;
  font-size:3rem;
  margin-bottom:0.6rem;
}
.cart-header p{
  color:#9c7a52;
  font-size:1.1rem;
}

.cart-section{
  padding:0 1.5rem 5rem;
}

.cart-item{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  padding:1.3rem;
  display:flex;
  align-items:center;
  gap:1.3rem;
  margin-bottom:1.2rem;
}
.cart-item-image{
  width:110px;
  height:110px;
  min-width:110px;
  background:var(--card-img-bg);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8a7259;
  font-size:0.82rem;
  text-align:center;
}
.cart-item-info{ flex-grow:1; }
.cart-item-title{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.1rem;
  margin-bottom:0.3rem;
}
.cart-item-tag{
  background:var(--tan-bg);
  color:#8a6a3a;
  font-size:0.78rem;
  font-weight:500;
  padding:0.25rem 0.7rem;
  border-radius:20px;
  display:inline-block;
  margin-bottom:0.5rem;
}
.cart-item-price{
  color:var(--maroon);
  font-weight:700;
  font-size:1.05rem;
}
.cart-item-actions{
  display:flex;
  align-items:center;
  gap:1.2rem;
}
.cart-qty-control{
  display:inline-flex;
  align-items:center;
  border:1px solid #e0d3bf;
  border-radius:8px;
  overflow:hidden;
}
.cart-qty-btn{
  background:#fff;
  border:none;
  width:34px;
  height:34px;
  font-size:1rem;
  color:#5a4636;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cart-qty-btn:hover{ background:var(--tan-bg); }
.cart-qty-value{
  width:36px;
  text-align:center;
  font-weight:700;
  font-size:0.95rem;
  color:#4a3a2f;
}
.cart-remove-btn{
  background:none;
  border:none;
  color:#b05a5a;
  font-size:1.3rem;
  line-height:1;
  padding:0.4rem;
}
.cart-remove-btn:hover{ color:#8a3a3a; }
.cart-item-subtotal{
  min-width:80px;
  text-align:right;
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.05rem;
}

.cart-empty{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  padding:4rem 2rem;
  text-align:center;
}
.cart-empty-icon{
  font-size:3rem;
  margin-bottom:1rem;
}
.cart-empty h3{
  color:var(--maroon-dark);
  font-weight:700;
  margin-bottom:0.6rem;
}
.cart-empty p{
  color:#8a6a4a;
  margin-bottom:1.5rem;
}

.order-summary{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  padding:1.8rem;
  position:sticky;
  top:1.5rem;
}
.order-summary h3{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.3rem;
  margin-bottom:1.3rem;
}
.summary-row{
  display:flex;
  justify-content:space-between;
  color:#6a4a2a;
  font-size:0.98rem;
  margin-bottom:0.9rem;
}
.summary-row.total{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.2rem;
  padding-top:1rem;
  border-top:1px solid #ece0d1;
  margin-top:0.5rem;
  margin-bottom:1.5rem;
}
.promo-input-group{
  display:flex;
  gap:0.6rem;
  margin-bottom:1.5rem;
}
.promo-input-group input{
  flex-grow:1;
  border:1px solid #e0d3bf;
  border-radius:8px;
  padding:0.6rem 0.9rem;
  font-size:0.92rem;
  background:#fdf9f3;
}
.btn-apply-promo{
  background:#fff;
  border:1px solid #e0d3bf;
  color:#5a4636;
  border-radius:8px;
  padding:0.6rem 1rem;
  font-weight:600;
  font-size:0.9rem;
}
.btn-apply-promo:hover{ background:var(--tan-bg); }
.btn-checkout{
  background:var(--maroon);
  color:#fff;
  border:none;
  border-radius:8px;
  padding:0.9rem 1rem;
  font-weight:600;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.6rem;
}
.btn-checkout:hover{ background:var(--maroon-dark); color:#fff; }
.continue-shopping-link{
  display:block;
  text-align:center;
  color:#9c7a52;
  font-weight:600;
  margin-top:1.2rem;
  text-decoration:none;
  font-size:0.92rem;
}
.continue-shopping-link:hover{ color:var(--maroon-dark); }

/* ==========================================================
   CHECKOUT PAGE ONLY
   ========================================================== */

.checkout-header{
  text-align:center;
  padding:4.5rem 1.5rem 3rem;
}
.checkout-header h1{
  color:var(--maroon);
  font-weight:700;
  font-size:3rem;
  margin-bottom:0.6rem;
}
.checkout-header p{
  color:#9c7a52;
  font-size:1.1rem;
}

.checkout-section{
  padding:0 1.5rem 5rem;
}

.checkout-progress{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.8rem;
  margin-bottom:3rem;
  flex-wrap:wrap;
}
.checkout-progress .step-item{
  display:flex;
  align-items:center;
  gap:0.6rem;
  color:#8a7259;
  font-weight:600;
  font-size:0.95rem;
}
.checkout-progress .step-circle{
  width:30px;
  height:30px;
  border-radius:50%;
  background:#ede2d0;
  color:#8a7259;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:0.85rem;
}
.checkout-progress .step-item.active{ color:var(--maroon-dark); }
.checkout-progress .step-item.active .step-circle{ background:var(--maroon); color:#fff; }
.checkout-progress .step-line{ width:50px; height:1px; background:#e0d3bf; }

.checkout-card{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  padding:1.8rem;
  margin-bottom:1.5rem;
}
.checkout-card h3{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.25rem;
  margin-bottom:0.3rem;
  display:flex;
  align-items:center;
  gap:0.6rem;
}
.checkout-card .card-subtext{
  color:#8a6a4a;
  font-size:0.9rem;
  margin-bottom:1.3rem;
}

.checkout-field{ margin-bottom:1.2rem; }
.checkout-field label{
  display:block;
  color:#4a3a2f;
  font-weight:600;
  font-size:0.92rem;
  margin-bottom:0.5rem;
}
.checkout-field .required{ color:var(--maroon); }
.checkout-field input[type="text"],
.checkout-field input[type="email"],
.checkout-field input[type="tel"],
.checkout-field select,
.checkout-field textarea{
  width:100%;
  border:1px solid #e0d3bf;
  border-radius:8px;
  padding:0.65rem 0.9rem;
  font-size:0.95rem;
  color:#4a3a2f;
  background:#fdf9f3;
}
.checkout-field textarea{ min-height:90px; }

.delivery-option, .payment-option{
  border:1.5px solid #e6d9c4;
  border-radius:10px;
  padding:1rem 1.2rem;
  display:flex;
  align-items:center;
  gap:0.9rem;
  margin-bottom:0.9rem;
  cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.delivery-option:hover, .payment-option:hover{ border-color:#d8b98a; }
.delivery-option.selected, .payment-option.selected{
  border-color:var(--maroon);
  background:#fbf1f4;
}
.option-radio{
  width:20px;
  height:20px;
  min-width:20px;
  border-radius:50%;
  border:2px solid #d8c2a0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.delivery-option.selected .option-radio,
.payment-option.selected .option-radio{ border-color:var(--maroon); }
.option-radio .dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--maroon);
  display:none;
}
.delivery-option.selected .dot,
.payment-option.selected .dot{ display:block; }
.option-info{ flex-grow:1; }
.option-title{ color:#4a3a2f; font-weight:700; font-size:0.98rem; }
.option-desc{ color:#8a6a4a; font-size:0.85rem; }
.option-price{ color:var(--maroon-dark); font-weight:700; font-size:0.95rem; }

.card-fields{
  display:none;
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid #ece0d1;
}
.card-fields.show{ display:block; }

.checkout-checkbox{
  display:flex;
  align-items:flex-start;
  gap:0.7rem;
  margin-bottom:0.9rem;
}
.checkout-checkbox input{ margin-top:0.25rem; }
.checkout-checkbox label{
  color:#5a4636;
  font-size:0.92rem;
  margin-bottom:0;
}

.order-review-item{
  display:flex;
  align-items:center;
  gap:0.9rem;
  margin-bottom:1rem;
}
.order-review-image{
  width:56px;
  height:56px;
  min-width:56px;
  background:var(--card-img-bg);
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8a7259;
  font-size:0.65rem;
  text-align:center;
}
.order-review-info{ flex-grow:1; }
.order-review-title{ color:#4a3a2f; font-weight:600; font-size:0.92rem; }
.order-review-qty{ color:#9c7a52; font-size:0.82rem; }
.order-review-price{ color:var(--maroon-dark); font-weight:700; font-size:0.92rem; }

.btn-place-order{
  background:var(--maroon);
  color:#fff;
  border:none;
  border-radius:8px;
  padding:1rem;
  font-weight:600;
  width:100%;
  font-size:1.05rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.6rem;
}
.btn-place-order:hover{ background:var(--maroon-dark); color:#fff; }

.secure-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  color:#9c7a52;
  font-size:0.85rem;
  margin-top:1rem;
}

/* ==========================================================
   CONFIRMATION PAGE ONLY
   ========================================================== */

.confirmation-section{
  padding:4.5rem 1.5rem 5rem;
}

.confirmation-hero{
  text-align:center;
  max-width:640px;
  margin:0 auto 3rem;
}
.confirmation-check{
  width:88px;
  height:88px;
  background:#d6f3e3;
  color:#1f7a4d;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2.6rem;
  margin:0 auto 1.5rem;
}
.confirmation-hero h1{
  color:var(--maroon);
  font-weight:700;
  font-size:2.6rem;
  margin-bottom:0.8rem;
}
.confirmation-hero p{
  color:#8a6a4a;
  font-size:1.05rem;
  margin-bottom:0;
}
.confirmation-order-number{
  display:inline-block;
  background:var(--tan-bg);
  color:#7a5a35;
  font-weight:700;
  font-size:1rem;
  padding:0.5rem 1.3rem;
  border-radius:30px;
  margin-top:1.2rem;
}

.confirmation-card{
  background:#fff;
  border:1px solid #f0e6d8;
  border-radius:14px;
  padding:1.8rem;
  margin-bottom:1.5rem;
}
.confirmation-card h3{
  color:var(--maroon-dark);
  font-weight:700;
  font-size:1.2rem;
  margin-bottom:1.3rem;
  display:flex;
  align-items:center;
  gap:0.6rem;
}

.info-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:1rem;
  padding:0.7rem 0;
  border-bottom:1px solid #f4ece0;
  font-size:0.95rem;
}
.info-row:last-child{ border-bottom:none; }
.info-row .info-label{ color:#9c7a52; font-weight:600; min-width:130px; }
.info-row .info-value{ color:#4a3a2f; text-align:right; }

.tracking-steps{
  display:flex;
  justify-content:space-between;
  position:relative;
  margin:1.5rem 0 0.5rem;
}
.tracking-steps::before{
  content:"";
  position:absolute;
  top:18px;
  left:18px;
  right:18px;
  height:2px;
  background:#ece0d1;
  z-index:0;
}
.tracking-step{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.6rem;
  flex:1;
}
.tracking-dot{
  width:36px;
  height:36px;
  border-radius:50%;
  background:#ece0d1;
  color:#a08a6a;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1rem;
}
.tracking-step.done .tracking-dot{ background:var(--maroon); color:#fff; }
.tracking-label{
  font-size:0.8rem;
  font-weight:600;
  color:#9c7a52;
  text-align:center;
}
.tracking-step.done .tracking-label{ color:var(--maroon-dark); }

.confirmation-actions{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:1rem;
}
.btn-download-receipt{
  background:#fff;
  border:1px solid #e0d3bf;
  color:#5a4636;
  border-radius:8px;
  padding:0.8rem 1.6rem;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:0.6rem;
}
.btn-download-receipt:hover{ background:var(--tan-bg); color:#5a4636; }
.btn-continue-shopping{
  background:var(--maroon);
  color:#fff;
  border:none;
  border-radius:8px;
  padding:0.8rem 1.6rem;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:0.6rem;
}
.btn-continue-shopping:hover{ background:var(--maroon-dark); color:#fff; }

.next-steps-item{
  display:flex;
  gap:1rem;
  margin-bottom:1.2rem;
}
.next-steps-item:last-child{ margin-bottom:0; }
.next-steps-icon{
  width:38px;
  height:38px;
  min-width:38px;
  background:var(--tan-bg);
  color:var(--maroon-dark);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
}
.next-steps-text h5{
  color:#4a3a2f;
  font-weight:700;
  font-size:0.98rem;
  margin-bottom:0.2rem;
}
.next-steps-text p{
  color:#8a6a4a;
  font-size:0.88rem;
  margin-bottom:0;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width:768px){
  .hero h1{ font-size:2.4rem; }
  .hero{ min-height:620px; }
  .navbar-custom{ padding:1rem; }
  .page-header h1{ font-size:2.3rem; }
  .product-image{ height:280px; }
  .detail-title{ font-size:1.9rem; }
  .detail-image{ height:340px; }
  .customize-header h1{ font-size:2.1rem; }
  .customize-actions{ flex-direction:column; gap:1rem; align-items:stretch; }
  .summary-bar{ flex-direction:column; align-items:flex-start; }
  .creation-tabs{ flex-direction:column; }
  .measurements-header h1{ font-size:2rem; }
  .cart-header h1{ font-size:2.2rem; }
  .cart-item{ flex-wrap:wrap; }
  .cart-item-image{ width:90px; height:90px; min-width:90px; }
  .cart-item-actions{ width:100%; justify-content:space-between; margin-top:0.8rem; }
  .order-summary{ position:static; margin-top:2rem; }
  .checkout-header h1{ font-size:2.2rem; }
  .checkout-progress{ gap:0.4rem; }
  .checkout-progress .step-line{ width:24px; }
  .confirmation-hero h1{ font-size:2rem; }
  .info-row{ flex-direction:column; }
  .info-row .info-value{ text-align:left; }
  .tracking-label{ font-size:0.7rem; }
}
