/* ========== OZO PADANGOS - MAIN STYLES ========== */

:root {
  --ozo-red: #FF6B35;
  --ozo-red-dark: #E55A2B;
  --ozo-black: #1B0A2E;
  --ozo-black-light: #2D1B4E;
  --ozo-white: #FFFFFF;
  --ozo-gray-100: #F5F3F8;
  --ozo-gray-200: #E4DFEC;
  --ozo-gray-300: #C8BFD6;
  --ozo-gray-600: #7B6F8E;
  --ozo-gray-800: #3A2660;
  --ozo-shadow: 0 2px 12px rgba(27,10,46,.08);
  --ozo-shadow-md: 0 4px 20px rgba(27,10,46,.12);
  --ozo-shadow-lg: 0 8px 30px rgba(27,10,46,.18);
  --ozo-radius: 12px;
  --ozo-transition: .2s ease;
}

/* ========== CONTAINER ========== */
.ozo-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== TOP BAR ========== */
.ozo-topbar {
  background: var(--ozo-black);
  color: var(--ozo-gray-300);
  font-size: .8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ozo-topbar .ozo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ozo-topbar a { color: var(--ozo-gray-300); text-decoration: none; transition: color var(--ozo-transition); }
.ozo-topbar a:hover { color: var(--ozo-red); }
.ozo-topbar-phones { display: flex; gap: 20px; }

/* ========== HEADER ========== */
.ozo-header {
  background: var(--ozo-black);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.ozo-header .ozo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.ozo-logo { display: flex; align-items: center; }
.ozo-logo img { height: 44px; width: auto; }
.ozo-logo .custom-logo { height: 44px; width: auto; }

/* Nav */
.ozo-nav { display: flex; gap: 0; align-items: stretch; }
.ozo-nav .menu-item a,
.ozo-nav > a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 68px;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .3px;
  text-decoration: none;
  transition: all var(--ozo-transition);
  position: relative;
}
.ozo-nav .menu-item a:hover,
.ozo-nav > a:hover {
  color: var(--ozo-white);
  background: rgba(255,255,255,.06);
}
.ozo-nav .current-menu-item > a,
.ozo-nav .current_page_item > a {
  color: var(--ozo-white);
}
.ozo-nav .current-menu-item > a::after,
.ozo-nav .current_page_item > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 3px;
  background: var(--ozo-red);
  border-radius: 3px 3px 0 0;
}

/* Cart icon */
.ozo-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  color: rgba(255,255,255,.75);
  position: relative;
  transition: color var(--ozo-transition);
  text-decoration: none;
}
.ozo-cart-icon:hover { color: var(--ozo-white); }
.ozo-cart-badge {
  position: absolute;
  top: 4px; right: 2px;
  background: var(--ozo-red);
  color: var(--ozo-white);
  font-size: .6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger */
.ozo-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ozo-white);
  cursor: pointer;
  padding: 8px;
}

/* ========== FOOTER ========== */
.ozo-footer {
  background: var(--ozo-black);
  color: var(--ozo-gray-300);
  padding: 50px 0 0;
  font-size: .88rem;
}
.ozo-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
}
.ozo-footer-map {
  border-radius: var(--ozo-radius);
  overflow: hidden;
  box-shadow: var(--ozo-shadow-lg);
}
.ozo-footer-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ozo-footer-info { display: flex; flex-direction: column; gap: 18px; }
.ozo-footer-desc { color: var(--ozo-gray-300); font-size: .88rem; line-height: 1.7; }
.ozo-footer-item { display: flex; align-items: center; gap: 14px; }
.ozo-footer-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ozo-footer-icon svg { width: 18px; height: 18px; color: var(--ozo-red); }
.ozo-footer-item p { color: var(--ozo-white); font-weight: 600; line-height: 1.5; margin: 0; }
.ozo-footer-item a { color: var(--ozo-white); text-decoration: none; transition: color var(--ozo-transition); }
.ozo-footer-item a:hover { color: var(--ozo-red); }
.ozo-footer-detail { color: var(--ozo-gray-300) !important; font-weight: 400 !important; font-size: .8rem !important; }
.ozo-footer h4 {
  color: var(--ozo-white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 10px;
}
.ozo-footer h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 3px;
  background: var(--ozo-red);
  border-radius: 2px;
}
.ozo-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  text-align: center;
  font-size: .78rem;
  color: var(--ozo-gray-600);
}
.ozo-footer-links {
  margin-bottom: 8px;
  font-size: .82rem;
}
.ozo-footer-links a {
  color: var(--ozo-gray-300);
  text-decoration: none;
  transition: color .2s ease;
}
.ozo-footer-links a:hover {
  color: var(--ozo-white);
  text-decoration: underline;
}
.ozo-footer-sep {
  margin: 0 10px;
  color: var(--ozo-gray-600);
}
.ozo-footer-copy {
  color: var(--ozo-gray-600);
}

