/* =========================================================
   TELANA TEA — MASTER CSS
   Premium Burgundy / Gold / Cream
   Salla Sahra Theme
   ========================================================= */

:root {
  --telana-burgundy: #651316;
  --telana-burgundy-dark: #4E0D10;
  --telana-burgundy-light: #7A191E;
  --telana-gold: #D4AF37;
  --telana-gold-dark: #C99A2E;
  --telana-cream: #F8E9DD;
  --telana-cream-light: #FFF9F4;
  --telana-white: #FFFFFF;
  --telana-text: #211D1B;
  --telana-muted: #766B65;
  --telana-border: #E8D9CE;
  --telana-radius-sm: 8px;
  --telana-radius-md: 12px;
  --telana-radius-lg: 18px;
  --telana-radius-xl: 24px;
  --telana-shadow-sm: 0 6px 20px rgba(78, 13, 16, .06);
  --telana-shadow-md: 0 16px 42px rgba(78, 13, 16, .10);
  --telana-container: 1320px;
  --telana-transition: 240ms ease;
  --color-primary: var(--telana-burgundy);
  --color-primary-dark: var(--telana-burgundy-dark);
  --color-primary-darker: var(--telana-burgundy-dark);
}

/* ---------- Global ---------- */

html {
  background: var(--telana-cream-light);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  background: var(--telana-cream-light);
  color: var(--telana-text);
}

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

img,
video,
iframe,
svg {
  max-width: 100%;
}

a {
  transition: color var(--telana-transition),
              background-color var(--telana-transition),
              border-color var(--telana-transition),
              transform var(--telana-transition),
              box-shadow var(--telana-transition);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--telana-burgundy);
  line-height: 1.45;
  font-weight: 700;
}

p, li, label, td, th {
  line-height: 1.8;
}

::selection {
  background: var(--telana-burgundy);
  color: var(--telana-white);
}

/* ---------- Containers ---------- */

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

.home section {
  scroll-margin-top: 100px;
}

/* ---------- Header ---------- */

header,
.site-header,
.main-header,
.store-header,
.header-wrapper {
  position: relative;
  z-index: 50;
  background: var(--telana-burgundy);
  color: var(--telana-cream-light);
  border-bottom: 1px solid rgba(212, 175, 55, .24);
  box-shadow: 0 6px 24px rgba(78, 13, 16, .12);
}

header .logo,
.navbar-brand {
  display: flex;
  align-items: center;
}

header .logo img,
.navbar-brand img {
  width: auto;
  max-width: 155px;
  max-height: 62px;
  object-fit: contain;
}

.main-menu,
.main-nav,
.navbar {
  background: transparent;
}

.main-menu ul,
.main-nav ul,
.navbar ul {
  align-items: center;
  gap: 4px;
}

.main-menu a,
.main-nav a,
.navbar a,
header nav a {
  color: var(--telana-cream-light);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 12px;
}

.main-menu a:hover,
.main-nav a:hover,
.navbar a:hover,
header nav a:hover {
  color: var(--telana-gold);
  background: transparent;
}

.main-menu .active > a,
.main-nav .active > a,
header nav a.active {
  color: var(--telana-gold);
}

header input[type="search"],
header .search input,
.s-search-input {
  min-height: 44px;
  padding-inline: 15px;
  color: var(--telana-text);
  background: var(--telana-cream);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  box-shadow: none;
}

header input[type="search"]:focus,
.s-search-input:focus {
  background: var(--telana-white);
  border-color: var(--telana-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .14);
}

header .header-btn,
header .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  color: var(--telana-cream-light);
  border-radius: var(--telana-radius-md);
}

header .header-btn:hover,
header .icon-btn:hover {
  color: var(--telana-gold);
  background: rgba(255, 255, 255, .07);
}

/* ---------- Hero ---------- */

.sahra-hero-banner,
section[class*="sahra-hero"],
.telana-hero {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-inline: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
  background: var(--telana-burgundy);
  border-radius: 0;
}

.sahra-hero-banner img,
section[class*="sahra-hero"] img,
.telana-hero img {
  display: block;
  width: 100%;
  min-height: 460px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.sahra-hero-banner .content,
.sahra-hero-banner .hero-content,
section[class*="sahra-hero"] .content,
section[class*="sahra-hero"] .hero-content {
  display: block !important;
}

.sahra-hero-banner a,
.telana-hero a {
  border-radius: 10px;
}

/* ---------- Buttons ---------- */

.s-button-primary,
.btn-primary,
button.btn-primary,
.s-product-card-entry .s-button-primary {
  min-height: 48px;
  border: 1px solid var(--telana-gold);
  border-radius: 10px;
  background: var(--telana-gold);
  color: var(--telana-burgundy);
  font-weight: 700;
  box-shadow: none;
}

.s-button-primary:hover,
.btn-primary:hover,
.s-product-card-entry .s-button-primary:hover {
  background: var(--telana-gold-dark);
  border-color: var(--telana-gold-dark);
  color: var(--telana-burgundy-dark);
  transform: translateY(-1px);
}

/* ---------- Product Grid ---------- */

.home .s-products-container,
.home .products-grid,
.home .s-products-list-wrapper {
  position: relative;
}

.products-grid,
.s-products-list-wrapper,
.home .s-products-container .grid {
  gap: 24px;
}

.s-product-card-entry,
.home .product-entry {
  height: 100%;
  overflow: hidden;
  background: var(--telana-white);
  border: 1px solid rgba(101, 19, 22, .10);
  border-radius: var(--telana-radius-lg);
  box-shadow: var(--telana-shadow-sm);
  transition: transform var(--telana-transition),
              border-color var(--telana-transition),
              box-shadow var(--telana-transition);
}

.s-product-card-entry:hover,
.home .product-entry:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, .55);
  box-shadow: var(--telana-shadow-md);
}

.s-product-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  min-height: 250px;
  padding: 18px;
  overflow: hidden;
  background: var(--telana-cream-light);
}

