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

/* Multi-page expansion */
:root {
  --page-max: 1320px;
  --soft-bg: #f5f2e9;
  --success: #376a50;
}

body {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 55;
  box-shadow: 0 10px 28px rgba(16, 43, 35, .035);
}

.desktop-nav a.active {
  color: var(--eucalyptus);
}

.desktop-nav a.active::after {
  transform: scaleX(1);
}

.brand-frame {}

.page-main {
  min-height: 60vh;
}

.page-shell {
  width: min(var(--page-max), calc(100% - 64px));
  margin-inline: auto;
}

.page-hero {
  background: var(--forest);
  color: var(--cream);
  padding: 78px 0 74px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  left: -90px;
  top: -150px;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .02), 0 0 0 110px rgba(255, 255, 255, .015);
}

.page-hero .page-shell {
  position: relative;
  z-index: 1;
}

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

.page-hero h1 {
  margin: 0;
  font-size: var(--text-fluid-title-lg);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.035em;
  max-width: 850px;
}

.page-hero p:last-child {
  margin: 20px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.9;
  font-size: var(--text-base);
}

.page-section {
  padding: 68px 0 90px;
}

.section-mini-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.section-mini-head small {
  color: var(--eucalyptus);
  font-weight: 700;
}

.section-mini-head h2 {
  margin: 5px 0 0;
  font-size: var(--text-xl);
  font-weight: 600;
}

.section-mini-head>a {
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--forest);
  padding-bottom: 5px;
}

.soft-text {
  color: #768078;
  line-height: 1.9;
}

.hidden-section {
  display: none !important;
}

/* Product grids on all pages */
.multipage-product-card .product-image-link {
  position: absolute;
  inset: 0 0 47px;
  z-index: 2;
  display: grid;
  place-items: center;
}

.multipage-product-card .product-image-link img {
  width: 78%;
  height: 72%;
  object-fit: contain;
}

.multipage-product-card .favorite,
.multipage-product-card .product-badge,
.multipage-product-card .flash-corner {
  z-index: 5;
}

.multipage-product-card .quick-add {
  z-index: 6;
}

.product-info h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.flash-corner {
  position: absolute;
  left: 12px;
  bottom: 56px;
  background: #a92e28;
  color: white;
  padding: 5px 7px;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .08em;
}

/* Catalog */
.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--forest);
  padding: 10px 0;
  max-width: 560px;
}

.catalog-search input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--forest);
  font-size: var(--text-base);
}

.catalog-sort {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--text-xs);
  color: #6c776f;
}

.catalog-sort select {
  min-width: 180px;
  height: 43px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 12px;
  color: var(--forest);
  outline: 0;
}

.catalog-tabs {
  margin-bottom: 32px;
}

.catalog-count-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: #68736c;
  font-size: var(--text-sm);
}

/* Category page */
.full-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.full-category-card {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  padding: 44px;
  color: var(--forest);
  display: flex;
  align-items: flex-end;
}

.full-category-card>div {
  position: relative;
  z-index: 3;
  max-width: 55%;
}

.full-category-card small {
  font-size: var(--text-sm);
  color: rgba(24, 56, 46, .65);
}

.full-category-card h2 {
  margin: 7px 0 8px;
  font-size: var(--text-xl);
  font-weight: 600;
}

.full-category-card p {
  margin: 0 0 25px;
  font-size: var(--text-sm);
  color: rgba(24, 56, 46, .67);
}

.full-category-card b {
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.full-category-card b .fa-solid {
  font-size: var(--text-sm);
}

.full-category-card>img {
  position: absolute;
  width: 48%;
  height: 65%;
  object-fit: contain;
  left: 4%;
  top: 18%;
  filter: drop-shadow(0 26px 22px rgba(24, 56, 46, .17));
  transition: .35s;
}

.full-category-card:hover>img {
  transform: scale(1.055) rotate(2deg);
}

.category-no {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: var(--text-xs);
  opacity: .55;
}

/* Offers */
.offer-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--forest);
  color: var(--cream);
  min-height: 420px;
  margin-bottom: 64px;
}

