/*
 * SuperMart Middle East storefront skin.
 *
 * A bright, high-density Gulf marketplace treatment inspired by the visual
 * conventions of leading UAE commerce sites: yellow utility header, white
 * category navigation, cool-grey canvas, blue actions and compact product
 * merchandising. No third-party brand assets or source code are used.
 */
:root {
  --me-yellow: #feee00;
  --me-yellow-hover: #f5e500;
  --me-yellow-soft: #fffbd6;
  --me-blue: #3866df;
  --me-blue-hover: #2854c7;
  --me-navy: #404553;
  --me-ink: #2d313b;
  --me-muted: #7e859b;
  --me-canvas: #f7f7fa;
  --me-surface: #fff;
  --me-border: #e2e5ef;
  --me-green: #38ae04;
  --me-red: #d93a46;
  --me-radius: 4px;
  --store-navy: var(--me-navy);
  --store-navy-hover: #30343f;
  --store-blue: var(--me-blue);
  --store-blue-soft: #eef2ff;
  --store-red: var(--me-red);
  --store-yellow: var(--me-yellow);
  --store-green: var(--me-green);
  --store-ink: var(--me-ink);
  --store-muted: var(--me-muted);
  --store-canvas: var(--me-canvas);
  --store-border: var(--me-border);
  --store-border-strong: #c9cedd;
  --store-radius: var(--me-radius);
  --store-radius-sm: var(--me-radius);
  --store-shadow: 0 1px 2px rgba(25, 30, 45, .05);
  --store-shadow-hover: 0 5px 18px rgba(25, 30, 45, .1);
}

html,
body,
body.bg-gray-50 {
  background: var(--me-canvas);
  color: var(--me-ink);
}

body,
button,
input,
select,
textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

::selection {
  background: var(--me-yellow);
  color: #1f2430;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: rgba(56, 102, 223, .38);
}

/* Header: yellow commerce rail followed by a white category strip. */
.sm-header.bg-blue-600 {
  background: var(--me-yellow) !important;
  color: var(--me-ink);
  box-shadow: 0 2px 8px rgba(25, 30, 45, .12);
}

.sm-header > .bg-blue-900 {
  min-height: 25px;
  padding-top: 4px;
  padding-bottom: 4px;
  background: #fff !important;
  border-bottom: 1px solid #f0f1f5;
  color: var(--me-muted);
}

.sm-header > .bg-blue-900 .text-blue-200,
.sm-header > .bg-blue-900 .text-blue-500,
.sm-header > .bg-blue-900 a {
  color: #62687a !important;
}

.sm-header > .max-w-7xl {
  padding-top: 10px;
  padding-bottom: 10px;
}

.sm-header .sm-logo-img img {
  max-height: 38px;
}

.sm-header > .max-w-7xl > a .bg-yellow-400 {
  background: var(--me-navy) !important;
}

.sm-header > .max-w-7xl > a .bg-yellow-400 span {
  color: var(--me-yellow) !important;
}

.sm-header > .max-w-7xl > a > span:last-child {
  color: #252936 !important;
  letter-spacing: -.04em;
}

.sm-header form > div {
  border: 1px solid rgba(45, 49, 59, .13);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(34, 39, 52, .06);
}

.sm-header form > div:focus-within {
  border-color: var(--me-blue);
  box-shadow: 0 0 0 3px rgba(56, 102, 223, .13);
}

.sm-header form input {
  min-height: 40px;
  color: var(--me-ink);
}

.sm-header form button {
  min-width: 48px;
  background: #fff !important;
  color: var(--me-navy);
  border-left: 1px solid #eceef4;
}

.sm-header form button:hover {
  background: #f8f9fc !important;
}

.sm-header form button svg {
  color: var(--me-navy) !important;
}

.sm-header .hidden.md\:flex.flex-col,
.sm-header #sm-mobile-toggle {
  color: var(--me-ink) !important;
}

.sm-header .hidden.md\:flex.flex-col:hover {
  background: rgba(255, 255, 255, .45) !important;
}

