/* DESTPLANN Online Store — marketplace layout */
:root {
  --nav: #131921;
  --nav-mid: #232f3e;
  --accent: #febd69;
  --accent-hover: #f3a847;
  --cta: #76bc43;
  --cta-dark: #5a9e32;
  --link: #1e5da3;
  --link-hover: #c45500;
  --star: #ffa41c;
  --bg: #eaeded;
  --card: #ffffff;
  --text: #0f1111;
  --muted: #565959;
  --border: #d5d9d9;
  --success: #067d62;
  --danger: #b12704;
  --font: "Poppins", Arial, sans-serif;
  --max: 1500px;
  --radius: 8px;
  --shadow: 0 2px 5px rgba(15, 17, 17, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

/* —— Top strip —— */
.top-strip {
  background: var(--nav);
  color: #ddd;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.top-strip-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
}

.top-sep {
  opacity: 0.5;
  margin: 0 0.15rem;
}

.top-strip a {
  color: #ddd;
  text-decoration: none;
}

.top-strip a:hover {
  color: #fff;
  text-decoration: underline;
}

.mkt-launch {
  color: #febd69 !important;
  font-weight: 600;
}

.mkt-launch:hover {
  color: #ffd699 !important;
}

/* —— Main nav (Amazon-like) —— */
.mkt-header {
  background: var(--nav);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.mkt-header-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.25rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 4px;
}

.brand:hover {
  border-color: #fff;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: #000;
}

.brand-text strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.65rem;
  color: #febd69;
  font-weight: 500;
}

.search-bar {
  display: flex;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 2px transparent;
}

.search-bar:focus-within {
  box-shadow: 0 0 0 2px #febd69;
}

.search-bar select {
  border: none;
  background: #e6e6e6;
  color: #0f1111;
  padding: 0 1.6rem 0 0.65rem;
  max-width: 140px;
  min-width: 88px;
  border-right: 1px solid #bbb;
  outline: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f1111' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.45rem center;
}

.search-bar select option {
  color: #0f1111;
  background: #fff;
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 0 0.85rem;
  outline: none;
  min-width: 0;
  font-size: 0.92rem;
  color: #0f1111;
  background: #fff;
}

.search-bar input::placeholder {
  color: #767676;
}

.search-bar button {
  border: none;
  background: var(--accent);
  width: 48px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.search-bar button:hover {
  background: var(--accent-hover);
}

.search-bar button svg {
  width: 18px;
  height: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.currency-select-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  min-height: 42px;
}

.currency-select-wrap:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.currency-label {
  font-size: 0.65rem;
  color: #ccc;
  line-height: 1;
}

.currency-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.currency-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.currency-select-wrap select {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  max-width: 78px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.currency-select-wrap select option {
  color: #111;
  background: #fff;
}

.header-action {
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.3rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.78rem;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 42px;
}

.header-action:hover {
  border-color: #fff;
}

.header-action small {
  display: block;
  color: #ccc;
  font-size: 0.68rem;
}

.header-action strong {
  font-size: 0.85rem;
}

.cart-action {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.3rem 0.55rem;
}

.cart-action .cart-label {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
}

.cart-bubble {
  position: relative;
}

.cart-bubble svg {
  width: 28px;
  height: 28px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cart-count[data-count="0"] {
  display: none;
}

/* Category nav */
.cat-nav {
  background: var(--nav-mid);
  color: #fff;
}

.cat-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.cat-nav a,
.cat-nav button {
  color: #fff;
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.cat-nav a:hover,
.cat-nav button:hover,
.cat-nav button.is-active {
  border-color: #fff;
  text-decoration: none;
  color: #fff;
}

/* Delivery strip */
.delivery-strip {
  background: #37475a;
  color: #fff;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  text-align: center;
}

.delivery-strip strong {
  color: var(--accent);
}

/* Layout */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem;
}

/* Hero banners */
.hero-banners {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-main {
  background: linear-gradient(120deg, #1e5da3 0%, #0d2f54 55%, #1a4a2a 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}

.hero-main h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-main p {
  opacity: 0.9;
  max-width: 46ch;
  font-size: 0.92rem;
  font-weight: 300;
}

.hero-side {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-side h2 {
  font-size: 1.05rem;
}

.hero-side p {
  color: var(--muted);
  font-size: 0.85rem;
  flex: 1;
}

.badge-soft {
  display: inline-block;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: #e7f5dc;
  color: #2f6b12;
}

/* Section */
.section {
  margin-bottom: 1.35rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.section-head a {
  font-size: 0.85rem;
}

.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.product-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 4px 14px rgba(15, 17, 17, 0.15);
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  background: #f7f8fa;
  display: grid;
  place-items: center;
  text-decoration: none !important;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

.product-media[data-tone="green"],
.product-media[data-tone="orange"],
.product-media[data-tone="purple"],
.product-media[data-tone="teal"],
.product-media[data-tone="blue"] {
  background: #f7f8fa;
}

.product-emoji {
  display: none;
}

.product-flags {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.flag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  width: fit-content;
}

.flag-best {
  background: #c45500;
  color: #fff;
}

.flag-feat {
  background: #1e5da3;
  color: #fff;
}

.flag-deal {
  background: #cc0c39;
  color: #fff;
}

.product-body {
  padding: 0.75rem 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.product-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none !important;
}

.product-title:hover {
  color: var(--link-hover);
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.stars-icons {
  color: var(--star);
  letter-spacing: -1px;
}

.price-block {
  margin-top: 0.15rem;
}

.price-block .price {
  font-size: 1.15rem;
  font-weight: 700;
}

.price-block .was {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.ship-note {
  font-size: 0.72rem;
  color: var(--success);
  font-weight: 500;
}

.product-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 20px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none !important;
  transition: filter 0.15s, background 0.15s;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-cart {
  background: var(--accent);
  color: #111 !important;
  border-color: #f0c14b;
  flex: 1;
}

.btn-cart:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-primary {
  background: linear-gradient(180deg, #8fd45a, var(--cta));
  color: #061008 !important;
  border-color: var(--cta-dark);
}

.btn-primary:hover:not(:disabled) {
  filter: brightness(1.05);
}

.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text) !important;
}

.btn-ghost:hover:not(:disabled) {
  background: #f7fafa;
}

.btn-danger {
  background: #fff;
  border-color: #f5c6cb;
  color: var(--danger) !important;
}

.btn-block {
  width: 100%;
  border-radius: 8px;
  padding: 0.7rem 1rem;
}

.btn-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
}

/* Catalog layout with sidebar */
.catalog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: start;
}

.filters-panel h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.filter-group {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.filter-group h4 {
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
  cursor: pointer;
}

.filter-group label:hover {
  color: var(--text);
}

.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}

.toolbar-row select {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  background: var(--card);
  border-radius: var(--radius);
}

/* Product detail */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: 1rem;
  align-items: start;
}

.detail-media {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem;
}

.detail-info h1 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.detail-info .about {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.85rem 0;
}

.feature-list {
  margin: 0.75rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--link);
}

.buy-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.buy-box .price {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.buy-box .stock {
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
}

.qty-row select {
  padding: 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Cart / checkout */
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.page-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
  align-items: start;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cart-item-media {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background: #f3f5f7;
  overflow: hidden;
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

.cart-item .meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.qty-control {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f2f2;
  cursor: pointer;
}

.qty-control span {
  min-width: 2rem;
  text-align: center;
  line-height: 32px;
  font-size: 0.85rem;
  font-weight: 600;
}

.summary-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  position: sticky;
  top: 5.5rem;
}

.summary-card h2 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.summary-row.total {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 700;
}

.form-grid {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #1e5da3;
  box-shadow: 0 0 0 3px rgba(30, 93, 163, 0.15);
}

.form-field textarea {
  min-height: 80px;
  resize: vertical;
}

.pay-options {
  display: grid;
  gap: 0.45rem;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
}

.pay-option:has(input:checked) {
  border-color: #1e5da3;
  background: #f0f6fc;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 80;
  background: #232f3e;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.25s;
}

.toast.is-show {
  opacity: 1;
  transform: none;
}

/* Modal */
.soon-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}

.soon-modal[hidden] {
  display: none;
}

.soon-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.soon-modal.is-open[hidden] {
  display: grid;
}

.soon-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 17, 0.55);
  cursor: pointer;
}

.soon-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.4rem 1.4rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(12px);
  transition: 0.25s;
}

.soon-modal.is-open .soon-modal__dialog {
  transform: none;
}

.soon-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f2f2;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.soon-modal__logo {
  width: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 10px;
  background: #000;
}

.soon-modal__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 0.35rem;
}

.soon-modal__title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.soon-modal__text {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
}

.soon-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

/* Footer */
.mkt-footer {
  background: var(--nav-mid);
  color: #ddd;
  margin-top: 2rem;
}

.mkt-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  font-size: 0.82rem;
}

.mkt-footer h4 {
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
}

.mkt-footer a {
  display: block;
  color: #ddd;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.mkt-footer a:hover {
  text-decoration: underline;
  color: #fff;
}

.mkt-footer-bottom {
  background: var(--nav);
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: #999;
}

.mkt-footer-bottom a {
  color: #febd69;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .buy-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .top-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.7rem;
  }

  .top-strip-left {
    width: 100%;
  }

  .mkt-header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 0.55rem 0.5rem;
    padding: 0.55rem 0.75rem 0.65rem;
    align-items: center;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    max-width: 100%;
    padding: 0.15rem;
    gap: 0.4rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .brand-text {
    min-width: 0;
    overflow: hidden;
  }

  .brand-text strong {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-text span {
    display: none;
  }

  .search-bar {
    grid-area: search;
    width: 100%;
    height: 40px;
  }

  .search-bar select {
    min-width: 72px;
    max-width: 86px;
    font-size: 0.75rem;
    padding: 0 1.35rem 0 0.5rem;
  }

  .search-bar input {
    font-size: 0.85rem;
    padding: 0 0.65rem;
  }

  .search-bar input::placeholder {
    font-size: 0.82rem;
  }

  .header-actions {
    grid-area: actions;
    flex-shrink: 0;
    gap: 0.15rem;
    justify-self: end;
  }

  .currency-select-wrap {
    min-height: 36px;
    padding: 0.2rem 0.35rem;
  }

  .currency-label {
    display: none;
  }

  .currency-select-wrap select {
    max-width: 58px;
    font-size: 0.78rem;
  }

  .header-action {
    min-height: 36px;
    padding: 0.2rem 0.35rem;
  }

  .header-action small {
    display: none;
  }

  .header-action strong {
    font-size: 0.72rem;
  }

  /* WhatsApp stays in top strip on tablet/mobile to avoid crowding */
  .header-actions > .header-action:not(.cart-action) {
    display: none;
  }

  .cart-action {
    min-height: 36px;
    padding: 0.2rem 0.4rem;
    gap: 0.3rem;
  }

  .cart-action .cart-label {
    font-size: 0.78rem;
  }

  .cart-bubble svg {
    width: 24px;
    height: 24px;
  }

  .delivery-strip {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    text-align: left;
  }

  .hero-banners,
  .catalog-layout,
  .cart-layout,
  .checkout-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mkt-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .cart-action .cart-label {
    display: none;
  }

  .currency-select-wrap {
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .search-bar select {
    min-width: 64px;
    max-width: 72px;
  }

  .cart-item {
    grid-template-columns: 64px 1fr;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
  }
}
