@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold:        #B68400;
  --black:       #000000;
  --dark:        #111111;
  --white:       #ffffff;
  --grey-legal:  #ADADAD;

  --font:        'Poppins', 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC',
                 'Noto Sans Hebrew', 'Arial Hebrew', Arial, sans-serif;
  --transition:  0.28s ease;
}

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

html  {
  scroll-behavior: smooth;
  background: var(--dark);
}
body  {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  max-width: 1920px;
  margin-inline: auto;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; padding: 0; }
sup   { font-size: 0.55em; vertical-align: super; }

.gold-divider { width: 100%; height: 2px; background: var(--gold); display: block; }
.gold-divider--thick { height: 10px; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 170px;
  background: var(--dark);
  z-index: 100;
}

.header-inner {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo { display: block; flex-shrink: 0; }
.header-logo img { height: 130px; width: auto; }

.header-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  overflow: hidden; padding: 6px;
  transition: border-color var(--transition), opacity var(--transition);
}
.social-links a img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.social-links a:hover { border-color: var(--gold); opacity: 0.85; }

.header-vdivider { width: 1px; height: 30px; background: rgba(255,255,255,0.25); flex-shrink: 0; }

.lang-switcher { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 21px;
  border-radius: 3px; overflow: hidden;
  opacity: 0.55;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.10);
  transition: opacity var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.lang-btn img { width: 100%; height: 100%; object-fit: cover; }
.lang-btn:hover  { opacity: 0.85; transform: scale(1.08); }
.lang-btn.active {
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 0 1.5px var(--gold);
}
.lang-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.hero {
  position: relative;
  min-height: var(--hero-h);
  --hero-h: 560px;
  --hero-fade: 1;
  --hero-man-opacity: 1;
  --hero-header-h: 170px;
}

.hero-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--hero-h);
  z-index: 1;
  opacity: var(--hero-fade);
  pointer-events: none;
  will-change: opacity;
}

.hero-man-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--hero-h);

  pointer-events: none;
}

.hero-man-layer--over {
  z-index: 200;
  clip-path: inset(0 0 calc(100% - var(--hero-header-h, 170px)) 0);
}

.hero-man-layer--under {
  z-index: 10;
}

.hero-man--back {
  z-index: 1;

}

.hero-man--front {
  z-index: 2;
  opacity: var(--hero-man-opacity);
  will-change: opacity;
}

.hero-viewport > *,
.hero-man-layer > * { max-width: 1920px; margin-inline: auto; }

.ecommerce-bar,
.gold-divider,
.product-section,
.cultivation-section,
.distributor-bar,
.site-footer,
.legal-bar,
.copyright-bar {
  position: relative;
  z-index: 50;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/01_viaggioweb_hero_bg.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-man {
  position: absolute;
  bottom: 0;
  left: calc(50% - 15px);
  transform: translateX(-50%);
  height: clamp(320px, 90%, 520px);
  width: auto;
  max-width: 45%;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: 60px;
  padding-top: 170px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.hero-tagline {
  font-weight: 400;
  font-size: 26px;
  line-height: 1.35;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 2px 18px rgba(0,0,0,0.55);
  max-width: 38%;
  flex-shrink: 0;
}

.hero-slogan {
  width: clamp(270px, 30%, 405px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.9)) drop-shadow(0 2px 14px rgba(0,0,0,0.55));
}

.ecommerce-bar { background: var(--gold); width: 100%; overflow: visible; }

.ecommerce-inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.ecommerce-label {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  padding-right: 24px;
}
.world-icon { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.ecommerce-label span {
  font-weight: 300;
  font-size: 28px;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ecommerce-vdivider {
  width: 2px; height: 50px;
  background: rgba(255,255,255,0.7);
  flex-shrink: 0;
  margin-right: 24px;
}

.country-flags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  flex-wrap: nowrap;
  overflow: visible;
}

.flag-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111111;
  border: 1.5px solid #ffffff;
  border-radius: 100px;
  padding: 4px 10px 4px 4px;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.flag-btn img {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 50%;
  flex-shrink: 0;
}

.flag-btn span {
  font-family: var(--font);
  font-weight: 400;
  font-size: 9px;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.flag-btn:hover { opacity: 0.8; transform: scale(1.04); }

.product-section {
  position: relative;
  width: 100%;
  height: 420px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
}

#grano {
  height: auto;
  aspect-ratio: 1440 / 420;
  min-height: 220px;
  background-size: cover;
  background-position: center center;
}

#molido {
  height: auto;
  aspect-ratio: 1440 / 420;
  min-height: 220px;
  background-size: cover;
  background-position: center center;
}

.product-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 60px;
  display: flex;
  align-items: center;
  height: 100%;
}