.sm-header .hidden.md\:flex.flex-col .text-blue-200 {
  color: #686d7c !important;
}

#sm-cart-btn {
  border: 0;
  border-radius: 4px;
  background: transparent !important;
  color: var(--me-ink) !important;
}

#sm-cart-btn:hover {
  background: rgba(255, 255, 255, .5) !important;
}

#sm-cart-badge {
  background: var(--me-blue) !important;
  color: #fff !important;
}

.sm-header nav {
  background: #fff;
  border-top: 1px solid rgba(35, 40, 52, .08) !important;
  border-bottom: 1px solid #e8eaf0;
}

.sm-header nav .max-w-7xl {
  min-height: 42px;
  padding-top: 0;
  padding-bottom: 0;
}

.sm-header nav a,
.sm-header nav button {
  border-radius: 0;
  color: var(--me-ink) !important;
  font-size: 12px;
  font-weight: 650;
}

.sm-header nav a:hover,
.sm-header nav button:hover,
.sm-header nav .bg-blue-800 {
  background: #f5f6fa !important;
  color: var(--me-blue) !important;
}

.sm-header nav .bg-blue-500 {
  background: #e5e7ee !important;
}

.sm-header nav a.ml-auto {
  color: var(--me-blue) !important;
}

#sm-mega-panel {
  border-top: 1px solid var(--me-border) !important;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 16px 40px rgba(25, 30, 45, .16) !important;
}

#sm-mega-panel .sm-mega-group-btn.is-active,
#sm-mega-panel .sm-mega-group-btn:hover {
  background: var(--me-yellow-soft) !important;
  color: var(--me-ink) !important;
}

#sm-mega-panel a {
  color: var(--me-ink);
}

#sm-mega-panel a:hover {
  color: var(--me-blue);
}

.sm-mega-cat-thumb {
  flex: none;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #f5f6fa;
}

.sm-mega-cat-fallback {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #f5f6fa;
  color: #7e859b;
}

.sm-mega-cat-link:hover .sm-mega-cat-thumb {
  border-color: #d7dceb;
}

#sm-mobile-menu {
  background: var(--me-yellow) !important;
  color: var(--me-ink);
}

#sm-mobile-menu a {
  color: var(--me-ink) !important;
  border-color: rgba(45, 49, 59, .1) !important;
}

/* Homepage: compact merchandising with broad promotional colour fields. */
.sm-home-hero {
  width: min(1280px, calc(100% - 32px));
  min-height: 360px;
  margin: 16px auto 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #dfe7ff;
  box-shadow: var(--store-shadow);
}

.sm-home-hero__photo {
  min-height: 360px;
}

.sm-home-hero__content {
  width: min(540px, calc(100% - 48px));
  padding: 40px 34px;
}

