/* Daily Sale Zone - styles
   Colors and fonts are set here in :root. */
:root {
  --plum: #4A1D5C;
  --plum-dark: #33113F;
  --night: #1E0B26;
  --orange: #FF7A1A;
  --orange-dark: #E05E00;
  --lemon: #FFD23F;
  --lav: #F4ECF8;
  --cream: #FFF8F1;
  --ink: #22142A;
  --muted: #6E5F78;
  --line: #E8DDEE;
  --white: #fff;
  --radius: 18px;
  --head: "Titan One", "Arial Rounded MT Bold", sans-serif;
  --body: "Encode Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic.sm { width: 16px; height: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: var(--white); border: 2px solid var(--orange); padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; font-family: var(--body); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); }
.btn.line { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn.line:hover { background: var(--plum); color: var(--white); }
.btn.dark { background: var(--plum); border-color: var(--plum); }
.btn.dark:hover { background: var(--night); border-color: var(--night); }
.btn.full { width: 100%; }

/* Top bar and header */
.topbar { background: var(--night); color: #E9DDF0; font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.topbar-right { gap: 20px !important; }
.header { background: var(--white); border-bottom: 3px solid var(--orange); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.logo img { width: 230px; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.main-nav a:hover, .main-nav a.on { background: var(--lav); color: var(--plum); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--plum); color: var(--white); padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.cart-count { background: var(--orange); border-radius: 999px; min-width: 24px; height: 24px; display: inline-grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.menu-btn { display: none; background: none; border: 2px solid var(--line); border-radius: 12px; padding: 7px; cursor: pointer; color: var(--plum); }

/* Hero */
.hero { background: var(--cream); padding: 64px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: var(--plum); }
.hero h1 span { color: var(--orange); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; max-width: 470px; }
.week span { text-align: center; padding: 10px 0; border-radius: 12px; background: var(--white); border: 2px solid var(--line); font-weight: 700; font-size: .85rem; color: var(--muted); }
.week span.today { background: var(--plum); border-color: var(--plum); color: var(--lemon); }
.hero-photo { position: relative; }
.hero-photo::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); right: -12%; top: -14%; }
.hero-photo img { position: relative; border-radius: 28px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 6px solid var(--white); box-shadow: 0 20px 40px rgba(51, 17, 63, .18); }
.sun-badge { position: absolute; left: -22px; bottom: -22px; width: 110px; height: 110px; border-radius: 50%; background: var(--lemon); color: var(--plum); display: grid; place-items: center; text-align: center; font-family: var(--head); font-size: .95rem; line-height: 1.15; border: 4px solid var(--white); }

/* Perks */
.perks { background: var(--plum); color: var(--white); }
.perk-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.perk { display: flex; align-items: center; gap: 14px; }
.perk .ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--orange); }
.perk strong { display: block; }
.perk small { color: #DCC8E6; }

/* Sections */
.section { padding: 72px 0; }
.section.tint { background: var(--lav); }
.section.cream { background: var(--cream); }
.section.night { background: var(--night); color: var(--white); }
.sec-title { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--plum); text-align: center; margin-bottom: 36px; }
.sec-title::after { content: ""; display: block; width: 64px; height: 6px; border-radius: 6px; background: var(--orange); margin: 12px auto 0; }
.night .sec-title { color: var(--white); }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.row-head .sec-title { text-align: left; margin: 0; }
.row-head .sec-title::after { margin-left: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-dark); text-decoration: none; }

/* Zones */
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.zone { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 28px 18px; border-radius: var(--radius); border: 2px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.zone:hover { border-color: var(--orange); transform: translateY(-4px); }
.zone-ic { width: 66px; height: 66px; border-radius: 50%; background: var(--lav); color: var(--plum); display: grid; place-items: center; margin-bottom: 8px; }
.zone:hover .zone-ic { background: var(--orange); color: var(--white); }
.zone-ic .ic { width: 30px; height: 30px; }
.zone-num { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); }
.zone strong { font-size: 1.08rem; }
.zone small { color: var(--muted); }

/* Deal of the day */
.deal-day { display: grid; grid-template-columns: 360px 1fr; gap: 44px; align-items: center; background: var(--white); border-radius: 28px; padding: 32px; box-shadow: 0 14px 34px rgba(51, 17, 63, .08); }
.deal-img { background: var(--cream); border-radius: 22px; padding: 20px; }
.deal-img img { aspect-ratio: 1; object-fit: contain; width: 100%; mix-blend-mode: multiply; }
.deal-label { display: inline-flex; align-items: center; gap: 6px; background: var(--lemon); color: var(--plum); font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.deal-info h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--plum); }
.deal-info p { color: var(--muted); font-size: 1.05rem; }
.deal-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.price.big { font-size: 2rem; }