.product-text { max-width: 400px; }

.product-text--left {
  margin-right: auto;
  text-align: right;
}

.product-text--right {
  margin-left: auto;
  text-align: left;
}

.product-text h2 { font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--white); margin-bottom: 14px; }
.product-text p  { font-weight: 300; font-size: 20px; line-height: 1.5; color: rgba(255,255,255,0.9); }

.cultivation-section {
  position: relative;
  width: 100%;
  height: 420px;
  background-image: url('../images/web-viaggio_banner_Cultivation.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
}

.cultivation-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.cultivation-text { max-width: 520px; text-align: right; }

.cultivation-text h2 { font-weight: 700; font-size: 28px; line-height: 1.25; color: var(--white); margin-bottom: 14px; }
.cultivation-text p  { font-weight: 300; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.88); }

.distributor-bar { background: var(--gold); width: 100%; }

.distributor-inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.distributor-icon { width: 58px; height: auto; flex-shrink: 0; }

.distributor-text {
  font-weight: 300;
  font-size: 28px;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: 0.02em;
}

.distributor-vdivider {
  width: 2px;
  height: 50px;
  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.distributor-btn {
  display: inline-flex;
  align-items: center;
  background: #111111;
  border: 1.5px solid #ffffff;
  border-radius: 100px;
  padding: 11px 24px;
  color: var(--white);
  font-weight: 400;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.distributor-btn:hover { transform: scale(1.04); opacity: 0.9; }
.distributor-btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

.site-footer { background: var(--dark); }

.footer-main {
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: 60px;
  min-height: 217px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-block: 24px;
}

.footer-logo-link { display: block; }
.footer-logo {
  height: 65px;
  width: auto;
}

.footer-colours { width: 100%; max-width: 640px; }
.footer-colours img { width: 100%; height: auto; display: block; }

.footer-countries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-countries a {
  font-weight: 400;
  font-size: 12px;
  color: var(--white);
  padding: 2px 5px;
  transition: color var(--transition);
}
.footer-countries a:hover { color: var(--gold); }
.footer-countries .pipe {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  user-select: none;
}

.legal-bar {
  background: var(--grey-legal);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 12px 40px;
}

.legal-bar a,
.legal-bar .legal-link {
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  color: var(--dark);
  padding: 2px 12px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: inherit;
  transition: opacity var(--transition);
}
.legal-bar a:hover,
.legal-bar .legal-link:hover { opacity: 0.7; }
.legal-bar .legal-link:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 2px;
  border-radius: 3px;
}
.legal-bar .pipe { font-size: 18px; color: rgba(0,0,0,0.4); user-select: none; }

.copyright-bar {
  background: var(--black);
  min-height: 73px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px 40px;
  text-align: center;
}
.copyright-bar p { font-weight: 100; font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.03em; }
.copyright-bar .copyright-disclaimer { font-size: 11px; color: rgba(255,255,255,0.42); max-width: 900px; line-height: 1.45; }

@media (min-width: 1920px) {

  .hero-content { padding-inline: 80px; }
}

@media (max-width: 1199px) {
  .header-inner    { padding-inline: 40px; }
  .header-logo img { height: 100px; }

  .hero-content { padding-inline: 40px; }
  .hero-tagline { font-size: 20px; max-width: 36%; }
  .hero-slogan  { width: clamp(180px, 20%, 260px); }
  .hero-man     { max-width: 42%; }

  .ecommerce-inner      { padding-inline: 30px; }
  .ecommerce-label span { font-size: 24px; }
  .flag-btn img         { width: 26px; height: 26px; }
  .flag-btn span        { font-size: 9px; }

  .product-section  { height: 380px; }
  .product-inner    { padding-inline: 40px; }
  .product-text     { max-width: 360px; }
  .product-text h2  { font-size: 20px; }
  .product-text p   { font-size: 18px; }

  .cultivation-section { height: 380px; }
  .cultivation-inner   { padding-inline: 40px; }
  .cultivation-text    { max-width: 460px; }
  .cultivation-text h2 { font-size: 26px; }
  .cultivation-text p  { font-size: 17px; }

  .footer-main    { padding-inline: 40px; }
  .footer-logo    { height: 58px; }
  .footer-countries a,
  .footer-countries .pipe { font-size: 12px; }
}

@media (max-width: 1023px) {

  .site-header     { height: 100px; }
  .header-inner    { padding-inline: 32px; }
  .header-logo img { height: 72px; }

  .social-links    { display: flex; gap: 8px; }
  .social-links a  { width: 30px; height: 30px; padding: 5px; }
  .header-vdivider { display: block; height: 24px; }
  .lang-btn        { width: 28px; height: 20px; }
  .header-right    { gap: 12px; }

  .hero            { --hero-h: 480px; }
  .hero-content {
    padding-top:    100px;
    padding-inline: 32px;
    align-items:    center;
  }
  .hero-tagline { font-size: 17px; max-width: 34%; white-space: normal; }
  .hero-slogan  { width: clamp(140px, 18%, 200px); }
  .hero-man     { max-width: 36%; }


  .ecommerce-inner {
    height: auto;
    padding: 14px 32px;
    align-items: center;
  }
  .ecommerce-label       { padding-right: 16px; }
  .ecommerce-label span  { font-size: 21px; }
  .ecommerce-vdivider    { height: 38px; margin-right: 16px; }
  .country-flags {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
  }
  .flag-btn      { padding: 3px 9px 3px 3px; gap: 5px; }
  .flag-btn img  { width: 23px; height: 23px; }
  .flag-btn span { font-size: 9px; }

  .product-section  { height: 340px; }
  .product-inner    { padding-inline: 32px; }
  .product-text     { max-width: 300px; }
  .product-text h2  { font-size: 19px; }
  .product-text p   { font-size: 16px; }
  #grano, #molido   { height: 340px; aspect-ratio: auto; }

  .cultivation-section { height: 340px; }
  .cultivation-inner   { padding-inline: 32px; }
  .cultivation-text    { max-width: 440px; }
  .cultivation-text h2 { font-size: 23px; }
  .cultivation-text p  { font-size: 15px; }

  .footer-main    { padding-inline: 32px; }
  .footer-logo    { height: 54px; }
  .footer-countries a,
  .footer-countries .pipe { font-size: 12px; }

  .legal-bar a    { font-size: 16px; }
}

@media (max-width: 767px) {

  .hero-content,
  .header-inner,
  .product-inner,
  .cultivation-inner,
  .ecommerce-inner,
  .footer-main,
  .legal-bar,
  .copyright-bar { padding-inline: clamp(16px, 4.5vw, 26px); }

  .site-header  { height: 92px; }
  .header-logo img { height: 74px; }
  .header-right    { gap: 9px; }

  .social-links    { display: flex; gap: 6px; }
  .social-links a  { width: 25px; height: 25px; padding: 4px; }
  .header-vdivider { display: block; height: 20px; }
  .lang-switcher   { gap: 4px; }
  .lang-btn        { width: 21px; height: 15px; }

  .hero {
    --hero-h: 300px;
    --hero-header-h: 92px;
  }
  .hero-content { padding-top: var(--hero-header-h); }

  .hero-bg {

    background-size: auto calc((100% - var(--hero-header-h)) * 1.3);
    background-position: center bottom;
  }

  .hero-tagline {
    font-size: clamp(11px, 3.5vw, 17px);
    white-space: normal;
    max-width: 35%;
    letter-spacing: 0;
  }
  .hero-slogan { width: clamp(96px, 29vw, 168px); }

  .hero-man    { max-width: 30%; height: clamp(120px, 76%, 250px); }

  .ecommerce-inner { height: auto; padding-block: 12px; align-items: center; gap: 0; }
  .ecommerce-label      { gap: clamp(4px, 1.6vw, 10px); padding-right: clamp(4px, 1.4vw, 12px); }
  .ecommerce-label span { font-size: clamp(9px, 2.6vw, 16px); }
  .world-icon           { width: clamp(11px, 3.1vw, 18px); height: clamp(11px, 3.1vw, 18px); }
  .ecommerce-vdivider   { height: clamp(24px, 8vw, 34px); margin-right: clamp(4px, 1.4vw, 12px); }

  .country-flags {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    display: grid;

    grid-template-columns: repeat(4, minmax(0, auto));
    justify-content: end;
    gap: clamp(2px, 0.6vw, 6px);
    align-items: center;
  }
  .flag-btn {
    min-width: 0;
    overflow: hidden;
    padding: 2px clamp(2.5px, 0.8vw, 8px) 2px 2px;
    gap: clamp(1.5px, 0.5vw, 5px);
    border-width: 1px;
    justify-content: flex-start;
  }
  .flag-btn img   { width: clamp(11px, 3.3vw, 20px); height: clamp(11px, 3.3vw, 20px); }
  .flag-btn span  { min-width: 0; overflow: hidden; font-size: clamp(5px, 1.5vw, 9px); white-space: nowrap; }
  .flag-btn:hover { transform: none; }


  .product-section,
  #grano,
  #molido {
    height: auto;
    aspect-ratio: 1440 / 420;
    min-height: 0;
    background-size: cover;
    background-position: center center;
  }
  .product-inner { height: 100%; }

  .product-text {
    max-width: 38%;
    background: none;
    padding: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.95), 0 0 10px rgba(0,0,0,0.75);
  }
  .product-text--left  { margin-right: auto; margin-left: 0; text-align: right; }
  .product-text--right { margin-left: auto;  margin-right: 0; text-align: left;  }
  .product-text h2 { font-size: clamp(8px, 2.5vw, 13px); margin-bottom: 3px; line-height: 1.2; }
  .product-text p  { font-size: clamp(7px, 2.1vw, 11px); line-height: 1.3; }


  .cultivation-section {
    height: auto;
    aspect-ratio: 1440 / 420;
    min-height: 0;
    background-position: center center;
  }
  .cultivation-inner { height: 100%; justify-content: flex-end; }
  .cultivation-text {
    max-width: 44%;
    text-align: right;
    background: none;
    padding: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.95), 0 0 10px rgba(0,0,0,0.75);
  }
  .cultivation-text h2 { font-size: clamp(8px, 2.6vw, 13px); margin-bottom: 3px; line-height: 1.2; }
  .cultivation-text p  { font-size: clamp(6px, 1.8vw, 9px);  line-height: 1.3; }

  .distributor-inner {
    min-height: 0;
    padding-block: clamp(12px, 3.5vw, 20px);
    gap: clamp(8px, 2.4vw, 18px);
  }
  .distributor-icon    { width: clamp(24px, 7vw, 52px); }
  .distributor-text    { font-size: clamp(10px, 2.9vw, 28px); line-height: 1.22; }
  .distributor-vdivider{ height: clamp(22px, 7vw, 46px); }
  .distributor-btn {
    padding: clamp(6px, 1.8vw, 10px) clamp(8px, 2.4vw, 20px);
    font-size: clamp(7.5px, 2.1vw, 14px);
    border-width: 1px;
  }
  .distributor-btn:hover { transform: none; }

  .footer-main      { min-height: auto; padding-block: 18px; }
  .footer-logo      { height: 52px; }
  .footer-colours   { max-width: 100%; }
  .footer-countries { flex-wrap: wrap; justify-content: center; row-gap: 2px; }
  .footer-countries a,
  .footer-countries .pipe { font-size: 11px; padding: 1px 3px; }

  .legal-bar { padding-block: 10px; flex-wrap: wrap; justify-content: center; }
  .legal-bar a,
  .legal-bar .legal-link { font-size: 12px; padding: 2px 6px; }
  .legal-bar .pipe       { font-size: 12px; }
  .copyright-bar   { padding-block: 11px; min-height: 44px; gap: 4px; }
  .copyright-bar p { font-size: 9px; }
  .copyright-bar .copyright-disclaimer { font-size: 8.5px; line-height: 1.4; }
}

