/* Alnoon Sea — design tokens + bridge utilities (export-html v6) */

:root {
  --background: #f0f8ff;
  --foreground: #0f172a;
  --primary: #0077b6;
  --primary-foreground: #ffffff;
  --secondary: #ffb703;
  --secondary-foreground: #000000;
  --muted: #e0e8f5;
  --muted-foreground: #475569;
  --accent: #00b4d8;
  --accent-foreground: #ffffff;
  --destructive: #ef476f;
  --destructive-foreground: #ffffff;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --popover: #ffffff;
  --popover-foreground: #0f172a;
  --border: #cbd5e1;
  --input: #ffffff;
  --ring: #00b4d8;
  --chart-1: #0077b6;
  --chart-2: #00b4d8;
  --chart-3: #ffb703;
  --chart-4: #ef476f;
  --chart-5: #06d6a0;
  --font-sans: "Cairo", "Nunito Sans", sans-serif;
  --font-heading: "Cairo", "Bricolage Grotesque", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Playfair Display", Georgia, serif;
  --radius: 1rem;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body.sea-body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

.sea-shell {
  min-height: 100vh;
  position: relative;
  background: var(--background);
}

.sea-container {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

/* Guest banner — export yellow announcement strip */
html.sea-hide-guest-banner .sea-guest-banner {
  display: none !important;
}

.sea-guest-banner {
  background: var(--secondary, #ffb703);
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 700;
  position: relative;
  z-index: 55;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}

.sea-guest-banner__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem 0.85rem;
  padding: 0.5rem 0.25rem;
  text-align: start;
  min-height: 2.75rem;
}

.sea-guest-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.45;
}

.sea-guest-banner__chip iconify-icon {
  flex-shrink: 0;
  color: #0f172a;
}

.sea-guest-banner__chip strong {
  font-weight: 900;
}

.sea-guest-banner__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.sea-guest-banner a,
.sea-guest-banner__cta,
.sea-guest-banner__link {
  color: #0f172a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sea-guest-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgb(15 23 42 / 8%);
  text-decoration: none;
  white-space: nowrap;
}

.sea-guest-banner__cta:hover {
  background: rgb(15 23 42 / 14%);
  text-decoration: none;
}

.sea-guest-banner__link {
  white-space: nowrap;
}

.sea-guest-banner .guest-banner-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-inline-start: 0;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  opacity: 0.7;
  color: #0f172a;
  padding: 0;
  border-radius: 999px;
}

.sea-guest-banner .guest-banner-close:hover {
  opacity: 1;
  background: rgb(15 23 42 / 8%);
}

.sea-guest-banner__mobile { display: inline; }
.sea-guest-banner__desktop { display: none; }

@media (min-width: 768px) {
  .sea-guest-banner__mobile { display: none !important; }
  .sea-guest-banner__desktop { display: inline !important; }
}

@media (max-width: 767px) {
  .sea-guest-banner__inner {
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
  }
  .sea-guest-banner__chip {
    flex: 1 1 calc(100% - 2.5rem);
  }
  .sea-guest-banner .guest-banner-close {
    margin-inline-start: auto;
  }
  .sea-guest-banner__link {
    display: none;
  }
}

/* Hide legacy Shofy / plugin announcement strips — Sea uses .sea-guest-banner */
.tp-header-top-area,
.tp-header-top,
.ae-anno-announcement,
.announcement-wrapper {
  display: none !important;
}

/* Header — Sea sticky chrome */
.sea-header {
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 3px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 8px 28px rgb(15 23 42 / 4%);
  transition: none !important;
  transform: translateZ(0);
}

.sea-header__top {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
  min-height: 2.15rem;
  box-sizing: border-box;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-foreground);
  border-bottom: 1px solid rgb(203 213 225 / 45%);
}

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

.sea-header__top-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.sea-header__top-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.sea-header__top-links a:hover {
  color: var(--primary);
}

.sea-header__top-account {
  font-weight: 800;
  color: var(--foreground);
}

.sea-header__top-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
}

.sea-header__sep {
  width: 1px;
  height: 12px;
  background: var(--border);
  display: inline-block;
  flex-shrink: 0;
}

.sea-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.15rem;
  padding: 0.7rem 0;
  min-height: 4.35rem;
  box-sizing: border-box;
}

.sea-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  min-width: 0;
}

.sea-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.sea-logo__mark img {
  height: 2.85rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .sea-logo__mark img {
    height: 3.25rem;
  }
}

.sea-logo__text,
.sea-logo__name,
.sea-logo__tagline {
  display: none !important;
}

.sea-logo__img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.sea-header-search {
  display: none;
  flex: 1 1 auto;
  max-width: 36rem;
  min-width: 0;
  position: relative;
  z-index: 40;
}

@media (min-width: 768px) {
  .sea-header-search {
    display: block;
  }
}

@media (min-width: 1200px) {
  .sea-header-search {
    max-width: 42rem;
  }
}