.s-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.s-product-card-entry:hover .s-product-card-image img {
  transform: scale(1.035);
}

.s-product-card-content-title a,
.s-product-card-content-title,
.product-entry h3,
.product-entry h3 a {
  color: var(--telana-burgundy) !important;
  font-weight: 700;
}

.s-product-card-price,
.s-product-card-sale-price,
.product-price {
  color: var(--telana-burgundy) !important;
  font-weight: 700;
}

/* ---------- Story / Brand ---------- */

salla-component[component="store-story"] section,
section[class*="story"],
.about-section {
  position: relative !important;
  width: 100% !important;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--telana-burgundy);
  direction: rtl;
  isolation: isolate;
}

salla-component[component="store-story"] section > img,
section[class*="story"] > img {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

salla-component[component="store-story"] section > div[aria-hidden="true"],
section[class*="story"] > div[aria-hidden="true"] {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(35, 8, 9, .10) 0%,
    rgba(55, 10, 12, .48) 48%,
    rgba(45, 7, 9, .90) 100%
  );
}

salla-component[component="store-story"] section > div:not([aria-hidden]),
section[class*="story"] > div:not([aria-hidden]) {
  position: relative !important;
  z-index: 2;
  width: min(calc(100% - 64px), 1280px);
  margin: 0 auto;
  padding: 90px 0;
  color: var(--telana-white);
}

salla-component[component="store-story"] section h2,
section[class*="story"] h2 {
  color: var(--telana-white) !important;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

salla-component[component="store-story"] section h2::after,
section[class*="story"] h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 18px;
  background: var(--telana-gold);
}

salla-component[component="store-story"] section p,
section[class*="story"] p {
  max-width: 600px;
  color: #FFF8EE !important;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 2;
}

/* ---------- FAQ ---------- */

.home [class*="faq"] {
  background: var(--telana-cream-light);
}

.home [class*="faq"] button,
.home [class*="faq"] [role="button"] {
  color: var(--telana-burgundy);
  border-color: var(--telana-border);
}

/* ---------- Footer ---------- */

footer,
.store-footer,
footer.store-footer {
  background: var(--telana-burgundy-dark) !important;
  color: var(--telana-white) !important;
}

footer h2,
footer h3,
footer h4,
.store-footer h2,
.store-footer h3,
.store-footer h4 {
  color: var(--telana-white) !important;
}

footer p,
footer span,
.store-footer p {
  color: var(--telana-cream) !important;
}

footer a,
.store-footer a {
  color: var(--telana-cream) !important;
}

footer a:hover,
.store-footer a:hover {
  color: var(--telana-gold) !important;
}

footer .s-social-list a,
.store-footer .s-social-list a {
  border-color: rgba(212, 175, 55, .45) !important;
}

footer .s-social-list a:hover,
.store-footer .s-social-list a:hover {
  color: var(--telana-gold) !important;
  border-color: var(--telana-gold) !important;
}

/* ---------- Forms / Breadcrumb ---------- */

.breadcrumb,
.breadcrumbs,
salla-breadcrumb {
  color: var(--telana-muted);
  font-size: .82rem;
  margin-bottom: 22px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--telana-gold) !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, .12) !important;
}

/* ---------- Installments ---------- */

.tabby,
.tamara,
.installment,
[class*="tabby"],
[class*="tamara"] {
  border-radius: var(--telana-radius-md);
}

/* ---------- Desktop ---------- */

@media (min-width: 1101px) {
  .home .s-products-container,
  .home .s-block--fixed-products .container {
    width: min(calc(100% - 64px), 1280px) !important;
    max-width: 1280px !important;
  }

  .products-grid,
  .s-products-list-wrapper,
  .home .s-products-container .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  :root {
    --telana-container: 1440px;
  }

  .home .s-products-container {
    max-width: 1320px !important;
  }

  .s-product-card-image {
    height: 300px;
  }
}

/* ---------- Tablet ---------- */

