/*
Theme Name: Kidsmehal
Theme URI: https://kidsmehal.com
Author: Kidsmehal
Author URI: https://kidsmehal.com
Description: Premium Pakistani children's clothing brand theme (Girls & Boys) with WooCommerce support.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kidsmehal
Tags: e-commerce, woocommerce, clothing, fashion, pakistan
*/

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --primary: #1a4d3a;
  --primary-dark: #133828;
  --secondary: #e6a510;
  --accent: #8b1a2e;
  --foreground: #1a1a1a;
  --muted: #f5f4f0;
  --muted-fg: #6b6b6b;
  --border: #e0ddd6;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--foreground);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* =============================================
   Typography
   ============================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--muted-fg);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-all-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.view-all-link:hover { opacity: 0.7; }

/* =============================================
   Promo Bar — scrolling marquee, dark green
   ============================================= */
.promo-bar {
  background: var(--primary);
  color: #f5e6c0;
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
}

.promo-marquee {
  display: flex;
  white-space: nowrap;
  animation: promo-scroll 40s linear infinite;
}

.promo-marquee span { padding-right: 2rem; }

@keyframes promo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   Navbar — always solid gold (#e6a510)
   ============================================= */
.site-header {
  position: fixed;
  top: 36px;
  left: 0; right: 0;
  z-index: 99;
  background: var(--secondary);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Mobile: 36px promo + 60px header = 96px. Desktop: 36 + 80 = 116px */
body { padding-top: 96px; }
@media (min-width: 768px) { body { padding-top: 116px; } }

/* 3-column flex: left-slot | logo | right-slot */
.navbar {
  display: flex;
  align-items: center;
  height: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .navbar { height: 80px; padding: 0 2.5rem; } }

/* LEFT SLOT — flex:1 so logo stays centered */
.nav-left-slot {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
}

/* CENTER — Logo */
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
  line-height: 1;
}
@media (min-width: 768px) { .site-logo { font-size: 1.7rem; } }
.site-logo:hover { opacity: 0.75; }
.site-logo img { height: 40px; width: auto; display: block; }
@media (min-width: 768px) { .site-logo img { height: 52px; } }

/* RIGHT SLOT — flex:1 + justify-content:flex-end */
.nav-right-group {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

/* Desktop nav left (hidden on mobile) */
.nav-left {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-left { display: flex; } }

/* Desktop nav right (hidden on mobile) */
.nav-right {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-right: 0.75rem;
}
@media (min-width: 768px) { .nav-right { display: flex; } }

/* Nav link style — dark green on gold */
.nav-left a,
.nav-right a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-left a:hover,
.nav-right a:hover { opacity: 0.65; }

.nav-sale { color: var(--accent) !important; }

/* Icons row */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-icon-btn {
  position: relative;
  padding: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--primary);
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nav-icon-btn:hover { opacity: 0.6; }

/* Footer logo — separate from .site-logo */
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.footer-logo:hover { opacity: 0.8; }

.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary);
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
/* X animation when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.9rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  transition: background 0.2s;
}
.mobile-menu a:hover { background: var(--muted); }

/* =============================================
   Hero Slider
   ============================================= */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 5%;
  max-width: 520px;
  color: var(--white);
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--secondary);
  color: var(--foreground);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.hero-btn:hover { background: #d4940e; transform: translateX(3px); }

.slider-nav {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
}

.slider-btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.slider-btn:hover { background: rgba(255,255,255,0.3); }

.slider-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.slider-dot.active { background: var(--secondary); transform: scale(1.4); }

/* =============================================
   Collections Grid
   ============================================= */
.collections-section { padding: 5rem 0; }

.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .collections-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .collections-grid { grid-template-columns: repeat(6, 1fr); } }

.collection-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.collection-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.collection-card:hover img { transform: scale(1.06); }

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 0.75rem;
}