.sea-header-search__field {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.85rem;
  padding: 0.25rem 0.3rem 0.25rem 0.3rem;
  padding-inline-start: 0.85rem;
  border-radius: 999px;
  background: var(--muted, #e8eef8);
  border: 1.5px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sea-header-search.is-open .sea-header-search__field,
.sea-header-search__field:focus-within {
  background: #fff;
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

.sea-header-search__lead {
  flex-shrink: 0;
  color: var(--muted-foreground, #64748b);
  opacity: 0.9;
}

.sea-header-search__field input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.45rem 0.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: var(--foreground) !important;
  width: auto !important;
  border-radius: 0 !important;
  min-height: 0 !important;
}

.sea-header-search__field input[type="search"]::placeholder {
  color: var(--muted-foreground, #94a3b8);
  font-weight: 600;
}

.sea-header-search__field input[type="search"]::-webkit-search-decoration,
.sea-header-search__field input[type="search"]::-webkit-search-cancel-button,
.sea-header-search__field input[type="search"]::-webkit-search-results-button {
  -webkit-appearance: none;
  appearance: none;
}

.sea-header-search__clear {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
  flex-shrink: 0;
}

.sea-header-search__clear[hidden] {
  display: none !important;
}

.sea-header-search__clear:hover {
  color: var(--foreground);
  background: rgb(15 23 42 / 6%);
}

.sea-header-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-shrink: 0;
  min-height: 2.35rem;
  padding: 0 0.95rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary, #0077b6);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 14px rgb(0 119 182 / 22%);
  transition: transform 0.12s ease, background 0.12s ease;
}

.sea-header-search__submit:hover {
  background: color-mix(in srgb, var(--primary) 88%, #000);
}

.sea-header-search__submit:active {
  transform: scale(0.97);
}

.sea-header-search__submit iconify-icon {
  display: none;
}

@media (max-width: 991.98px) {
  .sea-header-search__submit span {
    display: none;
  }
  .sea-header-search__submit iconify-icon {
    display: block;
  }
  .sea-header-search__submit {
    width: 2.35rem;
    padding: 0;
  }
}

.sea-header-search__results,
.sea-header-search .bb-quick-search-results,
.sea-mobile-search__results,
.sea-mobile-search .bb-quick-search-results {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.45rem);
  z-index: 60;
  max-height: min(68vh, 24rem);
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgb(203 213 225 / 55%);
  box-shadow: 0 18px 40px rgb(15 23 42 / 12%);
  scrollbar-width: thin;
  scrollbar-color: rgb(148 163 184 / 70%) transparent;
}

/* Kill nested scroll from Botble .bb-quick-search-content (causes double bars) */
.sea-header-search .bb-quick-search-content,
.sea-mobile-search .bb-quick-search-content,
.sea-header-search .bb-quick-search-list,
.sea-mobile-search .bb-quick-search-list {
  max-height: none !important;
  overflow: visible !important;
  height: auto !important;
}

.sea-header-search .bb-quick-search-results::-webkit-scrollbar,
.sea-mobile-search .bb-quick-search-results::-webkit-scrollbar {
  width: 8px;
}
.sea-header-search .bb-quick-search-results::-webkit-scrollbar-thumb,
.sea-mobile-search .bb-quick-search-results::-webkit-scrollbar-thumb {
  background: rgb(148 163 184 / 65%);
  border-radius: 999px;
  border: 2px solid #fff;
}
.sea-header-search .bb-quick-search-results::-webkit-scrollbar-track,
.sea-mobile-search .bb-quick-search-results::-webkit-scrollbar-track {
  background: transparent;
}

.sea-header-search__results:not(.show):empty,
.sea-header-search .bb-quick-search-results:not(.show),
.sea-mobile-search__results:not(.show) {
  display: none !important;
}

.sea-header-search .bb-quick-search-results.show,
.sea-mobile-search .bb-quick-search-results.show {
  display: block !important;
}

.sea-header-search__hints {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.45rem);
  z-index: 55;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgb(203 213 225 / 55%);
  box-shadow: 0 18px 40px rgb(15 23 42 / 12%);
}

.sea-header-search__hints[hidden] {
  display: none !important;
}

.sea-header-search__hints-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted-foreground);
}