@media (min-width: 768px) and (max-width: 1100px) {
  .container {
    width: min(calc(100% - 36px), 100%);
  }

  .home .s-products-container {
    width: min(calc(100% - 36px), 960px) !important;
  }

  .products-grid,
  .s-products-list-wrapper,
  .home .s-products-container .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-menu a {
    font-size: .82rem;
    padding-inline: 8px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  header,
  .main-header,
  .site-header {
    background: var(--telana-burgundy);
  }

  header .container {
    min-height: 60px;
    padding-inline: 14px;
    width: calc(100% - 28px);
  }

  header .logo img {
    max-width: 120px;
    max-height: 48px;
  }

  .menu-toggle,
  .mobile-menu-btn,
  .navbar-toggler {
    min-width: 40px;
    min-height: 40px;
    color: var(--telana-cream-light);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: var(--telana-radius-md);
  }

  .s-block__title h2 {
    font-size: 1.55rem;
  }

  .home .container {
    padding-inline: 16px;
  }

  .products-grid,
  .s-products-list-wrapper,
  .home .s-products-container .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .s-product-card-entry,
  .home .product-entry {
    border-radius: 18px;
  }

  .s-product-card-image {
    height: 145px;
    min-height: 145px;
    padding: 10px;
  }

  .s-product-card-entry salla-add-product-button button {
    min-height: 44px;
  }

  salla-component[component="store-story"] section,
  section[class*="story"] {
    min-height: 570px !important;
    align-items: flex-end !important;
  }

  salla-component[component="store-story"] section > div[aria-hidden="true"],
  section[class*="story"] > div[aria-hidden="true"] {
    background: linear-gradient(
      180deg,
      rgba(35, 8, 9, .08) 0%,
      rgba(55, 10, 12, .35) 35%,
      rgba(45, 7, 9, .94) 100%
    ) !important;
  }

  salla-component[component="store-story"] section > div:not([aria-hidden]),
  section[class*="story"] > div:not([aria-hidden]) {
    width: calc(100% - 32px) !important;
    padding: 60px 0 45px !important;
  }

  salla-component[component="store-story"] section h2,
  section[class*="story"] h2 {
    font-size: 42px !important;
  }

  salla-component[component="store-story"] section p,
  section[class*="story"] p {
    font-size: 15px !important;
    line-height: 1.9 !important;
  }

  .product-entry,
  .product-single,
  .product-page {
    padding-block: 12px 30px;
  }

  .product-details h1 {
    font-size: 1.5rem;
    line-height: 1.55;
  }

  .product-price {
    font-size: 1.5rem;
  }

  salla-add-product-button button {
    min-height: 52px;
  }
}

@media (max-width: 480px) {
  salla-component[component="store-story"] section,
  section[class*="story"] {
    min-height: 540px !important;
  }

  salla-component[component="store-story"] section h2,
  section[class*="story"] h2 {
    font-size: 38px !important;
  }

  .s-product-card-image {
    height: 130px;
    min-height: 130px;
  }
}

/* Keep two product columns on small phones for a compact shop experience. */
@media (max-width: 360px) {
  .products-grid,
  .s-products-list-wrapper,
  .home .s-products-container .grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TELANA — PRODUCT PAGE CLEAN FINAL
   Sahra / Salla — Desktop + Mobile
   Consolidated quantity, purchase buttons, Apple Pay and actions
   ============================================================ */

/* ---------- Product details typography ---------- */

.container--product-details,
.container--product-details form,
.container--product-details .product-form {
  color: var(--telana-text) !important;
}

.container--product-details label,
.container--product-details .form-label,
.container--product-details [class*="label"],
.container--product-details .text-muted,
.container--product-details .text-gray-500,
.container--product-details .text-gray-400 {
  color: var(--telana-burgundy) !important;
  -webkit-text-fill-color: var(--telana-burgundy) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.container--product-details .product-price,
.container--product-details [class*="price"]:not(.before-price) {
  color: var(--telana-text) !important;
  -webkit-text-fill-color: var(--telana-text) !important;
  opacity: 1 !important;
}

.container--product-details .before-price,
.container--product-details del,
.container--product-details s {
  color: var(--telana-muted) !important;
  -webkit-text-fill-color: var(--telana-muted) !important;
}


/* ---------- Purchase area ---------- */

.container--product-details .sticky-product-bar,
.container--product-details form.product-form,
.container--product-details .product-form {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding-bottom: 0 !important;
}

.container--product-details .sticky-product-bar {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.container--product-details .product-form > :empty,
.container--product-details form.product-form > :empty {
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}


/* ---------- Native Salla quantity selector ---------- */

/*
   The host intentionally has NO border or shadow.
   The visible border belongs only to .s-quantity-input-container.
   This removes the duplicated pale/curved line under the selector.
*/
.container--product-details salla-quantity-input,
form.product-form salla-quantity-input {
  --color-primary: var(--telana-burgundy);

  display: inline-flex !important;
  position: relative !important;

  width: 138px !important;
  min-width: 138px !important;
  max-width: 138px !important;

  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--telana-text) !important;
  background: transparent !important;

  border: 0 !important;
  border-radius: 18px !important;
  outline: 0 !important;

  box-shadow: none !important;
  filter: none !important;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  overflow: visible !important;
  transform: none !important;
  z-index: 2 !important;
}

.container--product-details salla-quantity-input .s-quantity-input-container,
form.product-form salla-quantity-input .s-quantity-input-container {
  display: flex !important;
  align-items: stretch !important;

  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;

  margin: 0 !important;
  padding: 0 !important;

  background: var(--telana-white) !important;
  border: 1px solid #222222 !important;
  border-radius: 18px !important;

  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;

  overflow: hidden !important;
}

.container--product-details salla-quantity-input button,
.container--product-details salla-quantity-input input,
form.product-form salla-quantity-input button,
form.product-form salla-quantity-input input {
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
}

.container--product-details salla-quantity-input::before,
.container--product-details salla-quantity-input::after,
.container--product-details salla-quantity-input .s-quantity-input-container::before,
.container--product-details salla-quantity-input .s-quantity-input-container::after,
.container--product-details salla-quantity-input button::before,
.container--product-details salla-quantity-input button::after,
form.product-form salla-quantity-input::before,
form.product-form salla-quantity-input::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* ---------- Quantity row ---------- */

.container--product-details .sticky-product-bar__quantity,
form.product-form .sticky-product-bar__quantity {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;

  width: 100% !important;
  height: auto !important;
  min-height: 46px !important;
  max-height: none !important;

  margin: 6px 0 12px !important;
  padding: 0 !important;

  background: transparent !important;
  overflow: visible !important;
}

.container--product-details .sticky-product-bar__quantity .form-label,
form.product-form .sticky-product-bar__quantity .form-label {
  position: static !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}


/* ---------- Custom TELANA desktop quantity, if injected by JS ---------- */

#telana-desktop-quantity {
  display: none;
}

@media (min-width: 768px) {
  #telana-desktop-quantity,
  .telana-desktop-qty {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;

    margin: 14px 0 16px !important;
    padding: 0 !important;

    direction: rtl !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #telana-desktop-quantity .telana-qty-title,
  .telana-desktop-qty__label,
  .telana-qty-title {
    margin: 0 !important;
    padding: 0 !important;

    color: var(--telana-burgundy) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  #telana-desktop-quantity .telana-qty-control,
  .telana-desktop-qty__ctrl,
  .telana-qty-control {
    width: 138px !important;
    height: 44px !important;

    display: grid !important;
    grid-template-columns: 44px 50px 44px !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: var(--telana-white) !important;
    border: 1px solid #222222 !important;
    border-radius: 16px !important;

    /* No extra shadow/line below the control */
    box-shadow: none !important;
    outline: none !important;
    overflow: hidden !important;
  }

  #telana-desktop-quantity .telana-qty-minus,
  #telana-desktop-quantity .telana-qty-plus,
  .telana-desktop-qty button,
  .telana-qty-control button {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;

    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: var(--telana-cream-light) !important;
    color: var(--telana-text) !important;

    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    box-shadow: none !important;
    outline: none !important;

    cursor: pointer !important;
    transition: var(--telana-transition) !important;
  }

  #telana-desktop-quantity .telana-qty-minus:hover,
  #telana-desktop-quantity .telana-qty-plus:hover,
  .telana-desktop-qty button:hover,
  .telana-qty-control button:hover {
    background: var(--telana-burgundy) !important;
    color: var(--telana-white) !important;
  }

  #telana-desktop-quantity .telana-qty-value,
  .telana-desktop-qty output,
  .telana-qty-value {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;

    height: 44px !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-right: 1px solid #D8D3CF !important;
    border-left: 1px solid #D8D3CF !important;
    border-radius: 0 !important;

    background: var(--telana-white) !important;
    color: var(--telana-text) !important;

    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;

    box-shadow: none !important;
    outline: none !important;

    appearance: textfield !important;
    -moz-appearance: textfield !important;
  }

  #telana-desktop-quantity .telana-qty-value::-webkit-inner-spin-button,
  #telana-desktop-quantity .telana-qty-value::-webkit-outer-spin-button,
  .telana-qty-value::-webkit-inner-spin-button,
  .telana-qty-value::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
  }
}


/* ---------- Add to cart ---------- */

.container--product-details salla-add-product-button {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  opacity: 1 !important;
  visibility: visible !important;
}

.container--product-details salla-add-product-button button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  width: 100% !important;

  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;

  margin: 0 !important;
  padding: 0 18px !important;

  color: var(--telana-burgundy) !important;
  -webkit-text-fill-color: var(--telana-burgundy) !important;

  background: var(--telana-cream-light) !important;
  border: 1px solid var(--telana-burgundy) !important;
  border-radius: 10px !important;

  font-weight: 700 !important;
  line-height: 1.2 !important;

  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: hidden !important;
}

.container--product-details salla-add-product-button button:hover {
  background: var(--telana-burgundy) !important;
  border-color: var(--telana-burgundy) !important;
  color: var(--telana-white) !important;
  -webkit-text-fill-color: var(--telana-white) !important;
}

.container--product-details salla-add-product-button button svg,
.container--product-details salla-add-product-button button path {
  color: currentColor !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.container--product-details salla-add-product-button::before,
.container--product-details salla-add-product-button::after,
.container--product-details salla-add-product-button button::before,
.container--product-details salla-add-product-button button::after {
  content: none !important;
  display: none !important;
}


/* ---------- Buy Now: keep visible ---------- */

.container--product-details salla-mini-checkout-widget {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;

  height: auto !important;
  min-height: 0 !important;

  margin: 10px 0 0 !important;
  padding: 0 !important;

  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}


/* ---------- Apple Pay: hide ONLY on product page ---------- */

/*
   Apple Pay is not disabled as a store payment method.
   These rules only hide its fast-payment button inside product details.
*/
.container--product-details salla-apple-pay-button,
.container--product-details apple-pay-button,
.container--product-details .apple-pay-button,
.container--product-details .s-apple-pay-button,
.container--product-details [class*="apple-pay" i],
.container--product-details [class*="apple_pay" i],
.container--product-details [id*="apple-pay" i],
.container--product-details [id*="apple_pay" i],
.container--product-details [data-payment-method="apple_pay" i],
.container--product-details [data-payment-method="apple-pay" i],
.container--product-details [data-method="apple_pay" i],
.container--product-details [data-method="apple-pay" i],
.container--product-details [aria-label*="Apple Pay" i] {
  display: none !important;

  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;

  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;

  overflow: hidden !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/* ---------- Share / favorite ---------- */

.container--product-details salla-button[shape="icon"],
.container--product-details salla-button[fill="outline"],
.container--product-details [class*="wishlist"],
.container--product-details [class*="favorite"],
.container--product-details [class*="favourite"],
.container--product-details button[aria-label*="مفض"],
.container--product-details button[aria-label*="wish" i],
.container--product-details button[aria-label*="favor" i] {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.container--product-details [class*="wishlist"],
.container--product-details [class*="favorite"],
.container--product-details [class*="favourite"],
.container--product-details button[aria-label*="مفض"],
.container--product-details button[aria-label*="wish" i],
.container--product-details button[aria-label*="favor" i] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ---------- Discount percentage ---------- */

.product-card .discount-percentage,
.product-card .sale-percent,
.product-card [class*="discount"],
.product-card [class*="percent"],
salla-product-card [class*="discount"],
salla-product-card [class*="percent"] {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0 !important;
}


/* ---------- Mobile product page ---------- */

@media (max-width: 767px) {

  .container--product-details {
    padding-bottom: 24px !important;
  }

  .container--product-details label,
  .container--product-details .form-label {
    margin-bottom: 6px !important;
    line-height: 1.5 !important;
  }

  .container--product-details .sticky-product-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .container--product-details .sticky-product-bar__quantity,
  form.product-form .sticky-product-bar__quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    height: auto !important;
    min-height: 46px !important;
    max-height: none !important;

    margin: 6px 0 12px !important;
    padding: 0 !important;

    background: transparent !important;
    overflow: visible !important;
  }

  .container--product-details salla-quantity-input,
  form.product-form salla-quantity-input {
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;

    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;

    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .container--product-details salla-add-product-button button {
    width: 100% !important;

    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;

    border-radius: 12px !important;
  }

  .container--product-details salla-mini-checkout-widget {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  main > .container--product-details + div:empty,
  main > .container--product-details + section:empty,
  .container--product-details ~ div:empty {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  section[class*="related"],
  section[class*="similar"],
  section[class*="recommend"] {
    min-height: 0 !important;
    margin-top: 24px !important;
    padding-top: 24px !important;
  }
}


/* ============================================================
   END — TELANA PRODUCT PAGE CLEAN FINAL
   ============================================================ */

/* ============================================================
   TELANA — PREMIUM FOOTER V15
   Clean final layout — Desktop + Mobile
   Works with TELANA JS V14
   ============================================================ */

#telana-premium-footer{
  --tf-bg:#4E0D10;
  --tf-bg2:#651316;
  --tf-gold:#D4AF37;
  --tf-cream:#F8E9DD;
  --tf-white:#FFFFFF;
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:rtl !important;
  color:var(--tf-cream) !important;
  background:
    radial-gradient(circle at 50% -45%, rgba(122,25,30,.55), transparent 48%),
    var(--tf-bg) !important;
  overflow:hidden !important;
}

#telana-premium-footer,
#telana-premium-footer *{
  box-sizing:border-box !important;
}

#telana-premium-footer a{
  color:inherit !important;
  text-decoration:none !important;
}

#telana-premium-footer .tf-shell{
  width:min(calc(100% - 80px),1280px) !important;
  max-width:1280px !important;
  margin:0 auto !important;
  padding:58px 0 24px !important;
}

/* ---------- Main desktop grid ---------- */
#telana-premium-footer .tf-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr) !important;
  align-items:stretch !important;
  gap:34px !important;
  width:100% !important;
}

#telana-premium-footer .tf-col{
  min-width:0 !important;
}

/* ---------- Brand ---------- */
#telana-premium-footer .tf-brand{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:245px !important;
  padding:28px !important;
  text-align:center !important;
  background:rgba(255,255,255,.025) !important;
  border:1px solid rgba(248,233,221,.10) !important;
  border-radius:20px !important;
}

