/* =========================================================
   Site theme tokens
   ========================================================= */
:root {
  --color-bg: #f5f0e8;
  --color-surface: #ffffff;
  --color-surface-soft: #faf7f2;
  --color-text: #111111;
  --color-muted: #6d6559;
  --color-border: #e3d7c5;
  --color-gold: #c6a15b;
  --color-gold-deep: #aa8342;
  --color-dark: #141414;
  --shadow-lg: 0 18px 60px rgba(17, 17, 17, 0.08);
  --shadow-md: 0 10px 30px rgba(17, 17, 17, 0.05);
  --container: 1280px;
  --header-height: 84px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --transition: 280ms ease;
}

/* =========================================================
   Reset and base styles
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
}

body.is-menu-open {
  overflow: hidden;
}

body.lang-ar,
html[dir='rtl'] body {
  font-family: 'Noto Sans Arabic', sans-serif;
}

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

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

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

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.main {
  min-height: calc(100vh - var(--header-height));
}

.serif {
  font-family: 'Playfair Display', serif;
}

.text-muted {
  color: var(--color-muted);
}

.eyebrow {
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.section {
  padding: 92px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--white {
  background: var(--color-surface);
}

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

.section-head--center {
  display: block;
  text-align: center;
}

.section-title {
  margin: 10px 0 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-subtitle {
  max-width: 680px;
  margin-top: 12px;
  color: var(--color-muted);
}

.lang-secondary {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.98rem;
}

/* =========================================================
   Buttons and shared UI parts
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  font-size: 0.92rem;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--color-gold);
  color: #ffffff;
}

.btn--gold:hover {
  background: var(--color-gold-deep);
}

.btn--outline {
  border-color: var(--color-text);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-text);
  color: #ffffff;
}

.btn--light {
  border-color: #ffffff;
  background: #ffffff;
}

.btn--light:hover {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #ffffff;
}

.btn--dark {
  background: var(--color-dark);
  color: #ffffff;
}

.btn--dark:hover {
  background: #2a2a2a;
}

.btn--ghost {
  border-color: var(--color-border);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--full {
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
}

.icon-btn:hover {
  border-color: rgba(198, 161, 91, 0.3);
  color: var(--color-gold);
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  max-width: min(92vw, 340px);
  padding: 14px 16px;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all var(--transition);
}

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

html[dir='rtl'] .toast {
  right: auto;
  left: 24px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.stack {
  display: grid;
  gap: 24px;
}

/* =========================================================
   Top bar, header, and navigation
   ========================================================= */
.promo-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #101010;
  color: #f4ede3;
  font-size: 0.86rem;
}

.promo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  border-bottom: 1px solid rgba(198, 161, 91, 0.16);
  background: rgba(245, 240, 232, 0.86);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__arabic {
  font-size: 1.25rem;
  font-weight: 700;
}

.brand__latin {
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav__link {
  position: relative;
  padding: 6px 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav__link::after {
  content: '';
  position: absolute;
  right: 0;
  left: 0;
  bottom: -6px;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  height: 42px;
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #ffffff;
}

.lang-toggle button {
  flex: 1;
  height: 100%;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.lang-toggle button.is-active {
  background: var(--color-dark);
  color: #ffffff;
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
  border-top: 1px solid rgba(198, 161, 91, 0.12);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__links {
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.mobile-nav__links a,
.mobile-nav__links button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
}

.mobile-nav__lang {
  margin-top: 12px;
}

/* =========================================================
   Hero and editorial sections
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 126px);
  overflow: hidden;
}

.hero__media,
.page-hero__media,
.panel-banner__media {
  position: absolute;
  inset: 0;
}

.hero__media img,
.page-hero__media img,
.panel-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.page-hero::after,
.panel-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0.22) 46%, rgba(10, 10, 10, 0.1));
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 700px) 320px;
  align-items: end;
  gap: 28px;
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  color: #ffffff;
}

.hero__panel {
  max-width: 760px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(17, 17, 17, 0.24);
  backdrop-filter: blur(7px);
}

.hero__title {
  margin: 12px 0 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero__copy {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero__card h3 {
  margin: 0 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}

.hero__stat {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.hero__stat strong {
  font-size: 1.7rem;
}

.feature-strip {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

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

.feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  flex-shrink: 0;
  color: var(--color-gold);
}

.feature-card h3 {
  margin: 0 0 4px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.collection-card,
.editorial-card,
.collection-tile,
.product-card,
.cart-card,
.form-card,
.summary-card,
.empty-card,
.policy-card,
.contact-card,
.metric-card,
.checkout-summary {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.collection-card__media,
.editorial-card__media,
.collection-tile__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.collection-card__media img,
.editorial-card__media img,
.collection-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.collection-card:hover img,
.editorial-card:hover img,
.collection-tile:hover img {
  transform: scale(1.04);
}

.collection-card__body,
.editorial-card__body,
.collection-tile__body {
  padding: 26px;
}

.collection-card__title,
.editorial-card__title,
.collection-tile__title {
  margin: 12px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
}

.collection-card__meta,
.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  font-size: 0.8rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.metric-card {
  padding: 22px;
}

.metric-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

/* =========================================================
   Shop, product cards, and catalog views
   ========================================================= */
.toolbar {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, minmax(160px, 220px)) auto;
  gap: 12px;
  margin-bottom: 28px;
}

.field,
.select {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--color-text);
}

.field:focus,
.select:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.12);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__figure {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface-soft);
}