.sea-header-search__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sea-header-search__chip {
  border: 1px solid rgb(203 213 225 / 70%);
  background: var(--muted, #eef3f9);
  color: var(--foreground);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.sea-header-search__chip:hover {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  color: var(--primary);
}

/* Quick search result rows */
.sea-header-search .bb-quick-search-item,
.sea-mobile-search .bb-quick-search-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.7rem 0.9rem !important;
  text-decoration: none !important;
  color: inherit !important;
  border-bottom: 1px solid rgb(226 232 240 / 80%) !important;
}

.sea-header-search .bb-quick-search-item:hover,
.sea-mobile-search .bb-quick-search-item:hover {
  background: color-mix(in srgb, var(--primary) 6%, #fff) !important;
}

.sea-header-search .bb-quick-search-item-image,
.sea-mobile-search .bb-quick-search-item-image {
  width: 3rem !important;
  height: 3rem !important;
  flex-shrink: 0 !important;
  border-radius: 0.65rem !important;
  overflow: hidden !important;
  background: var(--muted) !important;
}

.sea-header-search .bb-quick-search-item-image img,
.sea-mobile-search .bb-quick-search-item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.sea-header-search .bb-quick-search-item-name,
.sea-mobile-search .bb-quick-search-item-name {
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sea-header-search .bb-quick-search-item-price,
.sea-mobile-search .bb-quick-search-item-price {
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  color: var(--primary) !important;
  margin-top: 0.2rem !important;
}

.sea-header-search .bb-quick-search-item-rating,
.sea-mobile-search .bb-quick-search-item-rating {
  display: none !important;
}

.sea-header-search .bb-quick-search-view-all,
.sea-mobile-search .bb-quick-search-view-all {
  padding: 0.75rem !important;
  text-align: center !important;
  border-top: 1px solid rgb(226 232 240 / 90%) !important;
}

.sea-header-search .bb-quick-search-view-all a,
.sea-mobile-search .bb-quick-search-view-all a {
  font-weight: 900 !important;
  color: var(--primary) !important;
  text-decoration: none !important;
  font-size: 0.8125rem !important;
}

.sea-header-search .bb-quick-search-empty,
.sea-mobile-search .bb-quick-search-empty {
  padding: 1.1rem !important;
  text-align: center !important;
  font-weight: 700 !important;
  color: var(--muted-foreground) !important;
  font-size: 0.85rem !important;
}

/* Legacy class kept inert so search-results page isn't affected */
.sea-header .sea-search:not(.sea-page) {
  display: none !important;
}

/* Mobile search under header */
.sea-mobile-search {
  display: block;
  padding: 0 0 0.75rem;
  position: relative;
  z-index: 35;
}

@media (min-width: 768px) {
  .sea-mobile-search {
    display: none !important;
  }
}

.sea-mobile-search__form,
.sea-mobile-search form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.2rem 0.25rem 0.2rem 0.25rem;
  padding-inline-start: 0.85rem;
  border-radius: 999px;
  background: #eef3f9;
  border: 1.5px solid rgb(203 213 225 / 55%);
}

.sea-mobile-search__form:focus-within {
  background: #fff;
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}

.sea-mobile-search__form > iconify-icon {
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.sea-mobile-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 0.4rem 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
}

.sea-mobile-search__submit {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 0.8125rem;
  min-height: 2.35rem;
  padding: 0 0.95rem;
  cursor: pointer;
}

.sea-mobile-search__results {
  inset-inline: 0;
}

.sea-header__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.sea-header__quick {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 35%, transparent);
  border: 1px solid rgb(203 213 225 / 40%);
}

.sea-header__actions .sea-vendor-switch {
  display: inline-block;
  flex-shrink: 0;
}

.sea-header__actions .sea-vendor-switch__btn,
.sea-header__actions .sea-vendor-switch__status {
  min-height: 2.6rem;
  padding: 0.3rem 0.8rem;
  border-width: 1px;
  font-size: 0.78rem;
  background: #fff;
  border-color: rgb(203 213 225 / 65%);
  color: var(--muted-foreground);
  box-shadow: none;
}

.sea-header__actions .sea-vendor-switch__btn {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  background: color-mix(in srgb, var(--primary) 8%, #fff);
  cursor: pointer;
}

.sea-header__actions .sea-vendor-switch__status {
  cursor: help;
  opacity: 0.92;
}

.sea-header__actions .sea-vendor-switch__btn:hover {
  background: color-mix(in srgb, var(--primary) 8%, #fff);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  color: var(--primary);
  transform: none;
}

.sea-header__actions .sea-vendor-switch__icon {
  font-size: 1rem;
  color: var(--primary);
}

@media (max-width: 767.98px) {
  .sea-header__actions .sea-vendor-switch__btn .sea-vendor-switch__label {
    display: none;
  }

  .sea-header__actions .sea-vendor-switch__status .sea-vendor-switch__label {
    display: inline;
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sea-header__actions .sea-vendor-switch__btn,
  .sea-header__actions .sea-vendor-switch__status {
    min-width: 2.6rem;
    padding: 0.35rem 0.55rem;
    justify-content: center;
  }

  .sea-header__actions .sea-vendor-switch__status {
    padding-inline: 0.65rem;
  }
}

/* Account chip kept for legacy pages */
.sea-account-chip {
  display: none !important;
}

.sea-icon-btn {
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid transparent;
  color: var(--foreground);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.sea-icon-btn:hover {
  color: var(--destructive);
  background: color-mix(in srgb, var(--destructive) 8%, #fff);
  border-color: color-mix(in srgb, var(--destructive) 16%, transparent);
}

.sea-icon-btn--wish:hover {
  transform: scale(1.04);
}

.sea-points-chip {
  position: relative;
  display: none;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.45rem;
  padding: 0.2rem 0.65rem 0.2rem 0.25rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--secondary) 45%, transparent);
  color: var(--foreground);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .sea-points-chip {
    display: inline-flex;
  }
}

.sea-points-chip:hover {
  background: color-mix(in srgb, var(--secondary) 14%, #fff);
  border-color: color-mix(in srgb, var(--secondary) 60%, transparent);
}

.sea-points-chip__icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #ffd56a, var(--secondary));
  color: #6b3f00;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.sea-points-chip__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.sea-points-chip__label {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--muted-foreground);
}

.sea-points-chip__value {
  font-size: 0.78rem;
  font-weight: 900;
  color: #8a5a00;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sea-points-chip.is-guest {
  border-color: color-mix(in srgb, var(--secondary) 55%, transparent);
  animation: sea-guest-glow-gold 2.6s ease-in-out infinite;
}

.sea-points-chip.is-guest .sea-points-chip__value {
  color: var(--primary);
  font-size: 0.72rem;
}

.sea-points-chip__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgb(255 255 255 / 70%) 50%,
    transparent 65%
  );
  transform: translateX(120%);
  animation: sea-guest-shine 2.8s ease-in-out infinite 0.35s;
  z-index: 0;
}

@keyframes sea-guest-glow-gold {
  0%, 100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--secondary) 0%, transparent);
  }
  50% {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--secondary) 16%, transparent);
  }
}