#telana-premium-footer .tf-logo{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:132px !important;
  max-height:105px !important;
  margin:0 auto 18px !important;
  object-fit:contain !important;
}

#telana-premium-footer .tf-slogan{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:100% !important;
  margin:0 0 20px !important;
  color:var(--tf-gold) !important;
  font-size:16px !important;
  font-weight:600 !important;
  line-height:1.7 !important;
  white-space:nowrap !important;
}

#telana-premium-footer .tf-slogan::before,
#telana-premium-footer .tf-slogan::after{
  content:"" !important;
  display:block !important;
  width:28px !important;
  height:1px !important;
  flex:0 0 28px !important;
  background:var(--tf-gold) !important;
  opacity:.75 !important;
}

#telana-premium-footer .tf-socials{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  min-height:40px !important;
}

#telana-premium-footer .tf-socials a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  min-height:40px !important;
  padding:0 !important;
  border:1px solid rgba(212,175,55,.62) !important;
  border-radius:50% !important;
  color:#fff !important;
  background:transparent !important;
  overflow:hidden !important;
}

#telana-premium-footer .tf-socials a:hover{
  color:var(--tf-bg) !important;
  background:var(--tf-gold) !important;
  border-color:var(--tf-gold) !important;
  transform:translateY(-2px) !important;
}

