/* TV Ekipman Modern UI v6.6 — Homepage v2 only, no font-family override.
   White/light photo stage deliberately blends white-background JPEG uploads.
   Does not attempt to make JPEGs transparent. */

/* Shared visibility: upgrade the approved v6.5 mobile vitrine to responsive desktop. */
@media screen and (min-width:768px){
  body.tve-modern-ui.tvemui-v64-home .tvemui64-mobile-only {display:block!important;}
  body.tve-modern-ui.tvemui-v64-home:has(.tvemui64-hero) .home-v2-slider,
  body.tve-modern-ui.tvemui-v64-home:has(.tvemui64-hero) .home-v2-da-block,
  body.tve-modern-ui.tvemui-v64-home:has(.tvemui64-hero) .home-v2-banner-block,
  body.tve-modern-ui.tvemui-v64-home:has(.tvemui64-bestsellers) .section-product-cards-carousel {display:none!important;}
}
/* Mobile old sections are hidden by the vetted v6.5 stylesheet with :has fallback. */
body.tve-modern-ui.tvemui-v64-home:has(.tvemui64-hero) .tvemui64-hero-top {justify-content:flex-end;min-height:20px;}
body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-counter {font-variant-numeric:tabular-nums;}
body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image,
body.tve-modern-ui.tvemui-v64-home a.tvemui64-product-img {
  background:#fff!important;
  background-image:none!important;
  border:1px solid rgba(27,70,49,.075);
  box-shadow:0 9px 26px rgba(0,0,0,.13);
}
body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image img,
body.tve-modern-ui.tvemui-v64-home a.tvemui64-product-img img {
  display:block!important;filter:none!important;mix-blend-mode:normal!important;
  max-width:100%!important;object-fit:contain!important;
}
body.tve-modern-ui.tvemui-v64-home a.tvemui64-product-img {
  box-shadow:none;
  border:0;
  border-bottom:1px solid #edf2ed;
  padding:16px;
}
body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image {
  padding:13px;box-sizing:border-box;
}
body.tve-modern-ui.tvemui-v64-home .tvemui64-primary-link {
  transition:background-color .15s ease,transform .15s ease;
}
body.tve-modern-ui.tvemui-v64-home .tvemui64-primary-link:hover {transform:translateY(-1px);}

