/*
Theme Name: Tus Vitaminas
Theme URI: https://tusvitaminas.com.co
Author: Tus Vitaminas
Author URI: https://tusvitaminas.com.co
Description: Tema personalizado para la tienda Tus Vitaminas.
Version: 1.7
Text Domain: tus-vitaminas
*/

:root{
  --tv-bg:#f7f2e9;
  --tv-white:#ffffff;
  --tv-text:#1d1d1d;
  --tv-muted:#6b6b6b;
  --tv-accent:#6f9435;
  --tv-accent-dark:#587728;
  --tv-accent-soft:#edf3e2;
  --tv-beige:#efe7d7;
  --tv-border:#e4dccf;
  --tv-max:1320px;
  --tv-radius:18px;
  --tv-shadow:0 14px 35px rgba(0,0,0,.06);
}

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

html,
body{
  margin:0;
  padding:0;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  color:var(--tv-text);
  background:var(--tv-bg);
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

.tv-container,
.tv-site-container{
  width:100%;
  max-width:var(--tv-max);
  margin:0 auto;
  padding:0 20px;
}

.tv-card{
  background:var(--tv-white);
  border:1px solid var(--tv-border);
  border-radius:var(--tv-radius);
  box-shadow:var(--tv-shadow);
}

.tv-btn,
.tv-cart-link,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #review_form #respond .form-submit input{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border:none;
  border-radius:14px;
  background:var(--tv-accent);
  color:#fff !important;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
}

.tv-btn:hover,
.tv-cart-link:hover,
.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #review_form #respond .form-submit input:hover{
  background:var(--tv-accent-dark);
}

.tv-btn-outline{
  background:#fff;
  color:var(--tv-text) !important;
  border:1px solid var(--tv-border);
}

.tv-btn-outline:hover{
  background:var(--tv-beige);
}

/* TOP BAR + HEADER */
.tv-site-topbar{
  background:#171717;
  color:#fff;
  font-size:13px;
}

.tv-site-topbar-inner{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.tv-site-topbar-text{
  opacity:.94;
}

.tv-site-topbar-link{
  font-weight:700;
  color:#fff;
}

.tv-site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid #ece5d8;
  backdrop-filter:blur(10px);
}

.admin-bar .tv-site-header{
  top:32px;
}

.tv-site-header-inner{
  min-height:88px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:34px;
}

.tv-site-brand-wrap{
  display:flex;
  align-items:center;
}

.tv-site-brand{
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.tv-site-brand .custom-logo-link{
  display:block;
  line-height:0;
}

.tv-site-brand .custom-logo{
  max-height:56px;
  width:auto;
}

.tv-site-brand-name{
  display:inline-block;
  font-size:20px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.4px;
  color:var(--tv-text);
  white-space:nowrap;
}

.tv-site-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:32px;
  min-width:0;
}

.tv-site-nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:88px;
  font-size:15px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.18px;
  color:var(--tv-text);
  white-space:nowrap;
}

.tv-site-nav-link::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  border-radius:999px;
  background:var(--tv-text);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .22s ease;
}

.tv-site-nav-link:hover,
.tv-site-nav-link.is-current,
.tv-site-nav-item.is-current > .tv-site-nav-link{
  color:var(--tv-text);
}

.tv-site-nav-link:hover::after,
.tv-site-nav-link.is-current::after,
.tv-site-nav-item.is-current > .tv-site-nav-link::after{
  transform:scaleX(1);
}

.tv-site-nav-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:2px;
}

.tv-site-drop-toggle{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
  border:none;
  background:transparent;
  color:var(--tv-text);
  cursor:pointer;
}

.tv-site-drop-toggle svg{
  width:16px;
  height:16px;
  transition:transform .22s ease;
}

.tv-site-nav-item.is-open .tv-site-drop-toggle svg{
  transform:rotate(180deg);
}

.tv-site-drop-panel{
  position:absolute;
  top:calc(100% - 6px);
  left:50%;
  transform:translateX(-50%);
  min-width:260px;
  background:#fff;
  border:1px solid var(--tv-border);
  border-radius:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.08);
  padding:12px;
  z-index:1000;
  display:none;
}

.tv-site-nav-item.is-open .tv-site-drop-panel{
  display:block;
}