.sm-home-hero__eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--me-yellow);
  color: var(--me-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.sm-home-hero__eyebrow::before {
  display: none;
}

.sm-home-hero h1 {
  color: #202532;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}

.sm-home-hero h1 em {
  color: var(--me-blue);
}

.sm-home-hero__copy {
  color: #5e6474;
}

.sm-home-hero__primary {
  border-radius: 3px;
  background: var(--me-blue);
  font-weight: 750;
}

.sm-home-hero__primary:hover {
  background: var(--me-blue-hover);
}

.sm-home-hero__link {
  color: var(--me-blue);
  font-weight: 700;
}

.sm-home-departments {
  width: min(1280px, calc(100% - 32px));
  margin: 12px auto 0;
  border: 0;
  border-radius: 5px;
  background: #fff;
  box-shadow: var(--store-shadow);
}

.sm-home-departments > div {
  padding: 12px 10px;
}

.sm-home-departments__icon {
  width: 54px;
  height: 54px;
  border: 1px solid #eceef4;
  background: #f8f9fc;
  color: var(--me-blue);
}

.sm-home-departments a:hover .sm-home-departments__icon {
  border-color: var(--me-yellow);
  background: var(--me-yellow-soft);
  color: var(--me-ink);
}

.sm-home-trust {
  width: min(1280px, calc(100% - 32px));
  margin: 12px auto 0;
  border: 0 !important;
  border-radius: 5px;
  box-shadow: var(--store-shadow);
}

.sm-home-trust > div > div > div:first-child {
  background: #f7f8fb !important;
}

.sm-home-stories {
  padding: 24px 0 0;
  background: var(--me-canvas);
}

.sm-home-stories__heading p {
  color: var(--me-blue);
}

.sm-home-stories__heading h2,
.sm-home section h2 {
  color: var(--me-ink);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.025em;
}

.sm-home-stories__heading > a,
.sm-home section > .flex:first-child > a {
  color: var(--me-blue);
  font-weight: 650;
}

.sm-home-stories__grid {
  gap: 12px;
}

.sm-home-story {
  min-height: 215px;
  border-radius: 5px;
}

.sm-home-story::after {
  background: linear-gradient(90deg, rgba(30, 34, 46, .86), rgba(30, 34, 46, .5) 54%, rgba(30, 34, 46, .05));
}

.sm-home-story__content p {
  color: var(--me-yellow);
}

.sm-home {
  padding-top: 26px;
}

.sm-home section {
  margin-bottom: 30px;
  padding: 18px;
  border-radius: 5px;
  background: #fff;
  box-shadow: var(--store-shadow);
}

.sm-home section > .flex:first-child {
  padding-bottom: 10px;
  border-bottom: 1px solid #eceef3;
}

.sm-home-product-grid {
  gap: 10px;
}

/* Dense marketplace cards. */
.sm-product-card {
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.sm-product-card:hover {
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(25, 30, 45, .11);
  transform: translateY(-2px);
}

.sm-product-card .sm-product-media {
  border: 0;
  border-radius: 4px;
  background: #f7f8fb;
}

.sm-product-card img {
  padding: 12px;
}

.sm-product-card .p-3 {
  padding: 10px 9px 11px;
}

.sm-product-card .sm-product-brand {
  color: #9a9fb0;
  font-size: 9px;
}

.sm-product-card .sm-product-name p {
  min-height: 38px;
  color: #404553;
  font-size: 12px;
  font-weight: 450;
}

.sm-product-card .sm-product-name:hover p {
  color: var(--me-blue);
}

.sm-product-card .text-blue-700 {
  color: #222631 !important;
  font-size: 17px;
  font-weight: 750;
}

.sm-product-card .sm-product-discount {
  border-radius: 2px;
  background: #e7f7df;
  color: #2d8d0b;
  box-shadow: none;
}

.sm-product-card .absolute.top-2.left-2 {
  border-radius: 2px;
  background: var(--me-red) !important;
}

.sm-product-card .sm-wishlist-btn {
  border: 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 5px rgba(25, 30, 45, .12);
}

.sm-product-fulfillment {
  min-height: 39px;
  margin-bottom: 8px;
  border-top-color: #f0f1f5;
}

.sm-product-card .sm-product-stock,
.sm-product-card .sm-product-ship {
  font-size: 10px;
}

.sm-product-card .sm-atc-btn {
  min-height: 36px;
  border-radius: 3px;
  background: var(--me-blue) !important;
  font-size: 12px;
}

.sm-product-card .sm-atc-btn:hover,
.sm-product-card:hover .sm-atc-btn {
  background: var(--me-blue-hover) !important;
}

/* Category, listing and account surfaces. */
.sm-category-card {
  border: 0;
  border-radius: 4px;
  box-shadow: var(--store-shadow);
}

.sm-category-card__icon {
  background: #f5f6fa;
}

.sm-category-card:hover .sm-category-card__icon {
  background: var(--me-yellow-soft);
}

.sm-category-card__label {
  color: var(--me-ink);
}

.sm-category-card__label svg {
  color: var(--me-blue);
}

.sm-category-hero {
  background: #fff;
  border-bottom-color: var(--me-border);
}

.sm-category-hero h1 svg,
.sm-category-hero__copy nav a {
  color: var(--me-blue);
}

.sm-results-bar {
  border-bottom-color: var(--me-border);
}

#content .bg-blue-600,
#content button.bg-blue-600,
#content a.bg-blue-600 {
  background: var(--me-blue) !important;
}

#content .hover\:bg-blue-700:hover,
#content button.bg-blue-600:hover,
#content a.bg-blue-600:hover {
  background: var(--me-blue-hover) !important;
}

#content .text-blue-600,
#content .text-blue-700 {
  color: var(--me-blue) !important;
}

