/* ===== THEME: CHALK WHITE — Clean minimal with black + green ===== */
:root {
  --accent: #2ecc71;
  --accent-dark: #27ae60;
  --accent-soft: rgba(46,204,113,0.1);
  --black: #111111;
  --dark: #1a1a1a;
  --white: #ffffff;
  --gray: #f5f6f8;
  --gray2: #eef0f3;
  --border: #e4e6ea;
  --text: #1a1a1a;
  --muted: #888888;
  --muted-light: #b0b3b8;
}

* { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: #fff; color: var(--text); overflow-x: hidden; }

.text-accent { color: var(--accent) !important; }
.bg-light-gray { background: var(--gray); }
.bg-white { background: #fff; }

/* TOP BAR */
.top-bar {
  background: var(--black); padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-tag {
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.55); letter-spacing: 0.3px;
}
.top-bar-tag i { color: var(--accent); }
.top-bar-insta {
  font-size: 0.78rem; font-weight: 800;
  color: white; text-decoration: none;
  display: flex; align-items: center; gap: 5px;
  background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; transition: opacity 0.2s;
}
.top-bar-insta:hover { opacity: 0.8; }
.top-bar-insta i {
  background: linear-gradient(90deg, #f09433, #bc1888);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-size: 0.9rem;
}

/* NAVBAR */
#mainNav { background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 8px 0; }
.brand-box { background: var(--black); color: #fff; padding: 3px 8px; border-radius: 5px; font-size: 0.88rem; font-weight: 900; margin-right: 5px; letter-spacing: 0.5px; }
.brand-accent { color: var(--accent); }
.navbar-brand { color: var(--black) !important; font-weight: 800; font-size: 1.05rem; }
.nav-link { color: var(--text) !important; font-size: 0.88rem; font-weight: 500; position: relative; padding-bottom: 4px !important; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); border-radius: 2px; transition: width 0.25s ease; }
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--black) !important; }
.cart-badge { position: absolute; top: -2px; right: -6px; background: var(--accent); color: white; font-size: 0.58rem; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; border: 2px solid white; }
.btn-dark-pill { background: var(--black); color: #fff; border: none; border-radius: 50px; font-weight: 700; font-size: 0.85rem; padding: 7px 18px; transition: all 0.25s; }
.btn-dark-pill:hover { background: var(--accent); color: white; transform: translateY(-1px); }

/* BUTTONS */
.btn-black { background: var(--black); color: #fff; border: none; border-radius: 8px; font-weight: 700; transition: all 0.25s; }
.btn-black:hover { background: var(--accent); color: white; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46,204,113,0.3); }
.btn-outline-black { border: 2px solid var(--black); color: var(--black); background: transparent; border-radius: 8px; font-weight: 700; transition: all 0.25s; }
.btn-outline-black:hover { background: var(--black); color: white; }

/* HERO */
.hero-section { background: #fff; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, #d4d8df 1px, transparent 1px); background-size: 28px 28px; opacity: 0.45; pointer-events: none; }
.hero-section::after { content: ''; position: absolute; top: -80px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(46,204,113,0.12) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.min-vh-85 { min-height: 85vh; }
.tag-pill { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid rgba(46,204,113,0.35); padding: 5px 14px; border-radius: 50px; font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; display: inline-block; }
.hero-title { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 900; color: var(--black); line-height: 1.08; letter-spacing: -2px; }
.accent { color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 1rem; max-width: 400px; line-height: 1.65; }
.accent-num { font-size: 1.5rem; font-weight: 900; color: var(--black); margin: 0; }
.stat-div { width: 1px; height: 36px; background: var(--border); }
.hero-stats { align-items: center; }
.hero-img-container { position: relative; display: inline-block; }
.blob-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 380px; height: 380px; background: radial-gradient(circle, rgba(46,204,113,0.1) 0%, transparent 70%); border-radius: 50%; }
.hero-img { width: 100%; max-width: 460px; position: relative; z-index: 1; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.13)); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* MARQUEE */
.strip { background: var(--black); padding: 11px 0; overflow: hidden; white-space: nowrap; }
.strip-inner { display: inline-block; animation: marquee 28s linear infinite; }
.strip-item { display: inline-flex; align-items: center; gap: 10px; margin-right: 40px; }
.strip-item i { color: var(--accent); font-size: 1rem; }
.strip-item span { font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; color: white; text-transform: uppercase; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* SECTION LABELS */
.section-tag { color: var(--accent-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; display: block; margin-bottom: 6px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 900; color: var(--black); letter-spacing: -1px; }

/* CATEGORY CARDS */
.cat-card { border-radius: 20px; overflow: hidden; position: relative; height: 300px; cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.35s, box-shadow 0.35s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.14); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; filter: brightness(0.6); }
.cat-card:hover img { transform: scale(1.06); filter: brightness(0.45); }
.cat-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 24px; background: linear-gradient(transparent, rgba(0,0,0,0.72)); display: flex; align-items: center; justify-content: space-between; }
.cat-label span { font-size: 1.4rem; font-weight: 900; color: white; }
.cat-arrow { width: 42px; height: 42px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.cat-arrow:hover { transform: scale(1.12); box-shadow: 0 4px 14px rgba(46,204,113,0.4); }

/* PRODUCT CARDS */
.prod-card { background: white; border-radius: 18px; border: 1.5px solid var(--border); overflow: hidden; position: relative; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.prod-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.12); border-color: var(--accent); }
.prod-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--accent); border-radius: 3px 0 0 3px; transition: height 0.35s ease; z-index: 3; }
.prod-card:hover::before { height: 100%; }
.prod-badge { position: absolute; top: 12px; left: 12px; background: var(--black); color: white; font-size: 0.65rem; font-weight: 800; padding: 3px 10px; border-radius: 50px; z-index: 2; }
.prod-badge.sale { background: #e74c3c; }
.prod-img { position: relative; height: 240px; overflow: hidden; background: var(--gray); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.prod-card:hover .prod-img img { transform: scale(1.07); }
.prod-hover { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 7px; opacity: 0; transform: translateX(10px); transition: all 0.3s; }
.prod-card:hover .prod-hover { opacity: 1; transform: translateX(0); }
.prod-hover button { width: 33px; height: 33px; background: white; border: 1.5px solid var(--border); border-radius: 50%; cursor: pointer; color: var(--text); font-size: 0.82rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.prod-hover button:hover { background: var(--accent); color: white; border-color: var(--accent); }
.prod-body { padding: 16px 16px 14px; }
.prod-cat { font-size: 0.65rem; color: var(--accent-dark); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.prod-name { font-weight: 800; font-size: 0.95rem; color: var(--black); margin: 5px 0 10px; line-height: 1.3; }
.prod-sizes { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.prod-sizes span { font-size: 0.68rem; padding: 3px 8px; border-radius: 5px; border: 1.5px solid var(--border); color: var(--muted); cursor: pointer; font-weight: 600; transition: all 0.2s; }
.prod-sizes span.on, .prod-sizes span:hover { border-color: var(--black); color: var(--black); background: var(--gray); }
.prod-foot { display: flex; justify-content: space-between; align-items: center; }
.prod-price { font-size: 1.2rem; font-weight: 900; color: var(--black); }
.add-cart { width: 36px; height: 36px; background: var(--black); border: none; border-radius: 9px; color: white; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.add-cart:hover { background: var(--accent); transform: scale(1.1); box-shadow: 0 4px 12px rgba(46,204,113,0.35); color: white; }

/* FEATURES */
.feat { padding: 24px 18px; border-radius: 14px; border: 1.5px solid var(--border); background: white; transition: all 0.3s; position: relative; overflow: hidden; }
.feat::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.feat:hover::after { transform: scaleX(1); }
.feat:hover { border-color: rgba(46,204,113,0.3); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.07); }
.feat i { font-size: 2rem; color: var(--accent); display: block; margin-bottom: 12px; }
.feat h6 { font-weight: 800; color: var(--black); margin-bottom: 3px; font-size: 0.95rem; }
.feat small { color: var(--muted); }

/* REVIEWS */
.rev-card { background: white; border-radius: 16px; padding: 24px; border: 1.5px solid var(--border); transition: all 0.3s; position: relative; }
.rev-card::before { content: '"'; position: absolute; top: 14px; right: 20px; font-size: 5rem; line-height: 1; color: var(--accent); opacity: 0.08; font-family: Georgia, serif; font-weight: 900; }
.rev-card:hover { border-color: rgba(46,204,113,0.35); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.07); }
.stars { color: var(--accent); font-size: 0.88rem; letter-spacing: 2px; }
.rev-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin: 10px 0; }
.rev-by { display: flex; align-items: center; gap: 11px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.av { width: 38px; height: 38px; background: var(--black); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; font-size: 0.95rem; }
.rev-by strong { font-size: 0.88rem; color: var(--black); font-weight: 800; }
.rev-by small { color: var(--muted-light); }

/* FOOTER */
.footer-dark { background: var(--black); }
.foot-head { color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 9px; color: rgba(255,255,255,0.45); font-size: 0.88rem; }
.foot-links a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.foot-links a:hover { color: var(--accent); }
.soc { display: flex; gap: 10px; }
.soc a { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.95rem; transition: all 0.2s; }
.soc a:hover { background: var(--accent); border-color: var(--accent); color: white; }
.pay-tags { display: flex; gap: 7px; }
.pay-tags span { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.45); font-size: 0.68rem; font-weight: 800; padding: 4px 10px; border-radius: 5px; }

/* ADMIN */
.admin-sidebar { width: 240px; min-height: 100vh; background: var(--black); position: fixed; top: 0; left: 0; z-index: 100; padding-top: 20px; }
.admin-sidebar .brand { padding: 16px 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar .nav-link { color: rgba(255,255,255,0.6) !important; padding: 10px 20px !important; border-radius: 0; font-size: 0.88rem; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { color: white !important; background: rgba(255,255,255,0.06); border-left: 3px solid var(--accent); }
.admin-sidebar .nav-link::after { display: none; }
.admin-content { margin-left: 240px; padding: 30px; min-height: 100vh; background: var(--gray); }
.stat-card { background: white; border-radius: 14px; padding: 22px; border: 1.5px solid var(--border); }
.stat-card .stat-num { font-size: 2rem; font-weight: 900; color: var(--black); }
.stat-card .stat-label { color: var(--muted); font-size: 0.85rem; }

/* CART & CHECKOUT */
.checkout-section { background: var(--gray); min-height: 100vh; padding: 40px 0; }
.checkout-card { background: white; border-radius: 16px; border: 1.5px solid var(--border); padding: 28px; }
.form-control, .form-select { border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.92rem; padding: 10px 14px; transition: border-color 0.2s; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,204,113,0.1); }
.payment-option { border: 2px solid var(--border); border-radius: 10px; padding: 14px 18px; cursor: pointer; transition: all 0.2s; }
.payment-option.selected { border-color: var(--accent); background: var(--accent-soft); }

/* ORDER STATUS BADGES */
.badge-pending { background: #fff3cd; color: #856404; }
.badge-confirmed { background: #d1ecf1; color: #0c5460; }
.badge-shipped { background: #cce5ff; color: #004085; }
.badge-delivered { background: #d4edda; color: #155724; }
.badge-cancelled { background: #f8d7da; color: #721c24; }

@media(max-width:768px) {
  .hero-section { min-height: auto; }
  .blob-bg { width: 250px; height: 250px; }
  .cat-card { height: 220px; }
  .prod-img { height: 200px; }
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; }
}

/* ORDER STATUS BADGES */
.badge-pending { background: #fff3cd !important; color: #856404 !important; }
.badge-confirmed { background: #d1ecf1 !important; color: #0c5460 !important; }
.badge-shipped { background: #cce5ff !important; color: #004085 !important; }
.badge-delivered { background: #d4edda !important; color: #155724 !important; }
.badge-cancelled { background: #f8d7da !important; color: #721c24 !important; }

/* UTILITY */
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

/* SIZE BUTTON */
.size-btn {
  width: 46px; height: 46px; border-radius: 8px;
  border: 2px solid var(--border); background: white;
  color: var(--text); font-weight: 700; font-size: 0.88rem;
  cursor: pointer; transition: all 0.2s; display: flex;
  align-items: center; justify-content: center;
}
.size-btn:hover { border-color: var(--black); background: var(--gray); }
.size-btn.active { border-color: var(--black); background: var(--black); color: white; }

/* CHECKOUT */
.checkout-section { background: var(--gray); min-height: 100vh; padding: 40px 0; }
.checkout-card { background: white; border-radius: 16px; border: 1.5px solid var(--border); padding: 28px; }

/* FORM */
.form-control, .form-select {
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.92rem; padding: 10px 14px; transition: border-color 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,204,113,0.12);
}

/* PAYMENT OPTIONS */
.payment-option {
  border: 2px solid var(--border); border-radius: 12px;
  padding: 14px 16px; transition: all 0.2s;
}
.payment-option.selected {
  border-color: var(--accent); background: var(--accent-soft);
}
.payment-option:hover { border-color: var(--accent); }

/* ADMIN */
.admin-sidebar {
  width: 230px; min-height: 100vh;
  background: var(--black); position: fixed;
  top: 0; left: 0; z-index: 100;
  display: flex; flex-direction: column;
}
.admin-content { margin-left: 230px; }
.admin-sidebar .brand { border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar .nav-link {
  color: rgba(255,255,255,0.55) !important;
  padding: 10px 20px !important; font-size: 0.88rem;
  border-left: 3px solid transparent; transition: all 0.2s;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: white !important; background: rgba(255,255,255,0.06);
  border-left-color: var(--accent);
}
.admin-sidebar .nav-link::after { display: none; }

.stat-card {
  background: white; border-radius: 14px;
  padding: 22px; border: 1.5px solid var(--border);
}
.stat-num { font-size: 2rem; font-weight: 900; color: var(--black); line-height: 1.1; }

@media(max-width:991px) {
  .admin-sidebar { display: none !important; }
  .admin-content { margin-left: 0; }
}

/* ORDER NOW BUTTON on cards */
.btn-order-now {
  background: var(--black); color: white; border: none;
  border-radius: 8px; font-weight: 700; font-size: 0.82rem;
  padding: 8px 16px; cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.btn-order-now:hover {
  background: var(--accent); transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(46,204,113,0.35);
}
.prod-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* HOME HEADER */
.home-header { background: #fff; padding: 16px 0; border-bottom: 1px solid var(--border); }
.home-header-title { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.5px; }

/* COMPACT HERO */
.compact-hero {
  height: 220px; background: #fff;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.compact-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, #d4d8df 1px, transparent 1px);
  background-size: 24px 24px; opacity: 0.35; pointer-events: none;
}
.compact-hero::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(46,204,113,0.1) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.compact-hero-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900; letter-spacing: -1px; line-height: 1.1;
}
.compact-hero-img {
  height: 200px; width: auto; object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
  animation: float 3s ease-in-out infinite;
  position: relative; z-index: 1;
}

/* SMALL CATEGORY CARDS */
.cat-card-sm {
  border-radius: 16px; overflow: hidden;
  position: relative; height: 140px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.cat-card-sm:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.16); }
.cat-card-sm img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  filter: brightness(0.55);
  transition: transform 0.5s, filter 0.3s;
}
.cat-card-sm:hover img { transform: scale(1.04); filter: brightness(0.4); }
.cat-sm-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.cat-sm-label span {
  font-size: 1rem; font-weight: 900; color: white;
  letter-spacing: -0.3px; line-height: 1;
}
.cat-sm-label small {
  font-size: 0.68rem; color: rgba(255,255,255,0.6);
  font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 6px;
}
.cat-sm-arrow {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s;
}
.cat-card-sm:hover .cat-sm-arrow { opacity: 1; transform: scale(1); }

@media(max-width:576px) {
  .cat-card-sm { height: 110px; }
  .cat-sm-label span { font-size: 0.88rem; }
}

/* PROMO CAROUSEL */
.promo-slide {
  height: 110px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 24px; gap: 16px;
}

@media(max-width:576px) {
  .compact-hero { height: 160px; }
  .compact-hero-img { height: 140px; }
  .compact-hero-title { font-size: 1.2rem; }
  .promo-slide { padding: 0 16px; }
  .promo-slide .btn { font-size: 0.75rem; padding: 4px 10px; }
}

/* SIZES STRIP ON CARDS */
.prod-sizes-strip {
  display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 4px;
  align-items: center;
}
.prod-sizes-strip .sizes-label {
  font-size: 0.65rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-right: 2px; flex-shrink: 0;
}
.prod-sizes-strip span {
  font-size: 0.68rem; font-weight: 700;
  background: var(--gray2); border: 1.5px solid var(--border);
  color: var(--text); border-radius: 5px;
  padding: 2px 7px; letter-spacing: 0.3px;
  line-height: 1.4;
}
