/* Craftella storefront refresh: warm editorial typography, clearer shopping flow, and restrained motion. */
:root {
  --ink: #1b315d;
  --blue: #1c3978;
  --blue-hover: #142b5c;
  --cream: #fbf8f2;
  --cream-soft: #f4eee4;
  --card-bg: #fffefa;
  --yellow: #f1c764;
  --yellow-hover: #e5b54b;
  --yellow-soft: #fff5dc;
  --pink: #f3dfe0;
  --terracotta: #ae573f;
  --muted: #5c687b;
  --muted-light: #7c8798;
  --line: #e7dfd1;
  --line-light: #f0e9df;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Trebuchet MS', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.22, .75, .18, 1);
  --ease-enter: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 3px 12px rgba(27, 49, 93, .045);
  --shadow-card: 0 12px 32px rgba(27, 49, 93, .09);
  --shadow-hover: 0 20px 46px rgba(27, 49, 93, .14);
  --shadow-modal: 0 28px 90px rgba(20, 35, 67, .24);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --motion-fast: 180ms;
  --motion-mid: 320ms;
  --motion-long: 680ms;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-color: #b8c1d1 #f4eee4;
}

body {
  background:
    radial-gradient(ellipse at 7% 3%, rgba(243, 223, 224, .34), transparent 28rem),
    radial-gradient(ellipse at 95% 16%, rgba(241, 199, 100, .12), transparent 30rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -.012em;
}

h1, h2, h3, h4,
.wordmark-text,
.photo-caption,
.small-photo span,
.lead,
.story-label,
summary {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 25, "WONK" 1;
}

h1, h2, h3, h4 {
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.35rem, 6.6vw, 6.6rem);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 600;
}

h2 {
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  line-height: 1.17;
  letter-spacing: -.035em;
  font-weight: 600;
}

p {
  text-wrap: pretty;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #b2533d;
  outline-offset: 4px;
  border-radius: 8px;
}

::selection {
  background: #e7c76f;
  color: #172b52;
}

.wrap {
  width: min(1320px, calc(100% - 88px));
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.45;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.announcement {
  min-height: 36px;
  padding: 8px 16px;
  background: #481b2b;
  color: #fff8ed;
  font-size: clamp(.66rem, .9vw, .76rem);
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.announcement-star {
  color: var(--yellow);
  vertical-align: -1px;
}

.header {
  height: 82px;
  padding-inline: clamp(22px, 4vw, 64px);
  gap: 0;
  border-bottom: 1px solid rgba(219, 210, 195, .7);
  background: rgba(251, 248, 242, .88);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: box-shadow var(--motion-mid) var(--ease), background var(--motion-mid) ease;
}

.page-scrolled .header {
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 10px 30px rgba(27, 49, 93, .075);
}

.scroll-progress {
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #b75e49 68%, var(--yellow));
}

.wordmark {
  gap: 10px;
  margin-right: clamp(20px, 3.5vw, 56px);
  flex-shrink: 0;
}

.wordmark .brand-icon {
  width: 46px;
  height: 46px;
  padding: 2px;
  object-fit: contain;
  transform: none;
  transition: none;
}

.wordmark:hover .brand-icon {
  transform: none;
}

.wordmark-text {
  color: var(--ink);
  font-size: clamp(1.8rem, 2.3vw, 2.18rem);
  font-weight: 650;
  letter-spacing: -.065em;
}

.brand-star {
  color: var(--terracotta);
}

.header nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(14px, 2.3vw, 34px);
  margin: 0;
  font-size: .84rem;
  font-weight: 650;
  letter-spacing: -.01em;
}

.header nav a {
  padding: 10px 1px;
  white-space: nowrap;
  transition: color var(--motion-fast) ease;
}

.header nav a:hover,
.header nav a[aria-current] {
  color: var(--terracotta);
}

.header nav a[aria-current]::after {
  height: 2px;
  bottom: 4px;
  background: var(--terracotta);
  transform: scaleX(1);
}

.header nav a:not(.festive-nav)::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  width: auto;
  height: 2px;
  border-radius: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}

.header nav a:not(.festive-nav):hover::after {
  transform: scaleX(1);
}

.festive-nav {
  padding: 8px 13px !important;
  border: 1px solid #ead7b1 !important;
  border-radius: 999px !important;
  background: #fbf0d8 !important;
  color: #704126 !important;
  font-size: .78rem;
  transition: background var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-fast) var(--ease) !important;
}

.festive-nav:hover {
  background: #f5e5c3 !important;
  border-color: #dfc590 !important;
  transform: translateY(-1px);
  box-shadow: none;
}

.festive-nav::after {
  display: none !important;
}

.header-actions {
  gap: 9px;
  margin-left: clamp(14px, 2.2vw, 30px);
}

.header-note {
  padding: 10px 16px;
  border: 1px solid #cfc5b1;
  border-radius: 999px;
  background: rgba(255, 254, 250, .72);
  color: var(--ink);
  font-size: .78rem;
  white-space: nowrap;
  transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast) var(--ease);
}

.header-note:hover {
  transform: translateY(-1px);
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.cart-toggle {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #d9d0c1;
  border-radius: 999px;
  background: #fffefa;
  box-shadow: none;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
}

.cart-toggle:hover {
  transform: translateY(-1px);
  border-color: #b8c2d6;
  background: #eef2f8;
  box-shadow: 0 7px 18px rgba(27, 49, 93, .08);
}

.cart-badge {
  min-width: 19px;
  height: 19px;
  background: var(--terracotta);
  font-size: .67rem;
}

.header-user-profile {
  min-height: 42px;
  padding: 5px 10px 5px 5px;
  border: 1px solid #e0d8ca;
  border-radius: 999px;
  background: #fffefa;
  box-shadow: none;
  gap: 8px;
}

.header-user-profile.is-guest,
.header-user-profile.is-guest:hover {
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.header-btn-login {
  display: inline-flex;
  min-width: 105px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(28, 57, 120, .16);
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  transition: background var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) var(--ease);
}

.header-btn-login svg {
  flex: 0 0 auto;
}

.header-btn-login:hover {
  transform: translateY(-1px);
  border-color: var(--blue-hover);
  background: var(--blue-hover);
  box-shadow: 0 10px 22px rgba(28, 57, 120, .2);
}

.header-btn-login:active {
  transform: translateY(0) scale(.98);
}

.header-user-profile:hover {
  transform: translateY(-1px);
  background: #f3efe7;
  box-shadow: none;
}

.header-user-avatar {
  width: 30px;
  height: 30px;
  border: 1px solid #e6ddcc;
}

.header-user-name {
  font-size: .75rem;
}

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  border-color: #d8cdbb;
  background: transparent;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
}

.menu-toggle:hover {
  border-color: var(--blue);
  background: #eef2f8;
}

