/* ===== CSS CUSTOM PROPERTIES (DESIGN SYSTEM) ===== */
:root {
  /**
   * Colors
   */
  --c-black       : #1C1917;
  --c-white       : #fff;
  --c-invalid-red : #F4323F;

  --c-grey-1      : #FAFAF9;
  --c-grey-2      : #BDBDBD;
  --c-grey-3      : #737373;
  --c-grey-4      : #292524;

  --c-grey-text   : #595959; /* text body */

  --c-black-green : #293021; /* text heading */
  --c-green       : #3B482B; /* text accent */
  --c-light-green : #869B79; /* hover color */
  --c-green-accent: #627557;
  
  --c-light-sand  : #F7F5F5; /* site bg, light heading text */
  --c-sand        : #D7D3CD; /* light body text */

  /**
   * Colors separated into rgb for CSS variables
   */
  --rgb-black        : 28, 25, 23;
  --rgb-white        : 255, 255, 255;
  --rgb-grey-1       : 250, 250, 249;
  --rgb-grey-2       : 189, 189, 189;
  --rgb-grey-3       : 115, 115, 115;
  --rgb-grey-4       : 41, 37, 36;
  --rgb-grey-text    : 89, 89, 89;    /* text body */
  --rgb-black-green  : 41, 48, 33;    /* text heading */
  --rgb-green        : 59, 72, 43;    /* text accent / light button text / button bg */
  --rgb-green-accent : 98, 117, 87;    /* text accent / light button text / button bg */
  --rgb-light-green  : 134, 155, 121;
  --rgb-light-sand   : 247, 245, 245; /* light text / background default */
  --rgb-sand         : 215, 211, 205;

  /**
   * Default Colors
   */
  --color-background: var(--rgb-light-sand);
  --gradient-background: #f7f5f5;
  --color-foreground: var(--rgb-grey-text); /* Text Color */
  --color-headings: var(--rgb-black-green);
  --color-shadow: 18,18,18;
  --color-button: var(--rgb-green);
  --color-button-hover: var(--rgb-light-green);
  --color-button-text: var(--rgb-light-sand);
  --color-secondary-button: var(--rgb-light-sand);
  --color-secondary-button-text: var(--rgb-green);
  --color-tertiarty-button: var(--rgb-light-sand);
  --color-tertiarty-button-text: var(--rgb-green);
  --color-link: var(--rgb-green-accent);
  --color-badge-foreground: var(--rgb-black-green);
  --color-badge-background: var(--rgb-light-green);
  --color-badge-border: var(--rgb-grey-text);
  --payment-terms-background-color: rgb(var(--rgb-light-sand));

  /**
   * Alpha
   */
  --alpha-button-background: 1;
  --alpha-button-border: 1;
  --alpha-link: 1;
  --alpha-badge-border: 0.1;
  
  /**
   * Z-index
   */
  --z-very-top    : 99999;
  --z-nav-overlay : 90001;
  --z-klaviyo     : 90000;

  /**
   * Typography
   */
  --font-body-family: Inter, sans-serif;
  --font-body-style: normal;
  --font-body-weight: 400;
  --font-body-weight-bold: 700;

  --font-heading-family: Inter, sans-serif;
  --font-heading-style: normal;
  --font-heading-weight: 400;

  --font-body-scale: 1.0;
  --font-heading-scale: 1.0;

  /**
   * Page
   */
  --gutter-outer: 2rem;
  --gutter-outer-small: 2rem;

  /* Max page width 1312px */
  --page-width: calc(131.2rem + (var(--gutter-outer) * 2));

  /**
   * Buttons
   */

  /* Primary Button - Green Solid */
  --btn-dark-bg: var(--rgb-green);
  --btn-dark-text: var(--rgb-light-sand);
  --btn-dark-border: var(--rgb-green);
  --btn-dark-border-hover: var(--rgb-green);

  /* Secondary - White Solid */
  --btn-light-bg: var(--rgb-light-sand);
  --btn-light-text: var(--rgb-green);
  --btn-light-border: var(--rgb-green);
  --btn-light-border-hover: var(--rgb-green);

  /* Primary Outline Button - Green with Outline */
  --btn-dark-outline: var(--rgb-green);
  --btn-dark-outline-text: var(--rgb-green);
  --btn-dark-outline-border: var(--rgb-light-sand);
  --btn-dark-outline-border-hover: var(--rgb-light-sand);

  /* Secondary Outline Button - White with Outline */
  --btn-light-outline: var(--rgb-light-sand);
  --btn-light-outline-text: var(--rgb-light-sand);
  --btn-light-outline-border: var(--rgb-light-sand);
  --btn-light-outline-border-hover: var(--rgb-green);

  /* Default Button Settings */
  --color-button: var(--btn-dark-bg);
  --color-button-text: var(--btn-dark-text);
  --color-button-border: var(--btn-dark-border);
  --color-button-border-hover: var(--btn-dark-border-hover);
  
  --buttons-radius: 40px;
  --buttons-radius-outset: 41px;
  --buttons-border-width: 2px;
  --buttons-border-opacity: 1.0;
  --buttons-shadow-opacity: 0.0;
  --buttons-shadow-visible: 0;
  --buttons-shadow-horizontal-offset: 0px;
  --buttons-shadow-vertical-offset: 4px;
  --buttons-shadow-blur-radius: 5px;
  --buttons-border-offset: 0.3px;

  /**
   * Media
   */
  --media-padding: 0;
  --media-border-opacity: 0;
  --media-border-width: 0px;
  --media-radius: 16px;
  --media-radius-small: 10px;
  --media-shadow-opacity: 0.0;
  --media-shadow-horizontal-offset: 0px;
  --media-shadow-vertical-offset: 4px;
  --media-shadow-blur-radius: 5px;
  --media-shadow-visible: 0;

  /**
   * Header
   */
  --l-header-height: 72px;

  /**
   * Footer
   */
  --l-footer-bg: var(--c-green);

  /**
   * Layout
   */
  --spacing-sections-desktop: 0px;
  --spacing-sections-mobile: 0px;

  --grid-desktop-vertical-spacing: 4.8rem;
  --grid-desktop-horizontal-spacing: 4.8rem;
  --grid-mobile-vertical-spacing: 1.6rem;
  --grid-mobile-horizontal-spacing: 1.6rem;

  /**
   * Overlay
   */
  --overlay-bg: rgba(59, 72, 43, 0.4);
  --overlay-blur: blur(7px);

  /**
   * Forms
   */
  --inputs-radius: 0px;
  --inputs-border-width: 1px;
  --inputs-border-opacity: 0.55;
  --inputs-shadow-opacity: 0.0;
  --inputs-shadow-horizontal-offset: 0px;
  --inputs-margin-offset: 0px;
  --inputs-shadow-vertical-offset: 0px;
  --inputs-shadow-blur-radius: 5px;
  --inputs-radius-outset: 0px;

  /**
   * Product Cards
   */
  --product-card-image-padding: 2.0rem;
  --product-card-corner-radius: 1.6rem;
  --product-card-text-alignment: left;
  --product-card-border-width: 0.0rem;
  --product-card-border-opacity: 0;
  --product-card-shadow-opacity: 0.06;
  --product-card-shadow-visible: 1;
  --product-card-shadow-horizontal-offset: 0.2rem;
  --product-card-shadow-vertical-offset: 0.2rem;
  --product-card-shadow-blur-radius: 1.0rem;

  /**
   * Variant Pills
   */
  --variant-pills-radius: 40px;
  --variant-pills-border-width: 2px;
  --variant-pills-border-opacity: 1;
  --variant-pills-shadow-opacity: 0.0;
  --variant-pills-shadow-horizontal-offset: 0px;
  --variant-pills-shadow-vertical-offset: 4px;
  --variant-pills-shadow-blur-radius: 5px;

  /**
   * Other Components
   */
  --collection-card-image-padding: 0.0rem;
  --collection-card-corner-radius: 0.0rem;
  --collection-card-text-alignment: left;
  --collection-card-border-width: 0.0rem;
  --collection-card-border-opacity: 0.1;
  --collection-card-shadow-opacity: 0.0;
  --collection-card-shadow-visible: 0;
  --collection-card-shadow-horizontal-offset: 0.0rem;
  --collection-card-shadow-vertical-offset: 0.4rem;
  --collection-card-shadow-blur-radius: 0.5rem;
  --blog-card-image-padding: 0.0rem;
  --blog-card-corner-radius: 0.0rem;
  --blog-card-text-alignment: left;
  --blog-card-border-width: 0.0rem;
  --blog-card-border-opacity: 0.1;
  --blog-card-shadow-opacity: 0.0;
  --blog-card-shadow-visible: 0;
  --blog-card-shadow-horizontal-offset: 0.0rem;
  --blog-card-shadow-vertical-offset: 0.4rem;
  --blog-card-shadow-blur-radius: 0.5rem;

  --badge-corner-radius: 4.0rem;

  --popup-border-width: 1px;
  --popup-border-opacity: 0.1;
  --popup-corner-radius: 0px;
  --popup-shadow-opacity: 0.05;
  --popup-shadow-horizontal-offset: 0px;
  --popup-shadow-vertical-offset: 4px;
  --popup-shadow-blur-radius: 5px;

  --drawer-border-width: 1px;
  --drawer-border-opacity: 0.1;
  --drawer-shadow-opacity: 0.0;
  --drawer-shadow-horizontal-offset: 0px;
  --drawer-shadow-vertical-offset: 4px;
  --drawer-shadow-blur-radius: 5px;

  --text-boxes-border-opacity: 0.1;
  --text-boxes-border-width: 0px;
  --text-boxes-radius: 0px;
  --text-boxes-shadow-opacity: 0.0;
  --text-boxes-shadow-visible: 0;
  --text-boxes-shadow-horizontal-offset: 0px;
  --text-boxes-shadow-vertical-offset: 4px;
  --text-boxes-shadow-blur-radius: 5px;
}