@media (max-width: 480px) {

  .site-header     { height: 82px; }
  .header-logo img { height: 64px; }
  .header-right    { gap: 7px; }
  .social-links    { gap: 5px; }
  .social-links a  { width: 22px; height: 22px; padding: 3px; }
  .header-vdivider { height: 17px; }
  .lang-btn        { width: 19px; height: 13px; }

  .hero { --hero-h: 262px; --hero-header-h: 82px; }

  .footer-logo { height: 44px; }
  .footer-countries a,
  .footer-countries .pipe { font-size: 10px; }
  .legal-bar a,
  .legal-bar .legal-link,
  .legal-bar .pipe { font-size: 11px; padding: 2px 4px; }
}

@media (max-width: 359px) {

  .site-header     { height: 76px; }
  .header-logo img { height: 56px; }
  .header-right    { gap: 6px; }
  .social-links a  { width: 20px; height: 20px; }
  .header-vdivider { height: 15px; }
  .lang-btn        { width: 17px; height: 12px; }

  .hero { --hero-h: 240px; --hero-header-h: 76px; }

  .footer-countries a,
  .footer-countries .pipe { font-size: 9px; }
  .copyright-bar p        { font-size: 8px; }
  .copyright-bar .copyright-disclaimer { font-size: 7.5px; }
}