.button,
.btn-razorpay-pay,
.btn-checkout-trigger,
.btn-whatsapp-confirm,
.btn-close-success,
.btn-google-signin,
.card-cart-btn,
.card-buy-btn,
.buy-now-btn-modal,
.add-cart-btn-modal {
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.01em;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button {
  min-height: 52px;
  padding: 13px 24px;
  background: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 0 8px 20px rgba(28, 57, 120, .16);
  font-size: .88rem;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 12px 25px rgba(28, 57, 120, .2);
}

.button:active,
.btn-razorpay-pay:active,
.card-cart-btn:active,
.card-buy-btn:active {
  transform: translateY(0) scale(.985);
}

.button.light {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #26314a;
  box-shadow: 0 8px 20px rgba(167, 120, 20, .16);
}

.button.light:hover {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
}

.hero {
  width: min(1380px, calc(100% - 88px));
  min-height: min(700px, calc(100svh - 120px));
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 5vw, 78px);
  padding-block: clamp(42px, 5.7vw, 86px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(4.2rem, 7.2vw, 7.2rem);
  line-height: .93;
  letter-spacing: -.07em;
}

.hero-copy h1 em {
  color: #28457f;
  font-weight: 600;
}

.hero-copy h1 em::after {
  height: .15em;
  bottom: .02em;
  right: -4px;
  border-radius: 999px;
  background: #f1ca6a;
  transform: rotate(-1.6deg);
}

.hero-copy > p {
  max-width: 430px;
  margin-top: 24px;
  color: #58667b;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}

.hero-copy > .button {
  margin-top: 28px;
}

.hero-bottom {
  gap: 13px;
  margin-top: 32px;
  color: #637087;
  font-size: .78rem;
}

.mini-star {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #eadcc0;
  border-radius: 50%;
  background: #fff8e8;
  font-size: 1.6rem;
}

.hero-art {
  width: min(100%, 610px);
  height: clamp(430px, 42vw, 570px);
  margin-inline: auto 10px;
}

.hero-photo {
  top: 1%;
  right: 6%;
  width: 77%;
  height: 92%;
  border: 7px solid rgba(255, 254, 250, .92);
  border-radius: 46% 46% 25px 25px;
  background: #ede4d6;
  box-shadow: 0 28px 56px rgba(49, 42, 31, .14);
  transform: rotate(2.2deg);
}

.hero-photo > img {
  border-radius: inherit;
}

.photo-caption {
  bottom: 16px;
  left: 7%;
  width: 86%;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  background: rgba(255, 253, 248, .88);
  color: #24334f;
  font-size: 1.04rem;
  backdrop-filter: blur(10px);
}

.small-photo {
  left: 0;
  bottom: 1%;
  width: 34%;
  padding: 9px 9px 12px;
  border: 1px solid rgba(219, 210, 195, .8);
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 17px 40px rgba(41, 41, 47, .17);
  transform: rotate(-4deg);
}

.small-photo img {
  border-radius: 11px;
}

.small-photo span {
  margin-top: 7px;
  color: var(--ink);
  font-size: .83rem;
}

.seal {
  top: 6%;
  right: 0;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(28, 57, 120, .55);
  outline: 5px solid rgba(241, 199, 100, .22);
  background: #f1c764;
  box-shadow: 0 9px 24px rgba(145, 104, 21, .18);
  font-size: .64rem;
}

.seal i {
  font-size: 1.55rem;
}

.art-star {
  right: -1%;
  bottom: 3%;
  font-size: 3.6rem;
  color: #b45643;
}

.ribbon {
  min-height: 60px;
  flex-wrap: wrap;
  gap: 14px clamp(14px, 3vw, 40px);
  padding: 15px 24px;
  border-top: 1px solid rgba(27, 49, 93, .14);
  border-bottom: 1px solid rgba(27, 49, 93, .14);
  background: #f0cd78;
  color: #28334b;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .015em;
}

.ribbon-star {
  color: #a84e3e;
}

.trust-strip {
  padding-block: 36px;
  border-bottom-color: #eee7dd;
  background: rgba(255, 254, 250, .72);
}

.trust-grid {
  gap: 12px;
}

.trust-item {
  padding: 14px 18px;
}

.trust-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 13px;
  border: 1px solid #e8dfce;
  border-radius: 50%;
  background: #fffaf0;
  color: #294678;
}

.trust-item h4 {
  margin-bottom: 6px;
  font-size: 1.22rem;
}

.trust-item p {
  max-width: 250px;
  margin-inline: auto;
  font-size: .78rem;
  line-height: 1.58;
}

.section-heading {
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 790px;
  font-size: clamp(2.25rem, 4vw, 3.85rem);
}

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

.section-aside {
  max-width: 260px;
  color: #6b7586;
  font-size: .82rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #243e72;
  font-size: .83rem;
  font-weight: 750;
  text-decoration-color: rgba(36, 62, 114, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease, gap 180ms var(--ease);
}

.text-link:hover {
  gap: 12px;
  color: #a84e3e;
  text-decoration-color: currentColor;
}

.category-grid {
  gap: clamp(14px, 2vw, 26px);
}

.category > div {
  overflow: hidden;
  border: 1px solid #e7dfd1;
  border-radius: 24px;
  background: #f0e9dd;
  box-shadow: 0 6px 18px rgba(27, 49, 93, .05);
}

.category img {
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  transition: transform 780ms var(--ease-enter), filter 500ms ease;
}

.category:hover img {
  filter: saturate(1.04);
}

.category h3 {
  margin-top: 16px;
  font-size: clamp(1.15rem, 1.7vw, 1.48rem);
  transition: color 220ms ease;
}

.category p {
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
}

.featured {
  border-block: 1px solid #e1e7ef;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(245, 220, 206, .46), transparent 26rem),
    #f1f4f8;
}

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

.product-card,
.diwali-card {
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #e8e2d8;
  border-radius: 23px;
  background: #fffefa;
  box-shadow: 0 5px 18px rgba(27, 49, 93, .045);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease), border-color 260ms ease;
  will-change: auto;
}

.product-card::after,
.diwali-card::after {
  display: none !important;
}

.product-card:hover,
.diwali-card:hover {
  transform: translateY(-6px);
  border-color: #d3c9b9;
  box-shadow: 0 20px 38px rgba(27, 49, 93, .11);
}

.product-image,
.diwali-image {
  overflow: hidden;
  border-radius: 16px;
  background: #f2ede4;
}

.product-image img,
.diwali-image > img {
  aspect-ratio: 4 / 4.75;
  object-fit: cover;
  transition: transform 760ms var(--ease-enter), filter 500ms ease;
}

.product-card:hover .product-image img,
.diwali-card:hover .diwali-image > img {
  transform: scale(1.055);
  filter: saturate(1.045);
}

.quick-view {
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background: rgba(255, 254, 250, .88);
  color: var(--ink);
  font-size: .72rem;
  backdrop-filter: blur(12px);
}

.product-image:focus-visible .quick-view,
.product-image:hover .quick-view {
  opacity: 1;
  transform: translateY(0);
}

.product-category,
.diwali-card-copy .eyebrow {
  margin: 15px 2px 6px;
  color: #7d6870;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.product-title h3,
.diwali-card h3 button,
.diwali-product-title {
  color: #24334f;
  font-size: clamp(1.03rem, 1.34vw, 1.28rem);
  line-height: 1.18;
  transition: color 220ms ease;
}

.product-card:hover .product-title h3,
.diwali-card:hover h3 button,
.diwali-card:hover .diwali-product-title {
  color: #9f4a3a;
}

.product-price,
.diwali-card .product-price {
  margin: 9px 2px 14px;
  color: #1b315d;
  font-family: var(--sans);
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

.product-price span {
  color: #7a8290;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: 0;
}

.card-action-row {
  gap: 7px;
  padding: 0 1px 1px;
}

.card-cart-btn,
.card-buy-btn {
  min-height: 41px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: .72rem;
  box-shadow: none;
}

.card-cart-btn {
  border: 1px solid #dcd4c7;
  background: #fffefa;
}

.card-cart-btn:hover {
  transform: translateY(-1px);
  border-color: #c1cad8;
  background: #edf1f7;
  box-shadow: none;
}

.card-buy-btn {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
}

.card-buy-btn:hover {
  transform: translateY(-1px);
  border-color: var(--blue-hover);
  background: var(--blue-hover);
  box-shadow: 0 7px 16px rgba(28, 57, 120, .15);
}

.card-buy-btn svg,
.card-cart-btn .cart-btn-icon {
  width: 14px;
  height: 14px;
}

.experimental-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border: 1px solid #ead9a9;
  border-radius: 999px;
  background: #fff8df;
  color: #795718;
  font-size: .65rem;
}

.story {
  gap: clamp(44px, 7vw, 100px);
}

.story-image {
  overflow: hidden;
  border: 8px solid rgba(255, 254, 250, .92);
  border-radius: 34px 34px 110px 34px;
  background: #eee5d7;
  box-shadow: 0 24px 55px rgba(27, 49, 93, .12);
}

.story-image img {
  border-radius: 22px 22px 94px 22px;
}

.story-label {
  right: -14px;
  bottom: 26px;
  padding: 17px 23px;
  border: 1px solid #e5dbca;
  border-radius: 19px 19px 4px 19px;
  background: #fffefa;
  box-shadow: 0 9px 25px rgba(27, 49, 93, .11);
  color: var(--ink);
  font-size: 1.2rem;
}

.story-copy h2 {
  font-size: clamp(2.6rem, 4.4vw, 4.35rem);
}

.story-copy p,
.about-story p:not(.lead) {
  max-width: 58ch;
  color: #5c687b;
  font-size: .98rem;
  line-height: 1.8;
}

.lead {
  color: #294477;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.3;
}

.team-grid article,
.contact-route,
.contact-card {
  border: 1px solid #e6ded0;
  border-radius: 24px;
  background: #fffefa;
  box-shadow: 0 8px 24px rgba(27, 49, 93, .055);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 240ms ease;
}

.team-grid article:hover,
.contact-route:hover {
  transform: translateY(-4px);
  border-color: #d8cbbb;
  box-shadow: 0 18px 40px rgba(27, 49, 93, .095);
}

.contact-route:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: min(100%, calc(50% - 11px));
  justify-self: center;
}

.person-initial {
  border: 1px solid rgba(28, 57, 120, .1);
  background: #e9eef6;
  color: var(--blue);
}

.person-initial.yellow {
  background: #fff2d2;
  color: #604517;
}

.hello-band {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 8vw, 110px) 24px;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(238, 211, 169, .2), transparent 26rem),
    radial-gradient(ellipse at 88% 100%, rgba(202, 162, 136, .16), transparent 28rem),
    #1c376e;
}

.hello-band h2 {
  max-width: 880px;
  margin-inline: auto;
  color: #fffdf7;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.hello-band p {
  color: #e2e8f1;
  font-size: 1rem;
}

.hello-band .button.light {
  margin-top: 28px;
}

.pricing-notice {
  max-width: 850px;
  color: #667184;
  font-size: .78rem;
  line-height: 1.65;
}

footer {
  padding: 72px clamp(28px, 5vw, 80px) 24px;
  border-top: 1px solid #233f77;
  background: #172e5d;
  color: #fffaf0;
}

.footer-top {
  grid-template-columns: 1.3fr .8fr .95fr 1.3fr;
  gap: clamp(24px, 4vw, 58px);
}

