/*
Theme Name: BOO Bubble Tea – Elementor
Theme URI: https://boobubblettea.sk
Template: hello-elementor
Author: BOO Bubble Tea
Description: Elementor Pro child theme pre BOO Bubble Tea e-shop. Používa Hello Elementor ako rodičovskú tému.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: boo-elementor
Tags: woocommerce, elementor, e-commerce
*/

/* ============================================
   GLOBAL DESIGN TOKENS
   (Tieto sa automaticky prečítajú aj v Elementor Global Colors/Fonts)
============================================ */
:root {
  /* Brand Colors */
  --boo-pink:        #F53F7A;
  --boo-pink-light:  #FF6B9D;
  --boo-pink-pale:   #FFF0F5;
  --boo-green:       #7DC04B;
  --boo-yellow:      #F5C842;
  --boo-orange:      #F5894A;
  --boo-purple:      #B07FE0;

  /* Neutrals */
  --boo-bg:          #FDF8F5;
  --boo-white:       #FFFFFF;
  --boo-dark:        #1A1A2E;
  --boo-gray:        #6B7280;
  --boo-gray-light:  #F3F4F6;
  --boo-border:      #E5E7EB;
  --boo-text:        #2D2D2D;

  /* Typography */
  --font-display:    'Nunito', sans-serif;
  --font-body:       'DM Sans', sans-serif;

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
  --shadow-pink: 0 8px 30px rgba(245,63,122,0.28);

  --transition: 0.22s ease;
}

/* ============================================
   BASE RESET & BODY
============================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: var(--boo-bg);
  color: var(--boo-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--boo-dark);
}

a { transition: color var(--transition); }
img { max-width: 100%; height: auto; }

/* ============================================
   ELEMENTOR GLOBAL OVERRIDES
============================================ */

/* Make Elementor sections full-width by default */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1280px;
}

/* ============================================
   HEADER / NAV  (Hello Elementor header)
============================================ */
.site-header,
.elementor-location-header {
  background: var(--boo-white) !important;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo text colors */
.boo-logo-b   { color: var(--boo-pink); }
.boo-logo-o1  { color: var(--boo-green); }
.boo-logo-o2  { color: var(--boo-yellow); }

/* Nav menu links */
.elementor-nav-menu a,
.elementor-nav-menu--main .elementor-item {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--boo-dark) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-full) !important;
  transition: all var(--transition) !important;
}

.elementor-nav-menu a:hover,
.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item.elementor-item-active {
  color: var(--boo-pink) !important;
  background: var(--boo-pink-pale) !important;
}

/* Active nav underline */
.elementor-nav-menu--main .elementor-item-active {
  border-bottom: 2px solid var(--boo-pink) !important;
  border-radius: 0 !important;
}

/* ============================================
   BUTTONS
============================================ */
.elementor-button,
.elementor-button-wrapper .elementor-button {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  transition: all var(--transition) !important;
  letter-spacing: 0.01em;
}

/* Primary button */
.elementor-button.boo-btn-primary,
.boo-btn-primary .elementor-button {
  background: var(--boo-pink) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: var(--shadow-pink) !important;
}
.elementor-button.boo-btn-primary:hover,
.boo-btn-primary .elementor-button:hover {
  background: var(--boo-pink-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245,63,122,0.38) !important;
}

/* Outline button */
.elementor-button.boo-btn-outline,
.boo-btn-outline .elementor-button {
  background: transparent !important;
  color: var(--boo-pink) !important;
  border: 2px solid var(--boo-pink) !important;
}
.elementor-button.boo-btn-outline:hover,
.boo-btn-outline .elementor-button:hover {
  background: var(--boo-pink) !important;
  color: #fff !important;
}