.offer-banner-copy {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-banner-copy h2 {
  margin: 8px 0 16px;
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.15;
}

.offer-banner-copy p {
  color: rgba(255, 255, 255, .64);
  line-height: 1.9;
  font-size: var(--text-sm);
}

.offer-banner-visual {
  background: #c3cfbe;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-banner-visual img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 25px 20px rgba(24, 56, 46, .2));
}

.offer-stamp {
  position: absolute;
  left: 32px;
  top: 28px;
  width: 105px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #a92e28;
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  transform: rotate(-6deg);
}

.inline-countdown {
  display: flex;
  gap: 5px;
  align-items: center;
  direction: ltr;
  margin: 15px 0 25px;
}

.inline-countdown strong {
  width: 50px;
  height: 48px;
  background: var(--cream);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-size: var(--text-base);
}

.inline-countdown i {
  font-style: normal;
}

.bundle-products-mini {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.bundle-products-mini span {
  width: 84px;
  min-height: 94px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
}

.bundle-products-mini img {
  width: 58px;
  height: 56px;
  object-fit: contain;
}

.bundle-products-mini b {
  font-size: var(--text-xs);
  font-weight: 500;
}

/* Product detail */
.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 24px 0;
  color: #748078;
  font-size: var(--text-xs);
}

.breadcrumbs b {
  color: var(--forest);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  min-height: 650px;
  border: 1px solid var(--line);
}

.product-gallery {
  min-height: 650px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-gallery::after {
  content: "";
  width: 50%;
  height: 20px;
  background: rgba(24, 56, 46, .12);
  filter: blur(11px);
  border-radius: 50%;
  position: absolute;
  bottom: 100px;
}

.product-gallery>img {
  width: 72%;
  height: 68%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 22px rgba(24, 56, 46, .17));
}

.product-detail-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--forest);
  color: white;
  padding: 8px 12px;
  font-size: var(--text-xs);
  z-index: 4;
}

.gallery-note {
  position: absolute;
  bottom: 22px;
  right: 22px;
  color: rgba(24, 56, 46, .55);
  font-size: var(--text-xs);
}

.product-detail-copy {
  padding: 58px clamp(32px, 5vw, 72px);
  background: var(--paper);
}

.product-detail-copy h1 {
  margin: 0 0 20px;
  font-size: var(--text-fluid-title-md);
  line-height: 1.2;
  font-weight: 600;
}

.product-desc {
  color: #66736b;
  line-height: 2;
  margin: 0 0 25px;
  font-size: var(--text-sm);
}

.product-main-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.product-main-price strong {
  font-size: var(--text-xl);
}

.product-main-price span {
  font-size: var(--text-sm);
  color: #747d77;
}

.product-main-price del {
  margin-inline-start: auto;
  color: #8a918c;
  font-size: var(--text-sm);
}

.pack-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  font-size: var(--text-sm);
}

.stock-line {
  margin-top: 10px;
  color: #55705f;
  font-size: var(--text-xs);
  display: flex;
  gap: 7px;
  align-items: center;
}

.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4d8c67;
}

.tier-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin: 24px 0;
}

.tier-box div {
  padding: 14px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tier-box div:last-child {
  border-left: 0;
}

.tier-box span,
.tier-box small {
  color: #778078;
  font-size: var(--text-xs);
}

.tier-box strong {
  font-size: var(--text-base);
}

.product-add-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
}

.qty-picker {
  border: 1px solid var(--forest);
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  min-height: 54px;
  align-items: center;
}

.qty-picker button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: var(--text-md);
}

.qty-picker span {
  text-align: center;
  font-size: var(--text-sm);
}

.flex-button {
  width: 100%;
}

.assisted-note {
  background: #e8ece4;
  padding: 14px;
  color: #617066;
  line-height: 1.8;
  font-size: var(--text-xs);
  margin: 16px 0;
}

.use-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.use-chips span {
  border: 1px solid var(--line);
  padding: 6px 9px;
  font-size: var(--text-xs);
}

.related-section {
  padding: 72px 0 95px;
}

.empty-state {
  padding: 100px 20px;
  text-align: center;
}

/* Live cart / drawer */
.live-cart {
  position: fixed;
  z-index: 52;
  left: 22px;
  bottom: 22px;
  width: 350px;
  background: rgba(250, 248, 242, .97);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(16, 43, 35, .16);
  backdrop-filter: blur(14px);
  transition: .28s ease;
}

