/* ========================= GLOBAL BASE SAFETY ========================= */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #111;
  overflow-x: hidden;
}

/* ========================= TOP BAR (TRANSPARENT ONLY) ========================= */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  z-index: 9999;
  text-align: center;
  padding: 12px;
}

.top-bar a { text-decoration: none; color: #111827; }
.top-bar div { font-size: 12px; font-weight: 600; }

/* ========================= LANGUAGE BUTTON ========================= */
.lang-btn {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10000;
}

.lang-btn button {
  background: transparent !important;
  color: #000 !important;
  border: 1px solid rgba(0,0,0,0.25) !important;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 11px;
  cursor: pointer;
}

.lang-btn button:hover {
  background: rgba(0,0,0,0.05) !important;
}

/* ========================= SEARCH BUTTON FIX ========================= */
#search_button {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-block !important;
  transform: none !important;
}

#search {
  display: flex !important;
  align-items: center !important;
}

#search input[type="text"] {
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 10px !important;
}

/* ========================= LAYOUT ========================= */
.page-wrap { padding-top: 90px; }

.content {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* ========================= FREEWEBSHOP CLEAN BLOCK ========================= */
a[href*="freewebstore.com"],
a[href*="utm_source"],
iframe[src*="freewebstore"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

footer {
  visibility: visible !important;
  display: block !important;
}

/* ========================= CALL STRIP (UNCHANGED PREMIUM LOOK) ========================= */
.call-strip {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 10001;
}

.call-strip a {
  color: #111 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
}

.call-strip a:hover {
  background: #ffcc00 !important;
  color: #000 !important;
}

/* ========================= REMOVE HEADER ARTIFACTS ========================= */
body::before,
body::after,
.top-bar::before,
.top-bar::after {
  background: transparent !important;
  background-image: none !important;
  content: "" !important;
}

header,
.top-bar {
  background-color: rgba(255,255,255,0.95) !important;
}

/* ========================= SECTION TITLE ========================= */
.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 900;

  color: #000000 !important;
  background: none !important;

  -webkit-text-fill-color: #000000 !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;

  margin: 40px 0 40px;
  animation: fadeUp 0.8s ease forwards;
}

/* ========================= GRID ========================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ========================= PRODUCT CARD ========================= */
.product-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}

/* ========================= BUTTON SYSTEM BASE ========================= */
button,
.btn,
.btn-premium,
.add-to-cart,
.add_to_cart,
.add-to-cart-button,
input[type="submit"],
input[type="button"] {

  background: #111827 !important;
  color: #ffffff !important;

  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;

  padding: 12px 22px !important;

  font-weight: 700 !important;
  font-size: 14px;

  text-transform: uppercase;

  cursor: pointer !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease !important;

  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* HOVER */
button:hover,
.btn:hover,
.btn-premium:hover,
.add-to-cart:hover,
.add_to_cart:hover,
.add-to-cart-button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {

  background: #1f2937 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ACTIVE */
button:active,
.btn:active,
.btn-premium:active,
.add-to-cart:active,
.add_to_cart:active,
.add-to-cart-button:active,
input[type="submit"]:active,
input[type="button"]:active {
  transform: scale(0.98);
}

/* ========================= NAV / TABS (GLASS SYSTEM - EXCLUDES CALL NOW) ========================= */
.nav-link,
nav a,
.top-right a,
.header a,
.menu a {

  background: rgba(255,255,255,0.65) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  color: #111 !important;

  border: 1px solid rgba(0,0,0,0.08);

  display: inline-block !important;
  padding: 8px 14px;
  margin: 2px;

  border-radius: 10px;

  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none !important;

  transition: all 0.25s ease;

  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* TAB HOVER */
.nav-link:hover,
nav a:hover,
.top-right a:hover,
.header a:hover,
.menu a:hover {

  background: #ffcc00 !important;
  color: #000 !important;

  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,204,0,0.35);
}

/* ACTIVE TAB */
.nav-link.active,
nav a.active,
.menu a.active {
  background: rgba(255,204,0,0.9) !important;
  color: #000 !important;
}

/* ========================= BUTTON PREMIUM ========================= */
.btn-premium {
  background: linear-gradient(135deg, #cc0000, #ffcc00) !important;
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 700;
}

/* ========================= ANIMATION ========================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.coriodermina-brand {
  position: fixed;
  top: 44px;
  left: 12px;

  background: transparent !important;

  color: #111 !important;

  font-size: 15px;          /* ⬆ bigger */
  font-weight: 800;

  letter-spacing: 0.6px;
  text-transform: uppercase;

  padding-left: 18px;       /* ⬅ tab space effect */
  margin: 0;

  border: none !important;
  box-shadow: none !important;

  pointer-events: none;
}

/* ========================= SITE-WIDE BUTTON ALIGNMENT FIX ========================= */

/* FIX INPUT BUTTON ALIGNMENT (BUY BUTTON ISSUE) */
input[type="button"].btn,
input[type="submit"].btn,
button.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 44px !important;
  min-height: 44px !important;

  line-height: 1 !important;

  padding: 12px 18px !important;

  box-sizing: border-box !important;

  white-space: nowrap !important;

  vertical-align: middle !important;
}

/* FORCE CONSISTENT WIDTH ALIGNMENT IN CARDS */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* PUSH BUTTONS TO CONSISTENT BASELINE */
.product-card a,
.product-card input[type="button"],
.product-card button {
  margin-top: auto;
}

/* ========================= PREMIUM CTA BUTTON (LUXURY GLASS) ========================= */

.btn-premium {
  background: rgba(255,255,255,0.7) !important;
  color: #111 !important;

  border: 1px solid rgba(0,0,0,0.08) !important;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 14px !important;

  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  padding: 12px 22px !important;

  box-shadow:
    0 6px 18px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition: all 0.25s ease !important;

  position: relative;
  overflow: hidden;
}

/* subtle shine effect */
.btn-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-20deg);
  transition: 0.5s;
}

