/* ============================================================
   PAINTO HOME – Design System & Page Styles
   Font: Times New Roman (site-wide)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --navy:       #101b70;
  --blue:       #173f8a;
  --accent:     #f7c928;
  --bg:         #f8f7f3;
  --surface:    #ffffff;
  --text:       #17213d;
  --muted:      #6d7280;
  --border:     #ececf0;
  --r-card:     12px;
  --r-btn:      999px;
  --max-w:      1240px;
  --gap:        64px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Times New Roman', Times, serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color .25s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--gap) 0; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 700; color: var(--navy); letter-spacing: -.5px; }
.section-heading p { margin-top: 12px; font-size: 1.05rem; color: var(--muted); max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; border-radius: var(--r-btn);
  font-family: 'Times New Roman', Times, serif; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .25s, color .25s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(16,27,112,.18); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-accent { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.btn-accent:hover { background: #e6b800; border-color: #e6b800; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- TOP BAR ---------- */
.top-bar { background: var(--navy); color: rgba(255,255,255,.8); font-size: .82rem; padding: 7px 0; }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: var(--accent); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item i { color: var(--accent); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: var(--surface); border-bottom: 2px solid var(--navy);
  box-shadow: 0 2px 12px rgba(16,27,112,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; font-weight: 900; flex-shrink: 0;
}
.logo-text { font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.logo-text span { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-size: .96rem; font-weight: 600; color: var(--text);
  padding: 7px 13px; border-radius: 8px; transition: background .2s, color .2s; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); background: rgba(16,27,112,.07); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 1.05rem; border: 1.5px solid var(--border);
  transition: border-color .2s, background .2s, color .2s; cursor: pointer; position: relative;
  background: transparent;
}
.header-icon-btn:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--accent); color: var(--navy);
  font-size: .6rem; font-weight: 800; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; flex-direction: column; gap: 5px; width: 30px; cursor: pointer; padding: 4px; border: none; background: none; }
.hamburger span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- HERO ---------- */
.hero {
  background: url('../images/Vibrant Paint Accents.png') no-repeat center center / cover;
  position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.48);
  z-index: 0;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
  width: 100%; padding: 64px 0; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(247,201,40,.18); color: var(--navy);
  border: 1px solid rgba(247,201,40,.5); padding: 5px 14px;
  border-radius: var(--r-btn); font-size: .84rem; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem,4.5vw,3.8rem); font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -1px; margin-bottom: 18px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-desc { font-size: 1.08rem; color: var(--muted); line-height: 1.7; margin-bottom: 36px; max-width: 460px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1; }
.hero-stat span { font-size: .8rem; color: var(--muted); }

