/* ==================================================
   Home Hub BD — Bilingual Cosmetics Storefront V1
   ================================================== */

.shop-page {
  background:
    radial-gradient(circle at 92% 7%, rgba(211, 236, 224, 0.7), transparent 25rem),
    #f8f6f0;
}

.shop-page .site-header {
  background: rgba(250, 249, 245, 0.93);
}

.shop-page .desktop-nav a[aria-current="page"] {
  color: var(--green);
}

.shop-hero {
  overflow: hidden;
  padding: 76px 0 72px;
}

.shop-hero-grid {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
}

.shop-eyebrow,
.shop-kicker {
  color: var(--green);
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.shop-hero h1 {
  font-size: clamp(52px, 6.8vw, 92px);
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin: 0;
  max-width: 780px;
}

.shop-hero h1 span,
.shop-hero h1 em {
  display: block;
}

.shop-hero h1 em {
  color: var(--green);
  font-family: Georgia, serif;
  font-weight: 500;
}

.shop-hero-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 30px 0;
  max-width: 650px;
}

.shop-hero-card {
  background:
    linear-gradient(145deg, #d9eee3, #b8dcca);
  border: 1px solid rgba(29, 86, 67, 0.12);
  border-radius: 42px;
  box-shadow: 0 34px 80px rgba(24, 61, 47, 0.14);
  min-height: 510px;
  overflow: hidden;
  position: relative;
}

.shop-hero-bottle {
  align-items: center;
  background: linear-gradient(180deg, #fff, #eef7f1);
  border: 1px solid rgba(21, 87, 61, 0.14);
  border-radius: 36px 36px 25px 25px;
  box-shadow: 0 28px 45px rgba(30, 76, 59, 0.22);
  color: var(--green);
  display: flex;
  flex-direction: column;
  height: 330px;
  justify-content: center;
  left: 50%;
  padding: 30px;
  position: absolute;
  text-align: center;
  top: 64px;
  transform: translateX(-50%) rotate(3deg);
  width: 205px;
}

.shop-hero-bottle::before {
  background: #194c3c;
  border-radius: 10px 10px 4px 4px;
  content: "";
  height: 48px;
  left: 52px;
  position: absolute;
  right: 52px;
  top: -34px;
}

.shop-hero-bottle span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.shop-hero-bottle strong {
  font-family: Georgia, serif;
  font-size: 29px;
  line-height: 1.05;
  margin: 32px 0;
}

.shop-hero-bottle small {
  color: var(--muted);
}

.shop-leaf {
  color: rgba(19, 91, 63, 0.42);
  font-family: Georgia, serif;
  font-size: 180px;
  position: absolute;
}

.shop-leaf-one {
  left: -24px;
  top: 28px;
  transform: rotate(-38deg);
}

.shop-leaf-two {
  bottom: 28px;
  right: -25px;
  transform: rotate(138deg);
}

.shop-hero-note {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(20, 75, 57, 0.1);
  border-radius: 18px;
  bottom: 22px;
  display: grid;
  left: 22px;
  padding: 14px 18px;
  position: absolute;
  right: 22px;
}

.shop-hero-note small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.shop-hero-note strong {
  color: var(--ink);
  margin-top: 3px;
}

.shop-catalogue {
  background: #fff;
  border-radius: 46px 46px 0 0;
  padding: 88px 0 104px;
}

.shop-heading {
  align-items: end;
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.shop-heading h2 {
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0;
}

.shop-heading > p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 420px;
}

.shop-controls {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 44px 0 24px;
}

.shop-search {
  align-items: center;
  background: #f7f7f2;
  border: 1px solid rgba(29, 70, 55, 0.14);
  border-radius: 999px;
  display: flex;
  gap: 10px;
  min-width: min(100%, 390px);
  padding: 0 18px;
}

.shop-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(9, 107, 89, 0.1);
}

.shop-search input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  outline: 0;
  padding: 14px 0;
  width: 100%;
}