.tv-site-drop-panel a{
  display:block;
  padding:11px 12px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
  color:var(--tv-text);
}

.tv-site-drop-panel a:hover{
  background:#f5efe4;
  color:var(--tv-accent-dark);
}

.tv-site-actions{
  display:flex;
  align-items:center;
  justify-self:end;
  gap:12px;
  padding-left:24px;
  border-left:1px solid #e5decf;
}

.tv-site-btn,
.tv-site-cart,
.tv-mobile-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.tv-site-btn{
  min-height:46px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid #dccfb8;
  background:#fff;
  color:var(--tv-text);
  font-size:15px;
  font-weight:800;
}

.tv-site-btn:hover{
  background:#f7f2e9;
}

.tv-site-cart{
  position:relative;
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  color:var(--tv-text);
}

.tv-site-cart:hover{
  background:#f7f2e9;
}

.tv-site-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.tv-site-icon svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.tv-site-cart-badge{
  position:absolute;
  top:3px;
  right:1px;
  min-width:16px;
  height:16px;
  padding:0 4px;
  border-radius:999px;
  background:var(--tv-accent);
  color:#fff;
  font-size:10px;
  line-height:16px;
  font-weight:800;
  text-align:center;
}

.tv-site-cart-text{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.tv-site-burger{
  display:none;
  width:46px;
  height:46px;
  padding:0;
  border:1px solid #ded4c3;
  border-radius:14px;
  background:#fff;
  color:var(--tv-text);
  cursor:pointer;
  position:relative;
}

.tv-site-burger span{
  position:absolute;
  left:12px;
  width:20px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .22s ease, opacity .22s ease, top .22s ease;
}

.tv-site-burger span:nth-child(1){ top:15px; }
.tv-site-burger span:nth-child(2){ top:22px; }
.tv-site-burger span:nth-child(3){ top:29px; }

.tv-site-burger.is-active span:nth-child(1){ top:22px; transform:rotate(45deg); }
.tv-site-burger.is-active span:nth-child(2){ opacity:0; }
.tv-site-burger.is-active span:nth-child(3){ top:22px; transform:rotate(-45deg); }

.tv-mobile-panel{
  display:none;
  border-top:1px solid #eee6d9;
  background:#fff;
  box-shadow:0 18px 30px rgba(0,0,0,.05);
}

.tv-mobile-panel.is-open{
  display:block;
}

.tv-mobile-panel-inner{
  padding:18px 0 22px;
}

.tv-mobile-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.tv-mobile-link-row,
.tv-mobile-drop-link,
.tv-mobile-drop-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding:0 16px;
  border:1px solid #ebe2d5;
  border-radius:16px;
  background:#fff;
  color:var(--tv-text);
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16px;
}

.tv-mobile-link-row.is-current,
.tv-mobile-drop.is-current .tv-mobile-drop-link{
  border-color:#d8ccb8;
  background:#faf6ef;
}

.tv-mobile-drop-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 48px;
  gap:8px;
}

.tv-mobile-drop-toggle{
  justify-content:center;
  padding:0;
}

.tv-mobile-drop-toggle svg{
  width:16px;
  height:16px;
  transition:transform .22s ease;
}

.tv-mobile-drop.is-open .tv-mobile-drop-toggle svg{
  transform:rotate(180deg);
}

.tv-mobile-drop-panel{
  display:none;
  padding:8px 0 4px 10px;
}

.tv-mobile-drop.is-open .tv-mobile-drop-panel{
  display:block;
}

.tv-mobile-drop-panel a{
  display:block;
  padding:10px 14px;
  border-radius:12px;
  color:var(--tv-text);
  font-size:14px;
  font-weight:700;
}

.tv-mobile-drop-panel a:hover{
  background:var(--tv-beige);
  color:var(--tv-accent-dark);
}

.tv-mobile-extra{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
}

.tv-mobile-link{
  min-height:44px;
  padding:0 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--tv-border);
  color:var(--tv-text);
  font-size:14px;
  font-weight:700;
}

.tv-mobile-link--green{
  background:var(--tv-accent);
  color:#fff;
  border-color:var(--tv-accent);
}

/* HOME SLIDER */

.tv-home-slider{
  padding:28px 0 24px;
}