/* ============================================
   HERO SECTION
============================================ */
.boo-hero-section {
  background: linear-gradient(135deg, #FFF5F8 0%, #FFF9F0 55%, #F0FFF4 100%);
  overflow: hidden;
  position: relative;
}

.boo-hero-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(245,63,122,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.boo-hero-title {
  font-family: var(--font-display) !important;
  font-size: clamp(36px, 5vw, 60px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  color: var(--boo-dark) !important;
}

.boo-hero-title .boo-accent { color: var(--boo-pink); }

.boo-hero-image img {
  filter: drop-shadow(0 24px 48px rgba(245,63,122,0.22));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Hero badge pill */
.boo-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--boo-pink-pale);
  color: var(--boo-pink);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   FEATURE / TRUST ICONS
============================================ */
.boo-feature-icon-wrap {
  width: 52px; height: 52px;
  background: var(--boo-pink-pale);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.boo-feature-box {
  background: var(--boo-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.boo-feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   STEP CARDS (Ako to funguje)
============================================ */
.boo-step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900;
  color: white;
  margin-bottom: 16px;
}
.boo-step-number.pink   { background: var(--boo-pink); box-shadow: 0 4px 16px rgba(245,63,122,.35); }
.boo-step-number.green  { background: var(--boo-green); box-shadow: 0 4px 16px rgba(125,192,75,.35); }
.boo-step-number.yellow { background: var(--boo-yellow); color: var(--boo-dark); box-shadow: 0 4px 16px rgba(245,200,66,.35); }

.boo-step-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  background: var(--boo-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.boo-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   BOX / PRODUCT CARDS
============================================ */
.boo-box-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.boo-box-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.boo-box-card img { transition: transform 0.4s ease; }
.boo-box-card:hover img { transform: scale(1.05); }

.boo-box-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: white;
}
.boo-box-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 800;
  color: white; margin-bottom: 4px;
}
.boo-box-card-overlay .price {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  color: white;
}

/* ============================================
   WOOCOMMERCE PRODUCT CARDS (shop loop)
============================================ */
.woocommerce ul.products li.product {
  border-radius: var(--radius-lg) !important;
  background: var(--boo-white) !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  transition: all var(--transition) !important;
  padding: 0 0 16px !important;
}
.woocommerce ul.products li.product:hover {
  border-color: var(--boo-pink) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-3px);
}

.woocommerce ul.products li.product a img {
  border-radius: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  aspect-ratio: 1;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--boo-dark) !important;
  padding: 12px 16px 4px !important;
}

.woocommerce ul.products li.product .price {
  font-family: var(--font-display) !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  color: var(--boo-pink) !important;
  padding: 0 16px !important;
}

.woocommerce ul.products li.product .button {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  background: var(--boo-pink) !important;
  color: white !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  margin: 8px 16px 0 !important;
  transition: all var(--transition) !important;
  width: calc(100% - 32px) !important;
  text-align: center !important;
  display: block !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--boo-pink-light) !important;
  transform: translateY(-1px);
}

/* Sale badge */
.woocommerce ul.products li.product .onsale {
  background: var(--boo-pink) !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  min-width: unset !important;
  min-height: unset !important;
  padding: 4px 12px !important;
  line-height: 1.4 !important;
}

/* ============================================
   SINGLE PRODUCT PAGE
============================================ */
.woocommerce div.product .product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 900 !important;
  color: var(--boo-dark) !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-display) !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  color: var(--boo-pink) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  background: var(--boo-pink) !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  padding: 14px 36px !important;
  border: none !important;
  box-shadow: var(--shadow-pink) !important;
  transition: all var(--transition) !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: var(--boo-pink-light) !important;
  transform: translateY(-2px) !important;
}

/* Quantity input */
.woocommerce .quantity .qty {
  border: 2px solid var(--boo-border) !important;
  border-radius: var(--radius-md) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 10px 14px !important;
  width: 72px !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--boo-pink) !important;
  border-color: var(--boo-pink) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
}

/* ============================================
   CART PAGE
============================================ */
.woocommerce-cart .woocommerce table.shop_table {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  border: none !important;
}

.woocommerce-cart .woocommerce table.shop_table th {
  background: var(--boo-gray-light) !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--boo-gray) !important;
  border: none !important;
}

.woocommerce-cart .woocommerce table.shop_table td {
  border-color: var(--boo-border) !important;
  vertical-align: middle !important;
  font-family: var(--font-body) !important;
}