@media screen and (min-width: 992px) {
  :root {
    --gutter-outer: 6.4rem;
    --gutter-outer-small: 4.8rem;
  }
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  font-size: calc(1.6rem * var(--font-body-scale));
  line-height: 1.6;
  color: rgb(var(--color-foreground));
  background-color: rgb(var(--color-background));
}

.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--gutter-outer);
}

/* ===== NAVIGATION ===== */
.navbar {
  background: rgb(var(--color-background));
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: var(--z-nav-overlay);
  border-bottom: 1px solid rgba(var(--rgb-grey-2), 0.2);
}

.nav-container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--gutter-outer);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo .logo {
  height: 40px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: rgb(var(--color-headings));
  font-weight: 500;
  transition: color 0.3s ease;
  font-family: var(--font-heading-family);
}

.nav-link:hover {
  color: rgb(var(--c-light-green));
}

.store-btn {
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text)) !important;
  padding: 0.75rem 2rem;
  border-radius: var(--buttons-radius);
  transition: all 0.3s ease;
  border: var(--buttons-border-width) solid rgb(var(--color-button-border));
  font-weight: var(--font-body-weight-bold);
}

.store-btn:hover {
  background: rgb(var(--color-button-hover));
  border-color: rgb(var(--color-button-border-hover));
  transform: translateY(-2px);
}