.product-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

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

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.34), rgba(17, 17, 17, 0) 42%);
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
}

html[dir='rtl'] .product-card__badge {
  right: 16px;
  left: auto;
}

.product-card__quick {
  position: absolute;
  right: 16px;
  left: 16px;
  bottom: 16px;
  transform: translateY(130%);
  transition: transform var(--transition);
}

.product-card:hover .product-card__quick {
  transform: translateY(0);
}

.product-card__body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.product-card__name {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.product-card__sub,
.product-card__sizes,
.product-card__empty {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.product-card__meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.product-card__price {
  font-weight: 700;
  color: var(--color-gold);
}

.page-hero,
.panel-banner {
  position: relative;
  min-height: 46vh;
  overflow: hidden;
}

.page-hero__content,
.panel-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  min-height: inherit;
  padding: 64px 0;
  color: #ffffff;
}

.page-hero__card,
.panel-banner__card {
  max-width: 760px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(17, 17, 17, 0.24);
  backdrop-filter: blur(6px);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 34px;
}

.product-gallery {
  display: grid;
  gap: 18px;
}

.product-gallery__hero {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.product-gallery__hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

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

.product-gallery__thumb {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #ffffff;
}

.product-gallery__thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-gallery__thumb.is-active {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.12);
}

.product-panel {
  padding: 30px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.product-title {
  margin: 16px 0 8px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.product-price {
  margin-bottom: 18px;
  color: var(--color-gold);
  font-size: 1.3rem;
  font-weight: 700;
}

.product-price del {
  margin-inline-start: 10px;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.product-copy,
.info-text {
  color: var(--color-muted);
}

.options-grid {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
}

.size-chip.is-active {
  border-color: var(--color-gold);
  background: #f7f0e4;
}

.qty-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qty-btn,
.qty-value {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.info-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.info-card {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface-soft);
}

.info-card h4 {
  margin: 0 0 8px;
  font-family: 'Playfair Display', serif;
}

/* =========================================================
   Cart, checkout, and contact
   ========================================================= */
.cart-layout,
.checkout-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.cart-items,
.contact-stack {
  display: grid;
  gap: 18px;
}

.cart-card,
.form-card,
.summary-card,
.contact-card,
.checkout-summary {
  padding: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
}

.cart-item__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.cart-item__title {
  margin: 0 0 6px;
  font-weight: 600;
}

.cart-item__meta {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.cart-item__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.summary-list,
.policy-list {
  display: grid;
  gap: 12px;
}

.summary-row,
.policy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-row--total {
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-weight: 700;
}

.checkout-form,
.contact-form {
  display: grid;
  gap: 14px;
}

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

.checkout-form label,
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.checkout-form textarea,
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.note-box {
  padding: 16px;
  border: 1px dashed var(--color-border);
  border-radius: 18px;
  background: #fcfaf6;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.empty-card,
.not-found-card {
  padding: 36px;
  text-align: center;
}

.site-footer {
  padding: 34px 0 18px;
  background: #111111;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer__title {
  margin: 0 0 14px;
  font-family: 'Playfair Display', serif;
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter input {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* =========================================================
   Responsive layout
   ========================================================= */
@media (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__content,
  .product-layout,
  .collection-grid,
  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__card {
    max-width: 420px;
  }

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

  .toolbar > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .feature-strip__grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .site-header__inner {
    grid-template-columns: auto auto auto;
  }

  .brand__arabic {
    font-size: 1.05rem;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 70px;
  }

  .hero__panel,
  .page-hero__card,
  .panel-banner__card,
  .product-panel,
  .cart-card,
  .form-card,
  .summary-card,
  .contact-card,
  .checkout-summary {
    padding: 22px;
  }

  .toolbar,
  .checkout-form__grid,
  .contact-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .product-gallery__thumbs {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .btn {
    width: 100%;
  }

  .hero__actions,
  .product-actions,
  .cart-item__controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lang-toggle {
    min-width: 64px;
  }

  .section-title,
  .hero__title,
  .product-title {
    letter-spacing: 0.02em;
  }
}