/* ========== BREADCRUMB ========== */
.ozo-breadcrumb {
  background: var(--ozo-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--ozo-gray-200);
}
.ozo-breadcrumb-list { display: flex; gap: 8px; align-items: center; font-size: .84rem; list-style: none; margin: 0; padding: 0; }
.ozo-breadcrumb-list li + li::before { content: '/'; margin-right: 8px; color: var(--ozo-gray-300); font-size: .75rem; }
.ozo-breadcrumb-list a { text-decoration: none; color: var(--ozo-gray-600); }
.ozo-breadcrumb-list a:hover { color: var(--ozo-red); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .ozo-menu-toggle { display: block; }
  .ozo-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--ozo-black);
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 10000;
  }
  .ozo-nav.open { display: flex; }
  .ozo-nav .menu-item a { height: auto; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .ozo-topbar .ozo-container { flex-direction: column; text-align: center; gap: 4px; }
  .ozo-topbar { font-size: .72rem; }
  .ozo-footer-grid { grid-template-columns: 1fr; }
}
/* === Kontaktų puslapis - pagal originalų ozopadangos3 dizainą === */
.ozo-contact-items { display: flex; flex-direction: column; gap: 24px; }
.ozo-contact-item { display: flex; align-items: flex-start; gap: 14px; }
.ozo-contact-item-icon {
  width: 40px; height: 40px;
  background: #3A2660;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ozo-contact-item-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7B6F8E;
  margin-bottom: 4px;
}
.ozo-contact-item-value {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: #1B0A2E;
  text-decoration: none;
  margin-bottom: 2px;
}
a.ozo-contact-item-value:hover { color: #FF6B35; }

/* Forma */
.ozo-contact-form { display: flex; flex-direction: column; gap: 16px; }
.ozo-contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ozo-contact-form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1B0A2E;
  margin-bottom: 8px;
}
.ozo-contact-form-group input,
.ozo-contact-form-group textarea,
.ozo-contact-form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #E4DFEC;
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: #1B0A2E;
  transition: border-color 0.2s ease;
}
.ozo-contact-form-group input:focus,
.ozo-contact-form-group textarea:focus,
.ozo-contact-form-group select:focus {
  outline: none;
  border-color: #FF6B35;
}
.ozo-contact-form-group textarea { resize: vertical; min-height: 110px; }

