/* 1. Brand tokens and foundations. Change these colours to restyle the store. */
:root {
  --cream:#fbf5eb;
  --paper:#fffaf3;
  --terracotta:#a34f38;
  --terracotta-dark:#803b2a;
  --ink:#302d2b;
  --muted:#746860;
  --line:#e3d5c8;
  --sand:#efe1d2;
  --serif:'Libre Caslon Display',Georgia,serif;
  --sans:'DM Sans',Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:100px;
}

body {
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
}

h1,h2,h3,p,figure {
  margin:0;
}

h1,h2 {
  font-family:var(--serif);
  font-weight:400;
  line-height:1.04;
  letter-spacing:-.035em;
}

h1 {
  font-size:clamp(3.4rem,7vw,6.5rem);
}

h2 {
  font-size:clamp(2.5rem,4.3vw,4rem);
}

h3 {
  font-size:1.1rem;
  font-weight:500;
  margin-bottom:10px;
}

p {
  margin:16px 0;
  color:var(--muted);
}

em {
  font-weight:400;
  color:var(--terracotta);
}

a {
  color:inherit;
  text-decoration:none;
}

button,input,select,textarea {
  font:inherit;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
  color:inherit;
}

img {
  display:block;
  max-width:100%;
  height:auto;
}

button,input,select {
  min-height:44px;
}

button {
  border:0;
  background:none;
}

a,button {
  touch-action:manipulation;
}

button,a {
  transition:color .2s,background .2s,transform .2s;
}

a:hover {
  color:var(--terracotta);
}

:focus-visible {
  outline:3px solid #a34f38;
  outline-offset:4px;
}

[hidden] {
  display:none!important;
}

.skip-link {
  position:absolute;
  top:-80px;
  left:10px;
  background:var(--paper);
  padding:12px;
  z-index:100;
}

.skip-link:focus {
  top:10px;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:36px;
  background:var(--terracotta);
  color:#fff;
  min-height:52px;
  padding:14px 25px;
  font-weight:500;
  font-size:14px;
  border:1px solid var(--terracotta);
}

.button:hover {
  background:var(--terracotta-dark);
  color:#fff;
  transform:translateY(-2px);
}

.button.secondary {
  background:transparent;
  color:var(--terracotta);
}

.text-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:4px 0;
  border-bottom:1px solid var(--terracotta);
  font-size:14px;
  gap:20px;
}

.eyebrow {
  font-size:11px;
  letter-spacing:.18em;
  font-weight:600;
  color:var(--terracotta);
  margin:0 0 22px;
}

.caption {
  font-size:12px;
  color:var(--muted);
}

.section {
  padding:56px 22px;
  max-width:1440px;
  margin:auto;
}

.narrow {
  max-width:820px;
}

.page-intro {
  padding:50px 22px 22px;
  text-align:center;
}

.page-intro p {
  max-width:530px;
  margin:18px auto;
}

.page-intro .eyebrow {
  margin-bottom:18px;
}

.notice {
  background:var(--sand);
  padding:16px;
  font-size:14px;
  border-left:3px solid var(--terracotta);
}

/* 2. Shared navigation and footer. Mobile menu stays in document flow. */
.announcement {
  background:var(--terracotta);
  color:#fff;
  text-align:center;
  font-size:11px;
  letter-spacing:.13em;
  padding:8px 16px;
}

.header {
  position:relative;
  padding:18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:16px;
  background:var(--cream);
  z-index:10;
}

.logo {
  font-family:var(--serif);
  font-size:43px;
  line-height:.9;
  letter-spacing:-.06em;
  display:inline-block;
}

.logo span {
  display:block;
  font-family:var(--sans);
  font-size:7px;
  letter-spacing:.2em;
  line-height:1.5;
  margin-top:7px;
}

.header nav {
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:100%;
  background:var(--cream);
  padding:16px 22px;
  border-bottom:1px solid var(--line);
}

.header nav.open {
  display:grid;
}

.header nav a {
  padding:12px 0;
  font-size:14px;
}

.header nav a[aria-current=page] {
  text-decoration:underline;
  text-underline-offset:6px;
}

.header-actions {
  display:flex;
  gap:15px;
  align-items:center;
}

.cart-link {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  font-size:13px;
}