.live-cart.collapsed {
  width: 205px;
}

.live-cart.collapsed .live-cart-body,
.live-cart.collapsed .live-cart-footer {
  display: none;
}

.live-cart-header {
  min-height: 58px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--forest);
  color: white;
}

.live-cart-header>div {
  display: flex;
  flex-direction: column;
}

.live-cart-header small {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, .55);
}

.live-cart-header strong {
  font-size: var(--text-sm);
}

.live-cart-header button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  color: white;
  cursor: pointer;
}

.live-cart-body {
  max-height: 285px;
  overflow: auto;
  padding: 0 14px;
}

.live-cart-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.live-cart-item .cart-thumb {
  width: 62px;
  height: 70px;
}

.live-cart-item h3 {
  font-size: var(--text-xs);
  margin: 2px 0;
}

.live-cart-item p {
  font-size: var(--text-xs);
  margin: 0 0 4px;
}

.live-cart-item .quantity {
  grid-template-columns: 22px 25px 22px;
}

.live-cart-item .quantity button {
  width: 22px;
  height: 22px;
}

.live-cart-item .quantity span {
  font-size: var(--text-xs);
}

.live-empty {
  padding: 22px 4px;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 3px;
}

.live-empty b {
  font-size: var(--text-sm);
}

.live-empty span {
  font-size: var(--text-xs);
  color: #7b857e;
}

.live-cart-more {
  display: block;
  padding: 8px 14px 0;
  color: #7a857e;
  font-size: var(--text-xs);
}

.live-cart-footer {
  padding: 11px 14px 14px;
}

.live-cart-footer>div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
  font-size: var(--text-xs);
}

.live-cart-footer strong {
  font-size: var(--text-md);
}

.live-cart-footer a {
  height: 39px;
  background: var(--forest);
  color: white;
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
}

.cart-drawer .cart-summary a {
  width: 100%;
  height: 51px;
  background: var(--forest);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: var(--text-sm);
}

.cart-item {
  grid-template-columns: 92px 1fr auto;
}

.cart-item-copy {
  min-width: 0;
}

.remove-item {
  border: 0;
  background: transparent;
  color: #a34843;
  align-self: start;
  padding: 7px 0;
  cursor: pointer;
  font-size: var(--text-xs);
}

.empty-cart a {
  margin-top: 20px;
  border-bottom: 1px solid var(--forest);
  font-size: var(--text-xs);
}

/* Cart + checkout */
.cart-page-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

.cart-page-list {
  border-top: 1px solid var(--line);
}

.cart-page-list .cart-item {
  grid-template-columns: 120px 1fr auto;
  padding: 22px 0;
}

.cart-page-list .cart-thumb {
  width: 120px;
  height: 135px;
}

.cart-page-list .cart-item h3 {
  font-size: var(--text-base);
}

.cart-page-list .cart-item p {
  font-size: var(--text-sm);
}

.summary-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 24px;
  position: sticky;
  top: 110px;
}

.summary-card h2 {
  margin: 0 0 22px;
  font-size: var(--text-md);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}

.summary-row.total {
  border-bottom: 0;
  padding-top: 18px;
  align-items: baseline;
}

.summary-row.total strong {
  font-size: var(--text-lg);
}

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

.summary-card .button.disabled {
  opacity: .4;
  pointer-events: auto;
  cursor: not-allowed;
}

.summary-note {
  margin: 13px 0 0;
  color: #707b74;
  font-size: var(--text-xs);
  line-height: 1.8;
}

.trust-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.trust-list span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #607169;
  font-size: var(--text-xs);
}

.trust-list i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dce5d9;
  display: grid;
  place-items: center;
  font-style: normal;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.form-section {
  border: 1px solid var(--line);
  padding: 26px;
  background: var(--paper);
}

.form-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.form-step {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
  flex: 0 0 auto;
}

.form-section h2 {
  margin: 0;
  font-size: var(--text-md);
}