.flag-btn--disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.footer-link--disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  text-decoration: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.legal-modal[hidden] { display: none; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: rgba(17, 17, 17, 0.96);
  border: 1px solid var(--gold);
  border-radius: 12px;
  max-width: 840px;
  width: 90%;
  max-height: 72vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(182, 132, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(182, 132, 0, 0.55);
  border-radius: 50%;
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.modal-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
}

.modal-content {
  overflow-y: auto;
  padding: 40px 48px 40px 48px;
  color: var(--white);
  flex: 1;

  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(255,255,255,0.08);
}
.modal-content::-webkit-scrollbar { width: 5px; }
.modal-content::-webkit-scrollbar-track { background: rgba(255,255,255,0.06); border-radius: 4px; }
.modal-content::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

.modal-content h2 {
  font-weight: 700;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 16px;
  padding-right: 36px;
  line-height: 1.3;
}

.modal-content h3 {
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  margin-top: 24px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.modal-content p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 12px;
}
.modal-content ul {
  margin: 0 0 12px 0;
  padding-left: 18px;
}
.modal-content ul li {
  font-size: 13px;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 6px;
}

.modal-gold { color: var(--gold); font-weight: 700; }

.modal-updated {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.45) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: -8px;
  margin-bottom: 20px !important;
}