/* USD Button Styles */
.usd-btn {
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text)) !important;
  border: var(--buttons-border-width) solid rgb(var(--color-button-border));
  margin-left: 0.5rem;
}

.usd-btn:hover {
  background: rgb(var(--color-button-hover));
  border-color: rgb(var(--color-button-border-hover));
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: rgb(var(--color-headings));
  margin: 3px 0;
  transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: calc(var(--l-header-height) + 4rem) 0 8rem;
  background: linear-gradient(135deg, rgb(var(--rgb-light-sand)) 0%, rgb(var(--rgb-sand)) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--gutter-outer);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-desktop-horizontal-spacing);
  align-items: center;
}

.hero-title {
  font-size: calc(3.5rem * var(--font-heading-scale));
  font-weight: var(--font-heading-weight);
  color: rgb(var(--color-headings));
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: var(--font-heading-family);
}

.hero-subtitle {
  font-size: calc(1.25rem * var(--font-body-scale));
  color: rgb(var(--color-foreground));
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 2rem;
  border: var(--buttons-border-width) solid transparent;
  border-radius: var(--buttons-radius);
  font-weight: var(--font-body-weight-bold);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body-family);
  font-size: calc(1.6rem * var(--font-body-scale));
}

.btn-primary {
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  border-color: rgb(var(--color-button-border));
}

