/* Big Basket Sale - main stylesheet
   Colors: prussian blue, mango, watermelon and oat. */

:root {
  --blue: #16425B;
  --blue-dark: #0E2E40;
  --night: #0B2232;
  --mango: #F6A623;
  --mango-soft: #FFF1D6;
  --melon: #EE5D5D;
  --melon-dark: #D44646;
  --melon-soft: #FDE6E3;
  --oat: #F7F2E9;
  --wicker: #E9DCC4;
  --ink: #1C2A33;
  --muted: #5B6970;
  --line: #E6DED0;
  --white: #FFFFFF;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Karla", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Baloo 2", "Karla", sans-serif; line-height: 1.15; margin: 0 0 12px; color: var(--blue-dark); }
h1 { font-size: 46px; font-weight: 800; }
h2 { font-size: 34px; font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 16px; height: 16px; }

/* Buttons and small bits */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border: 0; border-radius: 999px; background: var(--melon); color: var(--white); font: 700 16px "Karla", sans-serif; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--melon-dark); }
.btn.light { background: var(--white); color: var(--blue-dark); }
.btn.light:hover { background: var(--mango-soft); }
.btn.full { width: 100%; }
.kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--mango-soft); color: #9A5E00; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--melon-dark); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* Top bar and header */
.topbar { background: var(--night); color: #CFDCE3; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 20px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { gap: 20px !important; }
.topbar a:hover { color: var(--mango); }
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo img { width: 240px; }
.main-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: block; padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.main-nav a:hover { background: var(--oat); }
.main-nav a.on { background: var(--blue); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--mango-soft); color: var(--blue-dark); font-weight: 700; }
.cart-count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--melon); color: var(--white); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.menu-btn { display: none; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--blue-dark); cursor: pointer; }

/* Hero: aisle list + photo + promo cards */
.hero { padding: 28px 0 0; background: var(--oat); }
.hero-in { display: grid; grid-template-columns: 250px 1fr 220px; gap: 20px; align-items: stretch; }
.aisle-box { background: var(--white); border-radius: var(--radius); padding: 18px 12px; border: 1px solid var(--line); }
.aisle-box h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; padding: 0 8px 10px; margin: 0 0 6px; border-bottom: 2px dashed var(--wicker); }
.aisle-box ul { list-style: none; margin: 0; padding: 0; }
.aisle-box a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.aisle-box a span { flex: 1; }
.aisle-box a .ic { color: var(--blue); }
.aisle-box a .go { color: var(--muted); }
.aisle-box a:hover { background: var(--oat); color: var(--melon-dark); }
.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 470px; }
.hero-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; background: linear-gradient(180deg, rgba(11,34,50,0) 20%, rgba(11,34,50,.88) 100%); color: var(--white); }
.hero-text .kicker { align-self: flex-start; }
.hero-text h1 { color: var(--white); max-width: 560px; }
.hero-text p { max-width: 520px; color: #E3ECF0; font-size: 17px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.promo { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 22px; border-radius: var(--radius); transition: transform .2s; }
.promo:hover { transform: translateY(-3px); }
.promo .ic { width: 38px; height: 38px; margin-bottom: auto; }
.promo strong { font-family: "Baloo 2", sans-serif; font-size: 26px; line-height: 1.1; }
.promo.mango { background: var(--mango); color: var(--night); }
.promo.melon { background: var(--melon); color: var(--white); }

/* Perks strip with a woven basket edge */
.perks { background: var(--oat); padding: 28px 0 40px; }
.perk-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--white); border-radius: var(--radius); border-top: 5px solid; border-image: repeating-linear-gradient(90deg, var(--wicker) 0 12px, var(--mango) 12px 24px) 5; }
.perk .ic { width: 34px; height: 34px; color: var(--blue); }
.perk h3 { font-size: 17px; margin: 0; }
.perk p { margin: 0; font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.section.tint { background: var(--oat); }
.sec-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.sec-head p, .row-head p { color: var(--muted); margin: 0; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.row-head h2 { display: flex; align-items: center; gap: 12px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
.product { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product:hover { box-shadow: 0 14px 30px rgba(22,66,91,.12); transform: translateY(-3px); }
.product-img { aspect-ratio: 1 / 1; background: var(--oat); padding: 14px; }
.product-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.p-dept { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--melon-dark); margin-bottom: 4px; }
.product h3 { font-size: 18px; margin-bottom: 6px; }
.product p { font-size: 14px; color: var(--muted); flex: 1; }
.product-foot { display: flex; flex-direction: column; gap: 10px; }
.price { font-family: "Baloo 2", sans-serif; font-size: 24px; font-weight: 800; color: var(--blue); }
.add-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border: 2px solid var(--blue); border-radius: 999px; background: var(--white); color: var(--blue); font: 700 15px "Karla", sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.add-btn:hover, .add-btn.added { background: var(--blue); color: var(--white); }

/* Aisle (department) cards */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dept { display: flex; flex-direction: column; padding: 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.dept:hover { border-color: var(--mango); transform: translateY(-3px); }
.dept p { font-size: 14px; color: var(--muted); flex: 1; }
.dept-meta { font-size: 14px; font-weight: 700; color: var(--melon-dark); }
.dept-ic { width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; background: var(--blue); color: var(--mango); display: inline-flex; align-items: center; justify-content: center; }
.dept-ic .ic { width: 26px; height: 26px; }
.dept-ic.sm { width: 42px; height: 42px; margin: 0; }
.dept-ic.sm .ic { width: 20px; height: 20px; }

/* Under $20 band */
.deal-band { padding: 40px; border-radius: 24px; background: var(--melon-soft) repeating-linear-gradient(45deg, transparent 0 14px, rgba(238,93,93,.06) 14px 28px); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 18px 18px 0 var(--mango-soft); }
.split-img.wide { aspect-ratio: 3 / 2; border-radius: var(--radius); }
.num-list { list-style: none; counter-reset: n; margin: 22px 0 26px; padding: 0; }
.num-list li { counter-increment: n; position: relative; padding: 0 0 18px 60px; }
.num-list li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--mango); color: var(--night); font: 800 20px "Baloo 2", sans-serif; display: flex; align-items: center; justify-content: center; }
.num-list strong { display: block; font-size: 18px; color: var(--blue-dark); }
.num-list span { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 30px 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); text-align: center; }
.step-n { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--melon); color: var(--white); font: 800 26px "Baloo 2", sans-serif; display: flex; align-items: center; justify-content: center; }
.step p { margin: 0; color: var(--muted); }