@keyframes sea-guest-shine {
  0%, 55% { transform: translateX(120%); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(-120%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sea-points-chip.is-guest,
  .sea-points-chip__pulse {
    animation: none !important;
  }
}

.sea-badge {
  position: absolute;
  top: -0.1rem;
  inset-inline-end: -0.1rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 10px;
  font-weight: 900;
  border-radius: 999px;
  line-height: 1;
  border: 2px solid var(--card);
  box-shadow: 0 2px 6px rgb(15 23 42 / 12%);
}

.sea-badge[hidden] {
  display: none !important;
}

.sea-badge--danger {
  background: var(--destructive);
  color: #fff;
}

.sea-cart-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  padding: 0.3rem 0.8rem 0.3rem 0.35rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
  text-decoration: none;
  flex-shrink: 0;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 8px 18px rgb(0 119 182 / 22%);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.sea-cart-chip:hover {
  background: color-mix(in srgb, var(--primary) 88%, #000);
  box-shadow: 0 10px 22px rgb(0 119 182 / 28%);
}

.sea-cart-chip:active {
  transform: scale(0.98);
}

.sea-cart-chip.is-empty {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 22%, transparent);
  box-shadow: none;
}

.sea-cart-chip.is-empty:hover {
  background: color-mix(in srgb, var(--primary) 16%, #fff);
}

.sea-cart-chip__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgb(0 119 182 / 12%);
}

.sea-cart-chip__icon .sea-badge {
  top: -0.35rem;
  inset-inline-end: -0.4rem;
}

.sea-cart-chip__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
}

.sea-cart-chip__label {
  display: none;
  font-size: 0.62rem;
  font-weight: 800;
  opacity: 0.85;
}

@media (min-width: 992px) {
  .sea-cart-chip__label {
    display: block;
  }
}

.sea-cart-chip.is-empty .sea-cart-chip__label {
  color: var(--muted-foreground);
}

.sea-cart-chip:not(.is-empty) .sea-cart-chip__label {
  color: rgb(255 255 255 / 80%);
}

.sea-cart-chip__total {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sea-cart-chip__total[hidden] {
  display: none !important;
}

.sea-cart-chip__empty {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted-foreground);
}

.sea-cart-chip__empty[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .sea-cart-chip {
    padding: 0.28rem 0.5rem 0.28rem 0.28rem;
    gap: 0.35rem;
  }

  .sea-cart-chip__empty {
    display: none !important;
  }

  .sea-header__quick {
    padding: 0.1rem;
    gap: 0.15rem;
  }

  .sea-points-chip__meta {
    display: none;
  }

  .sea-points-chip {
    padding: 0.2rem;
    min-width: 2.45rem;
    justify-content: center;
  }
}

.sea-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0 0.55rem;
  overflow: hidden;
  border-top: 1px solid rgb(203 213 225 / 30%);
}

.sea-nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
  flex: 1 1 auto;
  padding-bottom: 0.1rem;
}

.sea-nav__links::-webkit-scrollbar {
  display: none;
}

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

.sea-nav a {
  position: relative;
  padding: 0.35rem 0.1rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--foreground);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.sea-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.15s ease;
}

.sea-nav a:hover {
  color: var(--primary);
}