.btn-primary:hover {
  background: rgb(var(--color-button-hover));
  border-color: rgb(var(--color-button-border-hover));
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgb(var(--color-secondary-button));
  color: rgb(var(--color-secondary-button-text));
  border-color: rgb(var(--color-secondary-button-text));
}

.btn-secondary:hover {
  background: rgb(var(--color-secondary-button-text));
  color: rgb(var(--color-secondary-button));
  transform: translateY(-2px);
}

.hero-image {
  text-align: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--media-radius);
  box-shadow: var(--media-shadow-visible) var(--media-shadow-horizontal-offset) var(--media-shadow-vertical-offset) var(--media-shadow-blur-radius) rgba(var(--color-shadow), var(--media-shadow-opacity));
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: calc(2.5rem * var(--font-heading-scale));
  font-weight: var(--font-heading-weight);
  color: rgb(var(--color-headings));
  margin-bottom: 1rem;
  text-align: center;
  font-family: var(--font-heading-family);
}

.section-subtitle {
  font-size: calc(1.1rem * var(--font-body-scale));
  color: rgb(var(--color-foreground));
  margin-bottom: 3rem;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FEATURES SECTION ===== */
.features {
  background: rgb(var(--color-background));
  padding: var(--grid-desktop-vertical-spacing) 0;
  border-bottom: 1px solid rgba(var(--rgb-grey-2), 0.2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--grid-desktop-horizontal-spacing);
  margin-bottom: var(--grid-desktop-vertical-spacing);
}

.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--media-radius);
  transition: all 0.3s ease;
  background: rgb(var(--color-background));
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.feature-text {
  font-size: calc(1.2rem * var(--font-body-scale));
  font-weight: var(--font-body-weight-bold);
  color: rgb(var(--color-headings));
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wellness-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--gutter-outer);
}

.wellness-content h3 {
  font-size: calc(1.8rem * var(--font-heading-scale));
  font-weight: var(--font-heading-weight);
  color: rgb(var(--color-headings));
  margin-bottom: 1rem;
  font-family: var(--font-heading-family);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wellness-content p {
  font-size: calc(1.2rem * var(--font-body-scale));
  line-height: 1.6;
  color: rgb(var(--color-foreground));
  font-weight: 500;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
  background: rgb(var(--color-background));
  padding: var(--grid-desktop-vertical-spacing) 0;
  border-bottom: 1px solid rgba(var(--rgb-grey-2), 0.2);
}

.benefits-image-container {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.benefits-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--media-radius);
  box-shadow: var(--media-shadow-visible) var(--media-shadow-horizontal-offset) var(--media-shadow-vertical-offset) var(--media-shadow-blur-radius) rgba(var(--color-shadow), var(--media-shadow-opacity));
  transition: transform 0.3s ease;
}

.benefits-image:hover {
  transform: translateY(-5px);
}

/* ===== STORE SECTION ===== */
.store {
  padding: var(--grid-desktop-vertical-spacing) 0;
  background: rgb(var(--color-background));
}

.product-info {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  padding: 2rem;
  background: rgba(var(--rgb-grey-1), 0.5);
  border-radius: var(--media-radius);
  border: 1px solid rgba(var(--rgb-grey-2), 0.2);
  text-align: center;
}

.product-info p {
  font-size: calc(1.1rem * var(--font-body-scale));
  line-height: 1.6;
  color: rgb(var(--color-foreground));
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.product-info p:last-child {
  margin-bottom: 0;
}

.btcpay-pos-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  background: rgb(var(--color-background));
  border-radius: var(--media-radius);
  box-shadow: var(--media-shadow-visible) var(--media-shadow-horizontal-offset) var(--media-shadow-vertical-offset) var(--media-shadow-blur-radius) rgba(var(--color-shadow), var(--media-shadow-opacity));
  border: 1px solid rgba(var(--rgb-grey-2), 0.2);
}

.btcpay-pos-container iframe {
  display: block;
  width: 100%;
  height: 600px; /* More reasonable base height */
  min-height: 400px; /* Minimum height to ensure usability */
  max-height: 80vh; /* Constrained on desktop; overridden on mobile */
  border: none;
  border-radius: var(--media-radius-small);
  background: rgb(var(--color-background));
  transition: height 0.3s ease; /* Smooth height transitions */
}