.tv-home-slider-wrap{
  position:relative;
  background:#fff;
  border:1px solid var(--tv-border);
  border-radius:28px;
  overflow:hidden;
}

.tv-home-slide{
  display:none;
  grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);
  gap:36px;
  align-items:center;
  min-height:540px;
  padding:54px 74px 70px;
}

.tv-home-slide.is-active{
  display:grid;
}

.tv-home-slide-copy{
  max-width:580px;
}

.tv-home-slide-kicker,
.tv-home-chip,
.tv-offer-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:var(--tv-beige);
  color:var(--tv-accent-dark);
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
}

.tv-home-slide-copy h1{
  margin:0 0 16px;
  font-size:clamp(38px,5vw,70px);
  line-height:.96;
  letter-spacing:-1.8px;
  text-transform:uppercase;
  color:#181818;
}

.tv-home-slide-copy p{
  margin:0 0 24px;
  font-size:18px;
  line-height:1.55;
  color:#393939;
  max-width:540px;
}

.tv-home-slide-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.tv-home-slide-mainbtn,
.tv-home-slide-altbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:16px;
  font-size:17px;
  font-weight:800;
}

.tv-home-slide-mainbtn{
  background:var(--tv-accent);
  color:#fff;
}

.tv-home-slide-mainbtn:hover{
  background:var(--tv-accent-dark);
}

.tv-home-slide-altbtn{
  background:#fff;
  color:var(--tv-text);
  border:1px solid var(--tv-border);
}

.tv-home-slide-altbtn:hover{
  background:var(--tv-beige);
}

.tv-home-slide-media{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
}

.tv-home-slide-stage{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:420px;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}

.tv-home-slide-stage::before,
.tv-home-slide-stage::after{
  content:none !important;
}

.tv-home-slide-stage img{
  max-width:100%;
  max-height:430px;
  width:auto;
  height:auto;
  object-fit:contain;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  filter:none !important;
}

.tv-home-slide-pills{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.tv-home-slide-pills span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:210px;
  min-height:56px;
  padding:0 20px;
  border-radius:999px;
  background:#7ea23d;
  color:#fff;
  font-size:17px;
  font-weight:800;
}

.tv-home-slide-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border:none;
  border-radius:999px;
  background:#fff;
  color:#2d2d2d;
  font-size:28px;
  line-height:1;
  box-shadow:0 12px 24px rgba(0,0,0,.12);
  cursor:pointer;
  z-index:5;
}

.tv-home-slide-prev{
  left:18px;
}

.tv-home-slide-next{
  right:18px;
}

.tv-home-slide-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:18px;
  display:flex;
  justify-content:center;
  gap:10px;
  z-index:5;
}

.tv-home-slide-dot{
  width:12px;
  height:12px;
  border:none;
  border-radius:999px;
  background:#d4cabd;
  cursor:pointer;
}

.tv-home-slide-dot.is-active{
  background:var(--tv-accent);
}

/* HOME CONTENT */
.tv-home-stats{
  padding:8px 0 28px;
}

.tv-home-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.tv-home-stat{
  padding:22px;
  text-align:center;
}

.tv-home-stat strong{
  display:block;
  font-size:28px;
  line-height:1;
  margin-bottom:8px;
  color:var(--tv-accent-dark);
}

.tv-home-stat span{
  color:var(--tv-muted);
  font-size:15px;
}

.tv-home-banner{
  padding:8px 0 30px;
}

.tv-home-banner-box{
  padding:30px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
}

.tv-home-banner-box h2{
  margin:0 0 10px;
  font-size:38px;
  line-height:1.08;
}

.tv-home-banner-box p{
  margin:0;
  color:var(--tv-muted);
  font-size:17px;
  max-width:760px;
}

.tv-home-banner-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.tv-section{
  padding:16px 0 34px;
}

.tv-section-title{
  margin:0 0 12px;
  font-size:36px;
  line-height:1.12;
  letter-spacing:-.8px;
}

.tv-section-text{
  margin:0 0 24px;
  max-width:760px;
  color:var(--tv-muted);
  font-size:17px;
}