.form-section-head p {
  margin: 4px 0 0;
  color: #748079;
  font-size: var(--text-xs);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-size: var(--text-xs);
  color: #637068;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 46px;
  padding: 9px 12px;
  outline: 0;
  color: var(--forest);
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice-card {
  position: relative;
}

.choice-card input {
  position: absolute;
  opacity: 0;
}

.choice-card span {
  min-height: 78px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px;
  cursor: pointer;
}

.choice-card b {
  font-size: var(--text-sm);
}

.choice-card small {
  font-size: var(--text-xs);
  color: #78827b;
}

.choice-card input:checked+span {
  border-color: var(--forest);
  background: #e5ebe1;
}

.checkout-mini-list {
  display: grid;
  gap: 7px;
  max-height: 340px;
  overflow: auto;
}

.checkout-mini-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.checkout-mini-item>span {
  width: 56px;
  height: 60px;
  display: grid;
  place-items: center;
}

.checkout-mini-item img {
  width: 90%;
  height: 85%;
  object-fit: contain;
}

.checkout-mini-item div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.checkout-mini-item b {
  font-size: var(--text-xs);
}

.checkout-mini-item small {
  font-size: var(--text-xs);
  color: #748079;
}

.checkout-mini-item strong {
  font-size: var(--text-xs);
}

.confirm-box {
  background: #dce5d9;
  padding: 14px;
  color: #5f6f65;
  font-size: var(--text-xs);
  line-height: 1.8;
}

/* Account / tracking / contact */
.auth-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 560px;
  border: 1px solid var(--line);
}

.auth-art {
  background: var(--forest);
  color: white;
  padding: 55px;
  position: relative;
  overflow: hidden;
}

.auth-art h2 {
  font-size: var(--text-2xl);
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 600;
}

.auth-art p {
  color: rgba(255, 255, 255, .62);
  line-height: 1.9;
  font-size: var(--text-sm);
  max-width: 470px;
}

.auth-art img {
  position: absolute;
  width: 46%;
  height: 38%;
  object-fit: contain;
  left: 6%;
  bottom: 4%;
  filter: drop-shadow(0 25px 20px rgba(0, 0, 0, .18));
}

.auth-panel {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

.auth-panel h1 {
  margin: 0 0 8px;
  font-size: var(--text-xl);
}

.auth-panel>p {
  color: #738078;
  font-size: var(--text-sm);
  line-height: 1.8;
}

.auth-field {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.auth-field label {
  font-size: var(--text-xs);
}

.auth-field input {
  height: 50px;
  border: 1px solid var(--line);
  background: white;
  padding: 0 13px;
  outline: 0;
  direction: ltr;
  text-align: right;
}

.auth-panel .button {
  margin-top: 12px;
  width: 100%;
}

.otp-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-card {
  min-height: 180px;
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: .2s;
}

.dashboard-card:hover {
  background: #e8ede5;
  transform: translateY(-2px);
}

.dashboard-card span {
  font-size: var(--text-lg);
}

.dashboard-card h3 {
  margin: 20px 0 5px;
  font-size: var(--text-base);
}

.dashboard-card p {
  margin: 0;
  color: #748078;
  font-size: var(--text-xs);
  line-height: 1.7;
}

.dashboard-card b {
  margin-top: 20px;
  font-size: var(--text-xs);
}

.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.account-head h2 {
  font-size: var(--text-xl);
  margin: 0;
}

.account-head button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 14px;
  cursor: pointer;
  font-size: var(--text-xs);
}

.orders-list {
  display: grid;
  gap: 12px;
}

.order-card {
  border: 1px solid var(--line);
  background: var(--paper);
}

.order-card-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.order-card-head small {
  color: #788078;
  font-size: var(--text-xs);
}

.order-card h3 {
  margin: 2px 0 0;
  font-size: var(--text-base);
}

.status-chip {
  background: #dfe7da;
  padding: 7px 10px;
  color: #486453;
  font-size: var(--text-xs);
}

.order-card-body {
  padding: 17px 20px;
}

.order-card-body p {
  margin: 0 0 13px;
  color: #667169;
  font-size: var(--text-xs);
}

.order-card-body>div {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
}

.order-card-body strong {
  font-size: var(--text-base);
}

.order-actions {
  border-top: 1px solid var(--line);
  display: flex;
}

.order-actions a,
.order-actions button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  font-size: var(--text-xs);
}