/* Product detail: Noon-inspired three-column marketplace PDP. */
.sm-pdp {
  background: #fff;
}

.sm-pdp-shell {
  width: min(1360px, calc(100% - clamp(24px, 6vw, 96px)));
  padding: 8px 0 48px;
}

.sm-pdp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: #7e859b;
  font-size: 12px;
}

.sm-pdp-crumbs a {
  color: #404553;
  text-decoration: none;
}

.sm-pdp-crumbs a:hover,
.sm-pdp-brand,
.sm-pdp-related__heading a {
  color: var(--me-blue);
}

.sm-pdp-stage {
  display: grid !important;
  grid-template-columns: minmax(340px, 1.05fr) minmax(360px, 1.2fr) minmax(250px, .72fr) !important;
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
  background: transparent;
  box-shadow: none;
}

/* LEFT COLUMN */
.sm-pdp-gallery {
  position: sticky;
  top: 120px;
  align-self: start;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #fff;
}

.sm-pdp-gallery.has-thumbs {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.sm-pdp-gallery.has-thumbs .sm-pdp-thumbs {
  grid-column: 1;
  grid-row: 1;
}

.sm-pdp-gallery.has-thumbs .sm-pdp-main-image {
  grid-column: 2;
  grid-row: 1;
}

.sm-pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.sm-gallery-thumb {
  width: 54px;
  height: 54px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e5ef;
  border-radius: 4px;
  background: #fff;
}

.sm-gallery-thumb.is-active,
.sm-gallery-thumb.border-blue-600 {
  border-color: var(--me-blue) !important;
  box-shadow: inset 0 0 0 1px var(--me-blue);
}

.sm-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.sm-pdp-main-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  max-height: 480px;
  overflow: hidden;
  border: 0;
  background: #fff;
}

.sm-pdp-main-image #sm-gallery-main {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  background: #fff;
  box-sizing: border-box;
}

.sm-me-gallery-tools {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sm-me-gallery-wish,
.sm-me-gallery-share {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #404553;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  cursor: pointer;
}

.sm-me-gallery-wish:hover { color: #d83b53; }
.sm-me-gallery-share:hover { color: var(--me-blue); }

.sm-pdp-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.sm-pdp-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 3px;
  background: #1f2430;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.sm-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #404553;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .15s ease;
}

.sm-pdp-main-image:hover .sm-gallery-nav { opacity: 1; }
.sm-gallery-nav.is-prev { left: 8px; }
.sm-gallery-nav.is-next { right: 8px; }

.sm-me-key-specs {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
  padding: 12px 0 0;
  border-top: 1px solid #f0f1f5;
}

.sm-me-key-specs > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.sm-me-spec-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e8eaf0;
  border-radius: 50%;
  background: #fafafc;
  color: #404553;
}

.sm-me-key-specs strong {
  max-width: 100%;
  overflow: hidden;
  color: #2d313b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sm-me-key-specs span {
  max-width: 100%;
  overflow: hidden;
  color: #7e859b;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* MIDDLE COLUMN */
.sm-pdp-info {
  min-width: 0;
  padding: 0 4px;
  background: transparent;
}

.sm-pdp-brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 6px;
  color: var(--me-blue);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.sm-pdp-title {
  margin: 0 0 8px;
  color: #404553;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.sm-me-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 12px;
}

.sm-me-rating strong {
  color: #404553;
  font-weight: 700;
}

.sm-me-stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 11px;
}

.sm-me-rating a {
  color: var(--me-blue);
  text-decoration: none;
}

.sm-me-rating a:hover { text-decoration: underline; }