#telana-premium-footer .tf-safe-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:22px !important;
  height:22px !important;
  min-width:22px !important;
  min-height:22px !important;
  max-width:22px !important;
  max-height:22px !important;
  flex:0 0 22px !important;
  color:currentColor !important;
  font-size:9px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  overflow:hidden !important;
}

/* ---------- Legal cards ---------- */
#telana-premium-footer .tf-legal{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  align-items:stretch !important;
  gap:14px !important;
  padding:0 !important;
  border:0 !important;
}

#telana-premium-footer .tf-legal-item{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  min-height:245px !important;
  padding:26px 18px !important;
  text-align:center !important;
  background:rgba(255,255,255,.035) !important;
  border:1px solid rgba(248,233,221,.12) !important;
  border-radius:20px !important;
}

#telana-premium-footer .tf-legal-item + .tf-legal-item{
  border-top:1px solid rgba(248,233,221,.12) !important;
}

#telana-premium-footer .tf-legal-img{
  display:block !important;
  width:64px !important;
  height:64px !important;
  min-width:64px !important;
  max-width:64px !important;
  min-height:64px !important;
  max-height:64px !important;
  margin:0 auto 2px !important;
  object-fit:contain !important;
}

#telana-premium-footer .tf-label{
  display:block !important;
  margin:0 0 6px !important;
  color:rgba(248,233,221,.78) !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.5 !important;
}

#telana-premium-footer .tf-value{
  display:block !important;
  margin:0 !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.5 !important;
  direction:ltr !important;
  text-align:center !important;
  white-space:nowrap !important;
}

/* ---------- Contact ---------- */
#telana-premium-footer .tf-contact{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-height:245px !important;
  padding:30px !important;
  background:rgba(255,255,255,.025) !important;
  border:1px solid rgba(248,233,221,.10) !important;
  border-radius:20px !important;
  text-align:right !important;
}

#telana-premium-footer .tf-title{
  position:relative !important;
  display:block !important;
  width:100% !important;
  margin:0 0 28px !important;
  padding:0 0 12px !important;
  color:#fff !important;
  font-size:21px !important;
  font-weight:800 !important;
  line-height:1.4 !important;
  text-align:right !important;
}

#telana-premium-footer .tf-title::after{
  content:"" !important;
  position:absolute !important;
  right:0 !important;
  bottom:0 !important;
  width:42px !important;
  height:2px !important;
  border-radius:2px !important;
  background:var(--tf-gold) !important;
}

#telana-premium-footer .tf-contact-list{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:10px !important;
  width:100% !important;
}

#telana-premium-footer .tf-contact-row{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  width:100% !important;
  min-height:42px !important;
  margin:0 !important;
  padding:0 13px !important;
  color:var(--tf-cream) !important;
  background:rgba(255,255,255,.035) !important;
  border:1px solid rgba(248,233,221,.10) !important;
  border-radius:11px !important;
  font-size:13px !important;
  line-height:1 !important;
  direction:ltr !important;
  text-align:left !important;
}