.collection-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
}
.collection-count {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* =============================================
   Products Grid
   ============================================= */
.products-section { padding: 4rem 0; background: var(--muted); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================
   Product Card (WooCommerce Override)
   ============================================= */
.product-card {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.product-badge.sale { background: var(--accent); color: var(--white); }
.product-badge.new { background: var(--primary); color: var(--white); }

.quick-add-btn {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border: none;
  width: 100%;
}
.product-card:hover .quick-add-btn { transform: translateY(0); }
.quick-add-btn:hover { background: var(--primary-dark); }

.product-card-info { padding: 0.75rem 0.25rem 1rem; }

.product-category {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-name a { color: var(--foreground); transition: color 0.2s; }
.product-name a:hover { color: var(--primary); }

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-price .current { font-weight: 700; font-size: 0.9rem; }
.product-price .original {
  font-size: 0.8rem;
  color: var(--muted-fg);
  text-decoration: line-through;
}

/* =============================================
   Brand Story
   ============================================= */
.brand-section {
  padding: 6rem 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.brand-section .section-title { color: var(--white); margin-bottom: 1.5rem; }
.brand-section p { opacity: 0.85; max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.8; }
.brand-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.brand-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.brand-gold { color: var(--secondary); }

/* =============================================
   Newsletter
   ============================================= */
.newsletter-section {
  padding: 4rem 0;
  background: var(--muted);
  text-align: center;
}
.newsletter-section .section-title { font-size: 1.8rem; margin-bottom: 0.75rem; }
.newsletter-section p { color: var(--muted-fg); margin-bottom: 2rem; }

.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-right: none;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  background: var(--white);
}
.newsletter-form input::placeholder { color: var(--muted-fg); }
.newsletter-form input:focus { border-color: var(--primary); }

.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .site-logo { color: var(--white); font-size: 1.4rem; margin-bottom: 0.75rem; display: block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.55); }

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links li + li { margin-top: 0.6rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   WooCommerce — Single Product
   ============================================= */
.woocommerce-product-page {
  padding-top: 100px;
  min-height: 80vh;
}
.woocommerce-product-page .container { padding: 3rem 1.5rem; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.product-detail-image { aspect-ratio: 3/4; overflow: hidden; }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }

.woocommerce-breadcrumb {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-bottom: 2rem;
}
.woocommerce-breadcrumb a { color: var(--muted-fg); transition: color 0.2s; }
.woocommerce-breadcrumb a:hover { color: var(--foreground); }
.woocommerce-breadcrumb .separator { margin: 0 0.4rem; }

.product-detail-info { }
.product-detail-category {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 0.5rem;
}
.product-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.product-detail-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.product-detail-price .current { font-size: 1.6rem; font-weight: 700; }
.product-detail-price .original { font-size: 1.2rem; color: var(--muted-fg); text-decoration: line-through; }
.product-detail-price .discount { color: var(--accent); font-size: 0.85rem; font-weight: 700; }
.product-detail-desc { font-size: 0.9rem; color: var(--muted-fg); line-height: 1.8; margin-bottom: 2rem; }

.woo-variations label { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.6rem; display: block; }
.variation-options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.variation-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: none;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.variation-btn.selected { border-color: var(--primary); background: var(--primary); color: var(--white); }
.variation-btn:hover:not(.selected) { border-color: var(--primary); }

.add-to-cart-row { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
.add-to-cart-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.add-to-cart-btn:hover { background: var(--primary-dark); }
.wishlist-btn {
  width: 56px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  background: none;
}
.wishlist-btn:hover { border-color: var(--accent); color: var(--accent); }

/* =============================================
   Shop Archive (WooCommerce)
   ============================================= */
.woocommerce-shop-page { padding-top: 100px; }
.woocommerce-shop-page .container { padding: 3rem 1.5rem; }

.shop-header { margin-bottom: 2rem; }
.shop-title { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 0.5rem; }
.shop-filters { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.filter-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* =============================================
   Search Overlay
   ============================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.search-overlay.open { display: block; }
.search-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.search-box {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--foreground);
}
.search-box input::placeholder { color: var(--muted-fg); }
.search-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-fg);
  font-size: 1.2rem;
  padding: 0.25rem;
  transition: color 0.2s;
}
.search-close:hover { color: var(--foreground); }

/* =============================================
   Cart Drawer
   ============================================= */
.cart-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}
.cart-drawer-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 380px;
  background: var(--white);
  z-index: 160;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 30px rgba(0,0,0,0.1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 { font-family: var(--font-serif); font-size: 1.1rem; }
.cart-close {
  padding: 0.4rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted-fg);
  transition: color 0.2s;
}
.cart-close:hover { color: var(--foreground); }

.cart-items { flex: 1; overflow-y: auto; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}
.cart-empty p { color: var(--muted-fg); font-size: 0.9rem; }
.btn-shop-now {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-shop-now:hover { background: var(--primary-dark); }

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.cart-subtotal strong { font-weight: 700; }
.cart-note { font-size: 0.75rem; color: var(--muted-fg); margin-bottom: 1.25rem; }
.btn-checkout {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: background 0.2s;
}
.btn-checkout:hover { background: var(--primary-dark); }
.btn-continue {
  width: 100%;
  padding: 0.75rem;
  background: none;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-continue:hover { background: var(--muted); }

/* =============================================
   Utilities
   ============================================= */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