.modal-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--transition);
}
.modal-link:hover { opacity: 0.75; }

.modal-note {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(182, 132, 0, 0.35);
  font-size: 11px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-style: italic;
}

@media (max-width: 767px) {
  .modal-box    { max-height: 78vh; width: 92%; border-radius: 10px; }
  .modal-content { padding: 32px 22px 28px 22px; }
  .modal-content h2 { font-size: 17px; }
  .modal-content h3 { font-size: 12px; }
  .modal-content p,
  .modal-content ul li { font-size: 12px; }
}

html[dir="rtl"] body { direction: ltr; }

html[dir="rtl"] .hero-tagline { direction: rtl; text-align: right; }

html[dir="rtl"] .product-text { direction: rtl; text-align: right; }

html[dir="rtl"] .cultivation-text { direction: rtl; }

html[dir="rtl"] .ecommerce-label span { direction: rtl; }

html[dir="rtl"] .footer-countries  { direction: rtl; }
html[dir="rtl"] .legal-bar         { direction: rtl; text-align: center; }
html[dir="rtl"] .copyright-bar,
html[dir="rtl"] .copyright-bar p   { direction: ltr; text-align: center; }

html[dir="rtl"] .legal-modal,
html[dir="rtl"] .modal-content,
html[dir="rtl"] .modal-content * {
  direction: ltr;
  text-align: left;
}
html[dir="rtl"] .modal-content ul { padding-left: 18px; padding-right: 0; }
html[dir="rtl"] .modal-close      { right: 14px; left: auto; }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