.ozo-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: #FF6B35;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
  margin-top: 8px;
}
.ozo-contact-submit:hover { background: #E55A2B; }

/* Mobile */
@media (max-width: 992px) {
  .ozo-contact-form-row { grid-template-columns: 1fr; }
}
/* === Naudotos padangos: catalog "Skambinti" mygtukas === */
.ozo-btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: #1B0A2E;
  color: #fff;
  border-radius: 10px;
  flex-shrink: 0;
}
.ozo-product-card:hover .ozo-btn-call { background: #FF6B35; }

/* === Single product page: CTA dėžutė vietoj add-to-cart === */
.ozo-used-cta {
  margin: 24px 0;
  padding: 24px;
  background: #F5F3F8;
  border: 2px solid #E4DFEC;
  border-radius: 14px;
}
.ozo-used-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #FF6B35;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.ozo-used-cta-text {
  margin: 0 0 18px;
  color: #1B0A2E;
  font-size: 14px;
  line-height: 1.5;
}
.ozo-used-cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ozo-used-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #fff;
  border: 2px solid #1B0A2E;
  color: #1B0A2E;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ozo-used-cta-btn:hover {
  background: #1B0A2E;
  color: #fff;
  text-decoration: none;
}
.ozo-used-cta-btn-primary {
  background: #FF6B35;
  border-color: #FF6B35;
  color: #fff;
}
.ozo-used-cta-btn-primary:hover {
  background: #E55A2B;
  border-color: #E55A2B;
  color: #fff;
}
.ozo-used-cta-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #7B6F8E;
  border-top: 1px solid #E4DFEC;
  padding-top: 14px;
}
@media (max-width: 600px) {
  .ozo-used-cta-buttons { flex-direction: column; }
  .ozo-used-cta-btn { justify-content: center; }
}

/* === Checkout: Įmonės rekvizitai === */
.ozo-company-section {
  margin: 16px 0 8px;
  padding: 16px 18px;
  background: #f0f0f0;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
}
.ozo-company-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 0;
}
.ozo-company-toggle-label input[type='checkbox'] {
  width: 18px; height: 18px;
  accent-color: #FF6B35;
  cursor: pointer;
  margin: 0;
}
.ozo-company-fields {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #d9d9d9;
}
.ozo-company-summary { margin-top: 24px; }
.ozo-company-summary h2 {
  font-size: 1.1rem; font-weight: 700; color: #1B0A2E; margin-bottom: 8px;
}

/* Paslepti šalies lauko wrapper'į (jei WC vis tiek paliko) */
.woocommerce-checkout p.form-row.ozo-hidden-field,
.woocommerce form .form-row.ozo-hidden-field { display: none !important; }

/* WC content-box full-width margin */
.woocommerce-content-box.full-width {
  margin: 20px;
}

/* Antraščių dydis visoje svetainėje (26px) — H2 + H3 + Fusion Title elementai */
h2,
h3,
.entry-content h2,
.entry-content h3,
.woocommerce h2,
.woocommerce h3,
.fusion-text h2,
.fusion-text h3,
.fusion-title h2,
.fusion-title h3,
.fusion-title .title-heading-left,
.fusion-title .title-heading-center,
.fusion-title .title-heading-right,
.fusion-title-size-two,
.fusion-title-size-two h2,
.fusion-title-size-three,
.fusion-title-size-three h3,
.title-heading-left,
.title-heading-center,
.title-heading-right,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
.woocommerce-account .woocommerce-MyAccount-content h3,
#order_review_heading,
#customer_details h3,
body .fusion-title h2[style],
body .fusion-title h3[style] {
  font-size: 26px !important;
  line-height: 1.3 !important;
}

/* ========== CHECKOUT — mobile fix (TIK checkout, ne cart) ==========
   Avada Fusion Builder kartais nepilnai stack'ina columns ant mobile.
*/
@media screen and (max-width: 640px) {
  .woocommerce-checkout .fusion-builder-row,
  .woocommerce-account .fusion-builder-row {
    flex-direction: column !important;
  }
  .woocommerce-checkout .fusion-layout-column,
  .woocommerce-account .fusion-layout-column {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* WC formų stulpeliai */
  .woocommerce form.checkout #customer_details .col-1,
  .woocommerce form.checkout #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px;
  }

  /* CART — kupono blokas 95% plotis, centruotas */
  .woocommerce-cart .shipping-coupon,
  .woocommerce-cart .avada-coupon-fields,
  .woocommerce-cart .coupon {
    width: 95% !important;
    max-width: 95% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }
  .woocommerce-cart .coupon input[type="text"],
  .woocommerce-cart .coupon #coupon_code {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px;
  }
  .woocommerce-cart .coupon button[type="submit"] {
    width: 100% !important;
  }
}