.sm-pdp-price-block {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.sm-pdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.sm-pdp-price {
  color: #404553;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1;
}

.sm-pdp-from {
  margin-right: 4px;
  color: #7e859b;
  font-size: 12px;
  font-weight: 650;
}

.sm-pdp-cur {
  margin-left: 4px;
  color: #404553;
  font-size: 14px;
  font-weight: 650;
  vertical-align: 0;
}

.sm-pdp-was {
  color: #9ba0af;
  font-size: 13px;
  text-decoration: line-through;
}

.sm-pdp-save {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 3px;
  background: #e6f7e9;
  color: #38ae04;
  font-size: 11px;
  font-weight: 750;
}

.sm-pdp-stock-low {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 3px 8px;
  border-radius: 3px;
  background: #fff1f0;
  color: #e11d48;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.sm-pdp-stock {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.sm-pdp-stock.is-in { color: #38ae04; }
.sm-pdp-stock.is-out { color: #e11d48; }

.sm-me-rank-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #f3effa;
  color: #6b5f8a;
  font-size: 12px;
}

.sm-me-rank-star {
  color: #7b5cff;
  font-size: 13px;
}

.sm-me-rank-strip strong { color: #4f3f7a; }
.sm-me-rank-strip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sm-me-commerce-section {
  margin: 0 0 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f1f5;
}

.sm-me-delivery-block {
  padding-top: 0;
  border-top: 0;
}

.sm-me-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.sm-me-commerce-section > h2,
.sm-me-section-head h2 {
  margin: 0;
  color: #404553;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sm-me-section-link {
  border: 0;
  background: transparent;
  color: var(--me-blue);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.sm-me-fulfillment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sm-me-fulfillment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 78px;
  padding: 12px 44px 10px 12px;
  border: 1px solid #e6e9f0;
  border-radius: 8px;
  background: #fff;
}

.sm-me-fulfillment-card.is-fast {
  border-color: #ffe58f;
  background: linear-gradient(180deg, #fffbe6, #fff);
}

.sm-me-fulfillment-card.is-standard {
  border-color: #d6e4ff;
  background: linear-gradient(180deg, #f5f8ff, #fff);
}

.sm-me-fulfillment-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 18px;
  margin-bottom: 4px;
  padding: 0 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: lowercase;
}

.sm-me-fulfillment-card.is-fast .sm-me-fulfillment-tag {
  background: var(--me-yellow);
  color: #1f2430;
}

.sm-me-fulfillment-card.is-standard .sm-me-fulfillment-tag {
  background: #3866df;
  color: #fff;
}

.sm-me-fulfillment-card strong {
  color: #404553;
  font-size: 13px;
  font-weight: 750;
}

.sm-me-fulfillment-card small {
  color: #7e859b;
  font-size: 11px;
}

.sm-me-fulfillment-card em {
  position: absolute;
  top: 12px;
  right: 10px;
  color: #38ae04;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.sm-me-coupon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sm-me-coupon-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 78px;
  padding: 10px 12px;
  border: 1px dashed #7ed39a;
  border-radius: 8px;
  background: #f6fff8;
}

.sm-me-coupon-card strong {
  color: #1f7a3f;
  font-size: 12px;
  font-weight: 750;
}

.sm-me-coupon-card > span {
  color: #5f7a68;
  font-size: 11px;
  line-height: 1.3;
}

.sm-me-coupon-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 2px;
  padding: 3px 8px;
  border: 1px dashed #9ad4ad;
  border-radius: 4px;
  background: #fff;
  color: #1f7a3f;
  cursor: pointer;
}

.sm-me-coupon-code b {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.sm-me-payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.sm-me-offer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #eee0de;
  border-radius: 8px;
  background: #fff8f7;
}

.sm-me-offer-row.is-bank {
  border-color: #dce7fb;
  background: #f7faff;
}

.sm-me-offer-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffe5e1;
  color: #c4473a;
}

.sm-me-offer-row.is-bank .sm-me-offer-icon {
  background: #e3efff;
  color: var(--me-blue);
}

.sm-me-offer-row > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.sm-me-offer-row strong {
  color: #404553;
  font-size: 12px;
  font-weight: 700;
}

.sm-me-offer-row small {
  color: #7e859b;
  font-size: 11px;
}

.sm-me-offer-row > svg {
  color: #9aa0b0;
}

.sm-me-variations,
#sm-variations {
  margin: 0 0 14px;
  padding: 12px 0 2px;
  border-top: 1px solid #f0f1f5;
  border-bottom: 1px solid #f0f1f5;
}

.sm-variation-group + .sm-variation-group { margin-top: 14px; }

.sm-variation-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  color: #404553;
  font-size: 13px;
  font-weight: 650;
}