.hero-image-side { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-img-frame {
  width: 100%; max-width: 500px; aspect-ratio: 4/3; border-radius: 24px;
  background: linear-gradient(145deg, #c8d8f8 0%, #95b0e8 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 80px rgba(16,27,112,.18);
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.hero-img-frame .ph-text { font-size: .82rem; font-family: sans-serif; color: rgba(255,255,255,.55); }
.hero-float-card {
  position: absolute; bottom: -16px; left: -24px;
  background: var(--surface); border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(16,27,112,.15);
  display: flex; align-items: center; gap: 12px; min-width: 168px;
}
.float-icon { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,var(--accent),#f0a500); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.float-icon-blue { background: linear-gradient(135deg,#4a80e8,var(--navy)); color: #fff; }
.float-text strong { display: block; font-size: .92rem; font-weight: 700; color: var(--navy); }
.float-text span { font-size: .74rem; color: var(--muted); }
.hero-float-card-2 { bottom: auto; top: 20px; left: auto; right: -20px; min-width: 150px; }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; pointer-events: none; z-index: 2; }

/* ---------- BRAND INTRO ---------- */
.brand-intro { background: var(--navy); position: relative; overflow: hidden; }
.brand-intro::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 350px; height: 350px; border-radius: 50%; background: rgba(247,201,40,.06);
}
.brand-intro .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.brand-intro-text { position: relative; z-index: 1; }
.brand-intro-text h2 { font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.brand-intro-text h2 em { color: var(--accent); font-style: normal; }
.brand-intro-text p { color: rgba(255,255,255,.72); line-height: 1.8; margin-bottom: 28px; }
.brand-features { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.brand-feature { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: .9rem; }
.brand-feature i { color: var(--accent); }
.brand-intro-img {
  aspect-ratio: 4/3; border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(145deg, #1e3a90 0%, #2a52c0 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35); font-size: .85rem; font-family: sans-serif;
}
.brand-intro-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CONSULTATION BANNER ---------- */
.consult-section { padding: 0 0 var(--gap); }
.consult-banner {
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 20px; overflow: hidden; position: relative;
}
.consult-banner::before {
  content: ''; position: absolute; bottom: -50px; right: 200px;
  width: 200px; height: 200px; border-radius: 50%; background: rgba(247,201,40,.07);
}
.consult-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 56px;
}
.consult-text { flex: 1; }
.consult-text h3 { font-size: clamp(1.3rem,2.5vw,1.9rem); font-weight: 700; color: #fff; margin-bottom: 8px; }
.consult-text p { color: rgba(255,255,255,.72); line-height: 1.6; margin-bottom: 22px; }
.consult-img {
  flex-shrink: 0; width: 240px; height: 180px; border-radius: 12px;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35); font-size: .8rem; font-family: sans-serif; overflow: hidden;
}
.consult-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CATEGORY CARDS ---------- */
.categories-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.category-card {
  border-radius: var(--r-card); overflow: hidden; position: relative;
  aspect-ratio: 3/4; cursor: pointer;
  box-shadow: 0 4px 20px rgba(16,27,112,.1); transition: transform .3s, box-shadow .3s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 14px 44px rgba(16,27,112,.2); }
.cat-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .4s;
}
.category-card:hover .cat-bg { transform: scale(1.06); }
.cat-bg-ph { position: absolute; inset: 0; }
.cat-bg-ph:nth-child(1) { background: linear-gradient(145deg, #7ba7d4 0%, #4a7fb5 100%); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16,27,112,.85) 0%, rgba(16,27,112,.1) 50%, transparent 100%);
}
.cat-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px 22px; }
.cat-label {
  position: absolute; top: 14px; left: 14px;
  background: rgba(247,201,40,.9); color: var(--navy);
  font-size: .7rem; font-weight: 700; padding: 4px 10px;
  border-radius: var(--r-btn); text-transform: uppercase; letter-spacing: .05em;
}
.cat-body h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.3; }
.cat-body p { font-size: .8rem; color: rgba(255,255,255,.75); line-height: 1.4; margin-bottom: 14px; }
.cat-arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem; transition: background .2s, border-color .2s, color .2s;
}
.category-card:hover .cat-arrow { background: var(--accent); border-color: var(--accent); color: var(--navy); }

/* ---------- PRODUCT CARD (shared) ---------- */
.product-card {
  background: var(--surface); border-radius: var(--r-card); border: 1.5px solid var(--border);
  overflow: hidden; transition: box-shadow .3s, transform .3s; position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 10px 36px rgba(16,27,112,.12); transform: translateY(-4px); }
.product-img-wrap { position: relative; overflow: hidden; background: #f0f3fa; }
.product-img-wrap img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 16px; transition: transform .4s; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-ph {
  width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(135deg,#e8edf8 0%,#d1daf0 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: #94a3b8;
}
.product-img-ph .ph-icon { font-size: 2.8rem; }
.product-img-ph .ph-txt { font-size: .75rem; font-family: sans-serif; }
.prod-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px;
  border-radius: var(--r-btn); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.badge-sale { background: #ff4d4f; color: #fff; }
.badge-new  { background: var(--navy); color: #fff; }
.badge-hot  { background: var(--accent); color: var(--navy); }
.fav-btn {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--surface); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-size: .95rem; cursor: pointer; transition: color .2s, border-color .2s;
}
.fav-btn:hover, .fav-btn.active { color: #ff4d4f; border-color: #ff4d4f; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: .98rem; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.35; }
.product-variant { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.product-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; margin-top: auto; }
.product-price { font-size: 1.12rem; font-weight: 800; color: var(--navy); }
.product-original { font-size: .88rem; color: var(--muted); text-decoration: line-through; }
.product-disc { font-size: .73rem; font-weight: 700; color: #ff4d4f; background: #fff0f0; padding: 2px 7px; border-radius: var(--r-btn); }
.product-actions { display: flex; gap: 8px; }
.btn-cart {
  flex: 1; padding: 10px 14px; border-radius: var(--r-btn); background: var(--navy); color: #fff;
  font-family: 'Times New Roman', Times, serif; font-size: .88rem; font-weight: 600;
  text-align: center; cursor: pointer; transition: background .2s; border: none;
}
.btn-cart:hover { background: var(--blue); }
.btn-view {
  padding: 10px 14px; border-radius: var(--r-btn); border: 1.5px solid var(--border);
  color: var(--navy); font-family: 'Times New Roman', Times, serif; font-size: .88rem; font-weight: 600;
  background: transparent; cursor: pointer; transition: border-color .2s, background .2s;
}
.btn-view:hover { border-color: var(--navy); background: var(--bg); }

/* ---------- FEATURED (large cards) ---------- */
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.featured-grid .product-img-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  padding: 0;
}
.featured-grid .product-name { font-size: 1.15rem; }
.featured-grid .product-body { padding: 20px; }

/* ---------- NEW ARRIVALS ---------- */
.new-arrivals-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.new-arrivals-row .product-img-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  padding: 0;
}

/* ---------- PROMO BANNER ---------- */
.promo-section { padding: var(--gap) 0; }
.promo-banner {
  background: linear-gradient(120deg, #0d1560 0%, var(--navy) 100%);
  border-radius: 20px; overflow: hidden; position: relative;
}
.promo-banner::before {
  content: ''; position: absolute; top: -80px; left: -80px;
  width: 280px; height: 280px; border-radius: 50%; background: rgba(247,201,40,.07);
}
.promo-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 56px 64px; position: relative; z-index: 1;
}
.promo-text { flex: 1; }
.promo-off { font-size: clamp(3rem,7vw,6rem); font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 12px; letter-spacing: -3px; }
.promo-text h3 { font-size: clamp(1.2rem,2.5vw,1.85rem); font-weight: 700; color: #fff; margin-bottom: 10px; }
.promo-text p { color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 24px; }
.promo-countdown { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.countdown-unit { background: rgba(255,255,255,.1); border-radius: 10px; padding: 10px 18px; text-align: center; min-width: 64px; }
.countdown-unit strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.countdown-unit span { font-size: .68rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .05em; }
.promo-product { flex-shrink: 0; width: 280px; }
.promo-product .prod-ph {
  width: 100%; aspect-ratio: 1/1; border-radius: 50%;
  background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.25); font-size: .82rem; font-family: sans-serif;
}
.promo-product img {
  display: block;
  width: 65%;
  margin: 0 auto;
  object-fit: contain;
}

/* ---------- DEALS ---------- */
.deals-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.deals-grid .product-img-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  padding: 0;
}

/* ---------- MOST POPULAR ---------- */
.popular-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.popular-header h2 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; color: var(--navy); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; border-radius: var(--r-btn); border: 1.5px solid var(--border);
  font-family: 'Times New Roman', Times, serif; font-size: .87rem; font-weight: 600;
  color: var(--muted); background: var(--surface); cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.popular-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.popular-grid .product-img-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  padding: 0;
}

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-lockup { margin-bottom: 14px; }
.footer-logo-lockup img { display: block; width: auto; height: 70px; }
.footer-logo { font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -1px; display: inline-block; margin-bottom: 14px; }
.footer-logo span { color: var(--accent); }
.footer-brand-desc { font-size: .9rem; color: #fff; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem; transition: background .2s, border-color .2s, color .2s; cursor: pointer;
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.footer-col h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .9rem; color: #fff; transition: color .2s, padding-left .2s; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: .9rem; color: #fff; }
.footer-contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: #fff; }
.footer-address { white-space: nowrap; }
.footer-newsletter-desc { font-size: .9rem; color: #fff; margin-bottom: 14px; }
.newsletter-form { display: flex; border-radius: var(--r-btn); overflow: hidden; border: 1.5px solid rgba(255,255,255,.18); }
.newsletter-form input {
  flex: 1; padding: 11px 16px; background: rgba(255,255,255,.07);
  border: none; outline: none; color: #fff; font-family: 'Times New Roman', Times, serif; font-size: .9rem;
}
.newsletter-form input::placeholder { color: #fff; }
.newsletter-form button {
  padding: 11px 20px; background: var(--accent); color: #fff;
  font-family: 'Times New Roman', Times, serif; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .2s;
}
.newsletter-form button:hover { background: #e6b800; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px; font-size: .83rem; color: #fff;
}
.footer-bottom a { color: #fff; }
.trust-badges { display: flex; gap: 10px; }
.trust-badge {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 4px 10px; font-size: .74rem; color: #fff;
}

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed; inset: 0; background: rgba(16,27,112,.55); backdrop-filter: blur(6px);
  z-index: 9999; display: flex; align-items: flex-start; justify-content: center; padding-top: 100px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-box { background: var(--surface); border-radius: 16px; padding: 24px; width: 100%; max-width: 600px; box-shadow: 0 24px 80px rgba(16,27,112,.3); }
.search-input-row { display: flex; gap: 12px; align-items: center; }
.search-field {
  flex: 1; padding: 14px 18px; border: 2px solid var(--border);
  border-radius: var(--r-btn); font-family: 'Times New Roman', Times, serif; font-size: 1rem;
  outline: none; color: var(--text); transition: border-color .2s;
}
.search-field:focus { border-color: var(--navy); }
.search-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s; background: transparent;
}
.search-close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- CART SIDEBAR ---------- */
.cart-sidebar {
  position: fixed; top: 0; right: 0; width: 380px; height: 100vh;
  background: var(--surface); box-shadow: -8px 0 48px rgba(16,27,112,.15);
  z-index: 9998; transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column;
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.cart-body { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty { text-align: center; padding: 48px 0; color: var(--muted); }
.cart-empty-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 64px; height: 64px; border-radius: 8px; background: #f0f3fa; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.5rem; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .92rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cart-item-price { font-size: .88rem; color: var(--navy); font-weight: 700; }
.cart-item-remove { color: var(--muted); font-size: .8rem; cursor: pointer; background: none; border: none; margin-top: 4px; }
.cart-item-remove:hover { color: #ff4d4f; }

.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 9997; opacity: 0; pointer-events: none; transition: opacity .3s; }
.backdrop.show { opacity: 1; pointer-events: all; }

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
  position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
  background: var(--surface); z-index: 9998; transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1); overflow-y: auto;
  padding: 80px 0 40px; box-shadow: -8px 0 48px rgba(16,27,112,.12);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .mobile-nav-logo {
  display: block;
  padding: 0 24px 24px;
  border-bottom: none !important;
}
.mobile-nav .mobile-nav-logo img { display: block; width: auto; height: 42px; }
.mobile-nav a { display: block; padding: 13px 24px; font-size: .98rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); transition: color .2s, background .2s; }
.mobile-nav a:hover { color: var(--navy); background: var(--bg); }

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--navy); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  cursor: pointer; box-shadow: 0 4px 20px rgba(16,27,112,.3);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; z-index: 500;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--blue); }

/* ---------- NOTIFICATION TOAST ---------- */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 24px; border-radius: var(--r-btn); font-size: .92rem; opacity: 0; transition: opacity .3s, transform .3s; z-index: 9999; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.fade-up { animation: fadeUp .6s ease both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; } .d4 { animation-delay: .4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199px) {
  .categories-grid { grid-template-columns: repeat(2,1fr); }
  .deals-grid { grid-template-columns: repeat(2,1fr); }
  .popular-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .brand-intro .container { gap: 40px; }
  .new-arrivals-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 767px) {
  :root { --gap: 40px; }
  .top-bar { display: none; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 0; text-align: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-float-card { display: none; }
  .hero-img-frame { margin: 0 auto; }
  .brand-intro .container { grid-template-columns: 1fr; gap: 28px; }
  .brand-intro-img { aspect-ratio: 16/9; }
  .consult-inner { flex-direction: column; padding: 28px 24px; }
  .consult-img { width: 100%; height: 180px; }
  .categories-grid { grid-template-columns: repeat(2,1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .new-arrivals-row { grid-template-columns: 1fr; }
  .promo-inner { flex-direction: column; padding: 36px 24px; }
  .promo-product { width: 200px; margin: 0 auto; }
  .deals-grid { grid-template-columns: repeat(2,1fr); }
  .popular-grid { grid-template-columns: repeat(2,1fr); }
  .popular-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cart-sidebar { width: 100%; }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .deals-grid { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: 1fr; }
  .hero-img-frame { display: none; }
}