.sea-nav a:hover::after {
  background: color-mix(in srgb, var(--accent) 70%, transparent);
}

.sea-nav a.is-active {
  color: var(--primary);
}

.sea-nav a.is-active::after {
  background: var(--primary);
}

.sea-nav__promo {
  margin-inline-start: auto;
  flex-shrink: 0;
  color: var(--destructive) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem !important;
  border-radius: 999px;
  background: color-mix(in srgb, var(--destructive) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--destructive) 18%, transparent);
}

.sea-nav__promo::after {
  display: none !important;
}

.sea-nav__promo:hover {
  background: color-mix(in srgb, var(--destructive) 14%, #fff);
}

.sea-nav__promo iconify-icon {
  animation: sea-promo-pulse 1.6s ease-in-out infinite;
}

@keyframes sea-promo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Mobile search styles live with .sea-header-search above */

/* Footer */
.sea-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.sea-footer a {
  color: inherit;
  text-decoration: none;
}

.sea-footer a:hover {
  color: #fff;
}

.sea-footer__wave {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2rem;
  color: var(--background);
  z-index: 1;
}

.sea-footer__inner {
  position: relative;
  z-index: 2;
}

.sea-footer__subscribe {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .sea-footer__subscribe {
    flex-direction: row;
  }
}

.sea-footer__form {
  display: flex;
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.25rem;
}

.sea-footer__form input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--foreground);
  padding: 0.65rem 1rem;
  outline: none;
  font-size: 0.875rem;
}

.sea-footer__form button {
  border: 0;
  border-radius: 999px;
  background: var(--foreground);
  color: #fff;
  padding: 0.65rem 1.5rem;
  font-weight: 800;
  font-size: 0.875rem;
  cursor: pointer;
}

.sea-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 20%);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

@media (min-width: 768px) {
  .sea-footer__bottom {
    flex-direction: row;
  }
}

.sea-footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile tab bar */
.sea-tabbar {
  display: none;
}

@media (max-width: 767px) {
  .sea-tabbar {
    display: flex;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 400;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: var(--card);
    border-top: 1px solid rgb(203 213 225 / 50%);
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -10px 40px rgb(0 0 0 / 5%);
  }

  .sea-body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

.sea-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
}

.sea-tabbar a.is-active,
.sea-tabbar a:hover {
  color: var(--primary);
}

.sea-tabbar__cart-wrap {
  position: relative;
  top: -1.5rem;
}

.sea-tabbar__cart {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--card);
  box-shadow: 0 10px 24px rgb(0 180 216 / 35%);
  text-decoration: none;
  position: relative;
}

/* WhatsApp float */
.sea-whatsapp {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 430;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgb(37 211 102 / 45%);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}

.sea-whatsapp__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 22%);
  flex-shrink: 0;
}

.sea-whatsapp__bubble {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  padding-inline: 0;
  transition: max-width 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
}

.sea-whatsapp:hover .sea-whatsapp__bubble,
.sea-whatsapp:focus-visible .sea-whatsapp__bubble {
  max-width: 14rem;
  opacity: 1;
  padding-inline-start: 0.35rem;
  padding-inline-end: 0.75rem;
}

@media (min-width: 768px) {
  .sea-whatsapp {
    bottom: 1.5rem;
  }
}

/* Help chat FAB — physical left (do not use inset-inline; RTL maps it onto left) */
.sea-help {
  position: fixed;
  left: 1.5rem !important;
  right: auto !important;
  bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 430;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  pointer-events: none;
}

.sea-help__panel,
.sea-help__bot,
.sea-help__fab,
.sea-help__close,
.sea-help__link {
  pointer-events: auto;
}

.sea-help__scrim {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgb(15 23 42 / 28%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.sea-help.is-open .sea-help__scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease, visibility 0s linear 0s;
}

.sea-help__panel {
  position: absolute;
  left: 0;
  right: auto;
  bottom: calc(100% + 0.55rem);
  width: 18rem;
  padding: 0.85rem 0.85rem 0.7rem;
  border-radius: 1.2rem;
  border: 1px solid rgb(15 23 42 / 8%);
  background: #fff;
  box-shadow: 0 18px 40px rgb(15 23 42 / 16%);
  transform-origin: bottom left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.7rem) scale(0.94);
  transition:
    opacity 220ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 220ms;
}

.sea-help.is-open .sea-help__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 220ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.sea-help__panel.hidden,
#help-panel.hidden {
  display: none !important;
}

.sea-help__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

html[dir="rtl"] .sea-help__head {
  flex-direction: row-reverse;
}

.sea-help__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-heading, Cairo, sans-serif);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--foreground, #0f172a);
  text-align: start;
  line-height: 1.35;
}

.sea-help__close {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  flex: 0 0 2.15rem;
}