.footer-top .wordmark-text {
  color: #fffaf0;
}

.footer-top .brand-star {
  color: #f1c764;
}

.footer-top h2 {
  margin-bottom: 16px;
  color: #f1c764;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .14em;
}

.footer-top a:not(.wordmark) {
  width: fit-content;
  max-width: 100%;
  margin: 8px 0;
  color: #f2eee5;
  font-size: .8rem;
  transition: color 180ms ease, transform 180ms var(--ease);
}

.footer-top a:not(.wordmark):hover {
  transform: translateX(3px);
  color: #f4d583;
  text-decoration: none;
}

.footer-top p {
  color: #d6deeb;
  font-size: .78rem;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #c4cede;
  font-size: .7rem;
}

.page-heading {
  max-width: 1320px;
  margin-inline: auto;
  padding-block: clamp(54px, 7vw, 92px) 34px;
}

.page-heading h1 {
  max-width: 950px;
  font-size: clamp(3.4rem, 6vw, 6rem);
}

.page-heading > p {
  max-width: 630px;
  color: #5c687b;
  font-size: 1rem;
  line-height: 1.72;
}

.collection-main {
  padding-bottom: 96px;
}

.collection-tools {
  gap: 18px;
  padding: 16px;
  border: 1px solid #e6ded0;
  border-radius: 20px;
  background: rgba(255, 254, 250, .82);
  box-shadow: var(--shadow-sm);
}