.cart-link span {
  border:1px solid var(--line);
  border-radius:50%;
  min-width:24px;
  height:24px;
  text-align:center;
  font-size:11px;
  line-height:22px;
}

.menu-toggle {
  font-size:24px;
  width:44px;
  padding:0;
}

.whatsapp-float {
  position:fixed;
  bottom:18px;
  right:18px;
  z-index:30;
  display:flex;
  align-items:center;
  gap:9px;
  background:var(--terracotta-dark);
  color:white;
  padding:12px;
  border:1px solid #fbf5eb66;
  border-radius:50%;
  box-shadow:0 4px 20px #302d2b25;
}

.whatsapp-float svg {
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
}

.whatsapp-float span {
  display:none;
}

.toast {
  position:fixed;
  bottom:88px;
  left:22px;
  right:22px;
  margin:auto;
  max-width:480px;
  background:var(--ink);
  color:white;
  padding:16px 22px;
  font-size:14px;
  z-index:40;
  box-shadow:0 6px 30px #0002;
  opacity:0;
  transform:translateY(10px);
  transition:.2s;
  pointer-events:none;
}

.toast.visible {
  opacity:1;
  transform:translateY(0);
}

footer {
  padding:48px 22px 90px;
  background:#f0e3d5;
  border-top:1px solid var(--line);
}

.footer-top {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px 20px;
  max-width:1280px;
  margin:auto;
}

.footer-top>div:first-child,.footer-top>div:last-child {
  grid-column:1/-1;
}

.footer-top p,.footer-top a:not(.logo) {
  font-size:13px;
}

.footer-top h3 {
  font-size:13px;
}

.footer-top a:not(.logo) {
  display:block;
  min-height:36px;
  padding:5px 0;
}

.footer-bottom {
  max-width:1280px;
  margin:40px auto 0;
  border-top:1px solid #dbc7b6;
  padding-top:22px;
  font-size:11px;
  color:var(--muted);
  display:flex;
  gap:16px;
  justify-content:space-between;
}

/* 3. Home: editorial hero, collection, story and community. */
.hero {
  display:grid;
  max-width:1600px;
  margin:auto;
}

.hero-copy {
  padding:48px 22px 32px;
}

.hero-copy>.eyebrow {
  font-size:10px;
}

.hero-copy>p:not(.eyebrow) {
  max-width:310px;
  margin:22px 0 27px;
  font-size:15px;
}

.hero-note {
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-top:35px;
  font-size:10px;
  letter-spacing:.05em;
  color:var(--muted);
}

.hero-image {
  position:relative;
  overflow:hidden;
}

.hero-image>img {
  width:100%;
  height:100%;
  min-height:370px;
  object-fit:cover;
}

.hero-image figcaption {
  position:absolute;
  left:20px;
  right:20px;
  bottom:18px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:9px;
  letter-spacing:.08em;
  color:#38302b;
}

.hero-image figcaption span {
  letter-spacing:0;
}

.values-strip {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px 28px;
  padding:22px;
  background:#f5e9dc;
  border-bottom:1px solid var(--line);
  font-size:11px;
  color:var(--terracotta);
}

.values-strip span:before {
  content:'✳';
  margin-right:10px;
}

.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  margin-bottom:30px;
}

.section-heading .eyebrow {
  margin-bottom:12px;
}

.product-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:27px 14px;
}

.product-card {
  min-width:0;
}

.product-image {
  display:block;
  overflow:hidden;
  background:var(--sand);
  position:relative;
}

.product-image img {
  width:100%;
  aspect-ratio:6/7;
  object-fit:cover;
  transition:transform .6s;
}

.product-card:hover img {
  transform:scale(1.035);
}

.product-info {
  padding-top:12px;
  position:relative;
}

.product-info .category {
  font-size:9px;
  letter-spacing:.14em;
  color:var(--muted);
  text-transform:uppercase;
}

.product-info h3 {
  font-family:var(--serif);
  font-size:21px;
  line-height:1.2;
  margin:5px 0;
}

.product-info .price {
  font-size:13px;
  margin:4px 0;
  color:var(--ink);
}

.product-info .quick-add {
  min-height:44px;
  font-size:11px;
  padding:5px 0;
  text-decoration:underline;
  text-underline-offset:5px;
}

.story-band {
  display:grid;
  gap:35px;
  background:var(--sand);
  padding:35px 22px;
}