#telana-premium-footer .tf-contact-row:hover{
  border-color:rgba(212,175,55,.55) !important;
  background:rgba(212,175,55,.07) !important;
}

#telana-premium-footer .tf-contact-row.tf-web{
  color:var(--tf-gold) !important;
}

/* ---------- Bottom bar ---------- */
#telana-premium-footer .tf-bottom{
  position:relative !important;
  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;
  gap:24px !important;
  width:100% !important;
  margin:34px 0 0 !important;
  padding:24px 0 0 !important;
  border-top:1px solid rgba(248,233,221,.18) !important;
}

#telana-premium-footer .tf-copy{
  grid-column:1 !important;
  justify-self:start !important;
  margin:0 !important;
  color:rgba(248,233,221,.72) !important;
  font-size:12px !important;
  line-height:1.6 !important;
  white-space:nowrap !important;
}

#telana-premium-footer .tf-origin{
  position:static !important;
  grid-column:2 !important;
  justify-self:center !important;
  transform:none !important;
  text-align:center !important;
  color:var(--tf-gold) !important;
  white-space:nowrap !important;
}

#telana-premium-footer .tf-origin b{
  display:block !important;
  color:var(--tf-gold) !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
}

#telana-premium-footer .tf-origin small{
  display:block !important;
  margin-top:4px !important;
  color:rgba(248,233,221,.60) !important;
  font-size:8px !important;
  line-height:1.2 !important;
  letter-spacing:2.6px !important;
  direction:ltr !important;
}

#telana-premium-footer .tf-site{
  grid-column:3 !important;
  justify-self:end !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:36px !important;
  margin:0 !important;
  padding:0 16px !important;
  color:#fff !important;
  border:1px solid rgba(212,175,55,.50) !important;
  border-radius:999px !important;
  font-size:12px !important;
  direction:ltr !important;
}

/* ---------- Keep only the TELANA footer ---------- */
footer.store-footer:not(.telana-footer-mounted),
.store-footer:not(.telana-footer-mounted),
footer.footer:not(.telana-footer-mounted){
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}

footer.store-footer.telana-footer-mounted,
.store-footer.telana-footer-mounted,
footer.footer.telana-footer-mounted{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  background:var(--tf-bg,#4E0D10) !important;
}

footer.store-footer.telana-footer-mounted > :not(#telana-premium-footer),
.store-footer.telana-footer-mounted > :not(#telana-premium-footer),
footer.footer.telana-footer-mounted > :not(#telana-premium-footer){
  display:none !important;
}

/* ---------- Tablet ---------- */
@media (min-width:768px) and (max-width:1050px){
  #telana-premium-footer .tf-shell{
    width:min(calc(100% - 40px),940px) !important;
  }

  #telana-premium-footer .tf-grid{
    grid-template-columns:1fr 1fr !important;
  }

  #telana-premium-footer .tf-brand{
    grid-column:1 !important;
  }

  #telana-premium-footer .tf-contact{
    grid-column:2 !important;
  }

  #telana-premium-footer .tf-legal{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
  }

  #telana-premium-footer .tf-legal-item{
    min-height:170px !important;
  }
}

/* ---------- Mobile ---------- */
@media (max-width:767px){
  #telana-premium-footer .tf-shell{
    width:100% !important;
    max-width:none !important;
    padding:34px 18px 20px !important;
  }

  #telana-premium-footer .tf-grid{
    display:flex !important;
    flex-direction:column !important;
    gap:14px !important;
  }

  #telana-premium-footer .tf-brand,
  #telana-premium-footer .tf-contact{
    width:100% !important;
    min-height:0 !important;
    padding:24px 18px !important;
    border-radius:16px !important;
  }

  #telana-premium-footer .tf-logo{
    max-width:112px !important;
    max-height:92px !important;
    margin-bottom:14px !important;
  }

  #telana-premium-footer .tf-slogan{
    font-size:14px !important;
    margin-bottom:17px !important;
  }

  #telana-premium-footer .tf-socials a{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
  }

  #telana-premium-footer .tf-legal{
    order:2 !important;
    width:100% !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }

  #telana-premium-footer .tf-legal-item{
    min-height:175px !important;
    padding:18px 10px !important;
    border-radius:16px !important;
  }

  #telana-premium-footer .tf-legal-img{
    width:52px !important;
    height:52px !important;
    min-width:52px !important;
    min-height:52px !important;
  }

  #telana-premium-footer .tf-label{
    font-size:11px !important;
  }

  #telana-premium-footer .tf-value{
    font-size:11px !important;
  }

  #telana-premium-footer .tf-contact{
    order:3 !important;
  }

  #telana-premium-footer .tf-title{
    margin-bottom:22px !important;
    font-size:18px !important;
  }

  #telana-premium-footer .tf-contact-row{
    min-height:42px !important;
    font-size:12px !important;
  }

  #telana-premium-footer .tf-bottom{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:15px !important;
    margin-top:22px !important;
    padding-top:22px !important;
    text-align:center !important;
  }

  #telana-premium-footer .tf-origin,
  #telana-premium-footer .tf-copy,
  #telana-premium-footer .tf-site{
    position:static !important;
    width:auto !important;
    justify-self:auto !important;
    transform:none !important;
  }

  #telana-premium-footer .tf-origin{
    order:1 !important;
  }

  #telana-premium-footer .tf-site{
    order:2 !important;
  }

  #telana-premium-footer .tf-copy{
    order:3 !important;
    white-space:normal !important;
  }
}

@media (max-width:390px){
  #telana-premium-footer .tf-shell{
    padding-inline:14px !important;
  }

  #telana-premium-footer .tf-legal{
    grid-template-columns:1fr !important;
  }

  #telana-premium-footer .tf-legal-item{
    min-height:145px !important;
  }
}