.tv-categories{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.tv-category-card{
  display:block;
  background:#fff;
  border:1px solid var(--tv-border);
  border-radius:16px;
  padding:22px;
  box-shadow:var(--tv-shadow);
  transition:transform .18s ease;
}

.tv-category-card:hover{
  transform:translateY(-4px);
}

.tv-category-card h3{
  margin:0 0 8px;
  font-size:22px;
}

.tv-category-card p{
  margin:0;
  color:var(--tv-muted);
  font-size:15px;
}

.tv-home-featured-split{
  padding:8px 0 34px;
}

.tv-home-featured-split-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.tv-home-feature-box{
  padding:26px;
}

.tv-home-feature-box h2{
  margin:0 0 10px;
  font-size:32px;
  line-height:1.08;
}

.tv-home-feature-box p{
  margin:0 0 20px;
  color:var(--tv-muted);
  font-size:16px;
}

.tv-home-feature-box .woocommerce ul.products{
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
}

.tv-real-combos{
  padding:10px 0 34px;
}

.tv-real-combos-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.tv-real-combo{
  padding:26px;
}

.tv-real-combo h3{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.12;
}

.tv-real-combo p{
  margin:0 0 18px;
  color:var(--tv-muted);
  font-size:16px;
}

.tv-real-combo-products{
  display:grid;
  gap:12px;
  margin-bottom:18px;
}

.tv-real-combo-item{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid var(--tv-border);
  border-radius:14px;
  background:#fff;
}

.tv-real-combo-item img{
  width:72px;
  height:72px;
  object-fit:contain;
  border-radius:10px;
  background:#fff;
}

.tv-real-combo-item strong{
  display:block;
  font-size:15px;
  line-height:1.15;
  margin-bottom:4px;
}

.tv-real-combo-item span{
  display:block;
  color:var(--tv-muted);
  font-size:13px;
}

.tv-real-combo-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.tv-real-combo-actions .tv-btn,
.tv-real-combo-actions .tv-btn-outline{
  flex:1 1 auto;
}

.tv-home-cta{
  padding:10px 0 36px;
}

.tv-home-cta-box{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  background:#fff;
  border:1px solid var(--tv-border);
  border-radius:18px;
  box-shadow:var(--tv-shadow);
  padding:28px;
}

.tv-home-cta-box h3{
  margin:0 0 8px;
  font-size:32px;
  line-height:1.08;
}

.tv-home-cta-box p{
  margin:0;
  color:var(--tv-muted);
  font-size:16px;
}

/* PAGE */
.tv-page{
  padding:42px 0;
}

.tv-page .entry-title,
.woocommerce-products-header__title.page-title{
  margin:0 0 18px;
  font-size:42px;
  line-height:1.08;
  letter-spacing:-1px;
}

.tv-content-box,
.tv-page .entry-content{
  background:#fff;
  border:1px solid var(--tv-border);
  border-radius:var(--tv-radius);
  box-shadow:var(--tv-shadow);
  padding:30px;
}

/* FOOTER */
.tv-footer{
  margin-top:42px;
  background:#fff;
  border-top:1px solid var(--tv-border);
}

.tv-footer-main{
  padding:34px 0 24px;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:28px;
}

.tv-footer-brand h3{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.05;
}

.tv-footer-brand p{
  margin:0;
  color:var(--tv-muted);
}

.tv-footer-col h4{
  margin:0 0 12px;
  font-size:18px;
}

.tv-footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.tv-footer-links a{
  color:var(--tv-muted);
}

.tv-footer-links a:hover{
  color:var(--tv-text);
}

.tv-footer-bottom{
  border-top:1px solid var(--tv-border);
  padding:18px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:var(--tv-muted);
  font-size:14px;
}

/* WHATSAPP */
.tv-whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:160px;
  min-height:54px;
  padding:0 20px;
  border-radius:999px;
  background:#25D366;
  color:#fff !important;
  font-size:16px;
  font-weight:800;
  box-shadow:0 18px 35px rgba(0,0,0,.18);
}

.tv-whatsapp-float:hover{
  filter:brightness(.94);
}