.sea-help__close:hover {
  color: var(--foreground, #0f172a);
  background: #eef2f7;
}

.sea-help__links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sea-help__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 0.8rem;
  background: transparent;
  color: var(--foreground, #0f172a);
  font-size: 0.875rem;
  font-weight: 800;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}

.sea-help__link:hover,
.sea-help__link:active {
  background: #f1f5f9;
  color: var(--foreground, #0f172a);
}

.sea-help__link iconify-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sea-help__bot {
  position: relative;
  display: grid;
  place-items: start;
  justify-items: start;
}

.sea-help__hi {
  position: absolute;
  left: calc(100% - 0.35rem);
  right: auto;
  bottom: calc(100% - 0.35rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.75rem;
  border-radius: 1.05rem 1.05rem 1.05rem 0.3rem;
  background: #fff;
  color: #0f2744;
  font-family: Cairo, "Segoe UI", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow:
    0 10px 24px rgb(15 23 42 / 14%),
    0 0 0 1px rgb(15 23 42 / 6%);
  transform-origin: left bottom;
  animation: sea-help-hi-pop 16s ease-in-out infinite;
  pointer-events: none;
}

.sea-help__hi::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: auto;
  bottom: -0.22rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 1px 1px 0 rgb(15 23 42 / 4%);
}

.sea-help__hi.is-hidden {
  opacity: 0;
  visibility: hidden;
  animation: none;
  transform: translateY(6px) scale(0.86);
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
}

.sea-help__hi-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.1rem 0.25rem;
}

.sea-help__hi-dots[hidden],
.sea-help__hi-msg[hidden] {
  display: none !important;
}

.sea-help__hi-dots i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #94a3b8;
  animation: sea-help-dot 1.1s ease-in-out infinite;
}

.sea-help__hi-dots i:nth-child(2) { animation-delay: 0.15s; }
.sea-help__hi-dots i:nth-child(3) { animation-delay: 0.3s; }

.sea-help__hi-msg {
  display: inline-flex;
  align-items: center;
}

.sea-help__hi-text {
  font-size: 0.9rem;
  font-weight: 900;
  color: #0f2744;
}

.sea-help__fab {
  position: relative;
  width: 4.15rem;
  height: 4.15rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 14px 34px rgb(0 119 182 / 28%),
    0 0 0 0 rgb(0 180 216 / 30%);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sea-help.is-open .sea-help__fab {
  transform: scale(0.96);
  box-shadow: 0 10px 22px rgb(0 119 182 / 22%);
}

.sea-help__fab:hover {
  transform: scale(1.04);
}

.sea-help__fab:focus-visible {
  outline: 2px solid var(--primary, #0077b6);
  outline-offset: 3px;
}

.sea-help__whale {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  overflow: hidden;
}

.sea-help__whale-img {
  display: block;
  width: 3.05rem;
  height: 3.05rem;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transform-origin: 70% 85%;
}

.sea-help.is-waving:not(.is-open) .sea-help__whale-img {
  animation: sea-help-wave-burst 1.1s ease-in-out 1;
}

.sea-help.is-open .sea-help__whale-img {
  animation: none;
}

@keyframes sea-help-wave-burst {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(8deg); }
  75% { transform: rotate(-5deg); }
}

@keyframes sea-help-hi-pop {
  0%, 4% { opacity: 0; transform: translateY(6px) scale(0.86); }
  8%, 28% { opacity: 1; transform: translateY(0) scale(1); }
  34%, 100% { opacity: 0; transform: translateY(-3px) scale(0.92); }
}

@keyframes sea-help-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-3px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .sea-help__fab,
  .sea-help__hi,
  .sea-help__hi-dots i,
  .sea-help__whale-img,
  .sea-help__panel {
    animation: none !important;
    transition: none !important;
  }

  .sea-help__hi {
    opacity: 1;
    transform: none;
  }

  .sea-help:not(.is-open) .sea-help__panel {
    display: none;
  }
}

@media (min-width: 768px) {
  .sea-help {
    left: 1.5rem !important;
    right: auto !important;
    bottom: 1.5rem;
  }
}

/* Sale popup — Sea card on the right, opposite the chat FAB */
body.sea-body .sale-popup-section,
body.sea-body .js-sale-popup-container {
  font-family: var(--font-sans, Cairo, sans-serif);
}