/* ===== OFFICIAL SITE SECTION ===== */
.official-site {
  background: rgb(var(--rgb-grey-1));
  padding: var(--grid-desktop-vertical-spacing) 0;
  text-align: center;
}

.official-site-content h2 {
  font-size: calc(2.5rem * var(--font-heading-scale));
  font-weight: var(--font-heading-weight);
  color: rgb(var(--color-headings));
  margin-bottom: 1rem;
  font-family: var(--font-heading-family);
}

.official-site-content p {
  font-size: calc(1.1rem * var(--font-body-scale));
  color: rgb(var(--color-foreground));
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.official-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BACKGROUND IMAGES ===== */
.bg-swirls {
  background-image: url(//drinkheal.ca/cdn/shop/t/2/assets/bg-swirls-green.webp?v=157844086201957520771701283034);
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (min-width: 768px) {
  .bg-swirls {
    background-attachment: fixed;
  }
}

.bg-swirls--non-fixed {
  background-attachment: initial;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: var(--l-header-height);
    flex-direction: column;
    background-color: rgb(var(--color-background));
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(var(--color-shadow), 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--grid-mobile-horizontal-spacing);
  }

  .hero-title {
    font-size: calc(2.5rem * var(--font-heading-scale));
  }

  .hero-buttons {
    justify-content: center;
  }

  .btcpay-pos-container {
    padding: 0.25rem;
  }

  .btcpay-pos-container iframe {
    height: 700px; /* Taller to avoid inner iframe scrolling */
    max-height: none; /* Allow full height as needed */
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--grid-mobile-horizontal-spacing);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: calc(2rem * var(--font-heading-scale));
  }

  .section-title {
    font-size: calc(2rem * var(--font-heading-scale));
  }

  .btcpay-pos-container {
    padding: 0.25rem;
  }

  .btcpay-pos-container iframe {
    height: 900px; /* Fit full POS content on phones */
    max-height: none; /* Allow full height on small screens */
  }

  .official-links {
    flex-direction: column;
    align-items: center;
  }

  .official-links .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ===== LANDSCAPE ORIENTATION OPTIMIZATION ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .btcpay-pos-container iframe {
    height: 650px; /* Taller in landscape to reduce inner scroll */
    max-height: none; /* Allow full height */
  }
}

/* ===== ACCESSIBILITY & SEO ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== FOOTER ===== */
footer {
  background-color: rgb(var(--color-background));
  border-top: 1px solid rgba(var(--color-shadow), 0.1);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
}

footer p {
  color: rgb(var(--color-foreground));
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex !important;
  align-items: center;
  margin-left: 1rem;
  z-index: 1000;
  position: relative;
}

.lang-switch {
  background: transparent !important;
  border: 2px solid #3B482B !important;
  color: #3B482B !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-family: Inter, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.lang-switch:hover {
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--color-button), 0.3);
}

.lang-switch:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--color-button), 0.3);
}