/* WOOCOMMERCE GRID */
.woocommerce ul.products{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:22px;
  margin:0 !important;
  padding:0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after{
  display:none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  float:none !important;
  width:100% !important;
  margin:0 !important;
  background:#fff;
  border:1px solid var(--tv-border);
  border-radius:16px;
  box-shadow:var(--tv-shadow);
  padding:16px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100%;
}

.woocommerce ul.products li.product a img{
  border-radius:12px;
  margin-bottom:14px !important;
  box-shadow:none !important;
  filter:none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:22px !important;
  line-height:1.15;
  margin-bottom:10px !important;
}

.woocommerce ul.products li.product .price{
  color:var(--tv-accent-dark) !important;
  font-weight:800 !important;
  margin-bottom:14px !important;
}

.woocommerce ul.products li.product .button{
  margin-top:auto !important;
}

/* GENERAL WC */
.woocommerce div.product,
.woocommerce-cart table.cart,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce{
  background:#fff;
  border:1px solid var(--tv-border);
  border-radius:16px;
  box-shadow:var(--tv-shadow);
  padding:24px;
}

.woocommerce .woocommerce-breadcrumb{
  color:var(--tv-muted);
  margin-bottom:18px !important;
}

.woocommerce .quantity .qty{
  min-height:46px;
  border:1px solid var(--tv-border);
  border-radius:12px;
  padding:0 10px;
}

/* RESPONSIVE */
@media (max-width: 1180px){
  .tv-site-header-inner{
    gap:24px;
  }

  .tv-site-brand-name{
    font-size:18px;
  }

  .tv-site-nav{
    gap:22px;
  }

  .tv-site-nav-link{
    font-size:14px;
  }

  .tv-site-actions{
    padding-left:18px;
    gap:10px;
  }

  .tv-home-slide{
    padding:42px 42px 66px;
  }

  .tv-home-banner-box,
  .tv-home-featured-split-grid{
    grid-template-columns:1fr;
  }

  .tv-home-stats-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .tv-categories{
    grid-template-columns:repeat(2,1fr);
  }

  .tv-footer-main{
    grid-template-columns:1fr 1fr;
  }

  .woocommerce ul.products{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px){
  .tv-site-header-inner{
    grid-template-columns:auto 1fr auto;
    gap:14px;
    min-height:78px;
  }

  .tv-site-nav,
  .tv-site-btn{
    display:none;
  }

  .tv-site-actions{
    padding-left:0;
    border-left:none;
    gap:10px;
  }

  .tv-site-cart{
    width:44px;
    height:44px;
  }

  .tv-site-burger{
    display:inline-flex;
  }

  .tv-home-slide{
    grid-template-columns:1fr;
    gap:24px;
    min-height:auto;
  }

  .tv-home-slide-copy{
    max-width:100%;
  }

  .tv-home-slide-media{
    grid-template-columns:1fr;
    justify-items:center;
  }

  .tv-home-slide-pills{
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
  }

  .tv-home-slide-pills span{
    min-width:auto;
    min-height:48px;
    padding:0 16px;
    font-size:15px;
  }

  .tv-real-combos-grid,
  .tv-home-cta-box{
    grid-template-columns:1fr;
  }

  .tv-home-feature-box .woocommerce ul.products{
    grid-template-columns:1fr !important;
  }

  .tv-footer-main{
    grid-template-columns:1fr;
  }

  .woocommerce ul.products{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px){
  .admin-bar .tv-site-header{
    top:46px;
  }
}

@media (max-width: 640px){
  .tv-container,
  .tv-site-container{
    padding:0 14px;
  }

  .tv-site-topbar-inner{
    flex-direction:column;
    justify-content:center;
    padding:8px 0;
    text-align:center;
    font-size:12px;
  }

  .tv-site-header-inner{
    min-height:72px;
  }

  .tv-site-brand{
    gap:10px;
  }

  .tv-site-brand .custom-logo{
    max-height:42px;
  }

  .tv-site-brand-name{
    font-size:16px;
    white-space:nowrap;
  }

  .tv-site-cart{
    width:42px;
    height:42px;
  }

  .tv-site-cart-badge{
    top:2px;
    right:0;
  }

  .tv-site-burger{
    width:42px;
    height:42px;
  }

  .tv-site-burger span{
    left:11px;
    width:18px;
  }

  .tv-mobile-extra{
    grid-template-columns:1fr;
  }

  .tv-home-slider{
    padding-top:18px;
  }

  .tv-home-slider-wrap{
    border-radius:22px;
  }

  .tv-home-slide{
    padding:22px 18px 56px;
  }

  .tv-home-slide-copy h1{
    font-size:34px;
    line-height:1.04;
    letter-spacing:-1px;
  }

  .tv-home-slide-copy p{
    font-size:15px;
  }

  .tv-home-slide-actions,
  .tv-home-banner-actions,
  .tv-real-combo-actions{
    flex-direction:column;
  }

  .tv-home-slide-mainbtn,
  .tv-home-slide-altbtn,
  .tv-real-combo-actions .tv-btn,
  .tv-real-combo-actions .tv-btn-outline{
    width:100%;
  }

  .tv-home-slide-stage{
    min-height:280px;
  }

  .tv-home-slide-stage img{
    max-height:310px;
  }

  .tv-home-slide-pills{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    width:100%;
  }

  .tv-home-slide-pills span{
    width:100%;
    font-size:14px;
  }

  .tv-home-slide-arrow{
    width:42px;
    height:42px;
    font-size:24px;
  }

  .tv-home-stats-grid,
  .tv-categories,
  .woocommerce ul.products{
    grid-template-columns:1fr;
  }

  .tv-home-banner-box,
  .tv-home-feature-box,
  .tv-real-combo,
  .tv-home-cta-box,
  .tv-content-box,
  .tv-page .entry-content{
    padding:22px;
  }

  .tv-home-banner-box h2,
  .tv-section-title,
  .tv-home-feature-box h2,
  .tv-home-cta-box h3,
  .tv-page .entry-title,
  .woocommerce-products-header__title.page-title{
    font-size:30px;
  }

  .tv-whatsapp-float{
    min-width:unset;
    min-height:52px;
    padding:0 18px;
    right:14px;
    bottom:14px;
  }
}


/* ===== HEADER FIX V3 ===== */
body.tv-mobile-menu-open{
  overflow:hidden;
}

.tv-site-topbar{
  background:#171717;
  color:#fff;
  font-size:14px;
}

.tv-site-topbar-inner{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.tv-site-topbar-text,
.tv-site-topbar-link{
  color:#fff;
}

.tv-site-topbar-link{
  font-weight:700;
}

.tv-site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid #ece3d6;
  backdrop-filter:blur(10px);
}

.admin-bar .tv-site-header{
  top:32px;
}

.tv-site-header-inner{
  min-height:88px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:30px;
}

.tv-site-brand-wrap{
  display:flex;
  align-items:center;
  min-width:0;
}

.tv-site-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.tv-site-brand-logo,
.tv-site-brand-logo .custom-logo-link{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  line-height:0;
}

.tv-site-brand-logo img,
.tv-site-brand-logo .custom-logo,
.tv-site-brand img.custom-logo{
  width:auto !important;
  height:auto !important;
  max-width:170px !important;
  max-height:54px !important;
}

.tv-site-brand-name{
  display:inline-block;
  font-size:18px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.2px;
  color:var(--tv-text);
  white-space:nowrap;
}

.tv-site-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  min-width:0;
}

.tv-site-nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:88px;
  font-size:14px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.18px;
  white-space:nowrap;
  color:var(--tv-text);
}

.tv-site-nav-link::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  border-radius:999px;
  background:var(--tv-text);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .2s ease;
}