.sm-variation-heading strong {
  color: #7e859b;
  font-size: 12px;
  font-weight: 550;
}

.sm-variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sm-variation-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d5d9e4;
  border-radius: 6px;
  background: #fff;
  color: #404553;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.sm-variation-option:hover { border-color: var(--me-blue); }

.sm-variation-option.is-selected {
  border-color: var(--me-blue);
  background: #fff;
  color: var(--me-blue);
  box-shadow: inset 0 0 0 1px var(--me-blue);
}

.sm-variation-msg {
  min-height: 16px;
  margin: 8px 0 0;
  color: #e11d48;
  font-size: 12px;
}

.sm-pdp-sku {
  margin: 8px 0 0;
  color: #9aa0b0;
  font-size: 11px;
}

/* RIGHT COLUMN */
.sm-pdp-buybox {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 14px;
  border: 1px solid #e6e9f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(25, 30, 45, .04);
}

.sm-me-seller-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0 0 12px;
  border-bottom: 1px solid #f0f1f5;
}

.sm-me-seller-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--me-yellow);
  color: #1f2430;
  font-size: 14px;
  font-weight: 850;
}

.sm-me-seller-card > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.sm-me-seller-card small {
  color: #7e859b;
  font-size: 11px;
}

.sm-me-seller-card strong {
  overflow: hidden;
  color: #404553;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sm-me-seller-rating {
  flex: none;
  color: #404553;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.sm-me-seller-card > svg { color: #9aa0b0; }

.sm-me-seller-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid #f0f1f5;
}

.sm-me-seller-metric__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  color: #7e859b;
  font-size: 11px;
}

.sm-me-seller-metric__top strong {
  color: #38ae04;
  font-size: 11px;
  font-weight: 750;
}

.sm-me-seller-bar {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef1f6;
}

.sm-me-seller-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #38ae04;
}

.sm-pdp-assurances {
  display: grid;
  gap: 0;
  margin: 0 0 12px;
  padding: 0 0 4px;
  list-style: none;
  border-bottom: 1px solid #f0f1f5;
}

.sm-pdp-assurances li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 0;
  color: #7e859b;
  font-size: 11px;
  line-height: 1.35;
}

.sm-pdp-assurances li:last-child { border-bottom: 0; }

.sm-pdp-assurances strong {
  display: block;
  color: #404553;
  font-size: 12px;
  font-weight: 700;
}

.sm-pdp-assurances svg {
  flex: none;
  margin-top: 1px;
  color: var(--me-blue);
}

.sm-pdp-purchase-panel { margin: 0; }

.sm-me-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.sm-me-qty-label {
  margin: 0;
  color: #7e859b;
  font-size: 12px;
}

.sm-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5d9e4;
  border-radius: 6px;
  overflow: hidden;
}

.sm-qty-control button {
  width: 32px;
  height: 32px;
  border: 0;
  background: #fff;
  color: #404553;
  font-size: 16px;
  cursor: pointer;
}

.sm-qty-control span {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

#sm-pdp-atc,
#sm-mobile-atc-btn,
.sm-mobile-atc__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 24px !important;
  background: var(--me-blue) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
}

#sm-pdp-atc:hover,
#sm-mobile-atc-btn:hover {
  background: var(--me-blue-hover) !important;
}

#sm-pdp-atc:disabled,
#sm-mobile-atc-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.sm-pdp-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: 1.5px solid var(--me-blue) !important;
  border-radius: 24px !important;
  background: #fff !important;
  color: var(--me-blue) !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.sm-pdp-buy-now:hover:not(:disabled) {
  background: #eef3ff !important;
  color: var(--me-blue-hover) !important;
}