.shop-result-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.category-filter {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scrollbar-width: thin;
}

.category-filter button {
  background: #fff;
  border: 1px solid rgba(30, 68, 54, 0.16);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 17px;
}

.category-filter button:hover,
.category-filter button:focus-visible,
.category-filter button.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.product-card {
  background: #fff;
  border: 1px solid rgba(32, 70, 55, 0.12);
  border-radius: 26px;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.product-card:hover {
  border-color: rgba(9, 107, 89, 0.38);
  box-shadow: 0 22px 50px rgba(25, 65, 50, 0.11);
  transform: translateY(-4px);
}

.product-card-media {
  align-items: center;
  aspect-ratio: 1 / 0.78;
  background:
    radial-gradient(circle at 75% 20%, #ecf7f0, transparent 36%),
    #f3f4ed;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card-media img {
  height: 100%;
  object-fit: contain;
  padding: 22px;
  width: 100%;
}

.product-placeholder {
  align-items: center;
  color: var(--green);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-placeholder span {
  font-family: Georgia, serif;
  font-size: 76px;
  transform: rotate(-20deg);
}

.product-placeholder small {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.product-badge {
  background: var(--green);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  left: 14px;
  letter-spacing: 0.05em;
  padding: 7px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 14px;
}

.product-badge.out {
  background: #6f645a;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-brand {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 9px 0 10px;
}

.product-card-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.product-card-footer {
  align-items: end;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.product-unit {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 700;
}

.product-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.shop-feedback {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  min-height: 290px;
  text-align: center;
}

.shop-feedback.error {
  color: #8b322b;
}

.shop-loader {
  animation: shop-spin 800ms linear infinite;
  border: 3px solid rgba(9, 107, 89, 0.15);
  border-radius: 50%;
  border-top-color: var(--green);
  height: 34px;
  width: 34px;
}

.shop-empty {
  border: 1px dashed rgba(30, 69, 54, 0.2);
  border-radius: 26px;
  margin-top: 26px;
  padding: 58px 20px;
  text-align: center;
}

.shop-empty > span {
  color: var(--green);
  font-size: 38px;
}

.shop-empty h3 {
  font-size: 25px;
  margin: 10px 0 6px;
}

.shop-empty p {
  color: var(--muted);
  margin: 0 0 22px;
}

.shop-assurance {
  background: #173c30;
  color: #fff;
  padding: 55px 0;
}

.shop-assurance-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-assurance article {
  display: flex;
  gap: 15px;
}

.shop-assurance article > span {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  flex: 0 0 46px;
  font-size: 12px;
  font-weight: 850;
  height: 46px;
  justify-content: center;
}

.shop-assurance strong {
  display: block;
  margin-bottom: 5px;
}

.shop-assurance p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@keyframes shop-spin {
  to { transform: rotate(360deg); }
}

html[lang="bn"] .shop-eyebrow,
html[lang="bn"] .shop-kicker,
html[lang="bn"] .product-brand {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="bn"] .shop-hero h1 {
  letter-spacing: 0;
  line-height: 1.16;
}

html[lang="bn"] .shop-hero h1 em {
  font-family: inherit;
  font-style: normal;
}

@media (max-width: 980px) {
  .shop-hero-grid {
    gap: 40px;
    grid-template-columns: 1fr 0.75fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-assurance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shop-hero {
    padding: 52px 0 58px;
  }

  .shop-hero-grid {
    grid-template-columns: 1fr;
  }

  .shop-hero h1 {
    font-size: 56px;
  }

  .shop-hero-card {
    min-height: 410px;
  }

  .shop-hero-bottle {
    height: 255px;
    top: 65px;
    width: 165px;
  }

  .shop-heading {
    align-items: start;
    flex-direction: column;
  }

  .shop-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-search {
    min-width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .shop-catalogue {
    border-radius: 30px 30px 0 0;
    padding: 65px 0 78px;
  }
}

/* === PRODUCT DETAIL PAGE V1 === */

.product-detail-page {
  background: #f8f6f0;
}

.product-breadcrumb {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 9px;
  padding-bottom: 28px;
  padding-top: 34px;
}

.product-breadcrumb a:hover {
  color: var(--green);
}

.product-detail-shell {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  padding-bottom: 88px;
}

.product-main-image {
  align-items: center;
  aspect-ratio: 1 / 0.9;
  background:
    radial-gradient(circle at 72% 18%, #e6f5eb, transparent 32%),
    #eef1e8;
  border: 1px solid rgba(28, 74, 56, 0.1);
  border-radius: 34px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.product-main-image > img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.product-detail-placeholder {
  align-items: center;
  color: var(--green);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-detail-placeholder span {
  font-family: Georgia, serif;
  font-size: 135px;
  line-height: 1;
  transform: rotate(-18deg);
}

.product-detail-placeholder strong {
  font-size: 12px;
  letter-spacing: 0.17em;
}

.product-detail-placeholder small {
  color: var(--muted);
  margin-top: 9px;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 13px;
  overflow-x: auto;
}

.product-thumbnails button {
  background: #fff;
  border: 1px solid rgba(29, 72, 55, 0.14);
  border-radius: 13px;
  cursor: pointer;
  flex: 0 0 76px;
  height: 76px;
  overflow: hidden;
  padding: 3px;
}

.product-thumbnails button.active {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(9, 107, 89, 0.1);
}

.product-thumbnails img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-purchase-panel {
  padding-top: 12px;
}

.product-detail-brand {
  color: var(--green);
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-purchase-panel h1 {
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 14px 0 20px;
}

.product-detail-summary {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0;
}

.product-detail-meta span {
  background: #eaf2ec;
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
}

.product-detail-price-row {
  align-items: center;
  border-bottom: 1px solid rgba(30, 68, 54, 0.13);
  border-top: 1px solid rgba(30, 68, 54, 0.13);
  display: flex;
  justify-content: space-between;
  margin: 26px 0;
  padding: 21px 0;
}

.product-detail-price-row > strong {
  font-size: 33px;
}

.product-stock-state {
  align-items: center;
  color: var(--green);
  display: flex;
  font-size: 13px;
  font-weight: 850;
  gap: 7px;
}

.product-stock-state::before {
  background: #2c9b66;
  border-radius: 50%;
  content: "";
  height: 8px;
  width: 8px;
}

.product-stock-state.out {
  color: #806159;
}

.product-stock-state.out::before {
  background: #a87568;
}

.product-quantity {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-quantity label {
  font-size: 13px;
  font-weight: 800;
}

.quantity-control {
  align-items: center;
  border: 1px solid rgba(30, 68, 54, 0.18);
  border-radius: 999px;
  display: flex;
  overflow: hidden;
}

.quantity-control button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 19px;
  height: 38px;
  width: 40px;
}

.quantity-control input {
  appearance: textfield;
  border: 0;
  font: inherit;
  font-weight: 850;
  outline: 0;
  text-align: center;
  width: 42px;
}

.quantity-control input::-webkit-inner-spin-button {
  appearance: none;
}

.product-add-button {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.product-add-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.product-action-message {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0 0;
  min-height: 20px;
}

.product-action-message.success {
  color: var(--green);
  font-weight: 750;
}

.product-action-message.error {
  color: #9a332d;
  font-weight: 750;
}

.product-purchase-note {
  align-items: start;
  background: rgba(230, 241, 234, 0.8);
  border-radius: 15px;
  display: flex;
  gap: 11px;
  margin-top: 21px;
  padding: 14px;
}

.product-purchase-note > span {
  color: var(--green);
  font-weight: 900;
}

.product-purchase-note p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.product-information {
  background: #fff;
  border-radius: 36px;
  margin-bottom: 82px;
  padding: 62px;
}

.product-description-section {
  max-width: 850px;
}

.product-description-section h2 {
  font-size: clamp(36px, 4vw, 55px);
  letter-spacing: -0.045em;
  margin: 0 0 20px;
}

.product-description-copy p,
.product-description-copy li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.product-description-copy p {
  margin: 0;
}

.product-description-copy ul,
.product-info-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.25rem;
}

.product-description-copy li,
.product-info-card li {
  padding-left: 4px;
}

.product-information-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 44px;
}

.product-info-card {
  background: #f6f7f1;
  border: 1px solid rgba(30, 68, 54, 0.09);
  border-radius: 22px;
  padding: 28px;
}

.product-info-card.warning {
  background: #fff7ed;
}

.product-info-icon {
  align-items: center;
  background: #dceee3;
  border-radius: 50%;
  color: var(--green);
  display: flex;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.product-info-card.warning .product-info-icon {
  background: #f1dfca;
  color: #8b5534;
}

.product-info-card h3 {
  font-size: 22px;
  margin: 17px 0 10px;
}

.product-info-card p,
.product-info-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.product-info-card p,
.product-info-card ul {
  margin-bottom: 0;
}

.product-info-card ul {
  padding-left: 20px;
}

.product-detail-assurance {
  background: #173c30;
  color: #fff;
  padding: 48px 0;
}

.product-detail-assurance-grid {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.product-detail-assurance strong {
  font-size: 21px;
}

.product-detail-assurance p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 6px 0 0;
  max-width: 720px;
}

.product-detail-assurance .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  flex: 0 0 auto;
}

.product-loading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  min-height: 520px;
}

.product-not-found {
  padding: 100px 0 130px;
  text-align: center;
}

.product-not-found > span {
  color: var(--green);
  font-size: 50px;
}

.product-not-found h1 {
  font-size: 56px;
  margin: 13px 0;
}

.product-not-found p {
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 600px;
}

html[lang="bn"] .product-detail-brand {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="bn"] .product-purchase-panel h1 {
  letter-spacing: 0;
  line-height: 1.16;
}

@media (max-width: 900px) {
  .product-detail-shell {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .product-main-image {
    max-height: 620px;
  }

  .product-information {
    padding: 38px;
  }
}

@media (max-width: 680px) {
  .product-detail-shell {
    padding-bottom: 62px;
  }

  .product-purchase-panel h1 {
    font-size: 48px;
  }

  .product-information {
    border-radius: 26px;
    padding: 27px 20px;
  }

  .product-information-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-assurance-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .product-detail-assurance .btn {
    text-align: center;
  }

  .product-not-found h1 {
    font-size: 42px;
  }
}

/* === SHOPPING CART PAGE V1 === */

.cart-page {
  background: #f8f6f0;
}

.cart-heading {
  padding-bottom: 42px;
  padding-top: 70px;
}

.cart-heading h1 {
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin: 0;
}

.cart-heading > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 680px;
}

.cart-loading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  min-height: 390px;
}

.cart-sign-in,
.cart-empty,
.cart-error {
  background: #fff;
  border: 1px solid rgba(30, 68, 54, 0.11);
  border-radius: 30px;
  margin-bottom: 90px;
  padding: 65px 25px;
  text-align: center;
}

.cart-state-icon {
  align-items: center;
  background: #e3f1e8;
  border-radius: 50%;
  color: var(--green);
  display: flex;
  font-size: 28px;
  height: 70px;
  justify-content: center;
  margin: 0 auto;
  width: 70px;
}

.cart-sign-in h2,
.cart-empty h2,
.cart-error h2 {
  font-size: 34px;
  margin: 20px 0 9px;
}

.cart-sign-in p,
.cart-empty p,
.cart-error p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 auto 25px;
  max-width: 570px;
}

.cart-secondary-link {
  color: var(--green);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 18px;
}

.cart-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cart-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 360px;
  padding-bottom: 100px;
}

.cart-items-panel,
.cart-summary {
  background: #fff;
  border: 1px solid rgba(30, 68, 54, 0.1);
  border-radius: 26px;
}

.cart-items-panel {
  padding: 28px;
}

.cart-items-heading {
  align-items: center;
  border-bottom: 1px solid rgba(30, 68, 54, 0.11);
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.cart-items-heading h2 {
  font-size: 26px;
  margin: 0;
}

.cart-items-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.cart-item {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  padding: 24px 0;
}

.cart-item + .cart-item {
  border-top: 1px solid rgba(30, 68, 54, 0.1);
}

.cart-item-media {
  align-items: center;
  background: #eef2e9;
  border-radius: 17px;
  display: flex;
  height: 110px;
  justify-content: center;
  overflow: hidden;
}

.cart-item-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cart-item-media > span {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 54px;
}

.cart-item-details {
  align-items: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cart-item-type {
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-item-name {
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.3;
  margin: 6px 0;
}

a.cart-item-name:hover {
  color: var(--green);
}

.cart-item-meta {
  color: var(--muted);
  font-size: 12px;
}

.cart-item-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 13px;
}

.cart-item-quantity {
  align-items: center;
  border: 1px solid rgba(30, 68, 54, 0.16);
  border-radius: 999px;
  display: flex;
}

.cart-item-quantity button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 17px;
  height: 31px;
  width: 34px;
}

.cart-item-quantity button:disabled,
.cart-remove:disabled {
  cursor: wait;
  opacity: 0.45;
}

.cart-item-quantity span {
  font-size: 13px;
  font-weight: 850;
  min-width: 25px;
  text-align: center;
}

.cart-remove {
  background: transparent;
  border: 0;
  color: #9c453d;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 0;
}

.cart-item-total {
  font-size: 18px;
  white-space: nowrap;
}

.cart-summary {
  padding: 28px;
  position: sticky;
  top: 100px;
}

.cart-summary-row,
.cart-summary-total {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.cart-summary-row {
  border-bottom: 1px solid rgba(30, 68, 54, 0.1);
  padding: 16px 0;
}

.cart-summary-row.muted {
  align-items: start;
  color: var(--muted);
  font-size: 12px;
}

.cart-summary-row.muted span:last-child {
  max-width: 145px;
  text-align: right;
}

.cart-summary-total {
  font-size: 18px;
  padding: 23px 0;
}

.cart-summary-total strong {
  font-size: 25px;
}

.cart-checkout-button {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.cart-continue-link {
  color: var(--green);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 17px 0;
  text-align: center;
}

.cart-summary-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin: 19px 0 0;
  text-align: center;
}

html[lang="bn"] .cart-heading h1 {
  letter-spacing: 0;
  line-height: 1.16;
}

html[lang="bn"] .cart-item-type {
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 650px) {
  .cart-heading {
    padding-top: 52px;
  }

  .cart-heading h1 {
    font-size: 53px;
  }

  .cart-items-panel {
    padding: 19px;
  }

  .cart-item {
    align-items: start;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .cart-item-media {
    height: 82px;
  }

  .cart-item-total {
    grid-column: 2;
  }

  .cart-item-actions {
    align-items: start;
    flex-direction: column;
  }
}

/* === CHECKOUT PAGE V1 === */

.checkout-page {
  background: #f8f6f0;
}

.checkout-heading {
  padding: 58px 0 42px;
}

.checkout-back {
  color: var(--green);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 32px;
}

.checkout-heading h1 {
  font-size: clamp(51px, 7vw, 84px);
  letter-spacing: -0.06em;
  line-height: 0.96;
  margin: 0;
}

.checkout-heading > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 23px 0 0;
  max-width: 700px;
}

.checkout-loading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  min-height: 380px;
}

.checkout-sign-in,
.checkout-error,
.checkout-success {
  background: #fff;
  border-radius: 30px;
  margin-bottom: 90px;
  padding: 65px 28px;
  text-align: center;
}

.checkout-sign-in h2,
.checkout-error h2 {
  font-size: 35px;
  margin: 0 0 10px;
}

.checkout-sign-in p,
.checkout-error p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 auto 25px;
  max-width: 600px;
}

.checkout-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 370px;
  padding-bottom: 100px;
}

.checkout-main-column {
  display: grid;
  gap: 20px;
}

.checkout-card,
.checkout-summary {
  background: #fff;
  border: 1px solid rgba(30, 68, 54, 0.1);
  border-radius: 26px;
  padding: 29px;
}

.checkout-section-heading {
  align-items: start;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.checkout-section-heading > span {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 38px;
  font-weight: 850;
  height: 38px;
  justify-content: center;
}

.checkout-section-heading h2 {
  font-size: 25px;
  margin: 3px 0 4px;
}

.checkout-section-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.checkout-addresses {
  display: grid;
  gap: 10px;
}

.checkout-address-option {
  align-items: start;
  border: 1px solid rgba(30, 68, 54, 0.14);
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 16px;
}

.checkout-address-option:has(input:checked) {
  background: #edf6f0;
  border-color: var(--green);
}

.checkout-address-option input {
  margin-top: 4px;
}

.checkout-address-option span {
  display: grid;
  gap: 4px;
}

.checkout-address-option small {
  color: var(--muted);
  line-height: 1.5;
}

.checkout-no-address {
  color: var(--muted);
}

.checkout-text-button {
  background: transparent;
  border: 0;
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  margin-top: 18px;
  padding: 0;
}

.checkout-new-address {
  background: #f5f7f1;
  border-radius: 18px;
  margin-top: 20px;
  padding: 20px;
}

.checkout-new-address label,
.checkout-service-item label {
  color: var(--ink);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  margin-bottom: 14px;
}

.checkout-new-address select,
.checkout-new-address textarea,
.checkout-service-item textarea,
.checkout-service-item input {
  background: #fff;
  border: 1px solid rgba(30, 68, 54, 0.17);
  border-radius: 11px;
  color: var(--ink);
  font: inherit;
  padding: 12px;
  width: 100%;
}

.checkout-field-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: 1fr 1fr;
}

.checkout-inline-message,
.checkout-message {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  min-height: 18px;
}

.checkout-service-item {
  background: #f5f7f1;
  border-radius: 18px;
  padding: 20px;
}

.checkout-service-item + .checkout-service-item {
  margin-top: 13px;
}

.checkout-service-item h3 {
  margin: 0 0 18px;
}

.checkout-item {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 17px 0;
}

.checkout-item + .checkout-item {
  border-top: 1px solid rgba(30, 68, 54, 0.1);
}

.checkout-item > div {
  display: grid;
  gap: 4px;
}

.checkout-item small {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-item span {
  color: var(--muted);
  font-size: 12px;
}

.checkout-summary {
  position: sticky;
  top: 100px;
}

.checkout-summary-line,
.checkout-summary-total {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 16px 0;
}

.checkout-summary-line {
  border-bottom: 1px solid rgba(30, 68, 54, 0.1);
}

.checkout-summary-line.muted {
  color: var(--muted);
  font-size: 12px;
}

.checkout-summary-total {
  font-size: 18px;
}

.checkout-summary-total strong {
  font-size: 26px;
}

.checkout-confirmation {
  align-items: start;
  display: flex;
  font-size: 12px;
  gap: 9px;
  line-height: 1.55;
  margin: 15px 0;
}

.checkout-confirmation input {
  margin-top: 3px;
}

.checkout-submit {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.checkout-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.checkout-payment-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin: 20px 0 0;
  text-align: center;
}

.checkout-success > span {
  align-items: center;
  background: #dff1e6;
  border-radius: 50%;
  color: var(--green);
  display: flex;
  font-size: 30px;
  height: 72px;
  justify-content: center;
  margin: 0 auto 20px;
  width: 72px;
}

.checkout-success > small {
  color: var(--green);
  font-weight: 850;
  text-transform: uppercase;
}

.checkout-success h1 {
  font-size: 58px;
  margin: 10px 0;
}

.checkout-success > p {
  color: var(--muted);
}

.checkout-success-details {
  background: #f5f7f1;
  border-radius: 18px;
  margin: 28px auto;
  max-width: 550px;
  padding: 20px;
}

.checkout-success-details > div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
}

.checkout-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

html[lang="bn"] .checkout-heading h1 {
  letter-spacing: 0;
  line-height: 1.16;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .checkout-heading h1 {
    font-size: 50px;
  }

  .checkout-card,
  .checkout-summary {
    padding: 20px;
  }

  .checkout-field-grid {
    grid-template-columns: 1fr;
  }
}

/* === STOREFRONT HIDDEN-STATE CORRECTION V1 ===
   Component display declarations must never override
   the native hidden attribute used by JavaScript.
*/
.shop-page [hidden] {
  display: none !important;
}

/* === CATALOGUE PRODUCT IMAGE CORRECTION V1 ===
   Tall package photography must remain completely visible.
*/
.product-card-media {
  min-height: 300px;
}

.product-card-media img {
  box-sizing: border-box;
  filter: drop-shadow(
    0 18px 20px rgba(28, 67, 52, 0.12)
  );
  max-height: 390px;
}

/* Keep a small catalogue visually balanced while allowing
   future products to fill the responsive grid naturally. */
.product-grid {
  grid-template-columns:
    repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

@media (min-width: 761px) {
  .product-grid .product-card:only-child {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .product-card-media {
    min-height: 260px;
  }

  .product-card-media img {
    padding: 18px;
  }
}

/* ==========================================================
   Checkout payment choice V1
   ========================================================== */

.payment-choice-card {
  position: relative;
}

.payment-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.payment-choice-option {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.payment-choice-option input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.payment-choice-option-copy {
  display: flex;
  min-height: 9.5rem;
  height: 100%;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(9, 107, 89, 0.2);
  border-radius: 1rem;
  background: #fff;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.payment-choice-option:hover
.payment-choice-option-copy {
  transform: translateY(-2px);
  border-color: rgba(9, 107, 89, 0.48);
}

.payment-choice-option input:focus-visible
+ .payment-choice-option-copy {
  outline: 3px solid rgba(9, 107, 89, 0.22);
  outline-offset: 3px;
}

.payment-choice-option input:checked
+ .payment-choice-option-copy {
  border-color: #096b59;
  box-shadow: 0 0 0 3px rgba(9, 107, 89, 0.12);
  background: #f4fbf8;
}

.payment-choice-option-copy strong {
  color: #173e36;
  font-size: 1rem;
}

.payment-choice-option-copy small {
  color: #61746f;
  line-height: 1.55;
}

.payment-choice-option-copy em {
  width: fit-content;
  margin-top: auto;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: #096b59;
  background: rgba(9, 107, 89, 0.1);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
}

.payment-choice-status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: #096b59;
  font-weight: 700;
}

.payment-online-notice {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(181, 102, 24, 0.38);
  border-radius: 1rem;
  background: #fff9f2;
}

.payment-online-notice strong {
  display: block;
  color: #7b4515;
}

.payment-online-notice p {
  margin: 0.4rem 0 0.75rem;
  color: #755f4b;
  line-height: 1.6;
}

.payment-unavailable-badge {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: #7b4515;
  background: #ffead3;
  font-size: 0.75rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .payment-choice-grid {
    grid-template-columns: 1fr;
  }

  .payment-choice-option-copy {
    min-height: auto;
  }
}