.order-actions>*+* {
  border-right: 1px solid var(--line);
}

.track-layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 28px;
  align-items: start;
}

.track-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--cream);
}

.track-card h2 {
  margin: 0 0 8px;
  font-size: var(--text-md);
}

.track-card p {
  color: #728078;
  font-size: var(--text-xs);
  line-height: 1.8;
}

.track-result {
  border: 1px solid var(--line);
  padding: 32px;
}

.track-order-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}

.track-order-head h2 {
  margin: 0;
}

.tracking-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 35px;
}

.tracking-timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: #c8d3c6;
}

.tracking-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.tracking-step i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dce5d9;
  border: 5px solid var(--paper);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  font-style: normal;
}

.tracking-step.done i {
  background: var(--forest);
  color: white;
}

.tracking-step b {
  display: block;
  font-size: var(--text-xs);
}

.tracking-step small {
  color: #7a837d;
  font-size: var(--text-xs);
}

.profile-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

.profile-side {
  background: var(--forest);
  color: white;
  padding: 28px;
  position: sticky;
  top: 110px;
}

.profile-side h2 {
  margin: 0 0 8px;
}

.profile-side p {
  color: rgba(255, 255, 255, .6);
  line-height: 1.8;
  font-size: var(--text-xs);
}

.profile-side nav {
  display: grid;
  gap: 1px;
  margin-top: 25px;
}

.profile-side a {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 12px 0;
  font-size: var(--text-xs);
}

.profile-form {
  display: grid;
  gap: 18px;
}

.profile-form .form-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
}

.contact-cards {
  display: grid;
  gap: 10px;
}

.contact-card {
  min-height: 130px;
  background: var(--forest);
  color: white;
  padding: 22px;
}

.contact-card small {
  color: rgba(255, 255, 255, .5);
  font-size: var(--text-xs);
}

.contact-card h3 {
  margin: 10px 0 4px;
}

.contact-card p {
  color: rgba(255, 255, 255, .63);
  font-size: var(--text-xs);
  line-height: 1.7;
}

/* Success */
.success-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 20px;
}

.success-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #dce6d9;
  color: var(--forest);
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  font-size: var(--text-xl);
}

.success-wrap h1 {
  font-size: var(--text-3xl);
  margin: 0 0 12px;
}

.success-wrap>p {
  color: #6d786f;
  line-height: 1.8;
}

.success-reference {
  margin: 28px auto;
  max-width: 390px;
  border: 1px solid var(--line);
  padding: 19px;
  display: grid;
  gap: 5px;
}

.success-reference span {
  font-size: var(--text-xs);
  color: #748078;
}