.sm-pdp-buy-now:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.sm-pdp-details,
.sm-pdp-related {
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid #eceef2;
  border-radius: 10px;
  background: #fff;
}

.sm-pdp-details__intro {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f1f5;
}

.sm-pdp-details__intro h2,
.sm-pdp-related__heading h2 {
  margin: 0;
  color: #404553;
  font-size: 18px;
  font-weight: 750;
}

.sm-pdp-details__body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .7fr);
  gap: 24px;
}

.sm-pdp-specs {
  padding: 14px;
  border: 1px solid #eceef2;
  border-radius: 8px;
  background: #fafafc;
}

.sm-pdp-specs h3 {
  margin: 0 0 10px;
  color: #404553;
  font-size: 13px;
  font-weight: 750;
}

.sm-pdp-specs dl { margin: 0; }

.sm-pdp-specs dl > div {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eceef2;
  font-size: 12px;
}

.sm-pdp-specs dl > div:last-child { border-bottom: 0; }
.sm-pdp-specs dt { color: #7e859b; }
.sm-pdp-specs dd {
  margin: 0;
  color: #404553;
  font-weight: 650;
  text-align: right;
}

.sm-pdp-related__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sm-pdp-related__heading a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--me-blue);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.sm-pdp-related__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

/* Cart, checkout-adjacent theme pages and footer. */
#sm-cart-popup {
  border-left-color: var(--me-border);
}

.sm-cart-checkout,
.sm-cart-page-checkout,
.sm-order-summary button {
  background: var(--me-yellow) !important;
  color: var(--me-ink) !important;
}

.sm-cart-checkout:hover,
.sm-cart-page-checkout:hover,
.sm-order-summary button:hover {
  background: var(--me-yellow-hover) !important;
}

footer.bg-gray-900 {
  margin-top: 38px;
  background: #f5f6f8 !important;
  color: #5b6070 !important;
  border-top: 1px solid #e0e3eb;
}

footer.bg-gray-900 .text-white,
footer.bg-gray-900 .text-gray-300 {
  color: #303540 !important;
}

footer.bg-gray-900 .text-gray-400,
footer.bg-gray-900 .text-gray-500 {
  color: #747a8a !important;
}

footer.bg-gray-900 .border-gray-800 {
  border-color: #dfe2e9 !important;
}

footer.bg-gray-900 .bg-gray-800 {
  background: #fff !important;
  color: var(--me-blue);
  border: 1px solid #dfe2e9;
}

footer.bg-gray-900 a:hover {
  color: var(--me-blue) !important;
}

@media (max-width: 1180px) {
  .sm-pdp-stage {
    grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.15fr) minmax(230px, .7fr) !important;
    gap: 16px;
  }

  .sm-pdp-price { font-size: 24px; }
}

@media (max-width: 980px) {
  .sm-pdp-stage {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) !important;
    gap: 18px;
  }

  .sm-pdp-gallery {
    position: static;
  }

  .sm-pdp-buybox {
    position: static;
    grid-column: 1 / -1;
  }

  .sm-me-fulfillment-grid,
  .sm-me-payment-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .sm-home-hero,
  .sm-home-departments,
  .sm-home-trust {
    width: calc(100% - 24px);
  }

  .sm-pdp-shell {
    width: calc(100% - 24px);
  }

  .sm-pdp-stage {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .sm-pdp-gallery,
  .sm-pdp-buybox {
    position: static;
  }
}