/* Mobile responsive for language switcher */
@media (max-width: 768px) {
  .lang-switcher {
    margin-right: 0.5rem;
  }
  
  .lang-switch {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .nav-container {
    justify-content: space-between;
  }
  
  .usd-btn {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* ===== ENHANCED USD STORE SECTION ===== */
.usd-store {
  background: linear-gradient(135deg, rgba(var(--color-background), 0.95) 0%, rgba(var(--color-background), 0.98) 100%);
  border-top: 1px solid rgba(var(--rgb-grey-2), 0.1);
  padding: 4rem 0;
}

.usd-store-experience {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Product Showcase */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Product Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-product-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9fa;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
}

.product-thumbnails {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: rgb(var(--color-button));
  opacity: 1;
  transform: scale(1.05);
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-header {
  margin-bottom: 1rem;
}

.product-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
}

.product-brand {
  font-size: 1.1rem;
  color: var(--color-text);
  margin: 0 0 1rem 0;
  opacity: 0.8;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--color-text);
  opacity: 0.7;
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

/* Product Features */
.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-badge {
  background: rgba(var(--color-button), 0.1);
  color: rgb(var(--color-button));
  padding: 0.75rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  border: 1px solid rgba(var(--color-button), 0.2);
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: rgba(var(--color-button), 0.15);
  transform: translateY(-2px);
}

/* Product Pricing */
.product-pricing {
  background: rgba(var(--color-background), 0.5);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--rgb-grey-2), 0.1);
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.current-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.currency {
  font-size: 1.2rem;
  color: var(--color-text);
  opacity: 0.7;
}

.shipping-info {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
  opacity: 0.8;
}

/* Product Options */
.product-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-selector label {
  font-weight: 600;
  color: var(--color-text);
  min-width: 80px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 2px solid rgba(var(--color-button), 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  background: rgba(var(--color-button), 0.1);
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(var(--color-button));
  transition: all 0.3s ease;
}

.qty-btn:hover {
  background: rgba(var(--color-button), 0.2);
}

.qty-input {
  border: none;
  padding: 0.75rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  width: 60px;
  background: white;
}

.qty-input:focus {
  outline: none;
}

/* Pack Options */
.pack-options label {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.pack-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.pack-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border: 2px solid rgba(var(--color-button), 0.2);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.pack-btn:hover,
.pack-btn.active {
  border-color: rgb(var(--color-button));
  background: rgba(var(--color-button), 0.05);
  transform: translateY(-2px);
}

.pack-size {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.pack-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}



/* Product Actions */
.product-actions {
  background: rgba(var(--color-background), 0.5);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(var(--rgb-grey-2), 0.1);
}

.total-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(var(--rgb-grey-2), 0.2);
}

.total-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
}

.total-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.shop-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.shop-now-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.wishlist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: rgba(var(--color-button), 0.1);
  color: rgb(var(--color-button));
  border: 2px solid rgba(var(--color-button), 0.2);
  transition: all 0.3s ease;
}

.wishlist-btn:hover {
  background: rgba(var(--color-button), 0.15);
  border-color: rgb(var(--color-button));
  transform: translateY(-2px);
}

.secure-checkout-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
  opacity: 0.8;
  margin: 0;
  text-align: center;
  justify-content: center;
}

.security-icon {
  font-size: 1.1rem;
}

/* Product Benefits */
.product-benefits {
  background: rgba(var(--color-background), 0.3);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(var(--rgb-grey-2), 0.1);
}

.product-benefits h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem 0;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.benefits-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text);
  line-height: 1.5;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: 700;
}

/* Shipping Info Details */
.shipping-info-details {
  background: rgba(var(--color-background), 0.3);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(var(--rgb-grey-2), 0.1);
}

.shipping-info-details h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem 0;
}

.shipping-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(var(--rgb-grey-2), 0.1);
}

.shipping-icon {
  font-size: 1.5rem;
  width: 30px;
  text-align: center;
}

.shipping-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shipping-details strong {
  color: var(--color-text);
  font-weight: 600;
}

.shipping-details span {
  font-size: 0.9rem;
  color: var(--color-text);
  opacity: 0.7;
}

.shipping-note {
  font-size: 0.9rem;
  color: var(--color-text);
  opacity: 0.8;
  margin: 0;
  font-style: italic;
}

/* Store Footer */
.store-footer {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(var(--color-background), 0.5);
  border-radius: 12px;
  border: 1px solid rgba(var(--rgb-grey-2), 0.1);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-icon {
  font-size: 1.5rem;
  width: 30px;
  text-align: center;
}

.trust-badge span:last-child {
  font-weight: 600;
  color: var(--color-text);
}

.official-site-link {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--rgb-grey-2), 0.1);
}

.official-site-link p {
  font-size: 1.1rem;
  color: var(--color-text);
  margin: 0 0 1.5rem 0;
}

.official-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  padding: 1rem 2rem;
  border-radius: var(--buttons-radius);
  text-decoration: none;
  font-weight: var(--font-body-weight-bold);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: var(--buttons-border-width) solid rgb(var(--color-button-border));
}

.official-link-btn:hover {
  background: rgb(var(--color-button-hover));
  border-color: rgb(var(--color-button-border-hover));
  transform: translateY(-2px);
  color: rgb(var(--color-button-text));
  text-decoration: none;
}