/* Products */
.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-radius: var(--radius); border: 2px solid var(--line); overflow: hidden; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.product:hover { border-color: var(--orange); box-shadow: 0 12px 28px rgba(51, 17, 63, .1); }
.product-img { position: relative; background: #FBF8FC; padding: 14px; }
.product-img img { aspect-ratio: 1; object-fit: contain; width: 100%; mix-blend-mode: multiply; }
.p-tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--orange); color: var(--white); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.p-dept { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark); }
.product h3 { font-family: var(--body); font-weight: 700; font-size: 1.02rem; margin: 4px 0 6px; }
.product p { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--head); color: var(--plum); font-size: 1.3rem; }
.add-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--plum); color: var(--white); border: 0; border-radius: 999px; padding: 9px 14px; font-weight: 700; font-family: var(--body); font-size: .85rem; cursor: pointer; transition: background .2s; }
.add-btn:hover { background: var(--orange); }
.add-btn.added { background: #1E9E63; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-photo img { border-radius: 28px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: 16px 16px 0 var(--orange); }
.split-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--plum); }
.split-text p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.ticks .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--plum); color: var(--lemon); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 34px 24px; border-radius: var(--radius); background: var(--cream); border: 2px dashed #F5C59C; }
.step-num { width: 60px; height: 60px; border-radius: 50%; background: var(--orange); color: var(--white); display: inline-grid; place-items: center; font-family: var(--head); font-size: 1.6rem; margin-bottom: 14px; }
.step h3 { color: var(--plum); font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; border-top: 6px solid var(--orange); }
.stars { display: flex; gap: 2px; color: var(--orange); margin-bottom: 12px; }
.stars .ic { fill: var(--orange); }
.quote blockquote { margin: 0 0 20px; font-size: 1rem; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--plum); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--plum); color: var(--lemon); display: grid; place-items: center; font-size: .9rem; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.post-card img { aspect-ratio: 5 / 3; object-fit: cover; width: 100%; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 20px; gap: 14px; }
.post-body strong { font-size: 1.08rem; }
.read { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--orange-dark); font-weight: 700; }

/* Newsletter */
.news-wrap { padding-top: 0; }
.news { background: var(--orange); color: var(--white); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.news h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 14px 20px; font: inherit; }
.news .form-msg { color: var(--white); }