.success-reference strong {
  font-size: var(--text-lg);
  direction: ltr;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.success-actions a {
  min-width: 180px;
}

.search-result-link {
  width: 100%;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
  text-align: right;
}

.search-result-link>span {
  width: 54px;
  height: 50px;
  display: grid;
  place-items: center;
}

.search-result-link img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.search-result-link div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-result-link strong {
  font-size: var(--text-xs);
}

.search-result-link small {
  color: #7b857f;
  font-size: var(--text-xs);
}

.search-result-link b {
  font-size: var(--text-sm);
}

/* Footer/nav refinements */
.footer-main a,
.footer-main button:not(.newsletter button) {
  font-size: var(--text-sm);
  line-height: 1.7;
}

.mobile-drawer nav a {
  font-size: var(--text-base);
}

.mobile-drawer nav a.active {
  color: #fff;
  font-weight: 700;
}

.mobile-account-link {
  border: 1px solid rgba(255, 255, 255, .3);
  display: grid;
  place-items: center;
  min-height: 48px;
  margin-top: 16px;
  font-size: var(--text-sm);
}

@media (max-width: 1100px) {
  .page-shell {
    width: min(100% - 40px, 980px);
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    min-height: 550px;
  }

  .cart-page-layout,
  .checkout-layout {
    grid-template-columns: 1fr 330px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .live-cart {
    width: 320px;
  }
}

@media (max-width: 900px) {
  .live-cart {
    display: none;
  }

  .cart-page-layout,
  .checkout-layout,
  .track-layout,
  .profile-layout,
  .contact-grid,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .summary-card,
  .profile-side {
    position: static;
  }

  .auth-art {
    min-height: 330px;
  }

  .auth-art img {
    width: 35%;
  }

  .offer-banner {
    grid-template-columns: 1fr;
  }

  .offer-banner-visual {
    min-height: 360px;
    order: -1;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .page-main {
    padding-bottom: 65px;
  }

  .page-hero {
    padding: 50px 0;
  }

  .page-hero h1 {
    font-size: var(--text-2xl);
  }

  .page-hero p:last-child {
    font-size: var(--text-sm);
  }

  .page-section {
    padding: 48px 0 70px;
  }

  .section-mini-head h2 {
    font-size: var(--text-lg);
  }

  .full-category-grid {
    grid-template-columns: 1fr;
  }

  .full-category-card {
    min-height: 330px;
    padding: 28px;
  }

  .full-category-card h2 {
    font-size: var(--text-xl);
  }

  .full-category-card>img {
    width: 45%;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-sort select {
    width: 100%;
  }

  .product-detail-layout {
    border: 0;
  }

  .product-gallery {
    min-height: 420px;
  }

  .product-detail-copy {
    padding: 35px 20px;
  }

  .product-detail-copy h1 {
    font-size: var(--text-xl);
  }

  .tier-box {
    grid-template-columns: 1fr;
  }

  .tier-box div {
    border-left: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .tier-box div:last-child {
    border-bottom: 0;
  }

  .product-add-row {
    grid-template-columns: 96px 1fr;
  }

  .cart-page-list .cart-item {
    grid-template-columns: 86px 1fr auto;
  }

  .cart-page-list .cart-thumb {
    width: 86px;
    height: 100px;
  }

  .cart-page-list .cart-item h3 {
    font-size: var(--text-sm);
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .auth-art,
  .auth-panel {
    padding: 34px 24px;
  }

  .auth-art h2 {
    font-size: var(--text-xl);
  }

  .auth-art img {
    width: 45%;
  }

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

  .tracking-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tracking-timeline::before {
    width: 2px;
    height: calc(100% - 30px);
    top: 15px;
    right: 16px;
    left: auto;
  }

  .tracking-step {
    text-align: right;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
  }

  .tracking-step i {
    margin: 0;
    grid-row: 1/3;
  }

  .tracking-step b,
  .tracking-step small {
    display: block;
  }

  .offer-banner-copy {
    padding: 35px 24px;
  }

  .offer-banner-copy h2 {
    font-size: var(--text-2xl);
  }

  .offer-banner-visual {
    min-height: 300px;
  }

  .success-wrap {
    padding: 70px 14px 90px;
  }

  .success-wrap h1 {
    font-size: var(--text-xl);
  }
}

@media (max-width: 430px) {
  .page-hero h1 {
    font-size: var(--text-xl);
  }

  .full-category-card>div {
    max-width: 64%;
  }

  .full-category-card>img {
    width: 50%;
    left: -2%;
  }

  .product-add-row {
    grid-template-columns: 1fr;
  }

  .qty-picker {
    width: 120px;
  }

  .cart-page-list .cart-item {
    grid-template-columns: 76px 1fr;
  }

  .cart-page-list .cart-thumb {
    width: 76px;
    height: 90px;
  }

  .cart-page-list .remove-item {
    grid-column: 2;
    justify-self: start;
  }

  .summary-card {
    padding: 18px;
  }
}

/* Backend offers use Simple's editorial cards, bundle panels and numbered rows. */
.simple-native-feature .offer-banner-copy>strong,
.simple-native-bundle .bundle-copy>strong,
.simple-native-offer-card>div>strong,
.simple-benefit-row>div>strong,
.simple-offer-detail-copy>strong {
  display: block;
  color: var(--eucalyptus);
  font-size: var(--text-md);
}

.simple-native-feature .offer-banner-copy>strong,
.simple-native-bundle .bundle-copy>strong {
  color: var(--cream);
}

.simple-offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.simple-offer-actions>a:not(.button) {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.simple-native-feature .simple-offer-actions>a:not(.button),
.simple-native-bundle .simple-offer-actions>a:not(.button) {
  color: var(--cream);
}

.simple-native-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 64px;
}

.simple-native-offer-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #b8b2a5;
  background: #fffdf7;
}

.simple-native-offer-visual {
  display: grid;
  height: 230px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #d7d0c3;
  background: var(--soft-bg);
}

.simple-native-offer-visual img {
  width: 78%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(24, 56, 46, .14));
}

.simple-native-offer-card>div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.simple-native-offer-card small,
.simple-benefit-row small {
  color: var(--eucalyptus);
  font-size: var(--text-xs);
  font-weight: 700;
}

.simple-native-offer-card h3 {
  margin: 8px 0;
  font: 500 var(--text-lg)/1.5 Georgia, "Times New Roman", serif;
}

.simple-native-offer-card h3 a {
  color: var(--forest);
  text-decoration: none;
}

.simple-native-offer-card p {
  color: var(--muted);
  line-height: 1.9;
}

.simple-offer-card-details { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.8; list-style: none; }
.simple-offer-card-details li::before { content: "•"; margin-inline-end: 7px; color: var(--eucalyptus); font-weight: 900; }
.simple-native-feature .simple-offer-card-details,
.simple-native-bundle .simple-offer-card-details { color: var(--cream); }

.simple-native-offer-card .simple-offer-actions {
  margin-top: auto;
  padding-top: 18px;
}

.simple-native-offer-icon {
  color: var(--forest);
  font-size: 50px;
}

.simple-native-bundle {
  width: 100%;
  margin: 0 0 64px;
}

.simple-native-bundle .bundle-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.simple-native-bundle .bundle-visual img {
  position: relative;
  width: 35%;
  height: 42%;
  margin: -14px;
  object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(24, 56, 46, .2));
}

.simple-benefit-editorial {
  border-top: 1px solid #9e978b;
  padding-top: 48px;
}

.simple-benefit-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(260px, .7fr);
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #b8b2a5;
  padding: 30px 0;
}

.simple-benefit-row>b {
  color: #b8b2a5;
  font: 500 var(--text-2xl)/1 Georgia, "Times New Roman", serif;
}

.simple-benefit-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 10px;
  color: var(--forest);
  border: 1px solid #b8b2a5;
  font-size: 20px;
}

.simple-benefit-icon img {
  width: 100%;
  height: 100%;
  padding: 7px;
  object-fit: contain;
}

.simple-benefit-row h3 {
  margin: 5px 0;
  font-size: var(--text-lg);
}

.simple-benefit-row p {
  margin: 0;
  color: var(--muted);
}

.simple-offer-detail {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  min-height: 520px;
  border-block: 1px solid #9e978b;
}

.simple-offer-detail-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--soft-bg);
}

