@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg: #fff8f2;
  --surface: #fffdf9;
  --surface-2: #fff3e4;
  --primary: #d82d1f;
  --primary-2: #ff8a1f;
  --ink: #2f1812;
  --muted: #7f6457;
  --line: #efd6c2;
  --pet-cream: #fff2e5;
  --pet-peach: #ffd8ba;
  --pet-mint: #dff6e6;
  --ok: #1f8f50;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 50px rgba(47, 24, 18, 0.12);
  --shadow-card: 0 10px 30px rgba(216, 45, 31, 0.12);
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at 85% 8%, #ffd6b8 0%, transparent 36%),
    radial-gradient(circle at 8% 24%, #ffe8d7 0%, transparent 33%),
    radial-gradient(circle at 12% 90%, #ffdfca 0%, transparent 27%),
    var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 45, 31, 0.1);
  box-shadow: 0 8px 26px rgba(47, 24, 18, 0.09);
}

.header-ribbon {
  background: linear-gradient(90deg, #db331f, #ff8b26 55%, #ff9e41);
  color: #fff9f3;
}

.ribbon-row {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ribbon-pill {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.09);
}

.ribbon-copy {
  font-size: 0.82rem;
  opacity: 0.95;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.header-row.modern {
  grid-template-columns: auto 1fr auto;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
}

.logo-wrap:hover {
  transform: translateY(-1px);
}

.logo-wrap img {
  width: 82px;
  height: auto;
}

.brand-lines {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-lines strong {
  font-size: 1.4rem;
}

.brand-lines small {
  color: #8d6c61;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-search {
  border: 1px solid #efcfb8;
  background: linear-gradient(180deg, #fffdfb, #fff5ec);
  border-radius: 999px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #8c6759;
  font-weight: 600;
  width: min(520px, 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-actions.modern {
  gap: 8px;
}

.icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
}

.icon-btn.text {
  padding: 0 14px;
  min-width: auto;
}

.cart-link {
  position: relative;
  padding: 0;
  width: 46px;
  min-width: 46px;
  border-color: #efc8ad;
  background: linear-gradient(180deg, #fff, #fff3e8);
  box-shadow: 0 8px 20px rgba(230, 110, 34, 0.14);
}

.cart-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: linear-gradient(135deg, #ffe7d2, #ffd3ad);
  color: #8d401f;
  border: 1px solid #f0c5a4;
}

.cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d82d1f, #ff8a1f);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -6px;
  margin-left: 0;
  box-shadow: 0 6px 14px rgba(216, 45, 31, 0.36);
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 11, 8, 0.38);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(500px, 96vw);
  height: 100vh;
  background: linear-gradient(180deg, #fffdfa, #fff4ea);
  border-left: 1px solid #f0d1ba;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: -14px 0 30px rgba(46, 22, 16, 0.2);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #f0d2be;
}

.cart-drawer-head strong {
  font-size: 1.06rem;
}

.cart-drawer-body {
  overflow: auto;
  overflow-x: hidden;
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.cart-drawer .cart-item {
  grid-template-columns: 74px 1fr;
  gap: 10px;
}

.cart-drawer .cart-item-img {
  width: 74px;
  height: 84px;
}

.cart-drawer .cart-item-title {
  font-size: 0.94rem;
}

.cart-drawer .cart-item-controls {
  flex-wrap: wrap;
}

.cart-drawer .cart-item-total {
  grid-column: 2;
  text-align: left;
}

.cart-drawer .qty-wrap {
  transform: scale(0.96);
  transform-origin: left center;
}

.cart-drawer-foot {
  border-top: 1px solid #f0d2be;
  background: #fff9f2;
  padding: 12px;
}

.btn.mini {
  padding: 10px 14px;
  font-size: 0.88rem;
}

.mobile-menu-btn {
  display: none;
}

.nav {
  border-top: 1px solid rgba(216, 45, 31, 0.1);
}

.nav.modern {
  background: linear-gradient(180deg, #fff9f3, #fff1e4);
}

.nav-list {
  margin: 0;
  padding: 10px 0 12px;
  display: flex;
  list-style: none;
  gap: 10px;
  overflow-x: auto;
}

.nav-link {
  white-space: nowrap;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
}

.nav-link.active,
.nav-link:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.hero {
  padding: 56px 0 22px;
}

.hero-card {
  background: linear-gradient(145deg, #fffdf9, #ffe2c7 68%, #ffd8b7);
  border: 1px solid #f0d4bf;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 123, 32, 0.25), transparent 70%);
}

.hero-card::after {
  content: '🐾';
  position: absolute;
  left: 18px;
  bottom: 10px;
  font-size: 1.2rem;
  opacity: 0.35;
}

.hero h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.08;
}

.hero p {
  color: var(--muted);
  font-size: 1.03rem;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #ffccad;
  background: #fff7f0;
  color: #8f3d23;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #e55a1d 55%, var(--primary-2));
  color: #fff;
  box-shadow: var(--shadow-card);
}

.btn-ghost {
  background: #fff;
  border: 1px solid #f1c9af;
  color: #8a3b24;
}

.hero-mascot-wrap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 244, 231, 0.9));
  border: 1px solid #f4dcca;
  border-radius: var(--radius-md);
  min-height: 360px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.hero-mascot-wrap img {
  max-height: 420px;
  object-fit: contain;
}

.section {
  padding: 30px 0;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0 0 6px;
  font-size: 1.9rem;
}

.section-sub {
  margin: 0 0 18px;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.product-card,
.mini-card,
.category-card,
.info-card,
.checkout-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(122, 101, 95, 0.08);
}

.product-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(216, 45, 31, 0.16);
}

.product-img-box {
  background: linear-gradient(180deg, #fffaf5, #fff3e8);
  border: 1px solid #f9dfcc;
  border-radius: 14px;
  height: 210px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pet-mint);
  color: #2f6f49;
  font-size: 0.74rem;
  font-weight: 800;
  width: fit-content;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.product-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.product-actions .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e8c7ae;
  border-radius: 999px;
  background: #fff8f1;
  overflow: hidden;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #8b4126;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

.qty-btn:hover {
  background: #ffe9d5;
}

.qty-value {
  width: 38px;
  text-align: center;
  font-weight: 800;
  color: #663326;
}

.page-hero {
  padding: 42px 0 16px;
}

.page-hero h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

.page-hero p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.sticky-box {
  position: sticky;
  top: 120px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.input,
.select,
.textarea {
  border: 1px solid #eecdb6;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 11px 12px;
  font-family: inherit;
  width: 100%;
}

.search-wrap {
  flex: 1;
  min-width: 220px;
}

.select-wrap {
  width: 240px;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
  grid-column: 1 / -1;
}

.info-card,
.checkout-card,
.mini-card {
  padding: 20px;
}

.kpi-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.promo-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.carousel-controls {
  display: inline-flex;
  gap: 8px;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #eec7a9;
  background: #fff6ed;
  color: #8f4423;
  font-weight: 800;
  cursor: pointer;
}

.carousel-btn:hover {
  background: #ffe8d5;
}

.new-arrivals-track {
  margin-top: 10px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.new-arrivals-track::-webkit-scrollbar {
  display: none;
}

.new-arrivals-track .product-card {
  scroll-snap-align: start;
}

.banner-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.25fr 0.75fr;
}

.big-banner {
  background: linear-gradient(135deg, #ffe7d2, #ffd7b5 62%, #ffc895);
  border: 1px solid #f1c9ab;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.big-banner h2 {
  margin: 10px 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
}

.big-banner p {
  margin: 0 0 14px;
  color: #784f3f;
}

.big-banner img {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
}

.product-banner {
  display: grid;
  gap: 10px;
}

.banner-product-card {
  background: linear-gradient(145deg, #fffdf9, #fff0e2);
  border: 1px solid #f1d1b8;
  border-radius: 16px;
  padding: 10px;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 10px;
}

.banner-product-card img {
  width: 84px;
  height: 110px;
  object-fit: contain;
}

.banner-product-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.banner-product-card span {
  color: #7f6358;
  font-size: 0.83rem;
}

.promo-card {
  background: linear-gradient(145deg, #fffdf9, #ffeede);
  border: 1px solid #f1d3bc;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(122, 101, 95, 0.09);
}

.promo-card h3 {
  margin: 4px 0 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.promo-card p {
  color: #7e6156;
  margin: 0 0 14px;
}

.promo-tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid #f3c8a8;
  background: #fff7ee;
  font-size: 0.74rem;
  font-weight: 800;
  color: #964b2a;
}

.trust-strip {
  background: linear-gradient(90deg, #fff3e6, #ffe8d4);
  border: 1px solid #f0d1b9;
  border-radius: 999px;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  color: #704d40;
  font-weight: 800;
}

.kpi {
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #fff, #fff2e6);
  border: 1px solid #f3d7c2;
}

.kpi h3 {
  margin: 0;
  font-size: 2rem;
  font-family: 'Space Grotesk', sans-serif;
}

.kpi p {
  margin: 6px 0 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  border-left: 4px solid #f57f20;
  padding: 10px 14px;
  background: #fffaf4;
  border-radius: 0 12px 12px 0;
}

.footer {
  margin-top: 40px;
  background: #2b1812;
  color: #ffe7da;
  padding: 36px 0;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.footer h4 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
}

.footer p,
.footer a {
  color: #ffd8c5;
}

.pill-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff4eb;
  color: #8f3f22;
  border: 1px solid #f6d4bc;
  font-size: 0.84rem;
  font-weight: 700;
}

.product-detail {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.product-detail .image-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.product-detail .image-col img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.product-detail .meta-col {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.pet-callout {
  margin-top: 16px;
  background: linear-gradient(145deg, #fff8f1, #ffeede);
  border: 1px solid #f4d9c3;
  border-radius: 14px;
  padding: 12px;
  color: #7e4a36;
}

.product-detail h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.product-detail .cat {
  margin: 10px 0;
  color: var(--muted);
  font-weight: 700;
}

.product-detail .desc {
  color: #5f4740;
}

.list {
  padding-left: 18px;
}

.list li {
  margin-bottom: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.ai-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #d82d1f, #f47a20);
  box-shadow: 0 12px 35px rgba(216, 45, 31, 0.44);
  cursor: pointer;
  width: 72px;
  height: 72px;
  overflow: hidden;
}

.ai-launcher img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-panel {
  position: fixed;
  right: 18px;
  bottom: 102px;
  width: min(420px, calc(100% - 24px));
  height: min(620px, 72vh);
  z-index: 75;
  background: #fff;
  border: 1px solid #f1cfb6;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(48, 20, 15, 0.28);
  display: none;
  grid-template-rows: auto 1fr auto;
}

.ai-panel.open {
  display: grid;
}


.ai-head {
  padding: 14px;
  border-bottom: 1px solid #f3d5c0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ai-head-main {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ai-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
}

.ai-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-title {
  font-weight: 800;
  font-size: 0.95rem;
}

.ai-sub {
  margin-top: 2px;
  color: #8e6454;
  font-size: 0.77rem;
}

.ai-messages {
  padding: 14px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, #fff, #fff8f2);
}

.ai-msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.ai-msg.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #f4d8c5;
}

.ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #d82d1f, #f47a20);
  color: #fff;
}

.ai-quick {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 14px 8px;
}

.ai-quick button {
  border: 1px solid #f0ceb4;
  background: #fff7f1;
  color: #8a3d24;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}

.ai-form {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  padding: 10px 14px 14px;
  border-top: 1px solid #f3d5c0;
  background: #fff;
}

.ai-form textarea {
  border: 1px solid #e9c6ab;
  border-radius: 14px;
  padding: 10px 12px;
  font-family: inherit;
  resize: none;
  min-height: 42px;
  max-height: 140px;
  overflow-y: auto;
  line-height: 1.35;
}

.ai-form button {
  border-radius: 999px;
  border: none;
  padding: 10px 14px;
  background: linear-gradient(135deg, #d82d1f, #f47a20);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  align-self: end;
}

.ai-form-hint {
  padding: 0 14px 10px;
  font-size: 0.72rem;
  color: #9a7769;
  background: #fff;
}

.ai-link {
  color: #b14623;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.notice {
  border: 1px dashed #f2b58e;
  background: #fff9f4;
  border-radius: 14px;
  padding: 14px;
  color: #8b3f24;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cart-item-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #fff7ee;
  border: 1px solid #f1d3bc;
  border-radius: 12px;
  padding: 8px;
}

.cart-item-title {
  font-size: 1rem;
  margin: 0 0 4px;
}

.cart-item-meta {
  color: #7b6257;
  font-size: 0.87rem;
}

.cart-item-controls {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.remove-btn {
  border: 1px solid #f3c8ae;
  background: #fff3ea;
  color: #a24b2d;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.remove-btn:hover {
  background: #ffe7d6;
}

.cart-item-total {
  text-align: right;
}

.cart-item-total strong {
  display: block;
  font-size: 1.08rem;
  color: var(--primary);
}

.summary-list {
  display: grid;
  gap: 6px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f564e;
}

.summary-line.total {
  font-weight: 800;
  color: #4a2a1f;
  font-size: 1.05rem;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f3d6c3;
}

@media (max-width: 980px) {
  .hero-card,
  .split,
  .product-detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-mascot-wrap {
    min-height: 280px;
  }

  .banner-grid,
  .big-banner {
    grid-template-columns: 1fr;
  }

  .big-banner img {
    max-height: 240px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: block;
  }

  .ribbon-copy {
    display: none;
  }

  .cart-item {
    grid-template-columns: 82px 1fr;
  }

  .cart-item-total {
    text-align: left;
    grid-column: 1 / -1;
  }

  .carousel-head {
    align-items: center;
  }

  .new-arrivals-track {
    grid-auto-columns: minmax(180px, 78%);
  }

  .trust-strip {
    border-radius: 16px;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--max-width), calc(100% - 26px));
  }

  .logo-wrap img {
    width: 66px;
  }

  .header-ribbon {
    display: none;
  }

  .brand-lines strong {
    font-size: 1.1rem;
  }

  .brand-lines small {
    display: none;
  }

  .top-actions.modern .icon-btn.text,
  .top-actions.modern .btn.mini {
    display: none;
  }

  .top-actions.modern .cart-link {
    display: inline-flex;
  }

  .header-search {
    display: none;
  }

  .hero {
    padding-top: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .ai-launcher {
    width: 66px;
    height: 66px;
    right: 12px;
    bottom: 12px;
  }

  .ai-panel {
    right: 12px;
    bottom: 88px;
    width: calc(100% - 24px);
    height: 68vh;
  }
}