.tv-site-nav-link:hover::after,
.tv-site-nav-link.is-current::after,
.tv-site-nav-item.is-current > .tv-site-nav-link::after{
  transform:scaleX(1);
}

.tv-site-nav-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:3px;
}

.tv-site-drop-toggle{
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
  border:none;
  background:transparent;
  color:var(--tv-text);
  cursor:pointer;
}

.tv-site-drop-toggle svg{
  width:14px;
  height:14px;
  transition:transform .2s ease;
}

.tv-site-nav-item.is-open .tv-site-drop-toggle svg{
  transform:rotate(180deg);
}

.tv-site-drop-panel{
  position:absolute;
  top:calc(100% - 6px);
  left:50%;
  transform:translateX(-50%);
  min-width:240px;
  padding:10px;
  border:1px solid var(--tv-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 16px 34px rgba(0,0,0,.08);
  z-index:1001;
  display:none;
}

.tv-site-nav-item.is-open .tv-site-drop-panel{
  display:block;
}

.tv-site-drop-panel a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
  color:var(--tv-text);
}

.tv-site-drop-panel a:hover{
  background:#f5efe4;
  color:var(--tv-accent-dark);
}

.tv-site-actions{
  display:flex;
  align-items:center;
  justify-self:end;
  gap:12px;
}