.collection-tools input,
input,
textarea,
.checkout-input,
.auth-phone-input {
  min-height: 46px;
  border: 1px solid #d9d1c4;
  border-radius: 14px;
  background: #fffefa;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .9rem;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

input:focus,
textarea:focus,
.checkout-input:focus,
.auth-phone-input:focus {
  border-color: #6079ad;
  box-shadow: 0 0 0 4px rgba(46, 80, 145, .1);
}

.filters button {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid #ddd5c7;
  background: #fffefa;
  color: #41506a;
  font-size: .76rem;
  font-weight: 650;
  transition: transform 180ms var(--ease), color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filters button[aria-pressed="true"] {
  transform: none;
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 14px rgba(28, 57, 120, .15);
}

.filters button:hover:not([aria-pressed="true"]) {
  transform: translateY(-1px);
  border-color: #aab5c7;
  background: #f1f4f8;
}

.result-count {
  margin: 18px 0 24px;
  border: 1px solid #e6ded0;
  background: #fffefa;
  color: var(--muted);
  font-size: .74rem;
}

.collection-note,
.contact-footnote {
  color: #667184;
  font-size: .85rem;
  line-height: 1.75;
}

.legal {
  padding-block: clamp(54px, 7vw, 88px) 100px;
}

.legal h1 {
  font-size: clamp(3.15rem, 5.7vw, 5.6rem);
}

.legal .policy-date {
  color: #7b8492;
  font-family: var(--sans);
  font-size: .76rem;
}

.legal-content section {
  margin-block: 34px;
}

.legal-content h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
}

.legal-content p,
.legal-content li {
  max-width: 75ch;
  color: #535f73;
  font-size: .92rem;
  line-height: 1.82;
}

.legal-content a {
  color: #23457f;
  text-decoration-color: rgba(35, 69, 127, .35);
  text-underline-offset: 3px;
}

.faq-list {
  border-top: 1px solid #e2dacb;
}

.faq-list details {
  padding: 22px 4px;
  border-color: #e2dacb;
}

.faq-list summary {
  color: var(--ink);
  font-size: clamp(1.24rem, 2vw, 1.6rem);
  font-weight: 600;
}

.faq-list details[open] summary {
  color: var(--terracotta);
}

dialog {
  border: 1px solid #e9e0d1;
  border-radius: 28px;
  background: #fffefa;
  box-shadow: 0 30px 100px rgba(18, 35, 70, .3);
}

dialog::backdrop {
  background: rgba(18, 29, 50, .47);
  backdrop-filter: blur(7px);
}

.dialog-copy {
  background: #fffefa;
}

.dialog-copy h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.product-code-pill {
  border: 1px solid #dfe6f0;
  background: #eff3f8;
}

.dialog-price-box {
  border-color: #eee0bb;
  border-radius: 18px;
  background: #fff8e5;
}

.qty-control-wrapper {
  border-color: #e7dfd1;
  border-radius: 18px;
  background: #f8f5ef;
}

.qty-stepper {
  border-color: #e1d8ca;
}

.toast-msg {
  bottom: max(24px, env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: #192f61;
  box-shadow: 0 15px 42px rgba(17, 31, 59, .22);
  font-size: .82rem;
}

.cart-toggle,
.menu-toggle,
.cart-item-remove,
.qty-btn,
.qty-stepper button,
.checkout-back-btn,
.dialog-close,
.auth-card-close {
  min-width: 44px;
  min-height: 44px;
}

.cart-drawer {
  z-index: 10000;
}

.cart-backdrop {
  background: rgba(21, 33, 55, .42);
  backdrop-filter: blur(5px);
}

.cart-panel {
  border-left: 1px solid #e4dccf;
  background: #fffefa;
  box-shadow: -24px 0 70px rgba(17, 31, 59, .15);
}

.cart-header {
  border-color: #e7dfd1;
  background: #fffefa;
}

.cart-body {
  background: #fbf8f2;
}

.cart-item {
  border: 1px solid #e7dfd1;
  border-radius: 18px;
  background: #fffefa;
}

.cart-footer {
  border-top: 1px solid #e7dfd1;
  background: #fffefa;
}

.checkout-header h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.checkout-label {
  color: #37455d;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
}

.checkout-input {
  height: 46px;
  padding-inline: 14px;
  border-color: #d9d1c4;
  border-radius: 13px;
  background: #fffefa;
  font-size: .87rem;
}

.btn-razorpay-pay,
.btn-checkout-trigger {
  min-height: 50px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(28, 57, 120, .17);
}

.btn-razorpay-pay:hover,
.btn-checkout-trigger:hover {
  transform: translateY(-2px);
  background: var(--blue-hover);
  box-shadow: 0 12px 24px rgba(28, 57, 120, .2);
}

.btn-razorpay-pay:disabled {
  transform: none;
  box-shadow: none;
}

.checkout-shipping-card,
.checkout-price-breakdown,
.order-meta-box,
.order-items-summary {
  border-color: #e5ddcf;
  border-radius: 18px;
}

.order-success-card {
  border: 1px solid #e9e0d1;
  border-radius: 28px;
  background: #fffefa;
  box-shadow: 0 28px 90px rgba(20, 35, 67, .27);
}

.auth-card {
  border: 1px solid #e8dfd1;
  border-radius: 28px;
  background: #fffefa;
  box-shadow: 0 28px 90px rgba(20, 35, 67, .25);
}

.auth-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  letter-spacing: -.045em;
}

.auth-subtitle {
  color: #616d80;
  line-height: 1.65;
}

.auth-brand-name {
  font-family: var(--serif);
  letter-spacing: -.06em;
}

.auth-tab-btn.active {
  border-color: #d8deea;
  background: #edf1f7;
  color: var(--blue);
}

.auth-phone-input-row,
.auth-otp-row {
  gap: 9px;
}

.auth-phone-input {
  min-height: 48px;
}

.btn-auth-phone-action,
.btn-google-signin {
  min-height: 46px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 6px 15px rgba(28, 57, 120, .13);
}

.btn-auth-phone-action:hover,
.btn-google-signin:hover {
  transform: translateY(-1px);
  background: var(--blue-hover);
  box-shadow: 0 9px 18px rgba(28, 57, 120, .16);
}

/* The Diwali page keeps its festive burgundy and gold while sharing the same type and rhythm. */
.diwali-page {
  --ink: #4b1c2b;
  --blue: #4b1c2b;
  --blue-hover: #35131e;
  --cream: #fffaf1;
  --yellow: #e9bf67;
  --yellow-hover: #dcae4f;
  --terracotta: #a65b42;
  --muted: #765b58;
  --line: #e7d5b7;
  background: #fffaf1;
}

.diwali-page .header {
  background: rgba(255, 250, 241, .9);
}

.diwali-page .header nav a[aria-current] {
  color: #7c3541;
}

.diwali-page .diwali-hero {
  background:
    radial-gradient(ellipse at 78% 8%, rgba(211, 158, 84, .18), transparent 28rem),
    linear-gradient(145deg, #672638, #441622 70%, #35131c);
}

.diwali-page .diwali-intro .eyebrow {
  color: #f1d18f;
}

.diwali-page .diwali-hero-photo {
  border-color: rgba(235, 198, 124, .7);
  border-radius: 180px 180px 22px 22px;
  box-shadow: 0 25px 68px rgba(20, 8, 12, .26);
}

.diwali-page .diwali-hero-photo > img {
  border-radius: 168px 168px 14px 14px;
}

.diwali-page .diwali-ribbon {
  border-color: rgba(75, 28, 43, .18);
  background: #f0d18f;
}

.diwali-page .diwali-card {
  border-color: #e9dec9;
  background: #fffefa;
}

.diwali-page .diwali-heading h2,
.diwali-page .diwali-card h3 button {
  color: #4b1c2b;
}

.diwali-page .diwali-closing {
  background: #4b1c2b;
}

@keyframes craftella-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes craftella-photo-arrive {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes craftella-seal-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .page-heading,
  .diwali-intro {
    animation: craftella-rise 720ms var(--ease-enter) both;
  }

  .hero-art,
  .diwali-hero-photo {
    animation: craftella-photo-arrive 900ms var(--ease-enter) 100ms both;
  }

  .hero-art .seal {
    animation: craftella-seal-float 7s ease-in-out 1.1s infinite;
  }

  .motion-ready .reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms var(--ease-enter), transform 650ms var(--ease-enter);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .motion-ready .reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-image img,
  .diwali-card:hover .diwali-image > img,
  .category:hover img {
    transform: scale(1.055);
  }
}

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .header { padding-inline: 30px; }
  .wordmark { margin-right: 22px; }
  .header nav { gap: 15px; font-size: .78rem; }
  .header-note { display: none; }
  .header-actions { margin-left: 16px; }
  .hero { width: calc(100% - 64px); gap: 34px; }
  .hero-copy h1 { font-size: clamp(4rem, 7vw, 6rem); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 62px; }
  .header { height: 74px; padding-inline: 20px; justify-content: space-between; }
  .wordmark { margin-right: 0; gap: 8px; }
  .wordmark .brand-icon { width: 39px; height: 39px; }
  .wordmark-text { font-size: 1.78rem; }
  .header nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: flex;
    align-items: stretch;
    gap: 5px;
    padding: 12px;
    border: 1px solid #e4dbcd;
    border-radius: 20px;
    background: rgba(255, 254, 250, .98);
    box-shadow: 0 18px 40px rgba(27, 49, 93, .16);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px) scale(.985);
    transform-origin: top right;
    transition: opacity 220ms var(--ease-enter), transform 260ms var(--ease-enter), visibility 220ms;
  }
  .header nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .header nav a { width: 100%; padding: 12px 13px; border-radius: 12px; font-size: .9rem; }
  .header nav a:hover,
  .header nav a[aria-current] { background: #f3efe7; }
  .header nav a::after,
  .header nav a[aria-current]::after { display: none !important; }
  .header nav .festive-nav { justify-content: center; width: fit-content; }
  .header-actions { gap: 6px; margin-left: auto; }
  .cart-toggle { min-width: 44px; width: 44px; min-height: 44px; padding: 8px; justify-content: center; }
  .cart-toggle .cart-text { display: none; }
  .cart-toggle .cart-badge { position: absolute; top: -5px; right: -4px; min-width: 18px; height: 18px; padding-inline: 4px; }
  .header-user-name { display: none; }
  .header-user-profile { width: 44px; min-width: 44px; height: 44px; padding: 5px; justify-content: center; }
  .menu-toggle { min-width: 54px; min-height: 44px; padding: 8px 12px; border-radius: 999px; }
  .hero {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 48px 36px;
  }
  .hero-copy h1 { max-width: 660px; font-size: clamp(3.8rem, 11vw, 6.2rem); }
  .hero-copy > p { max-width: 540px; font-size: 1rem; }
  .hero-art { width: min(100%, 470px); height: clamp(370px, 92vw, 470px); margin: 12px auto 0; }
  .hero-photo { right: 7%; width: 77%; height: 92%; }
  .small-photo { left: 2%; width: 33%; }
  .seal { right: 1%; width: 80px; height: 80px; }
  .ribbon { gap: 10px 14px; padding-inline: 16px; font-size: .7rem; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-item { padding: 14px 8px; }
  .trust-item p { font-size: .75rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(2.3rem, 7vw, 3.3rem); }
  .section-aside { max-width: 100%; }
  .category-grid,
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .product-card,
  .diwali-card { padding: 8px; border-radius: 18px; }
  .product-image,
  .diwali-image { border-radius: 13px; }
  .product-title h3,
  .diwali-card h3 button,
  .diwali-product-title { font-size: 1rem; }
  .card-action-row { gap: 5px; }
  .card-cart-btn,
  .card-buy-btn { min-height: 39px; gap: 5px; padding-inline: 8px; font-size: .68rem; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .story-image { border-radius: 28px 28px 84px 28px; }
  .story-image img { max-height: 520px; border-radius: 18px 18px 68px 18px; }
  .story-label { right: -5px; bottom: 20px; font-size: 1.05rem; }
  .team-grid,
  .contact-layout { grid-template-columns: 1fr; gap: 18px; }
  .team-grid article { padding: 27px; }
  .page-heading { padding-block: 50px 26px; }
  .collection-tools { align-items: stretch; padding: 12px; }
  .collection-tools .filters { gap: 7px; }
  .filters button { min-height: 40px; padding-inline: 12px; font-size: .7rem; }
  .legal { padding-block: 46px 72px; }
  .legal h1 { font-size: clamp(3rem, 10vw, 4.6rem); }
  .legal-content h2 { font-size: 1.55rem; }
  .legal-content p,
  .legal-content li { font-size: .9rem; }
  #dialog-content { grid-template-columns: 1fr; }
  .dialog-media img { max-height: min(42vh, 350px); }
  .dialog-copy { padding: 24px 20px 20px; }
  .dialog-copy h2 { font-size: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
  footer { padding: 50px 24px 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 30px; }
  .diwali-hero { padding: 44px 20px 0; }
  .diwali-intro h1 { font-size: clamp(3.2rem, 10vw, 5rem); }
  .diwali-hero-photo { border-radius: 105px 105px 0 0; }
  .diwali-page .diwali-hero-photo > img { border-radius: 96px 96px 0 0; }
}

@media (max-width: 430px) {
  .wrap { width: calc(100% - 32px); }
  .header { padding-inline: 16px; }
  .wordmark-text { font-size: 1.6rem; }
  .wordmark .brand-icon { width: 35px; height: 35px; }
  .header-actions { gap: 5px; }
  .header-btn-login { width: 42px; min-width: 42px; min-height: 42px; padding: 0; }
  .header-btn-login span { display: none; }
  .cart-toggle,
  .header-user-profile { width: 42px; min-width: 42px; height: 42px; }
  .menu-toggle { min-width: 50px; min-height: 42px; padding-inline: 9px; }
  .hero { width: calc(100% - 32px); padding-top: 40px; }
  .hero-copy h1 { font-size: clamp(3.55rem, 13vw, 4.8rem); }
  .hero-art { height: 365px; }
  .hero-photo { height: 92%; }
  .seal { width: 72px; height: 72px; font-size: .57rem; }
  .seal i { font-size: 1.35rem; }
  .ribbon { font-size: .65rem; }
  .category-grid,
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 9px; }
  .product-card,
  .diwali-card { padding: 7px; border-radius: 16px; }
  .product-image,
  .diwali-image { border-radius: 11px; }
  .product-category { margin: 11px 1px 5px; font-size: .56rem; }
  .product-title h3,
  .diwali-card h3 button,
  .diwali-product-title { font-size: .9rem; }
  .product-price,
  .diwali-card .product-price { margin: 8px 1px 10px; font-size: .92rem; }
  .product-price span { font-size: .58rem; }
  .card-action-row { gap: 4px; }
  .card-cart-btn,
  .card-buy-btn { min-height: 37px; padding-inline: 6px; font-size: .63rem; }
  .card-cart-btn .cart-btn-icon,
  .card-buy-btn svg { width: 12px; height: 12px; }
  .category h3 { margin-top: 12px; font-size: 1.02rem; }
  .category p { font-size: .68rem; }
  .trust-grid { gap: 7px; }
  .trust-item h4 { font-size: 1.05rem; }
  .trust-item p { font-size: .7rem; }
  .footer-top { gap: 24px 18px; }
  .footer-top h2 { font-size: .62rem; }
  .footer-top a:not(.wordmark) { font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .motion-ready .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}

/* Fine-grained feedback keeps even the small controls feeling responsive. */
:root {
  --craftella-motion-fast: 160ms;
  --craftella-motion-mid: 240ms;
  --craftella-motion-spring: cubic-bezier(.2, .8, .2, 1);
}

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

a[href]:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(32, 61, 121, .32);
  outline-offset: 3px;
}

a[href]:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

input,
select,
textarea {
  transition: border-color var(--craftella-motion-mid) ease, box-shadow var(--craftella-motion-mid) ease, background-color var(--craftella-motion-mid) ease;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: #203d79;
  box-shadow: 0 0 0 4px rgba(32, 61, 121, .09);
}

button:disabled,
button[aria-disabled="true"] {
  cursor: not-allowed;
}

.header {
  transition: background-color 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.header nav a,
.header-note,
.text-link,
.product-title,
.diwali-product-title,
.filters button,
.card-action-row button,
.header-actions > *,
.menu-toggle,
.dialog-close,
.qty-stepper button,
.cart-qty-btn,
.instagram-link {
  transition-duration: var(--craftella-motion-mid);
  transition-timing-function: var(--craftella-motion-spring);
}

.product-title,
.diwali-product-title {
  display: block;
  width: 100%;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.product-title h3,
.diwali-product-title {
  transition: color var(--craftella-motion-mid) ease, transform var(--craftella-motion-mid) var(--craftella-motion-spring);
}

.filters button {
  transition-property: transform, color, background-color, border-color, box-shadow;
  transition-duration: var(--craftella-motion-mid);
}

.filters button[aria-checked="true"],
.filters button[aria-pressed="true"] {
  box-shadow: 0 5px 14px rgba(32, 61, 121, .13);
}

.product-card,
.diwali-card,
.category,
.contact-route,
.team-grid article {
  will-change: auto;
}

.product-detail-page {
  padding-top: clamp(28px, 5vw, 60px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: #737b89;
  font-size: .8rem;
}

.product-breadcrumb a {
  color: #344c7a;
  text-decoration: none;
}

.product-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
}

.product-detail-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(32, 61, 121, .08);
  border-radius: clamp(22px, 3vw, 36px);
  background: linear-gradient(145deg, #faf6ef, #f0e9dc);
  box-shadow: 0 22px 60px rgba(32, 48, 77, .08);
}

.product-detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail-made {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  background: rgba(255, 254, 250, .9);
  color: #253c6b;
  font-size: .72rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.product-detail-copy .eyebrow { color: #796c70; }

.product-detail-copy h1 {
  max-width: 12ch;
  margin: 12px 0 16px;
  color: #1d315a;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.product-detail-description {
  max-width: 54ch;
  color: #555e6d;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
}

.product-detail-price {
  margin: 26px 0 12px;
  color: #203d79;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

.product-detail-price span {
  color: #697386;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0;
}

.product-detail-note {
  max-width: 52ch;
  padding: 13px 16px;
  border-left: 3px solid #d5af68;
  border-radius: 0 12px 12px 0;
  background: #f7f3eb;
  color: #5d5e62;
  font-size: .88rem;
  line-height: 1.65;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.product-detail-actions .button {
  min-height: 48px;
  padding-inline: 20px;
}

.product-whatsapp {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #1b6c49;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.product-whatsapp:hover { text-decoration: underline; text-underline-offset: 4px; }

.product-detail-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 21px;
  color: #707887;
  font-size: .78rem;
}

.product-detail-footnote a { color: #334b79; }

.product-detail-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(54px, 8vw, 96px);
  padding-top: 24px;
  border-top: 1px solid #e8e2d8;
  color: #656c78;
  font-size: .92rem;
}

.product-detail-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid #e8e2d8;
  background: #fbf8f2;
  color: #737b89;
  font-size: .78rem;
}

.product-detail-footer a { color: #203d79; text-decoration: none; }
.product-detail-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .product-card:hover,
  .diwali-card:hover { transform: translateY(-4px); }

  .product-title:hover h3,
  .diwali-product-title:hover { transform: translateX(2px); }

  .header nav a:hover,
  .header-note:hover,
  .text-link:hover,
  .instagram-link:hover,
  .product-whatsapp:hover,
  .product-detail-footer a:hover { filter: saturate(1.12); }

  button:not(:disabled):hover { filter: brightness(1.025); }
}

@media (hover: none) {
  .product-card:hover,
  .diwali-card:hover {
    transform: none;
    border-color: #e8e2d8;
    box-shadow: 0 5px 18px rgba(27, 49, 93, .045);
  }

  .product-card:active,
  .diwali-card:active { transform: scale(.99); }

  .product-card:hover .product-image img,
  .diwali-card:hover .diwali-image > img { transform: none; }

  button:not(:disabled):active,
  a[href]:active { filter: brightness(.96); }
}

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-copy h1 { max-width: 16ch; font-size: clamp(2.6rem, 11vw, 4.2rem); }
  .product-detail-price { margin-top: 19px; }
  .product-detail-more { align-items: flex-start; flex-direction: column; }
  .product-detail-footer { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .header nav { transition: none !important; transform: none !important; }
  .product-card:hover,
  .diwali-card:hover,
  .product-card:active,
  .diwali-card:active,
  button:not(:disabled):active,
  a[href]:active { transform: none !important; }
}

/* Responsive refinement: one layout system for wide screens, tablets and phones. */
:root {
  --page-gutter: clamp(16px, 4.2vw, 60px);
  --tap-height: 46px;
}

html {
  scroll-padding-top: 92px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
}

.wrap {
  width: min(1360px, calc(100% - var(--page-gutter) - var(--page-gutter)));
}

.section {
  padding-block: clamp(56px, 7vw, 112px);
}

.header {
  min-height: 76px;
  height: auto;
  padding-inline: var(--page-gutter);
}

.header nav a,
.header-note,
.menu-toggle,
.header-actions > *,
.cart-toggle {
  min-height: var(--tap-height);
}

.header nav a {
  display: inline-flex;
  align-items: center;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.button,
.btn-razorpay-pay,
.btn-checkout-trigger,
.card-cart-btn,
.card-buy-btn,
.buy-now-btn-modal,
.add-cart-btn-modal {
  min-height: var(--tap-height);
}

.product-card,
.diwali-card {
  height: 100%;
}

.product-title {
  min-height: 2.4em;
}

.card-action-row {
  margin-top: auto;
}

.card-cart-btn,
.card-buy-btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
}

.collection-tools {
  align-items: center;
}

.search-label {
  min-width: min(260px, 100%);
}

.filters button {
  min-height: var(--tap-height);
}

.product-detail-page {
  width: min(1360px, calc(100% - var(--page-gutter) - var(--page-gutter)));
}

.product-detail-media img {
  width: 100%;
}

.product-detail-actions .button,
.product-whatsapp {
  min-height: var(--tap-height);
}

@media (min-width: 1440px) {
  .hero {
    min-height: clamp(620px, 48vw, 740px);
    gap: clamp(56px, 6vw, 96px);
    padding-block: clamp(52px, 5vw, 80px);
  }

  .hero-copy h1 {
    font-size: clamp(4.5rem, 6vw, 6.6rem);
  }

  .hero-art {
    height: clamp(500px, 38vw, 600px);
    margin-right: clamp(12px, 2vw, 30px);
  }

  .hero-photo {
    height: min(100%, 540px);
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .header {
    padding-inline: 24px;
  }

  .wordmark {
    margin-right: 18px;
  }

  .header nav {
    gap: clamp(10px, 1.5vw, 18px);
    font-size: .76rem;
  }

  .header-actions {
    gap: 7px;
    margin-left: 12px;
  }

  .header-btn-login {
    min-width: 44px;
    width: 44px;
    padding-inline: 10px;
  }

  .header-btn-login span {
    display: none;
  }

  .hero {
    min-height: 590px;
    gap: 28px;
  }

  .hero-art {
    height: 470px;
    margin-right: 8px;
  }

  .hero-photo {
    height: 440px;
  }
}

@media (max-width: 920px) {
  .header {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 14px;
    min-height: 72px;
    padding: 9px var(--page-gutter);
  }

  .wordmark {
    min-width: 0;
    margin-right: 0;
  }

  .header-note {
    display: none !important;
  }

  .header-actions {
    grid-column: 2;
    gap: 8px;
    margin: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 46px;
    padding: 8px 14px;
    border: 1px solid #d8cdbb;
    border-radius: 999px;
    background: #fffefa;
    color: var(--ink);
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
  }

  .header nav {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--page-gutter);
    left: var(--page-gutter);
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    margin: 0;
    padding: 10px;
    border: 1px solid #e3dacb;
    border-radius: 20px;
    background: rgba(255, 254, 250, .98);
    box-shadow: 0 20px 48px rgba(27, 49, 93, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.99);
    transform-origin: top right;
    transition: opacity 200ms var(--ease-enter), transform 240ms var(--ease-enter), visibility 200ms;
  }

  .header nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .header nav a,
  .header nav a.festive-nav {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 14px !important;
    border-radius: 13px !important;
    font-size: .9rem;
    white-space: normal;
  }

  .header nav a:hover,
  .header nav a[aria-current],
  .header nav .festive-nav:hover {
    background: #f3efe7 !important;
  }

  .header nav a::after,
  .header nav a[aria-current]::after {
    display: none !important;
  }

  .header-btn-login {
    min-width: 46px;
    width: 46px;
    min-height: 46px;
    padding: 0 10px;
  }

  .header-btn-login span,
  .header-user-name {
    display: none;
  }

  .cart-toggle,
  .header-user-profile {
    min-width: 46px;
    width: 46px;
    min-height: 46px;
    justify-content: center;
    padding-inline: 8px;
  }
}

@media (max-width: 768px) {
  :root {
    --page-gutter: 20px;
    --tap-height: 46px;
  }

  html {
    scroll-padding-top: 82px;
  }

  .section {
    padding-block: 58px;
  }

  .announcement {
    min-height: 0;
    padding: 8px 14px;
    font-size: .68rem;
    line-height: 1.45;
    text-align: center;
  }

  .hero {
    width: calc(100% - var(--page-gutter) - var(--page-gutter));
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-block: 40px 34px;
  }

  .hero-copy {
    padding-block: 0;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(3.25rem, 10.5vw, 5.2rem);
    line-height: .98;
  }

  .hero-copy > p {
    max-width: 58ch;
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-copy > .button {
    margin-top: 24px;
  }

  .hero-bottom {
    margin-top: 23px;
  }

  .hero-art {
    width: min(100%, 480px);
    height: clamp(340px, 74vw, 440px);
    margin: 8px auto 0;
  }

  .hero-photo {
    right: 8%;
    width: 74%;
    height: 92%;
    border-radius: 120px 120px 10px 10px;
  }

  .small-photo {
    left: 2%;
    width: 34%;
  }

  .seal {
    top: 18px;
    right: 1%;
    width: 78px;
    height: 78px;
  }

  .art-star {
    right: 1%;
    width: 34px;
    height: 34px;
  }

  .ribbon {
    flex-wrap: wrap;
    gap: 7px 12px;
    padding: 14px 16px;
    font-size: .72rem;
    line-height: 1.45;
    text-align: center;
  }

  .trust-strip {
    padding-block: 26px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .trust-item {
    padding: 14px 10px;
  }

  .trust-item p {
    font-size: .76rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
  }

  .section-heading h2 {
    font-size: clamp(2.25rem, 7vw, 3.3rem);
  }

  .section-aside {
    max-width: 44ch;
    font-size: .83rem;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .category > div {
    border-radius: 20px;
  }

  .category h3 {
    margin-top: 12px;
    font-size: clamp(1rem, 3.5vw, 1.25rem);
  }

  .category p {
    font-size: .75rem;
  }

  .product-grid {
    gap: 16px 12px;
  }

  .product-card,
  .diwali-card {
    padding: 8px;
    border-radius: 18px;
  }

  .product-image,
  .diwali-image {
    border-radius: 13px;
  }

  .product-category,
  .diwali-card-copy .eyebrow {
    margin: 12px 1px 6px;
    font-size: .59rem;
    letter-spacing: .08em;
  }

  .product-title h3,
  .diwali-card h3 button,
  .diwali-product-title {
    font-size: clamp(.91rem, 2.8vw, 1.08rem);
  }

  .product-price,
  .diwali-card .product-price {
    margin: 8px 1px 12px;
    font-size: .96rem;
  }

  .card-action-row {
    gap: 7px;
  }

  .card-cart-btn,
  .card-buy-btn {
    min-height: 46px;
    padding-inline: 8px;
    font-size: .72rem;
  }

  .story {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .story-image {
    max-width: 560px;
    margin-inline: auto;
  }

  .story-copy h2 {
    font-size: clamp(2.45rem, 8vw, 3.7rem);
  }

  .story-copy p,
  .about-story p:not(.lead) {
    font-size: .96rem;
    line-height: 1.72;
  }

  .team-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .team-grid article,
  .contact-card,
  .contact-route {
    padding: 24px;
  }

  .contact-route:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .page-heading {
    padding-block: 42px 24px;
  }

  .page-heading h1,
  .legal h1 {
    font-size: clamp(2.85rem, 10vw, 4.5rem);
  }

  .page-heading > p {
    font-size: .98rem;
  }

  .collection-main {
    padding-bottom: 64px;
  }

  .collection-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .search-label {
    width: 100%;
    min-width: 0;
  }

  .collection-tools input,
  input,
  textarea,
  select,
  .checkout-input,
  .auth-phone-input {
    min-height: 48px;
    font-size: 16px;
  }

  .filters {
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -4px;
    padding: 2px 4px 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters button {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 14px;
    scroll-snap-align: start;
  }

  .result-count {
    margin: 14px 0 20px;
  }

  .legal {
    padding-block: 42px 68px;
  }

  .legal-content h2 {
    font-size: 1.48rem;
  }

  .legal-content p,
  .legal-content li {
    font-size: .94rem;
    line-height: 1.75;
  }

  .faq-list summary {
    padding-right: 32px;
    font-size: 1.18rem;
  }

  .product-detail-page {
    padding-top: 22px;
    padding-bottom: 60px;
  }

  .product-breadcrumb {
    margin-bottom: 18px;
    font-size: .76rem;
  }

  .product-detail {
    gap: 24px;
  }

  .product-detail-media {
    max-width: 600px;
    margin-inline: auto;
  }

  .product-detail-copy h1 {
    font-size: clamp(2.55rem, 9vw, 4rem);
  }

  .product-detail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-actions .button {
    width: 100%;
    padding-inline: 12px;
  }

  .product-detail-more {
    margin-top: 48px;
    padding-top: 20px;
  }

  .contact-layout {
    margin-top: 10px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }

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

  footer {
    padding: 46px var(--page-gutter) 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 28px;
    font-size: .72rem;
  }

  dialog {
    width: calc(100% - 24px);
    max-width: 560px;
    max-height: calc(100dvh - 24px);
    margin: auto;
    border-radius: 22px;
    overflow-y: auto;
  }

  #dialog-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .dialog-media img {
    max-height: min(38dvh, 320px);
    object-fit: contain;
  }

  .toast-msg {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    width: auto;
    max-width: none;
    text-align: center;
  }

  .diwali-hero {
    padding: 38px var(--page-gutter) 0;
  }

  .diwali-intro h1 {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }

  .diwali-hero-photo {
    max-width: 640px;
    margin-inline: auto;
  }

  .pricing-notice {
    font-size: .76rem;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .cart-drawer {
    align-items: flex-end;
  }

  .cart-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 92vh;
    height: min(92dvh, 860px);
    max-height: 92vh;
    max-height: min(92dvh, 860px);
    padding-bottom: env(safe-area-inset-bottom);
    border: 1px solid #e4dccf;
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    overscroll-behavior: contain;
    transform: translateY(100%);
    transition: transform 320ms var(--ease-enter);
  }

  .cart-drawer.open .cart-panel {
    transform: translateY(0);
  }

  .cart-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .cart-body {
    min-height: 0;
    padding: 14px;
    overscroll-behavior: contain;
  }

  .cart-footer {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .cart-checkout-section.active {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 16px max(22px, env(safe-area-inset-bottom));
  }

  .checkout-form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .form-group-full {
    grid-column: 1 / -1;
  }

  .checkout-input {
    min-height: 48px;
  }

  .delhivery-service-opt {
    min-height: 68px;
    padding: 11px 12px;
  }

  #order-success-modal {
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .order-success-card {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 28px 20px 22px;
    border-radius: 22px;
  }

  #craftella-auth-gate {
    align-items: flex-start;
    overflow-y: auto;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .auth-card {
    width: min(100%, 440px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    overflow-y: auto;
    padding: 36px 24px 24px;
    border-radius: 24px;
    overscroll-behavior: contain;
  }

  .auth-card-close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 430px) {
  :root {
    --page-gutter: 16px;
  }

  .header {
    min-height: 66px;
    padding-block: 7px;
  }

  .wordmark {
    gap: 7px;
  }

  .wordmark .brand-icon {
    width: 36px;
    height: 36px;
  }

  .wordmark-text {
    font-size: 1.62rem;
  }

  .header-actions {
    gap: 6px;
  }

  .menu-toggle {
    min-width: 64px;
    min-height: 44px;
    padding-inline: 10px;
  }

  .cart-toggle,
  .header-user-profile,
  .header-btn-login {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    height: 44px;
  }

  .hero {
    padding-top: 34px;
  }

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

  .hero-copy .eyebrow {
    font-size: .62rem;
    letter-spacing: .13em;
  }

  .hero-art {
    height: clamp(310px, 88vw, 370px);
  }

  .hero-photo {
    right: 7%;
    width: 75%;
  }

  .small-photo {
    left: 1%;
    width: 35%;
    padding: 8px 8px 10px;
  }

  .small-photo span {
    font-size: .77rem;
  }

  .seal {
    width: 68px;
    height: 68px;
    font-size: .58rem;
  }

  .seal i {
    font-size: 1.35rem;
  }

  .ribbon {
    gap: 6px 10px;
    font-size: .67rem;
  }

  .trust-item {
    padding-inline: 8px;
  }

  .trust-item h4 {
    font-size: 1.02rem;
  }

  .trust-item p {
    font-size: .72rem;
  }

  .category-grid,
  .product-grid {
    gap: 13px 9px;
  }

  .product-card,
  .diwali-card {
    padding: 7px;
    border-radius: 16px;
  }

  .product-image,
  .diwali-image {
    border-radius: 11px;
  }

  .card-action-row {
    gap: 5px;
  }

  .card-cart-btn,
  .card-buy-btn {
    min-height: 44px;
    padding-inline: 6px;
    font-size: .69rem;
  }

  .card-buy-btn svg,
  .card-cart-btn .cart-btn-icon {
    width: 12px;
    height: 12px;
  }

  .footer-top {
    gap: 24px 16px;
  }

  .footer-top h2 {
    font-size: .68rem;
  }

  .footer-top a:not(.wordmark) {
    overflow-wrap: anywhere;
    font-size: .78rem;
  }
}

@media (max-width: 360px) {
  .wordmark-text {
    font-size: 1.48rem;
  }

  .header-actions {
    gap: 4px;
  }

  .menu-toggle {
    min-width: 58px;
    padding-inline: 8px;
  }

  .product-card,
  .diwali-card {
    padding: 6px;
  }

  .card-cart-btn span,
  .card-buy-btn span {
    font-size: .64rem;
  }

  .card-buy-btn svg,
  .card-cart-btn .cart-btn-icon {
    display: none;
  }
}

@media (hover: none) {
  .quick-view {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header nav,
  .cart-panel {
    transition: none !important;
  }
}

/* Craftella 2026 polish: a more considered editorial storefront, with the same brand. */
:root {
  --ink: #192e58;
  --blue: #203d79;
  --blue-hover: #172d5d;
  --cream: #fcf9f3;
  --cream-soft: #f4eee4;
  --card-bg: #fffefa;
  --yellow: #f2c765;
  --yellow-hover: #e6b64d;
  --terracotta: #a64f3d;
  --muted: #5e6b80;
  --line: #e5dccd;
  --shadow-card: 0 16px 42px rgba(25, 46, 88, .075);
}

html { scroll-behavior: smooth; }
body { background-color: var(--cream); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid #c47c4d;
  outline-offset: 3px;
}

.announcement {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 18px;
  background: #421725;
  color: #fff9ed;
  font-size: .7rem;
  letter-spacing: .09em;
}

.header {
  z-index: 100;
  min-height: 78px;
  border-bottom-color: rgba(222, 211, 193, .78);
  background: rgba(252, 249, 243, .9);
  box-shadow: 0 5px 24px rgba(28, 42, 67, .035);
}

.wordmark { gap: 11px; }
.wordmark .brand-icon { filter: drop-shadow(0 5px 9px rgba(28, 57, 120, .12)); }
.wordmark-text { font-size: clamp(1.8rem, 2.2vw, 2.12rem); }
.header nav { gap: clamp(12px, 1.8vw, 28px); }
.header nav a { font-size: .82rem; }
.header-actions { gap: 10px; }

.hero {
  min-height: min(690px, calc(100svh - 116px));
  padding-block: clamp(44px, 6.5vw, 92px);
}

.hero-copy h1 { max-width: 10ch; }
.hero-copy > p { max-width: 44ch; }
.hero-photo { box-shadow: 0 34px 72px rgba(49, 42, 31, .17); }
.hero-art .seal { animation: craftella-seal-float 5s ease-in-out infinite; }

.trust-strip {
  padding-block: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(255, 254, 250, .86), rgba(248, 244, 236, .78));
}

.trust-item {
  border-right: 1px solid rgba(222, 211, 193, .72);
}
.trust-item:last-child { border-right: 0; }
.trust-icon {
  transition: transform 420ms var(--ease-enter), background-color 300ms ease, border-color 300ms ease;
}

.category > div { transition: transform 420ms var(--ease-enter), box-shadow 420ms var(--ease-enter); }
.category h3 { margin-top: 18px; }

.featured {
  background:
    radial-gradient(ellipse at 88% 4%, rgba(241, 214, 203, .34), transparent 30rem),
    linear-gradient(180deg, #f3f5f8, #eff2f6);
  border-color: #e1e5ec;
}

.product-card,
.diwali-card,
.team-grid article,
.contact-route {
  box-shadow: 0 7px 22px rgba(25, 46, 88, .055);
}

.product-card,
.diwali-card { border-radius: 24px; }
.product-image,
.diwali-image { background: #f3eee6; }
.product-image img,
.diwali-image > img { mix-blend-mode: multiply; }
.product-price { color: #19386f; }
.card-cart-btn,
.card-buy-btn { min-height: 44px; }
.quick-view { min-height: 42px; font-weight: 700; }

.story-image { box-shadow: 0 28px 70px rgba(25, 46, 88, .13); }
.team-grid article,
.contact-route { border-radius: 22px; }
.contact-route > a:not(.text-link) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.hello-band {
  background:
    radial-gradient(ellipse at 14% 16%, rgba(242, 199, 101, .17), transparent 28rem),
    radial-gradient(ellipse at 92% 95%, rgba(176, 99, 73, .22), transparent 30rem),
    linear-gradient(130deg, #1e3975, #172d5d 62%, #253e72);
}
.hello-band .eyebrow { margin-inline: auto; color: #f5d27e; }
.hello-band .button.light { color: #342b25; }

footer {
  background: linear-gradient(145deg, #172d59, #12264e);
}
.footer-top > div:first-child .wordmark { margin-bottom: 8px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; }

.page-heading { padding-block: clamp(50px, 7vw, 88px) 30px; }
.page-heading h1 { max-width: 15ch; }
.collection-tools {
  position: sticky;
  top: 12px;
  z-index: 4;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(25, 46, 88, .07);
}
.filters button { min-height: 42px; }
.result-count {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
}

.product-detail-media { box-shadow: 0 28px 70px rgba(25, 46, 88, .11); }
.product-detail-copy h1 { max-width: 12ch; }
.product-detail-actions .button { min-height: 50px; }

dialog {
  max-width: min(960px, calc(100vw - 28px));
  max-height: min(92dvh, 900px);
  overflow: auto;
  overscroll-behavior: contain;
}
dialog::backdrop { background: rgba(18, 31, 56, .56); }
.cart-panel { border-radius: 24px 0 0 24px; }
.cart-header { min-height: 72px; }
.checkout-input { min-height: 48px; }

/* A proper split-panel welcome and sign-in experience; all Firebase controls keep their IDs. */
#craftella-auth-gate {
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  background: rgba(15, 25, 45, .58);
  backdrop-filter: blur(10px) saturate(.85);
  -webkit-backdrop-filter: blur(10px) saturate(.85);
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(280px, .84fr) minmax(0, 1.16fr);
  width: min(990px, calc(100vw - 40px));
  max-width: 990px;
  min-height: min(570px, calc(100dvh - 48px));
  max-height: min(760px, calc(100dvh - 40px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 30px;
  background: #fffefa;
  box-shadow: 0 36px 110px rgba(9, 20, 42, .36);
  text-align: left;
  overflow: auto;
  overscroll-behavior: contain;
}

.auth-card::before { display: none; }
.auth-card-close {
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-color: rgba(27, 49, 93, .13);
  background: rgba(255, 254, 250, .94);
  color: var(--ink);
  box-shadow: 0 5px 18px rgba(20, 35, 67, .1);
}

.auth-story-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 4vw, 48px) clamp(26px, 3.6vw, 44px) 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(241, 199, 100, .17), transparent 18rem),
    radial-gradient(circle at 0 100%, rgba(180, 104, 84, .16), transparent 22rem),
    linear-gradient(155deg, #203d79, #172e5f 74%, #142850);
  color: #fffaf0;
}

.auth-brand {
  width: fit-content;
  gap: 10px;
  margin: 0;
  color: #fffaf0;
}
.auth-brand img {
  width: 42px;
  height: 42px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: #fffaf0;
  object-fit: contain;
}
.auth-brand-name {
  color: #fffaf0;
  font-size: 1.85rem;
}
.auth-brand-name .brand-star { color: #f2c765; }
.auth-story-copy { margin-block: auto; padding-block: 34px 10px; }
.auth-story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f2d589;
  font: 800 .64rem/1.4 var(--sans);
  letter-spacing: .14em;
}
.auth-story-eyebrow::before {
  width: 20px;
  height: 1px;
  background: currentColor;
  content: '';
}
.auth-story-copy h2 {
  margin: 18px 0 13px;
  color: #fffaf0;
  font: 650 clamp(2.5rem, 4.1vw, 3.65rem)/.98 var(--serif);
  letter-spacing: -.065em;
}
.auth-story-copy h2 em { color: #f2c765; font-weight: 550; }
.auth-story-copy p {
  max-width: 34ch;
  margin: 0;
  color: rgba(255, 250, 240, .78);
  font-size: .91rem;
  line-height: 1.75;
}
.auth-perks {
  margin: 0;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .075);
  text-align: left;
}
.auth-perks-title {
  margin-bottom: 10px;
  color: #f2d589;
  font-size: .64rem;
  letter-spacing: .13em;
}
.auth-perk-item {
  align-items: flex-start;
  margin-top: 9px;
  margin-bottom: 0;
  color: rgba(255, 250, 240, .87);
  font-size: .76rem;
  line-height: 1.5;
}
.auth-perk-item svg { flex: 0 0 14px; margin-top: 2px; color: #f2c765; }

.auth-form-panel {
  align-self: center;
  width: 100%;
  max-width: 590px;
  margin-inline: auto;
  padding: clamp(34px, 5vw, 58px) clamp(26px, 5vw, 58px) 30px;
}
.auth-title {
  max-width: 13ch;
  margin: 0 48px 9px 0;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1.06;
}
.auth-subtitle {
  max-width: 48ch;
  margin: 0 0 23px;
  color: #657086;
  font-size: .87rem;
  line-height: 1.7;
}
.btn-google-signin {
  min-height: 50px;
  height: auto;
  border: 1px solid #d9dce3;
  border-radius: 14px;
  background: #fff;
  color: #293448 !important;
  box-shadow: 0 5px 14px rgba(24, 47, 91, .07);
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 750;
}
.btn-google-signin:hover {
  transform: translateY(-1px);
  border-color: #bac5d8;
  background: #f9fbff;
  box-shadow: 0 9px 20px rgba(24, 47, 91, .1);
}
.btn-google-signin:active { transform: scale(.99); }
.google-icon-svg { width: 19px; height: 19px; }
.auth-divider { margin-block: 20px 14px; font-size: .62rem; letter-spacing: .1em; }
.auth-divider::before,
.auth-divider::after { background: #e7e0d4; }
.auth-method-tabs {
  gap: 4px;
  margin-bottom: 13px;
  padding: 4px;
  border: 1px solid #ebe4d9;
  border-radius: 13px;
  background: #f5f0e7;
}
.auth-tab-btn {
  min-height: 40px;
  border-radius: 10px;
  color: #626d7e;
  font-family: var(--sans);
  font-size: .77rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.auth-tab-btn.active {
  border: 1px solid #e2e7ef;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 3px 9px rgba(25, 46, 88, .075);
}
.auth-phone-section { margin-bottom: 12px; }
.auth-phone-input-row,
.auth-otp-row { gap: 8px; }
.auth-phone-input {
  min-width: 0;
  min-height: 50px;
  border-radius: 13px;
  background: #fff;
  font-size: .84rem;
}
.auth-phone-input::placeholder { color: #8791a0; opacity: 1; }
.auth-phone-prefix { left: 15px; color: #59667a; font-size: .82rem; }
.btn-auth-phone-action {
  min-height: 48px;
  padding-inline: 17px;
  border: 1px solid var(--blue);
  border-radius: 13px;
  background: var(--blue);
  color: #fff !important;
  font: 750 .75rem/1 var(--sans);
  box-shadow: 0 6px 14px rgba(32, 61, 121, .13);
  transition: transform 180ms var(--ease), background-color 180ms ease, box-shadow 180ms ease;
}
.btn-auth-phone-action:hover { transform: translateY(-1px); background: var(--blue-hover); box-shadow: 0 9px 18px rgba(32, 61, 121, .18); }
.btn-auth-phone-action:disabled { transform: none; box-shadow: none; }
.btn-auth-link { min-height: 44px; color: #586985; }
.auth-phone-msg { min-height: 1.2em; margin-top: 8px; font-size: .75rem; line-height: 1.5; }
.auth-phone-msg.error { color: #a62d36; }
.auth-phone-msg.success { color: #23744b; }
.auth-setup-notice { border-radius: 14px; }
.auth-guest-access { margin-top: 9px !important; }
.btn-guest-bypass {
  min-height: 42px;
  margin-top: 0;
  color: #485c7e !important;
  font-size: .76rem !important;
  transition: background-color 180ms ease, color 180ms ease;
}
.btn-guest-bypass:hover { background: #f1f3f7 !important; color: var(--blue) !important; }
.auth-footer-note { margin: 13px 0 0; color: #80899a; font-size: .67rem; line-height: 1.55; }
.auth-footer-note a { color: #334b7d; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .trust-item:hover .trust-icon { transform: translateY(-3px) rotate(-5deg); background: #fff6df; border-color: #ecd8a5; }
  .category:hover > div { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(25, 46, 88, .12); }
  .category:hover img { transform: scale(1.035); }
  .product-card:hover,
  .diwali-card:hover,
  .contact-route:hover,
  .team-grid article:hover { transform: translateY(-5px); }
}

@media (max-width: 820px) {
  .header { min-height: 70px; }
  .hero { min-height: 0; }
  .trust-item { border-right: 0; }
  .collection-tools { position: static; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .cart-panel { border-radius: 24px 24px 0 0; }
  .auth-card {
    grid-template-columns: minmax(0, 1fr);
    width: min(520px, calc(100vw - 24px));
    min-height: 0;
    max-height: calc(100dvh - 24px);
    border-radius: 24px;
  }
  .auth-story-panel {
    min-height: 0;
    gap: 18px;
    padding: 23px 24px 19px;
  }
  .auth-brand img { width: 36px; height: 36px; }
  .auth-brand-name { font-size: 1.55rem; }
  .auth-story-copy { padding-block: 8px 0; }
  .auth-story-copy h2 { margin-block: 10px 8px; font-size: clamp(2rem, 8vw, 2.6rem); }
  .auth-story-copy p { max-width: 44ch; font-size: .8rem; }
  .auth-perks { display: none; }
  .auth-form-panel { padding: 27px 24px 23px; }
  .auth-title { font-size: clamp(1.8rem, 7vw, 2.25rem); }
}

@media (max-width: 480px) {
  .announcement { min-height: 36px; gap: 6px; font-size: .61rem; letter-spacing: .055em; }
  .header { padding-inline: max(14px, var(--page-gutter)); }
  .header nav.is-open { top: 100%; }
  .header-actions { gap: 6px; }
  .header-btn-login { min-width: 44px; width: 44px; padding: 0; }
  .header-btn-login span { display: none; }
  .header-user-profile.is-guest { width: 44px; }
  .hero-copy h1 { font-size: clamp(2.85rem, 13vw, 3.7rem); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .category-grid { gap: 20px 12px; }
  .product-grid { gap: 14px 10px; }
  .product-card,
  .diwali-card { border-radius: 17px; }
  .product-card { padding: 7px; }
  .product-title { min-height: 2.6em; }
  .product-title h3 { font-size: clamp(.9rem, 4.1vw, 1.08rem); }
  .product-category { margin-top: 11px; font-size: .55rem; }
  .product-price { margin-block: 6px 10px; font-size: .9rem; }
  .card-action-row { gap: 5px; }
  .card-cart-btn,
  .card-buy-btn { min-height: 42px; padding-inline: 5px; font-size: .66rem; }
  .page-heading { padding-top: 42px; }
  .page-heading h1 { font-size: clamp(2.7rem, 12vw, 3.7rem); }
  .collection-tools { padding: 12px; border-radius: 17px; }
  .filters { max-width: 100%; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
  .filters button { flex: 0 0 auto; }
  .search-label,
  .search-label input { width: 100%; }
  .auth-card { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 21px; }
  .auth-story-panel { padding: 19px 20px 16px; }
  .auth-story-eyebrow { font-size: .57rem; }
  .auth-story-copy h2 { font-size: 2rem; }
  .auth-form-panel { padding: 22px 19px 19px; }
  .auth-title { margin-right: 38px; font-size: 1.8rem; }
  .auth-subtitle { margin-bottom: 17px; font-size: .8rem; }
  .auth-phone-input-row { align-items: stretch; }
  .auth-phone-input-row .auth-phone-input { width: 0; }
  .btn-auth-phone-action { padding-inline: 13px; font-size: .71rem; }
  .auth-card-close { top: 10px; right: 10px; min-width: 42px; min-height: 42px; }
  .footer-top { gap: 26px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.diwali-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px auto 0;
}

.diwali-actions .button { margin-top: 0; }

/* Keep the shared header usable even in narrow embedded/mobile viewports. */
@media (max-width: 480px) {
  .announcement {
    display: block;
    min-height: 0;
    padding: 7px 10px;
    font-size: .61rem;
    line-height: 1.4;
    text-align: center;
    text-wrap: balance;
  }

  .header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline: 10px;
  }

  .wordmark {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    gap: 5px;
    overflow: hidden;
  }

  .wordmark .brand-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
  }

  .wordmark-text {
    min-width: 0;
    font-size: clamp(1.12rem, 5.5vw, 1.48rem);
    white-space: nowrap;
  }

  .header-actions {
    min-width: 0;
    gap: 5px;
    margin: 0;
  }

  .cart-toggle,
  .header-user-profile.is-guest,
  .header-btn-login {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .cart-toggle {
    padding: 0;
    justify-content: center;
  }

  .cart-toggle .cart-text { display: none !important; }

  .menu-toggle {
    width: 44px;
    min-width: 44px;
    min-height: 42px;
    padding-inline: 6px;
    font-size: .68rem;
  }

  .header-user-profile:not(.is-guest) {
    width: auto;
    min-width: 40px;
    height: 40px;
    padding: 3px 6px 3px 3px;
    gap: 4px;
  }

  .header-btn-logout { margin-left: 0; padding-inline: 2px; font-size: .64rem; }
  .header nav { right: 10px; left: 10px; }
}

@media (max-width: 360px) {
  .header { gap: 6px; padding-inline: 8px; }
  .wordmark { gap: 4px; }
  .wordmark .brand-icon { flex-basis: 28px; width: 28px; height: 28px; }
  .wordmark-text { font-size: clamp(1.04rem, 5.4vw, 1.2rem); }
  .header-actions { gap: 4px; }
  .cart-toggle,
  .header-user-profile.is-guest,
  .header-btn-login { width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
  .menu-toggle { width: 42px; min-width: 42px; min-height: 40px; }
}