/* HOVER = luxury gold hit */
.btn-premium:hover {
  background: #ffcc00 !important;
  color: #000 !important;

  transform: translateY(-3px) scale(1.03);

  box-shadow:
    0 10px 25px rgba(255,204,0,0.35),
    0 6px 18px rgba(0,0,0,0.12);
}

/* shine animation on hover */
.btn-premium:hover::before {
  left: 130%;
}



/* ========================= GLOBAL GHOST + WHITE PATCH KILLER ========================= */

/* HARD RESET FOR ALL INPUTS + BUTTON ARTIFACTS */
button,
input,
input[type="submit"],
input[type="button"],
#search_button,
.products_btn a {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  background-image: none !important;
  background-clip: border-box !important;

  box-shadow: none !important;
  outline: none !important;
}

/* ========================= FIX SEARCH WHITE PATCH (ROOT CAUSE = WRAPPER LAYER) ========================= */

#search,
#search form,
#search div {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* kill pseudo-elements causing "white box beside search" */
#search::before,
#search::after,
#search_button::before,
#search_button::after {
  content: none !important;
  display: none !important;
}

/* hard fix for button artifact beside input */
#search_button {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;

  width: 38px !important;
  height: 38px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: relative !important;
  z-index: 9999 !important;
}

/* ========================= FIX PRODUCTS DROPDOWN GHOSTING ========================= */

.products_btn {
  position: relative !important;
  z-index: 999 !important;
  overflow: visible !important;
}

.products_btn a {
  position: relative !important;
  z-index: 1000 !important;
  transform: none !important;
}

/* prevent hover repaint glitch */
.products_btn:hover,
.products_btn:hover a {
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* stop theme overlay layers from stealing hover */
.products_btn * {
  mix-blend-mode: normal !important;
}




/* ========================= UNIFIED TOP BAR TAB SYSTEM (READABLE + SIZE HIERARCHY) ========================= */

.btn,
input[type="button"],
input[type="submit"],
.user_txt,
.cart_txt,
.lang-btn button {

  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: #0f172a !important;

  border: 1px solid rgba(0,0,0,0.12) !important;

  border-radius: 10px !important;

  padding: 8px 14px !important;

  font-size: 13px !important;
  font-weight: 800 !important;

  text-transform: uppercase;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  text-decoration: none !important;
  cursor: pointer;

  box-shadow: 0 6px 16px rgba(0,0,0,0.10);

  transition: all 0.25s ease;
}

/* ========================= PRIMARY TAB EMPHASIS (DETAILS + BUY + ADD BUTTON) ========================= */

.btn,
input[type="button"],
input[type="submit"] {

  font-size: 15px !important;
  font-weight: 900 !important;

  padding: 10px 18px !important;

  border-radius: 12px !important;

  letter-spacing: 0.5px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ========================= HOVER ========================= */

.btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.user_txt:hover,
.cart_txt:hover,
.lang-btn button:hover {

  background: #ffcc00 !important;
  color: #000 !important;

  transform: translateY(-2px);

  box-shadow: 0 8px 22px rgba(255,204,0,0.40);
}

/* ========================= TEXT SPANS ========================= */

.user_txt,
.cart_txt {
  cursor: pointer;
  letter-spacing: 0.3px;
}

/* ========================= REMOVE SEARCH BUTTON ARTIFACT ========================= */

#search_button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}


/* ========================= LOGO ONLY HUE ENGINE (SAFE VERSION) ========================= */

img#logo {
  position: relative;
  display: block;

  transition: transform 0.5s ease, filter 0.5s ease;

  /* SAFE BASE (no blending = no disappearing) */
  filter:
    saturate(2)
    contrast(1.35)
    brightness(1.2)
    drop-shadow(0 8px 22px rgba(0,0,0,0.18));

  animation: logoHueBreath 6s ease-in-out infinite;
}

/* hover motion */
img#logo:hover {
  transform: translateY(-3px) scale(1.04);
}

/* ========================= LIGHT MODE ========================= */

@media (prefers-color-scheme: light) {
  img#logo {
    filter:
      saturate(1.4)
      contrast(1.15)
      brightness(1.05)
      drop-shadow(0 8px 22px rgba(0,0,0,0.18))
      drop-shadow(0 0 16px rgba(255, 204, 0, 0.18));
  }
}