@media screen and (max-width:767.98px) {
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero {background:linear-gradient(135deg,#193d30,#102b23 80%)!important;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image {
    width:100%!important;max-width:100%!important;
    min-height:179px;height:179px;
    margin:14px 0 0!important;border-radius:17px;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image img {
    max-height:151px!important;max-width:min(100%,315px)!important;
  }
  body.tve-modern-ui.tvemui-v64-home a.tvemui64-product-img {background-color:#fff!important;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-track {margin-top:7px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-card {box-shadow:0 7px 19px rgba(24,56,32,.075)!important;}
}
@media screen and (min-width:768px){
  body.tve-modern-ui.tvemui-v64-home #main.site-main {min-width:0;max-width:100%;}
  body.tve-modern-ui.tvemui-v64-home #main > .tvemui64-mobile-only {box-sizing:border-box;width:100%;min-width:0;max-width:100%;clear:both;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero {
    position:relative;box-sizing:border-box;isolation:isolate;overflow:hidden;
    margin:16px 0 32px!important;padding:21px 30px 20px;
    border-radius:26px;color:#f8fff9;
    background:linear-gradient(116deg,#13372c 0%,#123e31 55%,#0d2f27 100%);
    box-shadow:0 18px 35px rgba(8,37,23,.10);
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero::before {
    content:'';position:absolute;right:-110px;top:-160px;width:600px;height:600px;
    border-radius:50%;border:95px solid rgba(198,246,195,.042);pointer-events:none;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-top,
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-bottom {
    position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;
    gap:12px;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-counter {
    color:rgba(238,255,245,.63);letter-spacing:.07em;font-weight:750;font-size:12px;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-counter strong {font-size:17px;color:#fff;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-track {
    display:flex;overflow-x:auto;overflow-y:hidden;box-sizing:border-box;min-width:0;max-width:100%;
    scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;
    overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
    touch-action:pan-x pan-y;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-track::-webkit-scrollbar,
  body.tve-modern-ui.tvemui-v64-home .tvemui64-category-track::-webkit-scrollbar {display:none;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-track {gap:18px;margin:0 0 14px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-slide {
    display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);
    gap:30px;align-items:center;box-sizing:border-box;
    flex:0 0 100%;scroll-snap-align:start;min-width:0;
    min-height:338px;padding:9px 0;color:#fff;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-copy {
    display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
    min-width:0;position:relative;z-index:2;gap:0;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-eyebrow {
    font-size:11px;line-height:1.4;letter-spacing:.15em;font-weight:750;
    color:#c0eebc;margin-bottom:17px;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero h2 {
    max-width:100%!important;min-width:0;margin:0!important;padding:0!important;
    font-size:clamp(29px,3.4vw,53px)!important;line-height:1.10!important;
    font-weight:800!important;letter-spacing:-.045em;
    color:#fff!important;overflow-wrap:break-word;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-price {
    display:block;margin:22px 0 23px!important;
    font-size:clamp(22px,2.5vw,32px)!important;font-weight:800!important;line-height:1.22!important;
    color:#e3f9d7!important;overflow-wrap:anywhere;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-price .amount,
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-price .woocommerce-Price-amount {color:inherit!important;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-price del {font-size:.69em;opacity:.6;margin-right:8px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-primary-link {
    display:inline-flex;align-items:center;justify-content:center;gap:9px;
    padding:13px 19px;border-radius:999px;text-decoration:none!important;
    background:#c6edb8;color:#173b2a!important;
    font-size:14px;line-height:1.3;font-weight:800;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-primary-link:hover {background:#fff;color:#173b2a!important;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image {
    display:flex;justify-content:center;align-items:center;
    width:100%;max-width:100%;min-height:300px;height:300px;
    border-radius:25px;margin:0;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image img {
    display:block!important;width:auto!important;height:auto!important;
    max-width:100%!important;max-height:272px!important;margin:0 auto!important;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-bottom {
    border-top:1px solid rgba(219,246,229,.15);padding-top:13px;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-bottom > span {
    color:#c6d9c9;font-size:12px;letter-spacing:.02em;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-arrows {display:inline-flex;align-items:center;gap:9px;}
  body.tve-modern-ui.tvemui-v64-home button.tvemui64-arrow {
    display:inline-flex!important;justify-content:center;align-items:center;
    width:41px;height:41px;min-width:41px;
    padding:0!important;margin:0!important;
    background:rgba(255,255,255,.12)!important;border:1px solid rgba(235,255,239,.22)!important;
    border-radius:50%!important;color:#fff!important;
    font-size:27px!important;line-height:1!important;box-shadow:none!important;
    cursor:pointer;-webkit-appearance:none;appearance:none;
  }
  body.tve-modern-ui.tvemui-v64-home button.tvemui64-arrow:disabled {opacity:.28;cursor:default;}
  body.tve-modern-ui.tvemui-v64-home button.tvemui64-arrow:focus-visible {outline:2px solid #bfe5b7;outline-offset:3px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-category-wrap {margin:6px 0 33px;position:relative;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-section-head {
    display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-section-head h2 {
    margin:0!important;font-size:clamp(21px,2vw,27px)!important;font-weight:800!important;
    line-height:1.2!important;letter-spacing:-.035em;color:#24352b!important;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-section-head > span {font-size:12px;color:#84938a;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-category-track {
    display:flex;gap:9px;align-items:center;flex-wrap:wrap;
    min-width:0;margin:0;padding:0;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-category-link {
    display:inline-flex;align-items:center;gap:8px;flex:none;
    border-radius:12px;padding:12px 16px!important;
    background:#f7faf7;color:#234f35!important;border:1px solid #dfeadf;
    font-size:13px;line-height:1.25;font-weight:700;text-decoration:none!important;
    transition:background-color .15s ease,border-color .15s ease;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-category-link:hover {background:#e8f3e6;border-color:#b7d5b6;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-cat-dot {display:inline-block;width:7px;height:7px;border-radius:50%;background:#518c56;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-bestsellers {position:relative;margin:3px 0 39px;overflow:hidden;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-small-label {
    display:block;margin-bottom:7px;font-size:11px;font-weight:800;color:#519055;letter-spacing:.13em;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-bestsellers button.tvemui64-arrow {
    background:#fff!important;color:#285d33!important;border:1px solid #dbe8df!important;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-products-track {gap:15px;padding:2px 1px 18px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-card {
    flex:0 0 calc((100% - 30px) / 3);
    min-width:0;width:calc((100% - 30px) / 3);
    display:flex;flex-direction:column;box-sizing:border-box;
    scroll-snap-align:start;
    border:1px solid #e5ede6;border-radius:18px;overflow:hidden;
    background:#fff;box-shadow:0 7px 24px rgba(20,50,29,.065);
  }
  body.tve-modern-ui.tvemui-v64-home a.tvemui64-product-img {
    height:220px;display:flex;align-items:center;justify-content:center;
    text-decoration:none!important;background:#fff!important;padding:16px;
  }
  body.tve-modern-ui.tvemui-v64-home a.tvemui64-product-img img {
    width:auto!important;height:auto!important;max-width:100%!important;
    max-height:187px!important;position:static!important;float:none!important;margin:0 auto!important;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-content {
    display:flex;flex-direction:column;flex:1;min-width:0;gap:9px;padding:15px 16px 16px;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-cat {font-size:11px;font-weight:700;color:#6a8874;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-content h3 {
    margin:0!important;line-height:1.4!important;font-size:15px!important;
    font-weight:750!important;letter-spacing:-.015em;color:#26352b!important;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:63px;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-content h3 a {color:inherit!important;text-decoration:none!important;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-foot {
    display:flex;align-items:flex-end;justify-content:space-between;gap:10px;min-width:0;margin-top:auto;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-price {
    font-size:14px;font-weight:800;line-height:1.4;color:#285d33;min-width:0;overflow-wrap:anywhere;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-price del {display:block;opacity:.65;font-size:.83em;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-detail-link {
    display:inline-flex;flex:none;justify-content:center;align-items:center;
    width:38px;height:38px;background:#e8f3e6;color:#2c6338!important;
    border-radius:11px;text-decoration:none!important;
  }
  body.tve-modern-ui.tvemui-v64-home .tvemui64-detail-link:hover {background:#d4ebd2;}
  body.tve-modern-ui.tvemui-v64-home #main .section-products-carousel header h2,
  body.tve-modern-ui.tvemui-v64-home #main .section-products-carousel-tabs header h2 {
    color:#293b31;letter-spacing:-.025em;
  }
}
@media screen and (min-width:768px) and (max-width:1100px){
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero {padding:20px 22px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-slide {gap:18px;min-height:278px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image {height:245px;min-height:245px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image img {max-height:214px!important;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-card {flex-basis:calc((100% - 15px)/2);width:calc((100% - 15px)/2);}
}
@media screen and (min-width:1400px){
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero {padding:25px 46px 24px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-slide {min-height:390px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image {height:350px;min-height:350px;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-hero-image img {max-height:320px!important;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-product-card {flex-basis:calc((100% - 45px)/4);width:calc((100% - 45px)/4);}
}
@media (prefers-reduced-motion:reduce){
  body.tve-modern-ui.tvemui-v64-home .tvemui64-track {scroll-behavior:auto!important;}
  body.tve-modern-ui.tvemui-v64-home .tvemui64-primary-link,
  body.tve-modern-ui.tvemui-v64-home .tvemui64-category-link{transition:none!important;}
}