/* ============================================================
   TELANA — DESKTOP FOOTER V16
   Desktop only. Mobile remains unchanged.
   Layout matches approved TELANA footer concept:
   Contact | Legal cards | Brand
   ============================================================ */
@media (min-width: 768px){

  #telana-premium-footer{
    background:
      radial-gradient(circle at 50% 10%, rgba(122,25,30,.32), transparent 48%),
      #5A0D11 !important;
    border-top:1px solid rgba(212,175,55,.22) !important;
  }

  #telana-premium-footer .tf-shell{
    width:min(calc(100% - 96px),1460px) !important;
    max-width:1460px !important;
    padding:58px 0 0 !important;
  }

  #telana-premium-footer .tf-grid{
    display:grid !important;
    grid-template-columns:minmax(260px,.9fr) minmax(540px,1.75fr) minmax(260px,.9fr) !important;
    grid-template-areas:"contact legal brand" !important;
    align-items:center !important;
    gap:46px !important;
  }

  /* LEFT — Contact */
  #telana-premium-footer .tf-contact{
    grid-area:contact !important;
    min-height:260px !important;
    padding:10px 8px !important;
    justify-content:center !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    text-align:left !important;
    direction:ltr !important;
  }

  #telana-premium-footer .tf-title{
    width:auto !important;
    margin:0 0 28px !important;
    padding:0 0 12px !important;
    text-align:left !important;
    font-size:23px !important;
    direction:rtl !important;
    align-self:flex-start !important;
  }

  #telana-premium-footer .tf-title::after{
    right:auto !important;
    left:0 !important;
    width:48px !important;
    height:2px !important;
  }

  #telana-premium-footer .tf-contact-list{
    gap:12px !important;
  }

  #telana-premium-footer .tf-contact-row{
    min-height:46px !important;
    padding:0 !important;
    gap:13px !important;
    justify-content:flex-start !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    font-size:15px !important;
    font-weight:600 !important;
  }

  #telana-premium-footer .tf-contact-row.tf-web{
    color:var(--tf-cream) !important;
  }

  #telana-premium-footer .tf-contact-row .tf-safe-icon{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    max-width:38px !important;
    max-height:38px !important;
    flex:0 0 38px !important;
    border:1px solid rgba(212,175,55,.75) !important;
    border-radius:50% !important;
    color:var(--tf-gold) !important;
    font-size:9px !important;
  }

  /* CENTER — CR + VAT */
  #telana-premium-footer .tf-legal{
    grid-area:legal !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:22px !important;
    padding:0 !important;
    border:0 !important;
  }

  #telana-premium-footer .tf-legal-item{
    display:grid !important;
    grid-template-columns:82px 1fr !important;
    align-items:center !important;
    justify-content:initial !important;
    gap:20px !important;
    min-height:148px !important;
    padding:24px !important;
    text-align:right !important;
    background:rgba(255,255,255,.025) !important;
    border:1px solid rgba(248,233,221,.26) !important;
    border-radius:16px !important;
  }

  #telana-premium-footer .tf-legal-item + .tf-legal-item{
    border-top:1px solid rgba(248,233,221,.26) !important;
  }

  #telana-premium-footer .tf-legal-img{
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
    width:76px !important;
    height:76px !important;
    min-width:76px !important;
    min-height:76px !important;
    max-width:76px !important;
    max-height:76px !important;
    margin:0 !important;
  }

  #telana-premium-footer .tf-label{
    grid-column:2 !important;
    margin:0 0 5px !important;
    color:var(--tf-cream) !important;
    font-size:16px !important;
    text-align:right !important;
  }

  #telana-premium-footer .tf-value{
    grid-column:2 !important;
    margin:0 !important;
    font-size:18px !important;
    text-align:right !important;
  }

  /* RIGHT — Brand */
  #telana-premium-footer .tf-brand{
    grid-area:brand !important;
    min-height:260px !important;
    padding:10px 8px !important;
    justify-content:center !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
  }

  #telana-premium-footer .tf-logo{
    max-width:138px !important;
    max-height:112px !important;
    margin-bottom:18px !important;
  }

  #telana-premium-footer .tf-slogan{
    margin-bottom:24px !important;
    font-size:18px !important;
    font-weight:700 !important;
  }

  #telana-premium-footer .tf-slogan::before,
  #telana-premium-footer .tf-slogan::after{
    display:none !important;
  }

  #telana-premium-footer .tf-socials{
    gap:13px !important;
  }

  #telana-premium-footer .tf-socials a{
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    min-height:46px !important;
    border-color:rgba(212,175,55,.82) !important;
  }

  /* Bottom premium bar */
  #telana-premium-footer .tf-bottom{
    display:grid !important;
    grid-template-columns:1fr auto 1fr !important;
    align-items:center !important;
    gap:30px !important;
    width:100% !important;
    min-height:96px !important;
    margin:42px 0 0 !important;
    padding:0 !important;
    border-top:1px solid rgba(212,175,55,.58) !important;
  }

  #telana-premium-footer .tf-copy{
    grid-column:1 !important;
    justify-self:start !important;
    font-size:13px !important;
    color:rgba(248,233,221,.82) !important;
  }

  #telana-premium-footer .tf-origin{
    grid-column:2 !important;
    justify-self:center !important;
    display:flex !important;
    align-items:center !important;
    gap:18px !important;
  }

  #telana-premium-footer .tf-origin::before,
  #telana-premium-footer .tf-origin::after{
    content:"" !important;
    display:block !important;
    width:92px !important;
    height:1px !important;
    background:rgba(212,175,55,.50) !important;
  }

  #telana-premium-footer .tf-origin b{
    font-size:14px !important;
    letter-spacing:3.2px !important;
    direction:ltr !important;
  }

  #telana-premium-footer .tf-origin small{
    display:none !important;
  }

  #telana-premium-footer .tf-site{
    grid-column:3 !important;
    justify-self:end !important;
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    font-size:14px !important;
    color:var(--tf-cream) !important;
  }
}

