@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary: #b60909;
  --color-primary-dark: #5c0909;
  --color-background: #ffffff;
  --color-brand-soft: #f8f8f8;
  --color-brand-dark: #0a0a0a;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
}

body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-brand-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* â”€â”€ Scrollbar thin â”€â”€ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

/* â”€â”€ Demo banner â”€â”€ */
.demo-banner {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: #92400e;
  text-align: center;
}

.demo-banner svg {
  margin-right: 4px;
}

/* â”€â”€ Navbar â”€â”€ */
.demo-navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  background-color: var(--color-background);
}

.demo-navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.demo-navbar__brand {
  text-decoration: none;
  flex-shrink: 0;
}

.demo-navbar__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  display: block;
}

.demo-navbar__tagline {
  font-size: 10px;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-navbar__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #4f545e;
  text-decoration: none;
  transition: color 0.15s;
}

.demo-navbar__center:hover,
.demo-navbar__center.active {
  color: var(--color-primary);
}

.demo-navbar__center-label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.demo-navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.demo-navbar__locale-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: none;
  border: none;
  color: #4f545e;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font-sans);
}

.demo-navbar__locale-btn:hover {
  background: #f3f4f6;
}

.demo-navbar__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #4f545e;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.demo-navbar__cart:hover,
.demo-navbar__cart.active {
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.demo-navbar__cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  background: var(--color-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

/* â”€â”€ Item Card â”€â”€ */
.item-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s, transform 0.4s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.item-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.item-card__image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #f9fafb;
  overflow: hidden;
}

.item-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.item-card:hover .item-card__image {
  transform: scale(1.04);
}

.item-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

.item-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.item-card__body {
  padding: 14px 14px 0;
  flex: 1;
}

.item-card__name {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.item-card:hover .item-card__name {
  color: var(--color-primary);
}

.item-card__desc {
  font-size: 15px;
  color: #4f545e;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
}

.item-card__footer {
  padding: 8px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.item-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-card__price-current {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.item-card__price-compare {
  font-size: 15px;
  color: #6b7280;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 639px) {
  .item-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .item-card__footer>div:last-child {
    align-self: flex-end;
  }

  .item-card__price {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1px;
  }
}

.item-card .badge {
  width: 60px;
  height: 60px;
  font-weight: bold;
  justify-content: center;
  text-align: center;
  text-wrap: wrap;
}

/* â”€â”€ Badge â”€â”€ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.badge--success {
  background: #ecfdf5;
  color: #065f46;
  box-shadow: inset 0 0 0 1px rgba(6, 95, 70, 0.15);
}

.badge--default {
  background: #f3f4f6;
  color: #4b5563;
}

.badge--warning {
  background: #fffbeb;
  color: #92400e;
  box-shadow: inset 0 0 0 1px rgba(146, 64, 14, 0.15);
}

/* â”€â”€ Quick add button â”€â”€ */
.quick-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.quick-add-btn:hover {
  opacity: 0.85;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 4px;
}

.qty-stepper__btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: background 0.15s;
  padding: 0;
}

.qty-stepper__btn:hover {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.qty-stepper__val {
  width: 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

/* â”€â”€ Category carousel â”€â”€ */
.cat-carousel {
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.cat-carousel__track {
  display: flex;
  gap: 12px;
  transition: transform 0.3s ease;
  padding-bottom: 4px;
}

.cat-card {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  width: 112px;
  min-width: 112px;
  flex-shrink: 0;
  transition: border-color 0.2s;
  background: white;
}

.cat-card.active {
  border-color: var(--color-primary);
}

.cat-card__image {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.cat-card__placeholder {
  width: 100%;
  height: 80px;
  background: color-mix(in srgb, var(--color-primary) 10%, white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.cat-card__name {
  padding: 6px 8px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-card.active .cat-card__name {
  color: var(--color-primary);
}

.cat-card:not(.active) .cat-card__name {
  color: #4b5563;
  background: white;
}

.cat-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.cat-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.cat-carousel__dot.active {
  width: 16px;
  background: var(--color-primary);
}

.cat-carousel__arrow {
  display: none;
  position: absolute;
  z-index: 10;
  width: 28px;
  height: 28px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
  color: #4f545e;
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .cat-carousel__arrow {
    display: flex;
  }

  .cat-carousel__arrow--prev {
    left: -14px;
  }

  .cat-carousel__arrow--next {
    right: -14px;
  }
}

@media(min-width: 768px) {

  .cat-carousel {
    padding: 0 14px;
  }
}

.cat-carousel__arrow:hover {
  color: var(--color-primary);
}

.cat-carousel__arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

/* â”€â”€ Sort bar â”€â”€ */
.sort-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .sort-bar {
    flex-direction: row;
    align-items: center;
  }
}

.sort-bar__search {
  position: relative;
  flex: 1;
}

.sort-bar__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}

.sort-bar__search-input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
  transition: box-shadow 0.15s;
}

.sort-bar__search-input:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
  border-color: var(--color-primary);
}

.sort-bar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}


.sort-bar__count {
  font-size: 15px;
  color: #6b7280;
  white-space: nowrap;
}

.sort-bar__select {
  font-size: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  background: white;
  color: #374151;
  font-family: var(--font-sans);
  outline: none;
  cursor: pointer;
}

/* â”€â”€ Catalog grid â”€â”€ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* â”€â”€ Back button â”€â”€ */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #4f545e;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s;
  margin-bottom: 24px;
  font-family: var(--font-sans);
}

.back-btn:hover {
  color: var(--color-primary);
}

.back-btn__circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* â”€â”€ Item detail â”€â”€ */
.item-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .item-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.item-detail-image {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f9fafb;
}

.item-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-detail-info {
  position: relative;
  z-index: 10;
  background: white;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  margin-top: -25%;
  padding: 24px 20px;
  space-y: 20px;
}

@media (min-width: 768px) {
  .item-detail-info {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    padding: 0;
  }
}

.item-detail-info>*+* {
  margin-top: 20px;
}

.item-detail-name {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}

.item-detail-desc {
  color: #4f545e;
  line-height: 1.6;
  margin-top: 8px;
  font-size: 15px;
}

.item-detail-price {
  margin-top: 4px;
}

.item-detail-price-current {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.item-detail-price-compare {
  font-size: 18px;
  color: #6b7280;
  text-decoration: line-through;
  margin-left: 12px;
}

/* â”€â”€ Variant selector â”€â”€ */
.variant-btn {
  padding: 8px 14px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  background: white;
  color: #374151;
  font-family: var(--font-sans);
}

.variant-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, white);
}

.variant-btn:hover:not(.active) {
  border-color: #d1d5db;
}

/* â”€â”€ Modifier picker â”€â”€ */
.modifier-group {
  margin-bottom: 16px;
}

.modifier-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.modifier-group__label {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.modifier-group__req {
  font-size: 15px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
}

.modifier-group__req--required {
  background: #fff7ed;
  color: #c2410c;
}

.modifier-group__req--optional {
  background: #f3f4f6;
  color: #4f545e;
}

.modifier-option {
  padding: 8px 14px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  background: white;
  color: #374151;
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modifier-option.selected {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, white);
}

/* â”€â”€ Add to cart area â”€â”€ */
.add-to-cart-area {
  display: flex;
  gap: 12px;
  align-items: center;
}

.add-to-cart-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 4px;
  flex-shrink: 0;
}

.add-to-cart-btn {
  flex: 1;
  min-height: 50px;
  border: none;
  border-radius: 16px;
  background: var(--color-primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
  font-family: var(--font-sans);
}

.add-to-cart-btn:hover {
  background: var(--color-primary-dark);
}

.add-to-cart-btn:active {
  transform: scale(0.98);
}

.add-to-cart-btn.added {
  background: #16a34a;
}

.add-to-cart-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* â”€â”€ Cart line item â”€â”€ */
.cart-line-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f3f4f6;
}

.cart-line-item:last-child {
  border-bottom: none;
}

.cart-line-item__image {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f9fafb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cart-line-item__placeholder {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  flex-shrink: 0;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cart-line-item__info {
  flex: 1;
  min-width: 0;
}

.cart-line-item__name {
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
}

.cart-line-item__variant {
  font-size: 15px;
  color: #6b7280;
  margin-top: 2px;
}

.cart-line-item__modifiers {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.5;
}

.cart-line-item__actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-line-item__price {
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}

.cart-line-item__remove {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.15s;
}

.cart-line-item__remove:hover {
  color: #ef4444;
  background: #fef2f2;
}

/* â”€â”€ Cart summary â”€â”€ */
.cart-summary {
  background: white;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 80px;
  min-width: 0;
  overflow: hidden;
}

.cart-summary__title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 10px;
}

.cart-summary__total {
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  color: #111827;
  font-size: 16px;
}

/* â”€â”€ Buttons â”€â”€ */
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-sans);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: white;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--secondary {
  background: white;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.btn--secondary:hover {
  background: var(--color-brand-soft);
}

.btn--success {
  background: #16a34a;
  color: white;
}

.btn--success:hover {
  background: #15803d;
}

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* â”€â”€ Checkout section â”€â”€ */
.co-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.co-section__title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.co-section__title svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.co-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.co-input {
  width: 100%;
  font-size: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  background: white;
  font-family: var(--font-sans);
  outline: none;
  transition: box-shadow 0.15s, border-color 0.15s;
  box-sizing: border-box;
}

.co-input:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
  border-color: var(--color-primary);
}

.co-input--error {
  border-color: #f87171;
}

.co-radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 8px;
}

.co-radio-option.selected {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, white);
}

.co-radio-option:hover:not(.selected) {
  border-color: #d1d5db;
}

.co-radio-option input[type=radio] {
  accent-color: var(--color-primary);
}

.co-radio-label {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.co-radio-sub {
  font-size: 15px;
  color: #6b7280;
  margin-top: 2px;
}

.co-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 540px) {
  .co-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.co-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.co-col-2 {
  grid-column: 1 / -1;
}

.co-summary {
  background: var(--color-brand-soft);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.co-summary__item {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 8px;
}

.co-summary__divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 8px 0;
}

.co-summary__total {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 800;
}

.co-info-box {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.co-info-box--blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.co-info-box--amber {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.co-info-box--red {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.co-info-box--green {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* â”€â”€ Order confirmation â”€â”€ */
.confirmation-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.order-items-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
}

.order-items-row:last-child {
  border-bottom: none;
}

/* â”€â”€ Footer â”€â”€ */
.demo-footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 48px;
  background: var(--color-background);
}

.demo-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px;
}

.demo-footer__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .demo-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.demo-footer__brand-name {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.demo-footer__brand-tag {
  font-size: 15px;
  color: #6b7280;
  margin-top: 2px;
}

.demo-footer__shops {
  margin-bottom: 32px;
}

.demo-footer__shops-title {
  font-size: 15px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.demo-footer__shops-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .demo-footer__shops-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-footer__shop-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.demo-footer__shop-address {
  font-size: 15px;
  color: #4f545e;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.demo-footer__shop-phone {
  font-size: 15px;
  color: #4f545e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-footer__bottom {
  border-top: 1px solid #f3f4f6;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 640px) {
  .demo-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.demo-footer__copyright {
  font-size: 15px;
  color: #6b7280;
}

.demo-footer__powered {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  font-size: 15px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}

.demo-footer__powered:hover {
  color: #6b7280;
}

.demo-footer__powered-logo {
  height: 20px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.demo-footer__powered:hover .demo-footer__powered-logo {
  opacity: 1;
}

/* â”€â”€ Modal overlay â”€â”€ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
  }
}

.modal-box {
  width: 100%;
  max-width: 380px;
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-box>*+* {
  margin-top: 16px;
}

/* â”€â”€ Empty state â”€â”€ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 80px 16px;
  text-align: center;
}

.empty-state__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state__title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.empty-state__desc {
  font-size: 15px;
  color: #4f545e;
  max-width: 280px;
  margin: 0;
}

/* â”€â”€ Utilities â”€â”€ */
.page-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px;
}

.page-wrapper--narrow {
  margin: 0 auto;
  padding: 32px 16px;
}

@media (max-width: 899px) {
  #app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
  }

  #app-header .demo-navbar {
    position: relative;
    top: auto;
  }

  .page-wrapper,
  .page-wrapper--narrow {
    padding-top: 80px;
  }

  .sort-bar__right {
    justify-content: space-between;
    width: 100%;
  }
}

.page-wrapper--checkout {
  max-width: 672px;
  margin: 0 auto;
  padding: 32px 16px;
}

.page-title {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 24px;
}


.coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

@media (min-width: 640px) {
  .co-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {

  .item-detail__qty {
    justify-content: center;
  }
}

/* â”€â”€ Button variants â”€â”€ */
.btn--outline {
  background: white;
  border: 1px solid #d1d5db;
  color: #374151;
}

.btn--outline:hover {
  background: #f9fafb;
}

.btn--sm {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 15px;
  border-radius: 8px;
}

.btn--lg {
  min-height: 56px;
  padding: 12px 20px;
  font-size: 15px;
}

.btn--whatsapp {
  background: #22a453;
  color: white;
}

.btn--whatsapp:hover {
  background: #128c7e;
}

.btn--whatsapp svg {
  fill: white;
}

/* â”€â”€ Cart layout â”€â”€ */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .cart-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.cart-items {}

.cart-line {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f3f4f6;
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line__img-link {
  flex-shrink: 0;
  text-decoration: none;
}

.cart-line__thumb {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  background: #f9fafb;
  display: block;
}

.cart-line__thumb-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-line__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-line__top {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-line__meta {
  flex: 1;
  min-width: 0;
}

.cart-line__name {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  display: block;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
  text-wrap: wrap;
}

.cart-line__name:hover {
  color: var(--color-primary);
}

.cart-line__variant {
  font-size: 15px;
  color: #6b7280;
  margin-top: 2px;
}

.cart-line__remove {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex-shrink: 0;
  transition: all 0.15s;
}

.cart-line__remove:hover {
  color: #ef4444;
  background: #fef2f2;
}

.cart-line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.cart-line__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.cart-line__price-val {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 639px) {
  .cart-line__bottom {
    flex-direction: row-reverse;
    align-items: center;
  }

  .cart-line__price {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2px;
  }
}

.cart-line__price-orig {
  font-size: 15px;
  color: #6b7280;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}


.cart-summary__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #374151;
  align-items: center;
}

.summary-row--success {
  color: #16a34a;
  font-size: 15px;
}

.summary-row--total {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
  margin-top: 6px;
}

.coupon-input-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coupon-input-wrap {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.coupon-input {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  outline: none;
  font-weight: 700;
  background: white;
}

.coupon-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.coupon-msg {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}

.coupon-msg--success {
  color: #16a34a;
}

.coupon-msg--error {
  color: #dc2626;
}

.fulfillment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fulfillment-opt {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s;
  background: white;
  color: #4f545e;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.fulfillment-opt.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 8%, white);
}

/* â”€â”€ Item detail page â”€â”€ */
.item-detail {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .item-detail {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

/* Image â€” left column */
.item-detail__image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #f9fafb;
  overflow: hidden;
}

@media (min-width: 768px) {
  .item-detail__image-wrap {
    border-radius: 20px;
  }
}

.item-detail__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-detail__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
}

/* Right column â€” slides up over image on mobile, static on desktop */
.item-detail__right {
  position: relative;
  z-index: 10;
  background: white;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  margin-top: -20%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px 28px;
}

@media (min-width: 768px) {
  .item-detail__right {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    padding: 4px 0 0;
  }
}

/* Header info block */
.item-detail__info-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-detail__category {
  font-size: 15px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.item-detail__name {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin: 0;
}

@media (min-width: 768px) {
  .item-detail__name {
    font-size: 30px;
  }
}

.item-detail__desc {
  font-size: 16px;
  color: #4f545e;
  line-height: 1.65;
  margin: 0;
}

.item-detail__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.item-detail__price-current {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .item-detail__price-current {
    font-size: 34px;
  }
}

.item-detail__price-orig {
  font-size: 18px;
  color: #6b7280;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

/* Divider between info and controls */
.item-detail__divider {
  height: 1px;
  background: #f3f4f6;
}

/* Controls */
.item-detail__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-detail__section-label {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-option {
  display: block;
  cursor: pointer;
}

.variant-option input[type=radio] {
  display: none;
}

.variant-option__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  transition: all 0.15s;
  background: white;
}

.variant-option input:checked+.variant-option__inner {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, white);
}

.variant-option:hover .variant-option__inner {
  border-color: #d1d5db;
}

.variant-option__name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.variant-option__price {
  font-size: 15px;
  color: var(--color-primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mod-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mod-option {
  display: block;
  cursor: pointer;
}

.mod-option input[type=radio] {
  display: none;
}

.mod-option__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
  background: white;
}

.mod-option input:checked+.mod-option__inner {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 8%, white);
  color: var(--color-primary);
}

.mod-option:hover .mod-option__inner {
  border-color: #d1d5db;
}

.mod-option__name {
  color: #374151;
}

.mod-option__extra {
  color: #6b7280;
  font-size: 15px;
}

.item-detail__add-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-detail__qty {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 4px;
  flex-shrink: 0;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: background 0.15s;
  padding: 0;
}

.qty-btn:hover {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.qty-btn--inc {
  background: var(--color-primary);
  color: white;
}

.qty-btn--inc:hover {
  background: var(--color-primary-dark);
  box-shadow: none;
}

.qty-val {
  width: 32px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.item-detail__add-btn {
  flex: 1;
  min-height: 52px;
  border: none;
  border-radius: 14px;
  background: var(--color-primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  transition: background 0.15s;
}

.item-detail__add-btn:hover {
  background: var(--color-primary-dark);
}

.item-detail__add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.item-detail__add-price {
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
  font-size: 15px;
}

.item-detail__added {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #16a34a;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

@media (max-width: 639px) {
  .item-detail__add-area {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .item-detail__add-btn {
    flex: none;
    width: 100%;
    justify-content: center;
  }

  .item-detail__add-price {
    display: none;
  }
}

/* â”€â”€ Checkout layout â”€â”€ */
.co-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .co-layout {
    grid-template-columns: 1fr 360px;
    align-items: start;
    gap: 50px;
  }
}


.co-form {
  display: flex;
  flex-direction: column;
}

.co-section__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-radio-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.15s;
}

.co-radio-opt:hover {
  border-color: #d1d5db;
}

.co-radio-opt:has(input:checked) {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, white);
}

.co-radio-opt input[type=radio] {
  accent-color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.co-radio-inner {
  flex: 1;
}

.co-radio-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.co-radio-sub {
  font-size: 15px;
  color: #6b7280;
  margin-top: 2px;
}

.co-textarea {
  min-height: 80px;
  resize: vertical;
}

.co-channel-wa {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.co-channel-wa__icon {
  flex-shrink: 0;
  color: #25d366;
  margin-top: 2px;
  display: flex;
}

.co-channel-wa__title {
  font-size: 15px;
  font-weight: 700;
  color: #065f46;
}

.co-channel-wa__sub {
  font-size: 15px;
  color: #4f545e;
  margin-top: 2px;
}

.co-order-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.co-order-item:last-child {
  border-bottom: none;
}

.co-order-item__info {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.co-order-item__qty {
  font-size: 15px;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  padding-top: 1px;
}

.co-order-item__name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.co-order-item__variant {
  font-size: 15px;
  color: #6b7280;
  margin-top: 2px;
}

.co-order-item__price {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.co-summary {
  position: sticky;
  top: 80px;
}

.co-summary__inner {
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (max-width: 899px) {
  .co-summary {
    position: static;
  }

  .co-summary__inner {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
}

.co-summary__title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
}

.co-order-items {
  display: flex;
  flex-direction: column;
}

.co-place-btn-wrap {
  position: sticky;
  bottom: 0;
  background: var(--color-background);
  border-top: 1px solid #e5e7eb;
  padding: 12px 0;
  margin-top: 16px;
}

@media (min-width: 900px) {
  .co-place-btn-wrap {
    display: none;
  }
}

/* â”€â”€ Modal â”€â”€ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
  }
}

.modal {
  background: white;
  border-radius: 20px;
  padding: 28px 24px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal__icon {
  display: flex;
  justify-content: center;
}

.modal__title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin: 0;
}

.modal__body {
  font-size: 15px;
  color: #4f545e;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.modal__notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 15px;
}

.modal__actions {
  display: flex;
  gap: 10px;
}

.modal__actions .btn {
  flex: 1;
}

/* â”€â”€ Confirmation page â”€â”€ */
.demo-confirmation-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 15px;
  margin-bottom: 24px;
}

.demo-confirmation-notice__icon {
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
}

.demo-confirmation-notice p {
  margin: 4px 0 0;
  font-size: 15px;
  opacity: 0.85;
}

.conf-header {
  text-align: center;
  padding: 32px 16px;
  margin-bottom: 8px;
}

.conf-header__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.conf-header__title {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
}

.conf-header__sub {
  font-size: 15px;
  color: #4f545e;
  margin: 0 0 12px;
}

.conf-header__id {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 8px;
}

.conf-info-row {
  font-size: 15px;
  color: #374151;
  margin-bottom: 4px;
}

.badge--pending {
  background: #fff7ed;
  color: #c2410c;
}

.badge--neutral {
  background: #f3f4f6;
  color: #4f545e;
}

/* â”€â”€ Loading skeleton â”€â”€ */
.loading-row {
  display: flex;
  gap: 20px;
  padding: 40px 0;
}

.skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.4s infinite;
}

.skeleton--img {
  width: 260px;
  min-width: 260px;
  height: 260px;
  border-radius: 16px;
}

.skeleton--title {
  height: 32px;
  width: 70%;
}

.skeleton--line {
  height: 16px;
  width: 100%;
  margin-top: 10px;
}

@keyframes skeleton-shine {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* â”€â”€ Checkout delivery map â”€â”€ */
.co-map-wrap {
  position: relative;
  z-index: 0;
  isolation: isolate;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  height: 280px;
}

.co-map-wrap .leaflet-container {
  height: 100%;
  width: 100%;
}

.co-map-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(229, 231, 235, 0.8);
  pointer-events: none;
  max-width: 58%;
}

.co-map-reset {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.15s;
}

.co-map-reset:hover {
  color: #374151;
}

.co-gps-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: white;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: var(--font-sans);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: all 0.15s;
}

.co-gps-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.co-gps-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@keyframes map-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

/* â”€â”€ Form error banner â”€â”€ */
.co-form-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* â”€â”€ Payment option icon â”€â”€ */
.co-payment-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f545e;
}

/* â”€â”€ Payment info box â”€â”€ */
.co-payment-info {
  padding: 10px 14px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 15px;
  line-height: 1.5;
}

/* â”€â”€ Checkout address grid â”€â”€ */
.co-addr-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.co-addr-grid-city {
  margin-top: 10px;
}

/* â”€â”€ Checkout field wrapper â”€â”€ */
.co-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.co-field label {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

@media(max-width: 639px) {
  .co-field label {
    font-size: 17px;
  }

  .co-section__title {
    font-size: 18px;
  }
}

.co-field-error {
  font-size: 15px;
  color: #dc2626;
  margin-top: 2px;
}

.leaflet-bottom.leaflet-right {
  display: none !important;
}

/* ── Desktop / mobile layout helpers ── */
@media (min-width: 900px) {
  .co-mobile-only {
    display: none !important;
  }

  .co-email-phone-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 899px) {
  .co-desktop-only {
    display: none !important;
  }

  .co-email-phone-row {
    display: contents;
  }
}