.tv-site-cart,
.tv-site-btn,
.tv-mobile-link{
  text-decoration:none;
}

.tv-site-cart{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px !important;
  height:46px !important;
  padding:0 !important;
  border-radius:999px;
  border:1px solid #ded4c3;
  background:#fff;
  color:var(--tv-text);
}

.tv-site-cart:hover{
  background:#f7f2e9;
}

.tv-site-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.tv-site-icon svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.tv-site-cart-badge{
  position:absolute;
  top:-3px;
  right:-3px;
  min-width:18px;
  height:18px;
  padding:0 4px;
  border-radius:999px;
  background:var(--tv-accent);
  color:#fff;
  font-size:10px;
  line-height:18px;
  font-weight:800;
  text-align:center;
}

.tv-site-cart-text{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.tv-site-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border-radius:14px;
  border:1px solid #ded4c3;
  background:#fff;
  color:var(--tv-text) !important;
  font-size:15px;
  font-weight:800;
}

.tv-site-btn:hover{
  background:#f7f2e9;
}

.tv-site-burger{
  display:none;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid #ded4c3;
  border-radius:14px;
  background:#fff;
  color:var(--tv-text);
  cursor:pointer;
  position:relative;
}

.tv-site-burger span{
  position:absolute;
  left:12px;
  width:20px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .22s ease, opacity .22s ease, top .22s ease;
}

.tv-site-burger span:nth-child(1){ top:14px; }
.tv-site-burger span:nth-child(2){ top:21px; }
.tv-site-burger span:nth-child(3){ top:28px; }

.tv-site-burger.is-active span:nth-child(1){ top:21px; transform:rotate(45deg); }
.tv-site-burger.is-active span:nth-child(2){ opacity:0; }
.tv-site-burger.is-active span:nth-child(3){ top:21px; transform:rotate(-45deg); }

.tv-mobile-panel{
  display:none;
  border-top:1px solid #eee6d9;
  background:#fff;
}

.tv-mobile-panel.is-open{
  display:block;
}

.tv-mobile-panel-inner{
  padding:14px 0 18px;
}

.tv-mobile-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.tv-mobile-link-row,
.tv-mobile-drop-head,
.tv-mobile-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding:0 14px;
  border:1px solid #e7dccb;
  border-radius:14px;
  background:#fff;
  color:var(--tv-text);
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.18px;
}

.tv-mobile-drop{
  border:1px solid #e7dccb;
  border-radius:14px;
  background:#fff;
}

.tv-mobile-drop-head{
  border:none;
  border-radius:14px;
}

.tv-mobile-drop-link{
  display:flex;
  align-items:center;
  min-height:48px;
  flex:1 1 auto;
  color:var(--tv-text);
}

.tv-mobile-drop-toggle{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:none;
  background:transparent;
  color:var(--tv-text);
  padding:0;
}

.tv-mobile-drop-toggle svg{
  width:16px;
  height:16px;
  transition:transform .2s ease;
}

.tv-mobile-drop.is-open .tv-mobile-drop-toggle svg{
  transform:rotate(180deg);
}

.tv-mobile-drop-panel{
  display:none;
  padding:0 10px 10px;
}

.tv-mobile-drop.is-open .tv-mobile-drop-panel{
  display:block;
}

.tv-mobile-drop-panel a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
  color:var(--tv-text);
}

.tv-mobile-drop-panel a:hover{
  background:#f5efe4;
  color:var(--tv-accent-dark);
}

.tv-mobile-extra{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}

.tv-mobile-link{
  justify-content:center;
  font-size:13px;
  text-transform:none;
}

.tv-mobile-link--green{
  background:var(--tv-accent);
  border-color:var(--tv-accent);
  color:#fff;
}

@media (max-width: 1180px){
  .tv-site-header-inner{
    gap:22px;
  }

  .tv-site-nav{
    gap:24px;
  }

  .tv-site-nav-link{
    font-size:13px;
  }

  .tv-site-brand-name{
    font-size:17px;
  }
}