/* Testimonials */
.testimonials { background: var(--blue); }
.testimonials h2 { color: var(--white); }
.testimonials .sec-head p { color: #C5D6DF; }
.testimonials .kicker { background: rgba(246,166,35,.18); color: var(--mango); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { display: flex; flex-direction: column; margin: 0; padding: 28px; background: var(--white); border-radius: var(--radius); border-bottom: 6px solid var(--mango); }
.stars { display: flex; gap: 3px; color: var(--mango); margin-bottom: 12px; }
.stars .ic { fill: currentColor; }
.t-card blockquote { flex: 1; margin: 0 0 20px; font-size: 16px; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-card small { display: block; color: var(--muted); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--melon); color: var(--white); font: 800 20px "Baloo 2", sans-serif; display: flex; align-items: center; justify-content: center; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-body p { flex: 1; color: var(--muted); }

/* Newsletter */
.news { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 40px; padding: 36px; background: var(--mango-soft); border-radius: 24px; }
.news img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.news-text p { color: var(--muted); }

/* Inner page banner */
.banner { padding: 52px 0; background: var(--blue); color: #D6E3EA; border-bottom: 6px solid; border-image: repeating-linear-gradient(90deg, var(--mango) 0 18px, var(--melon) 18px 36px) 6; }
.banner h1 { color: var(--white); font-size: 42px; margin-bottom: 8px; }
.banner p { margin: 0; max-width: 640px; }
.crumbs { font-size: 14px; margin-bottom: 10px !important; }
.crumbs a { color: var(--mango); }
.crumbs span { margin: 0 4px; opacity: .6; }

/* Shop chips and groups */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chips a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--white); }
.chips a:hover { border-color: var(--blue); }
.chips a.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.group { margin-bottom: 52px; scroll-margin-top: 100px; }
.group .row-head h2 { font-size: 28px; margin: 0; }

/* About CTA */
.cta { padding: 48px; text-align: center; background: var(--blue); border-radius: 24px; color: #D6E3EA; }
.cta h2 { color: var(--white); }

/* Prose (blog posts and policies) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin-top: 30px; }
.prose ul { padding-left: 0; list-style: none; }
.prose li { margin-bottom: 8px; }
.article-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 10px; }

/* Contact */
.info-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.info { padding: 24px; background: var(--oat); border-radius: var(--radius); }
.info .ic { width: 30px; height: 30px; color: var(--melon); margin-bottom: 10px; }
.info p { margin: 0; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: stretch; }
.contact-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Forms, cart and checkout */
.form-card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form-card.narrow { max-width: 560px; margin: 0 auto; }
.form-card h2 { font-size: 26px; }
label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
input, textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #D5CCBC; border-radius: 10px; font: 16px "Karla", sans-serif; background: var(--white); }
input:focus, textarea:focus { outline: 2px solid var(--mango); border-color: var(--mango); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-msg { margin: 14px 0 0; font-weight: 700; color: var(--blue); }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.cart-table th { text-align: left; padding: 14px; background: var(--oat); font-size: 14px; }
.cart-table td { padding: 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: contain; background: var(--oat); border-radius: 10px; }
.cart-table input { width: 72px; margin: 0; }
.remove-btn { border: 0; background: none; color: var(--melon-dark); font-weight: 700; cursor: pointer; }
.summary { padding: 26px; background: var(--oat); border-radius: var(--radius); }
.summary h2 { font-size: 24px; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--wicker); }
.summary-line.total { font-weight: 800; font-size: 19px; border-bottom: 0; }
.link-back { display: block; margin-top: 14px; text-align: center; font-weight: 700; color: var(--blue); }
.empty { max-width: 520px; margin: 0 auto; text-align: center; }
.done-ic { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--mango-soft); color: var(--melon-dark); display: flex; align-items: center; justify-content: center; }
.done-ic .ic { width: 34px; height: 34px; }

/* Footer */
.footer { background: var(--night); color: #AFC2CC; padding: 56px 0 0; font-size: 15px; }
.f-top { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.f-brand { max-width: 380px; }
.f-brand img { width: 240px; margin-bottom: 14px; }
.f-contact { list-style: none; margin: 0; padding: 0; }
.f-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.f-contact .ic { color: var(--mango); }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; }
.f-col h3 { color: var(--white); font-size: 18px; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { margin-bottom: 9px; }
.footer a:hover { color: var(--mango); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.f-bottom p { margin: 0; }
.f-bottom span { margin: 0 8px; opacity: .5; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 14px; background: var(--night); color: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: translate(-50%, 200%); visibility: hidden; transition: transform .3s, visibility .3s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--mango); font-weight: 700; white-space: nowrap; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr 1fr; }
  .hero-main { grid-column: 1 / -1; grid-row: 1; }
  .aisle-box ul { display: grid; grid-template-columns: 1fr 1fr; }
  .product-grid, .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .info-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 20px; }
  .menu-btn { display: inline-flex; }
  .topbar-right a:last-child { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .perk-row, .product-grid, .product-grid.three, .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .news, .contact-layout, .cart-layout { grid-template-columns: 1fr; gap: 30px; }
  .steps, .t-grid, .blog-grid { grid-template-columns: 1fr; }
  .f-top { flex-direction: column; }
  .f-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .topbar-in { justify-content: center; text-align: center; }
  .topbar-right { display: none !important; }
  .logo img { width: 190px; }
  .cart-btn .label { display: none; }
  .hero-text { padding: 24px; background: linear-gradient(180deg, rgba(11,34,50,.35) 0%, rgba(11,34,50,.92) 100%); }
  .hero-main { min-height: 420px; }
  .aisle-box ul { grid-template-columns: 1fr; }
  .perk-row, .info-row { grid-template-columns: 1fr; }
  .product-grid, .product-grid.three, .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px; }
  .product h3 { font-size: 15px; }
  .product p { display: none; }
  .add-btn { font-size: 13px; padding: 9px 6px; }
  .deal-band, .news, .cta { padding: 24px 16px; }
  .two, .three { grid-template-columns: 1fr; gap: 0; }
  .row-head { flex-direction: column; align-items: flex-start; }
  .f-bottom { flex-direction: column; }
  .banner h1 { font-size: 32px; }
}