.link-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.official-link-btn:hover .link-arrow {
  transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem;
  }
  
  .product-title {
    font-size: 2.5rem;
  }
  
  .current-price {
    font-size: 2rem;
  }
  
  .pack-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .usd-store-experience {
    padding: 0 1rem;
  }
  
  .product-showcase {
    padding: 1.5rem;
    gap: 2rem;
  }
  
  .product-title {
    font-size: 2rem;
  }
  
  /* Make gallery slightly shorter on mobile tablets */
  .main-product-image {
    aspect-ratio: 4 / 5;
  }
  
  /* Tame pricing and totals */
  .current-price {
    font-size: 1.8rem;
  }
  .total-label {
    font-size: 1.05rem;
  }
  .total-amount {
    font-size: 1.3rem;
  }
  
  /* Compact quantity controls */
  .qty-btn {
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
  }
  .qty-input {
    padding: 0.5rem;
    width: 52px;
    font-size: 0.95rem;
  }
  
  .product-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pack-buttons {
    grid-template-columns: 1fr;
  }
  .pack-btn {
    padding: 0.85rem;
  }
  
  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .store-footer {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .usd-store { padding: 2rem 0; }
  .product-showcase { padding: 1rem; gap: 1rem; }
  .product-title { font-size: 1.7rem; }
  
  /* Reduce image height a bit more on small phones */
  .main-product-image { aspect-ratio: 3 / 4; }
  
  .current-price { font-size: 1.6rem; }
  .currency { font-size: 1rem; }
  .total-label { font-size: 1rem; }
  .total-amount { font-size: 1.2rem; }
  
  .product-features { grid-template-columns: 1fr; }
  .feature-badge { font-size: 0.85rem; padding: 0.5rem 0.75rem; }
  
  .pack-btn { padding: 0.75rem; }
  .pack-price { font-size: 1rem; }
  
  .quantity-controls { border-width: 1px; }
  .qty-btn { padding: 0.45rem 0.65rem; font-size: 0.95rem; }
  .qty-input { width: 46px; font-size: 0.9rem; padding: 0.45rem; }
  
  .action-buttons { gap: 0.6rem; }
  .shop-now-btn, .wishlist-btn { padding: 0.65rem 1rem; font-size: 0.95rem; }
  
  .product-actions, .shipping-info-details, .product-benefits { padding: 1.25rem; }
  
  .trust-badges { grid-template-columns: 1fr; }
} 

/* Shopify Buy Button Integration */
.shopify-buy-container {
  width: 100%;
  margin-bottom: 1rem;
}

.shopify-buy-container .shopify-buy__btn {
  width: 100% !important;
  height: auto !important;
  padding: 1rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  border-radius: 40px !important;
  background: rgb(var(--color-button)) !important;
  color: rgb(var(--color-button-text)) !important;
  border: 2px solid rgb(var(--color-button-border)) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.shopify-buy-container .shopify-buy__btn:hover {
  background: rgb(var(--color-button-hover)) !important;
  border-color: rgb(var(--color-button-border-hover)) !important;
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}

.shopify-buy-container .shopify-buy__btn:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(var(--color-button), 0.3) !important;
}

/* Shopify Buy Button Modal Styling */
.shopify-buy__modal {
  z-index: 10000 !important;
}

.shopify-buy__modal-overlay {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(5px) !important;
}

.shopify-buy__modal-content {
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

/* Shopify Buy Button Cart Styling */
.shopify-buy__cart {
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
}

.shopify-buy__cart-header {
  background: rgb(var(--color-button)) !important;
  color: rgb(var(--color-button-text)) !important;
  border-radius: 12px 12px 0 0 !important;
}

.shopify-buy__cart-item {
  border-bottom: 1px solid rgba(var(--rgb-grey-2), 0.1) !important;
}

.shopify-buy__cart-item-image {
  border-radius: 8px !important;
}

.shopify-buy__cart-checkout {
  background: rgb(var(--color-button)) !important;
  color: rgb(var(--color-button-text)) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.shopify-buy__cart-checkout:hover {
  background: rgb(var(--color-button-hover)) !important;
  transform: translateY(-1px) !important;
}

/* Mobile Responsive for Shopify Buy Button */
@media (max-width: 768px) {
  .shopify-buy-container .shopify-buy__btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .shopify-buy__modal-content {
    margin: 1rem !important;
    max-width: calc(100vw - 2rem) !important;
  }
} 