.story-art {
  overflow:hidden;
}

.story-art img {
  width:100%;
  max-height:500px;
  object-fit:cover;
}

.story-band>div:last-child {
  align-self:center;
  max-width:470px;
}

.story-band p {
  font-size:15px;
}

.three-columns {
  display:grid;
  gap:32px;
  margin-top:38px;
}

.feature-number {
  font-family:var(--serif);
  font-size:30px;
  color:#a34f38;
  display:block;
  border-bottom:1px solid var(--line);
  padding-bottom:12px;
  margin-bottom:20px;
}

.three-columns p {
  font-size:14px;
}

.community {
  text-align:center;
  padding:65px 22px;
  background:#f5e9de;
}

.community p:not(.eyebrow) {
  font-size:14px;
}

.community h2 {
  max-width:700px;
  margin:auto;
}

/* 4. Catalogue and product details. */
.shop-section {
  padding-top:25px;
}

.shop-tools {
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  padding:18px 0;
  border-block:1px solid var(--line);
}

.filter-group {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.filter-group button {
  font-size:12px;
  padding:9px 12px;
  border:1px solid transparent;
}

.filter-group button[aria-pressed=true] {
  background:var(--terracotta);
  color:#fff;
}

.sort-label {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
}

select {
  background:transparent;
  border:1px solid var(--line);
  padding:8px;
  color:var(--ink);
  max-width:100%;
}

.breadcrumb {
  display:flex;
  gap:8px;
  font-size:12px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.product-layout {
  display:grid;
  gap:30px;
}

.product-visual img {
  width:100%;
}

.product-copy {
  align-self:center;
}

.product-copy h1 {
  font-size:clamp(3rem,5vw,5rem);
}

.product-price {
  font-size:23px;
  color:var(--terracotta);
  margin:15px 0;
}

.product-specs {
  border-block:1px solid var(--line);
  padding:16px 0;
  margin:22px 0;
  font-size:14px;
}

.product-specs div {
  display:grid;
  grid-template-columns:90px 1fr;
  gap:10px;
  padding:6px 0;
}

.product-specs dt {
  color:var(--muted);
}

.product-specs dd {
  margin:0;
}

.quantity {
  display:inline-flex;
  border:1px solid var(--line);
  align-items:center;
}

.quantity button {
  width:44px;
}

.quantity input {
  width:42px;
  border:0;
  text-align:center;
  padding:0;
  background:transparent;
  -moz-appearance:textfield;
}

.quantity input::-webkit-inner-spin-button {
  -webkit-appearance:none;
}

.add-row {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.add-row .button {
  flex:1;
}

.product-notes {
  margin-top:50px;
  display:grid;
  gap:30px;
}

.product-notes details {
  border-block:1px solid var(--line);
  padding:18px 0;
}

.product-notes summary {
  cursor:pointer;
  min-height:44px;
  display:flex;
  align-items:center;
  font-size:16px;
}

.product-notes summary:after {
  content:'+';
  margin-left:auto;
}

.product-notes details[open] summary:after {
  content:'−';
}

.product-notes p {
  font-size:14px;
}

.related {
  margin-top:60px;
}

.related h2 {
  margin-bottom:25px;
}

/* 5. Shopping bag, checkout and contact forms. */
.cart-layout {
  display:grid;
  gap:35px;
  padding-top:20px;
}

.cart-row {
  display:grid;
  grid-template-columns:90px 1fr;
  gap:16px;
  padding:24px 0;
  border-bottom:1px solid var(--line);
  align-items:start;
}

.cart-row img {
  width:90px;
}

.cart-row h3 {
  font-family:var(--serif);
  font-size:24px;
  margin:0;
}

.cart-row p {
  font-size:13px;
  margin:6px 0;
}

.cart-row-controls {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:12px;
}

.remove-item {
  font-size:12px;
  text-decoration:underline;
  min-height:44px;
}

.row-total {
  font-weight:500;
  font-size:15px;
}

.summary-box {
  background:var(--sand);
  padding:26px;
}

.summary-box h2 {
  font-size:32px;
  margin-bottom:25px;
}

.summary-line {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin:13px 0;
  font-size:14px;
}

.summary-total {
  border-top:1px solid #d8bfac;
  padding-top:16px;
  margin-top:20px;
  font-size:20px;
}

.summary-box .button {
  width:100%;
  margin-top:15px;
}

.empty-state {
  padding:30px 0 70px;
}

.empty-state h2 {
  margin-bottom:15px;
}

.checkout-section,.contact-layout {
  display:grid;
  gap:38px;
}

.checkout-section {
  border-top:1px solid var(--line);
}

form {
  display:flex;
  flex-direction:column;
  gap:8px;
}

form label {
  font-size:14px;
  margin-top:12px;
}

input,textarea {
  border:1px solid #cbb6a5;
  background:var(--paper);
  border-radius:0;
  padding:12px;
  color:var(--ink);
  width:100%;
  min-width:0;
}

textarea {
  resize:vertical;
}

form .button {
  margin-top:15px;
}

form .caption {
  margin:8px 0;
}

form .caption a {
  text-decoration:underline;
}

.form-status {
  font-size:14px;
  margin:4px 0;
}

.upi-panel {
  border-top:1px solid var(--line);
  padding-top:25px;
  margin-top:30px;
}

.upi-panel p {
  font-size:14px;
}

.upi-panel img {
  margin:20px 0;
}

.contact-layout>div p {
  max-width:360px;
}

.contact-layout>div h3 {
  margin-top:25px;
}

.narrow article {
  margin-bottom:40px;
}

.narrow article h2 {
  font-size:34px;
}

#contact-email,#upi-id {
  overflow-wrap:anywhere;
}

/* 6. Larger screens. Mobile styles above are the default. */
@media(min-width:700px) {
  .section {
    padding:72px 40px;
  }

  .header {
    padding:22px 40px;
  }

  .hero-copy {
    padding:60px 40px;
  }

  .hero {
    grid-template-columns:1fr 1fr;
  }

  .hero h1 {
    font-size:clamp(4rem,7.5vw,7.5rem);
  }

  .hero-image img {
    min-height:620px;
  }

  .hero-note {
    margin-top:50px;
  }

  .product-grid {
    gap:32px 22px;
  }

  .story-band {
    grid-template-columns:1fr 1fr;
    padding:55px 60px;
    gap:65px;
  }

  .three-columns {
    grid-template-columns:repeat(3,1fr);
    gap:35px;
  }

  .footer-top {
    grid-template-columns:1.2fr 1fr 1fr 1.2fr;
  }

  .footer-top>div:first-child,.footer-top>div:last-child {
    grid-column:auto;
  }

  footer {
    padding:60px 40px 30px;
  }

  .product-layout {
    grid-template-columns:1.1fr 1fr;
    gap:45px;
  }

  .product-notes {
    grid-template-columns:1fr 1fr;
    gap:45px;
  }

  .cart-layout {
    grid-template-columns:1.4fr 1fr;
  }

  .checkout-section,.contact-layout {
    grid-template-columns:1fr 1fr;
    gap:65px;
  }

  .page-intro {
    padding-top:70px;
  }

  .whatsapp-float {
    border-radius:30px;
    padding:12px 18px;
  }

  .whatsapp-float span {
    display:inline;
    font-size:12px;
  }

  .cart-row {
    grid-template-columns:100px 1fr;
  }

  .cart-row img {
    width:100px;
  }

}

@media(min-width:1000px) {
  .header nav {
    display:flex;
    position:static;
    gap:35px;
    padding:0;
    border:0;
  }

  .header nav a {
    font-size:12px;
  }

  .menu-toggle {
    display:none;
  }

  .header {
    padding:23px 5%;
  }

  .hero-copy {
    padding:70px 12%;
  }

  .hero-image img {
    max-height:800px;
  }

  .section {
    padding:85px 5%;
  }

  .product-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .hero-note {
    margin-top:65px;
  }

  .values-strip {
    gap:100px;
  }

  .story-band {
    padding:65px 12%;
    gap:100px;
  }

  .community {
    padding:90px 22px;
  }

  .product-info h3 {
    font-size:25px;
  }

  .product-info .quick-add {
    font-size:12px;
  }

  .cart-layout {
    grid-template-columns:1.6fr 1fr;
  }

  .product-copy {
    padding:15px;
  }

  .page-intro h1 {
    font-size:5.5rem;
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }

  *,*:before,*:after {
    transition:none!important;
    animation:none!important;
  }

}