@media (max-width: 980px){
  .tv-site-header-inner{
    grid-template-columns:auto 1fr auto;
    min-height:76px;
    gap:14px;
  }

  .tv-site-nav,
  .tv-site-btn{
    display:none;
  }

  .tv-site-burger{
    display:inline-flex;
  }

  .tv-site-actions{
    gap:10px;
  }
}

@media (max-width: 782px){
  .admin-bar .tv-site-header{
    top:46px;
  }
}

@media (max-width: 640px){
  .tv-site-container{
    padding:0 14px;
  }

  .tv-site-topbar-inner{
    flex-direction:column;
    justify-content:center;
    gap:4px;
    padding:8px 0;
    text-align:center;
    font-size:12px;
  }

  .tv-site-brand{
    gap:10px;
  }

  .tv-site-brand-logo img,
  .tv-site-brand-logo .custom-logo,
  .tv-site-brand img.custom-logo{
    max-height:42px !important;
    max-width:130px !important;
  }

  .tv-site-brand-name{
    font-size:16px;
  }

  .tv-mobile-extra{
    grid-template-columns:1fr;
  }
}

/* SAFE SHOP MOBILE TUNING */
@media (max-width: 640px){
  .post-type-archive-product .tv-shop-page-clean,
  .tax-product_cat .tv-shop-page-clean,
  .tax-product_tag .tv-shop-page-clean{
    padding-top:18px;
  }

  .post-type-archive-product .tv-shop-toolbar,
  .tax-product_cat .tv-shop-toolbar,
  .tax-product_tag .tv-shop-toolbar{
    padding:14px;
    margin-bottom:14px;
    border-radius:14px;
    box-shadow:none;
  }

  .post-type-archive-product .tv-shop-grid-wrap,
  .tax-product_cat .tv-shop-grid-wrap,
  .tax-product_tag .tv-shop-grid-wrap{
    padding:0;
    background:transparent;
    border:none;
    box-shadow:none;
  }

  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }

  .post-type-archive-product .woocommerce ul.products li.product,
  .tax-product_cat .woocommerce ul.products li.product,
  .tax-product_tag .woocommerce ul.products li.product,
  .post-type-archive-product .woocommerce-page ul.products li.product,
  .tax-product_cat .woocommerce-page ul.products li.product,
  .tax-product_tag .woocommerce-page ul.products li.product{
    padding:12px;
    border-radius:16px;
    min-height:100%;
    box-shadow:none;
  }

  .post-type-archive-product .woocommerce ul.products li.product a img,
  .tax-product_cat .woocommerce ul.products li.product a img,
  .tax-product_tag .woocommerce ul.products li.product a img{
    max-height:140px;
    width:100%;
    object-fit:contain;
    margin-bottom:10px !important;
  }

  .post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size:16px !important;
    line-height:1.2;
    margin-bottom:8px !important;
  }

  .post-type-archive-product .woocommerce ul.products li.product .price,
  .tax-product_cat .woocommerce ul.products li.product .price,
  .tax-product_tag .woocommerce ul.products li.product .price{
    font-size:14px !important;
    margin-bottom:0 !important;
  }

  .post-type-archive-product .woocommerce ul.products li.product .button,
  .tax-product_cat .woocommerce ul.products li.product .button,
  .tax-product_tag .woocommerce ul.products li.product .button{
    display:none !important;
  }

  .post-type-archive-product .woocommerce .woocommerce-result-count,
  .tax-product_cat .woocommerce .woocommerce-result-count,
  .tax-product_tag .woocommerce .woocommerce-result-count{
    display:none;
  }

  .post-type-archive-product .woocommerce .woocommerce-ordering,
  .tax-product_cat .woocommerce .woocommerce-ordering,
  .tax-product_tag .woocommerce .woocommerce-ordering{
    width:100%;
  }

  .post-type-archive-product .woocommerce .woocommerce-ordering select,
  .tax-product_cat .woocommerce .woocommerce-ordering select,
  .tax-product_tag .woocommerce .woocommerce-ordering select{
    width:100%;
    min-height:48px;
    border:1px solid var(--tv-border);
    border-radius:12px;
    background:#fff;
    padding:0 14px;
    font-size:16px;
  }
}