.woocommerce-cart .woocommerce td.product-name a {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--boo-dark) !important;
}
.woocommerce-cart .woocommerce td.product-name a:hover { color: var(--boo-pink) !important; }

.woocommerce-cart .woocommerce td.product-price,
.woocommerce-cart .woocommerce td.product-subtotal {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  color: var(--boo-pink) !important;
}

/* Cart totals box */
.woocommerce-cart .woocommerce .cart_totals {
  background: var(--boo-white) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-md) !important;
  padding: 28px !important;
  border: none !important;
}
.woocommerce-cart .woocommerce .cart_totals h2 {
  font-family: var(--font-display) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: var(--boo-dark) !important;
  margin-bottom: 20px !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  background: var(--boo-pink) !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  padding: 16px 28px !important;
  box-shadow: var(--shadow-pink) !important;
  transition: all var(--transition) !important;
  border: none !important;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--boo-pink-light) !important;
  transform: translateY(-2px) !important;
}

/* ============================================
   CHECKOUT PAGE
============================================ */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: var(--boo-dark) !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--boo-border) !important;
}

.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row textarea,
.woocommerce-checkout .woocommerce form .form-row select {
  border: 2px solid var(--boo-border) !important;
  border-radius: var(--radius-md) !important;
  font-family: var(--font-body) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  transition: border-color var(--transition) !important;
}
.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,
.woocommerce-checkout .woocommerce form .form-row textarea:focus {
  border-color: var(--boo-pink) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(245,63,122,0.12) !important;
}

.woocommerce-checkout #payment {
  background: var(--boo-white) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-sm) !important;
}

.woocommerce-checkout #payment #place_order {
  background: var(--boo-pink) !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  padding: 16px 36px !important;
  box-shadow: var(--shadow-pink) !important;
  border: none !important;
  transition: all var(--transition) !important;
  width: 100% !important;
}
.woocommerce-checkout #payment #place_order:hover {
  background: var(--boo-pink-light) !important;
  transform: translateY(-2px) !important;
}

/* Order review table */
.woocommerce-checkout table.shop_table {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}

/* ============================================
   MY ACCOUNT PAGE
============================================ */
.woocommerce-MyAccount-navigation {
  background: var(--boo-white) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden !important;
  padding: 8px !important;
}
.woocommerce-MyAccount-navigation ul { list-style: none !important; padding: 0 !important; }
.woocommerce-MyAccount-navigation ul li a {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--boo-dark) !important;
  display: block !important;
  padding: 10px 16px !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition) !important;
  font-size: 14px !important;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--boo-pink-pale) !important;
  color: var(--boo-pink) !important;
}

/* ============================================
   TRUST / FOOTER SECTION
============================================ */
.boo-trust-section {
  background: var(--boo-white);
  border-top: 1px solid var(--boo-border);
  border-bottom: 1px solid var(--boo-border);
}

.boo-trust-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: var(--boo-pink-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}

/* ============================================
   FOOTER
============================================ */
.boo-footer-section {
  background: var(--boo-dark) !important;
  color: rgba(255,255,255,0.8) !important;
}
.boo-footer-section h1,
.boo-footer-section h2,
.boo-footer-section h3,
.boo-footer-section h4 {
  color: white !important;
  font-family: var(--font-display) !important;
}
.boo-footer-section a {
  color: rgba(255,255,255,0.65) !important;
  transition: color var(--transition) !important;
}
.boo-footer-section a:hover { color: var(--boo-pink-light) !important; }
.boo-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4) !important;
}

/* ============================================
   NOTICES & MESSAGES (WooCommerce)
============================================ */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-top-color: var(--boo-pink) !important;
  border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
  font-family: var(--font-body) !important;
}
.woocommerce-message::before { color: var(--boo-pink) !important; }
.woocommerce-message .button {
  background: var(--boo-pink) !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .boo-hero-title { font-size: 32px !important; }
  .woocommerce ul.products { --woocommerce-columns: 2; }
}
@media (max-width: 480px) {
  .woocommerce ul.products { --woocommerce-columns: 1; }
}