.simple-offer-detail-visual img {
  width: 58%;
  height: 58%;
  margin: -12%;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(24, 56, 46, .16));
}

.simple-offer-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 76px);
}

.simple-offer-detail-copy h1 {
  margin: 9px 0 18px;
  color: var(--forest);
  font: 500 clamp(34px, 5vw, 62px)/1.2 Georgia, "Times New Roman", serif;
}

.simple-offer-detail-copy>p:not(.eyebrow) {
  color: var(--muted);
  line-height: 2;
}

.simple-offer-terms {
  margin: 44px 0;
  padding: 34px;
  border: 1px solid #b8b2a5;
  background: #fffdf7;
}

.simple-offer-terms h2 {
  margin-top: 0;
}

.simple-offer-terms li {
  margin: 9px 0;
  color: var(--muted);
}

.simple-offer-empty {
  display: grid;
  min-height: 340px;
  place-items: center;
  align-content: center;
  gap: 16px;
  text-align: center;
}

.simple-offer-empty>i {
  color: var(--eucalyptus);
  font-size: 54px;
}

@media (max-width: 900px) {
  .simple-native-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simple-benefit-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .simple-benefit-row>div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .simple-native-offer-grid,
  .simple-offer-detail {
    grid-template-columns: 1fr;
  }

  .simple-offer-detail-visual {
    min-height: 300px;
  }

  .simple-benefit-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }
}