/* ========================= DARK MODE ========================= */

@media (prefers-color-scheme: dark) {
  img#logo {
    filter:
      saturate(2.2)
      contrast(1.5)
      brightness(1.35)
      hue-rotate(10deg)
      drop-shadow(0 0 35px rgba(0, 240, 255, 0.7))
      drop-shadow(0 0 50px rgba(255, 0, 76, 0.5))
      drop-shadow(0 0 70px rgba(138, 43, 226, 0.4)) !important;
  }
}

/* ========================= DARK MODE CLASS SUPPORT ========================= */

.dark-mode img#logo,
html.dark-mode img#logo,
body.dark-mode img#logo {
  filter:
    saturate(2.2)
    contrast(1.5)
    brightness(1.35)
    hue-rotate(10deg)
    drop-shadow(0 0 35px rgba(0, 240, 255, 0.7))
    drop-shadow(0 0 50px rgba(255, 0, 76, 0.5))
    drop-shadow(0 0 70px rgba(138, 43, 226, 0.4)) !important;
}

/* ========================= DARK READER SUPPORT ========================= */

html.darkreader img#logo,
body.darkreader img#logo,
[data-darkreader-scheme] img#logo {
  filter:
    saturate(2.3)
    contrast(1.55)
    brightness(1.4)
    hue-rotate(-8deg)
    drop-shadow(0 0 45px rgba(0, 240, 255, 0.8))
    drop-shadow(0 0 65px rgba(255, 0, 76, 0.6))
    drop-shadow(0 0 90px rgba(138, 43, 226, 0.5)) !important;
}

/* ========================= PHILIPS HUE BREATH (VISIBLE RGB CYCLE) ========================= */

@keyframes logoHueBreath {

  0% {
    filter:
      saturate(2)
      contrast(1.4)
      brightness(1.2)
      hue-rotate(0deg)
      drop-shadow(0 0 25px rgba(255, 0, 76, 0.7));
  }

  25% {
    filter:
      saturate(2.1)
      contrast(1.45)
      brightness(1.25)
      hue-rotate(25deg)
      drop-shadow(0 0 35px rgba(0, 240, 255, 0.8));
  }

  50% {
    filter:
      saturate(2.2)
      contrast(1.5)
      brightness(1.3)
      hue-rotate(60deg)
      drop-shadow(0 0 45px rgba(255, 204, 0, 0.85));
  }

  75% {
    filter:
      saturate(2.1)
      contrast(1.45)
      brightness(1.25)
      hue-rotate(140deg)
      drop-shadow(0 0 40px rgba(138, 43, 226, 0.8));
  }

  100% {
    filter:
      saturate(2)
      contrast(1.4)
      brightness(1.2)
      hue-rotate(360deg)
      drop-shadow(0 0 25px rgba(255, 0, 76, 0.7));
  }
}



/* ========================= SAFE CONTAINER ISOLATION ========================= */

#add_to_cart {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  margin: 16px auto !important;
  width: fit-content;

  z-index: 1;

  /* 🔒 KEY FIX: prevents glow escaping into page */
  isolation: isolate;
}

/* ========================= BUTTON (UNCHANGED APPLE STYLE) ========================= */

#add_to_cart input {
  position: relative !important;
  z-index: 2 !important;

  font-size: 16px !important;
  font-weight: 800 !important;

  padding: 14px 28px !important;
  min-width: 160px !important;

  border-radius: 14px !important;

  border: 1px solid rgba(0,0,0,0.08) !important;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.92) 0%,
    rgba(245,245,245,0.88) 100%
  ) !important;

  color: #111 !important;

  box-shadow:
    0 6px 18px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.85);

  backdrop-filter: blur(6px);

  transition: all 0.25s ease;
}

/* ========================= SOFT RED EMBER GLOW ========================= */

#add_to_cart::before {
  content: "";
  position: absolute;

  inset: -6px;

  border-radius: 18px;

  background: linear-gradient(
    90deg,
    #ff4500,    /* soft orange-red ember */
    #ff6347,    /* tomato red glow */
    #ff8c00,    /* dark orange ember */
    #ff4500     /* loops back to starting ember */
  );

  background-size: 300% 300%;
  animation: emberFlow 8s ease-in-out infinite;

  filter: blur(12px);

  opacity: 0.5;

  z-index: 0;

  /* 🔒 KEY FIX: prevents bleed outside button box */
  clip-path: inset(0 round 18px);
}

/* inner stabilizer */
#add_to_cart::after {
  content: "";
  position: absolute;

  inset: 0;

  border-radius: 14px;

  background: transparent;

  z-index: 1;
}

/* ========================= SLOWER, MORE NATURAL EMBER FLOW ========================= */

@keyframes emberFlow {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 100% 50%; }
  50%  { background-position: 200% 50%; }
  75%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Target it with higher specificity */
bbody .product_now_price,
html body .product_now_price,
.product_now_price {
  color: rgba(0, 47, 54, 1) !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}