body.sea-body .sale-popup-container-wrap {
  left: auto !important;
  right: 1.25rem !important;
  inset-inline-start: auto !important;
  inset-inline-end: 1.25rem !important;
  bottom: 1.5rem !important;
  top: auto !important;
  max-width: 22rem !important;
  width: calc(100% - 2.5rem);
  border-radius: 1.1rem !important;
  border: 1px solid rgb(203 213 225 / 50%);
  background: var(--card, #fff) !important;
  box-shadow: 0 16px 40px rgb(15 23 42 / 14%) !important;
  overflow: hidden;
  z-index: 55;
}

body.sea-body .sale-popup-container {
  align-items: center;
  gap: 0;
}

body.sea-body .sale-popup-thumb {
  padding: 0.7rem;
}

body.sea-body .sale-popup-thumb .js-sale-popup-a {
  border-radius: 0.75rem;
  background: var(--muted, #e0e8f5);
}

body.sea-body .sale-popup-thumb img {
  width: 4.15rem;
  height: 4.15rem;
  max-width: 4.15rem;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
}

body.sea-body .sale-popup-info {
  max-width: none !important;
  padding-block: 0.7rem !important;
  padding-inline: 0.15rem 2.35rem !important;
}

body.sea-body .sale-popup-info .sale-popup-location {
  color: var(--muted-foreground, #64748b);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

body.sea-body .sale-popup-info .sale-popup-location .js-sale-popup-location {
  color: var(--primary, #0077b6);
  font-size: 0.8125rem;
  font-weight: 900;
}

body.sea-body .sale-popup-title {
  color: var(--foreground, #0f172a) !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  text-transform: none !important;
  text-decoration: none !important;
  line-height: 1.35;
}

body.sea-body .sale-popup-ago {
  font-size: 0.72rem;
  gap: 0.55rem;
  color: var(--muted-foreground, #64748b);
}

body.sea-body .sale-popup-ago .sale-popup-verify {
  color: #059669 !important;
  font-weight: 800;
  font-size: 0.72rem;
}

body.sea-body .sale-popup-container-wrap a.pa {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px !important;
  inset-inline-end: 0.45rem;
  top: 0.45rem;
  background: var(--muted, #e0e8f5);
  color: var(--muted-foreground, #64748b);
  display: grid !important;
  place-items: center;
  font-size: 0.8rem;
  line-height: 1;
  opacity: 1;
}

body.sea-body .sale-popup-container-wrap a.sale-popup-quick-view {
  top: auto !important;
  bottom: 0.45rem !important;
  margin: 0;
}

@media (max-width: 767.98px) {
  body.sea-body .sale-popup-container-wrap {
    right: 0.75rem !important;
    left: auto !important;
    inset-inline-end: 0.75rem !important;
    inset-inline-start: auto !important;
    bottom: calc(var(--sea-tabbar-h, 4.25rem) + env(safe-area-inset-bottom, 0px) + 0.55rem) !important;
    max-width: min(20rem, calc(100vw - 5.75rem)) !important;
  }
}

/* Hide legacy theme chrome if still rendered */
.bb-fab-menu,
.mean-container .mean-bar,
.back-to-top-wrapper {
  display: none !important;
}

/* Product card bridge — soften old cards toward Sea look */
.tp-product-item,
.bb-product-item {
  border-radius: 1.15rem !important;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 8px 20px rgb(15 23 42 / 4%);
}

/* Sea product price from Botble price partial */
.home-product__price .tp-product-price-wrapper,
.home-product__price .pdp-price__stack {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem;
}

.home-product__price .tp-product-price,
.home-product__price .new-price,
.home-product__price .home-product__from-value {
  font-size: inherit !important;
  font-weight: 900 !important;
  color: var(--primary) !important;
  font-family: inherit !important;
}

.home-product__price .old-price,
.home-product__price s,
.home-product__price del {
  font-size: 0.75em !important;
  font-weight: 600 !important;
  color: var(--muted-foreground) !important;
  text-decoration: line-through;
}

.home-product__wish.is-active,
.home-product__wish.active {
  color: #fff;
  background: var(--destructive);
}

/* Hide legacy sticky bottom menu / meanmenu chrome */
.tp-mobile-menu,
.mean-container,
.tp-header-area,
.tp-offcanvas-area,
.body-overlay {
  display: none !important;
}

/* Content under sticky header — keep z-index auto so fixed chrome
   (tabbar / PDP sticky) is not trapped under the footer stacking context */
.sea-shell > main,
.sea-shell .tp-page-area {
  position: relative;
  z-index: auto;
}

/* Newsletter / sidebar widgets in footer */
.sea-footer .widget {
  color: inherit;
}

.sea-menu-open-btn {
  display: inline-flex !important;
}
@media (min-width: 768px) {
  .sea-menu-open-btn {
    display: none !important;
  }
}
.site-skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  z-index: 10000;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 800;
}
.site-skip-link:focus {
  inset-inline-start: 1rem;
  top: 1rem;
}
.site-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.site-menu-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}
.site-overlay {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 45%);
}
.site-menu-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(88vw, 22rem);
  background: #fff;
  box-shadow: 0 20px 50px rgb(15 23 42 / 20%);
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  overflow: auto;
  padding: 1rem;
}
[dir="rtl"] .site-menu-panel {
  inset-inline-start: auto;
  inset-inline-end: 0;
  transform: translateX(105%);
}
.site-menu-drawer.is-open .site-menu-panel {
  transform: translateX(0);
}
.site-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.site-menu-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
}
.site-menu-logo {
  height: 36px;
  width: auto;
}
.site-menu-title {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--muted-foreground);
  margin: 1rem 0 0.5rem;
}
.site-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.site-menu-links a,
.site-menu-links button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: inherit;
  cursor: pointer;
  font-family: inherit;
}
.site-menu-links a:hover,
.site-menu-links a[aria-current="page"],
.site-menu-links button:hover {
  background: rgb(0 119 182 / 8%);
  color: var(--primary);
}
.site-icon-button {
  border: 0;
  background: var(--muted);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.toastify,
#toast-container {
  display: none !important;
}

.sea-toast,
.sea-cart-toast {
  position: fixed;
  z-index: 12050;
  inset-inline: 1rem;
  bottom: 5.75rem;
  max-width: 22.5rem;
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 16px 40px rgb(15 23 42 / 28%);
  transform: translateY(1.15rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.sea-toast.is-show,
.sea-cart-toast.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.sea-toast.is-error {
  background: #7f1d1d;
}
.sea-toast.is-warning {
  background: #7c2d12;
}
.sea-toast.is-info {
  background: #0c4a6e;
}
.sea-toast > iconify-icon,
.sea-cart-toast > iconify-icon {
  font-size: 1.55rem;
  color: #06d6a0;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.sea-toast.is-error > iconify-icon,
.sea-toast.is-warning > iconify-icon {
  color: #fecaca;
}
.sea-toast.is-info > iconify-icon {
  color: #7dd3fc;
}
.sea-toast__text,
.sea-cart-toast__text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.sea-toast__text strong,
.sea-cart-toast__text strong {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.45;
}
.sea-toast__text span,
.sea-cart-toast__text span {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgb(255 255 255 / 72%);
}
.sea-toast__open,
.sea-cart-toast__open {
  flex-shrink: 0;
  border: 0;
  background: var(--secondary, #ffb703);
  color: #000;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  align-self: center;
}
.sea-toast__close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
  color: #fff;
  cursor: pointer;
}
.sea-toast__close iconify-icon {
  font-size: 1.05rem;
}
@media (min-width: 768px) {
  .sea-toast,
  .sea-cart-toast {
    inset-inline: auto 1.25rem;
    bottom: 1.5rem;
    margin: 0;
  }
}

@keyframes sea-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes sea-busy-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.16);
  }
}
.is-sea-busy,
.btn-loading {
  position: relative !important;
  cursor: wait !important;
}
.is-sea-busy > :not(.sea-busy-dot),
.btn-loading > :not(.sea-busy-dot) {
  opacity: 0.22;
}
.sea-busy-dot {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.1rem;
  height: 1.1rem;
  border: 2.5px solid rgb(255 255 255 / 32%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sea-spin 0.65s linear infinite;
  z-index: 3;
  pointer-events: none;
}
.home-product__wish.is-sea-busy:not(.is-active):not(.active) .sea-busy-dot,
.sea-minicart__remove.is-sea-busy .sea-busy-dot,
.cartmini__del.is-sea-busy .sea-busy-dot,
.sea-icon-btn.is-sea-busy .sea-busy-dot,
[data-bb-toggle="add-to-wishlist"].is-sea-busy:not(.is-active):not(.active) .sea-busy-dot {
  border-color: rgb(0 119 182 / 22%);
  border-top-color: var(--primary, #0077b6);
}
.sea-cart-chip.is-sea-busy,
[data-sea-wish-chip].is-sea-busy {
  cursor: wait;
}
.sea-cart-chip.is-sea-busy .sea-badge,
[data-sea-wish-chip].is-sea-busy .sea-badge {
  animation: sea-busy-pulse 0.7s ease-in-out infinite;
}
.sea-toast.is-busy {
  background: #0c4a6e;
}
.sea-toast.is-busy > iconify-icon {
  color: #7dd3fc;
  display: inline-block;
  animation: sea-spin 0.8s linear infinite;
}

/* Add-to-cart: no dimmed spinner — instant tap feedback */
[data-bb-toggle="add-to-cart"].btn-loading,
[data-bb-toggle="add-to-cart-in-form"].btn-loading,
button[name="add-to-cart"].btn-loading,
.home-product__cart.is-sea-atc-pending,
.pdp-actions__cart.is-sea-atc-pending,
.tp-product-details-add-to-cart-btn.is-sea-atc-pending {
  cursor: pointer !important;
}
[data-bb-toggle="add-to-cart"].btn-loading > :not(.sea-busy-dot),
[data-bb-toggle="add-to-cart-in-form"].btn-loading > :not(.sea-busy-dot),
button[name="add-to-cart"].btn-loading > :not(.sea-busy-dot),
.is-sea-atc-pending > :not(.sea-busy-dot) {
  opacity: 1 !important;
}
.is-sea-atc-pending {
  transform: scale(0.97);
  transition: transform 0.12s ease;
}