/* Inner pages */
.banner { background: var(--plum); color: var(--white); padding: 52px 0; text-align: center; border-bottom: 6px solid var(--orange); }
.banner h1 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.chip-bar { padding: 22px 0; background: var(--lav); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chips a { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 2px solid var(--line); text-decoration: none; color: var(--plum); font-weight: 600; font-size: .9rem; }
.chips a:hover, .chips a.on { background: var(--plum); border-color: var(--plum); color: var(--white); }
.shop-group + .shop-group { padding-top: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: var(--white); border-radius: var(--radius); padding: 30px; text-align: center; }
.value .ic { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--orange); color: var(--white); margin-bottom: 12px; }
.value h3 { color: var(--plum); }
.value p { color: var(--muted); margin: 0; }
.info-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.info { text-align: center; padding: 28px 18px; border: 2px solid var(--line); border-radius: var(--radius); }
.info .ic { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--lav); color: var(--plum); margin-bottom: 10px; }
.info h3 { color: var(--plum); font-size: 1.15rem; margin-bottom: 4px; }
.info p, .info a { margin: 0; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 2px solid var(--line); }
.form-card.center { text-align: left; max-width: 520px; margin: 0 auto; }
.form-card h2 { color: var(--plum); font-size: 1.4rem; }
form label { display: block; font-weight: 600; margin-bottom: 14px; font-size: .92rem; }
form input, form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; background: var(--white); }
form input:focus, form textarea:focus { outline: none; border-color: var(--orange); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { font-weight: 700; color: #1E7F52; margin: 12px 0 0; }
.form-msg:empty { display: none; }
.article { font-size: 1.05rem; }
.article-img { border-radius: 24px; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; margin-bottom: 28px; }
.article h2 { color: var(--plum); font-size: 1.4rem; margin-top: 28px; }
.article .lead { font-size: 1.15rem; }

/* Cart and checkout */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.table-wrap { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .85rem; color: var(--muted); padding: 10px; border-bottom: 2px solid var(--line); }
.cart-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table img { width: 70px; height: 70px; object-fit: contain; background: #FBF8FC; border-radius: 12px; }
.cart-table input { width: 70px; padding: 8px; border: 2px solid var(--line); border-radius: 10px; font: inherit; }
.remove-btn { background: none; border: 0; color: #C0392B; font-weight: 700; cursor: pointer; font-family: var(--body); }
.summary { background: var(--lav); border-radius: var(--radius); padding: 26px; }
.summary h2 { color: var(--plum); font-size: 1.35rem; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #D3C2DE; }
.summary-line.total { font-weight: 700; font-size: 1.15rem; border-bottom: 0; }
.note { color: var(--muted); font-size: .88rem; }
.empty { text-align: center; padding: 40px 0; }
.empty p { font-size: 1.1rem; }

/* Footer */
.footer { background: var(--night); color: #D9CBE1; }
.footer a { color: #D9CBE1; text-decoration: none; }
.footer a:hover { color: var(--lemon); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 28px; border-bottom: 1px solid #3B2546; }
.footer-top img { width: 220px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-contact span, .footer-contact a { display: inline-flex; align-items: center; gap: 6px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 34px; padding-bottom: 30px; }
.footer h4 { color: var(--white); font-size: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid #3B2546; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 18px; }

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

/* Responsive */
@media (max-width: 1000px) {
  .zone-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.three { grid-template-columns: repeat(2, 1fr); }
  .perk-row, .info-row { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .split, .deal-day, .news { grid-template-columns: 1fr; }
  .deal-img { max-width: 360px; }
  .hero-photo { max-width: 620px; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 3px solid var(--orange); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 16px; }
  .header { position: sticky; }
  .header-in { position: relative; }
  .steps, .quotes, .post-grid, .values { grid-template-columns: 1fr; }
  .topbar-right a:last-child { display: none; }
}
@media (max-width: 600px) {
  .logo img { width: 170px; }
  .cart-btn .label { display: none; }
  .topbar-in { justify-content: center; }
  .topbar-right { display: none !important; }
  .perk-row, .info-row, .footer-cols, .two { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .zone { padding: 20px 10px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .chips a { font-size: .82rem; padding: 8px 10px; }
  .product-grid, .product-grid.three { grid-template-columns: 1fr; }
  .row-head { flex-direction: column; align-items: flex-start; }
  .section { padding: 52px 0; }
  .news { padding: 28px; }
  .inline-form { flex-direction: column; }
  .deal-day { padding: 20px; }
  .sun-badge { left: 10px; bottom: -18px; width: 90px; height: 90px; font-size: .8rem; }
  .hero-photo::before { right: -20%; }
}