@media (max-width: 767px) {
  .sm-header > .max-w-7xl {
    padding: 8px 10px;
  }

  .sm-header form input {
    min-height: 38px;
    padding-left: 11px;
    padding-right: 8px;
  }

  .sm-header form button {
    min-width: 40px;
  }

  .sm-home-hero {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  .sm-home-hero__content {
    padding: 28px 18px 30px;
  }

  .sm-home-hero h1 {
    font-size: 38px;
  }

  .sm-home-departments,
  .sm-home-trust {
    width: 100%;
    margin-top: 8px;
    border-radius: 0;
  }

  .sm-home-stories {
    padding-top: 20px;
  }

  .sm-home {
    padding-top: 18px;
  }

  .sm-home section {
    margin-right: -14px;
    margin-left: -14px;
    padding: 14px;
    border-radius: 0;
  }

  .sm-home-product-grid {
    gap: 8px;
  }

  .sm-product-card .p-3 {
    padding: 9px 8px 10px;
  }

  .sm-pdp {
    background: var(--me-canvas);
  }

  .sm-pdp-shell {
    width: 100%;
    padding-top: 8px;
  }

  .sm-pdp-crumbs {
    padding: 0 12px;
  }

  .sm-me-pdp-promise {
    margin-bottom: 8px;
    border-radius: 0;
    box-shadow: none;
  }

  .sm-pdp-stage {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    border-radius: 0;
    box-shadow: none;
  }

  .sm-pdp-gallery,
  .sm-pdp-gallery.has-thumbs {
    display: flex !important;
    flex-direction: column;
    padding: 8px 12px 12px;
  }

  .sm-pdp-gallery.has-thumbs .sm-pdp-thumbs,
  .sm-pdp-gallery.has-thumbs .sm-pdp-main-image {
    grid-column: auto;
    grid-row: auto;
  }

  .sm-pdp-main-image {
    order: 1;
    aspect-ratio: 1;
    max-height: none;
    width: 100%;
  }

  .sm-pdp-main-image #sm-gallery-main {
    height: 100%;
    padding: 12px;
  }

  .sm-pdp-thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .sm-me-key-specs {
    order: 3;
    grid-column: auto;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0 0;
  }

  .sm-me-key-specs > div {
    min-width: 54px;
  }

  .sm-pdp-info {
    padding: 16px 14px;
  }

  #sm-variations,
  .sm-pdp-info,
  .sm-pdp-buybox,
  .sm-me-commerce-section {
    scroll-margin-bottom: 24px;
  }

  .sm-pdp-buybox {
    margin: 0 12px 16px;
  }

  .sm-pdp-purchase-panel {
    display: block;
  }

  .sm-mobile-atc,
  .sm-mobile-atc-spacer {
    display: none !important;
  }

  .sm-me-fulfillment-grid,
  .sm-me-payment-grid {
    grid-template-columns: 1fr;
  }

  .sm-pdp-details__body {
    grid-template-columns: 1fr;
  }

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

  .sm-pdp-title {
    font-size: 20px;
  }

  .sm-pdp-price {
    font-size: 27px;
  }

  .sm-me-pdp-benefits {
    grid-template-columns: 1fr 1fr;
  }

  .sm-pdp-buybox {
    padding: 16px 14px;
  }

  .sm-pdp-actions {
    grid-template-columns: 1fr;
    grid-template-areas:
      "atc"
      "qty";
  }

  .sm-pdp-actions .sm-qty-control {
    grid-area: qty;
    justify-self: start;
    margin-top: 2px;
  }

  #sm-pdp-atc {
    grid-area: atc;
  }

  .sm-pdp-details,
  .sm-pdp-related {
    margin-bottom: 8px;
    padding: 18px 14px;
    border-radius: 0;
    box-shadow: none;
  }

  #sm-mobile-atc-btn {
    background: var(--me-blue) !important;
    color: #fff !important;
  }

  footer.bg-gray-900 {
    margin-top: 24px;
  }
}

/* RTL-ready: WordPress applies .rtl when an Arabic locale is enabled. */
body.rtl .sm-header form button {
  border-right: 1px solid #eceef4;
  border-left: 0;
}

body.rtl .sm-home-story::after {
  background: linear-gradient(270deg, rgba(30, 34, 46, .86), rgba(30, 34, 46, .5) 54%, rgba(30, 34, 46, .05));
}

body.rtl .sm-product-card .sm-product-discount {
  right: 9px;
  left: auto;
}

body.rtl .sm-product-card .sm-wishlist-btn {
  right: auto;
  left: 8px;
}