/* Desktop tightening for medium laptop widths only */
@media (min-width:768px) and (max-width:1180px){
  #telana-premium-footer .tf-shell{
    width:min(calc(100% - 48px),1080px) !important;
  }

  #telana-premium-footer .tf-grid{
    grid-template-columns:minmax(220px,.85fr) minmax(430px,1.5fr) minmax(220px,.85fr) !important;
    gap:24px !important;
  }

  #telana-premium-footer .tf-legal{
    gap:12px !important;
  }

  #telana-premium-footer .tf-legal-item{
    grid-template-columns:64px 1fr !important;
    gap:12px !important;
    padding:18px 14px !important;
  }

  #telana-premium-footer .tf-legal-img{
    width:58px !important;
    height:58px !important;
    min-width:58px !important;
    min-height:58px !important;
    max-width:58px !important;
    max-height:58px !important;
  }

  #telana-premium-footer .tf-value{
    font-size:14px !important;
  }

  #telana-premium-footer .tf-origin::before,
  #telana-premium-footer .tf-origin::after{
    width:42px !important;
  }
}

/* ============================================================
   TELANA — FINAL MOBILE STABILITY
   Account dropdown viewport only
   ============================================================ */

@media (max-width: 767px) {

  salla-user-menu .s-user-menu-toggler.opened .s-user-menu-dropdown {
    position: fixed !important;

    top: 72px !important;
    right: 12px !important;
    left: 12px !important;
    bottom: auto !important;

    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 92px) !important;

    margin: 0 !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;

    transform: none !important;

    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;

    z-index: 9999 !important;
  }

  salla-user-menu .s-user-menu-toggler:not(.opened) .s-user-menu-dropdown {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ============================================================
   TELANA TEA — END MASTER CSS CLEAN FINAL
   ============================================================ */


/* ==========================================================
   TELANA — VERIFIED CARD TARGETS (V4)
   Uses custom-salla-product-card shown in DevTools.
   ========================================================== */

/* 100 tea bags: hide subtitle in product tiles only */
custom-salla-product-card[id="1333377841"]
  .s-product-card-content-subtitle {
  display: none !important;
}

/* Phones: show full card headings without truncation */
@media (max-width: 767px) {
  custom-salla-product-card .s-product-card-content,
  custom-salla-product-card .s-product-card-content-main,
  custom-salla-product-card .s-product-card-content-title {
    min-width: 0 !important;
    max-height: none !important;
    height: auto !important;
  }

  custom-salla-product-card h3.s-product-card-content-title,
  custom-salla-product-card h3.s-product-card-content-title a,
  custom-salla-product-card .s-product-card-content-title {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    max-height: none !important;
    height: auto !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.6 !important;
  }
}
/* TELANA — Remove red promotional text ribbons on product pictures */
/* Works for Arabic and English; retains gold discount percentages */
custom-salla-product-card .s-product-card-promotion-title,
custom-salla-product-card .s-product-card-image .s-product-card-promotion-title,
custom-salla-product-card .s-product-card-image [class*="ribbon"],
custom-salla-product-card .s-product-card-image [class*="promotion-title"],
custom-salla-product-card .s-product-card-image [class*="offer-label"],
custom-salla-product-card .s-product-card-image [class*="offer-badge"],
.s-block--fixed-products .s-product-card-promotion-title,
.s-block--fixed-products .s-product-card-image [class*="ribbon"] {
  display: none !important;
  visibility: hidden !important;
}
/* TELANA V6 — exact inspected promotion badge */
/* Hide the red promotional title on product image galleries, all languages */
.product-single .promotion-title,
.product-page .promotion-title,
.s-slider-container .promotion-title,
.s-slider-wrapper .promotion-title,
custom-salla-product-card .promotion-title {
  display: none !important;
  visibility: hidden !important;
}

/* ============================================================
   TELANA V1 — CHECKOUT ORDER SUMMARY BURGUNDY BANNER
   Scoped to Salla checkout summary only (desktop and mobile).
   Works ONLY if the checkout page loads this custom theme CSS.
   Does not change payment controls, totals, or product cards.
   ============================================================ */

[data-testid="checkout-cart-summary"] .cart-summary-main {
  background: #651316 !important;
  color: #FFF9F4 !important;
  border: 1px solid rgba(212,175,55,.38) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(78,13,16,.13) !important;
}

[data-testid="checkout-cart-summary"] .cart-summary-main .store-info-wrapper,
[data-testid="checkout-cart-summary"] .cart-summary-main [class*="summary-header"],
[data-testid="checkout-cart-summary"] .cart-summary-main [class*="summary-info"] {
  background: transparent !important;
  border-color: rgba(212,175,55,.25) !important;
}

[data-testid="checkout-cart-summary"] .cart-summary-main :is(
  h1,h2,h3,h4,p,span,strong,b,small,label,
  [class*="amount"],[class*="total"],[class*="price"]
) {
  color: #FFF9F4 !important;
  -webkit-text-fill-color: #FFF9F4 !important;
}

/* Coupon / summary links get the TELANA gold treatment. */
[data-testid="checkout-cart-summary"] .cart-summary-main a:not(.store-info-wrapper),
[data-testid="checkout-cart-summary"] .cart-summary-main a:not(.store-info-wrapper) *,
[data-testid="checkout-cart-summary"] .cart-summary-main [class*="coupon"],
[data-testid="checkout-cart-summary"] .cart-summary-main [class*="coupon"] * {
  color: #D4AF37 !important;
  -webkit-text-fill-color: #D4AF37 !important;
  text-decoration-color: rgba(212,175,55,.8) !important;
}

/* Keep the existing checkout logo; make its round surround elegant. */
[data-testid="checkout-cart-summary"] .cart-summary-main img[data-testid="checkout-cart-summary-logo"] {
  border: 1px solid rgba(212,175,55,.75) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.12) !important;
  object-fit: contain !important;
}

/* Do not change the surrounding checkout sheet or payment UI. */