/* Yarrah product detail redesign — scoped to confirmed Yarrah items */
:root { --yd-green:#1d4d3a; --yd-mint:#e5f2eb; --yd-cream:#f8f3e9; --yd-yellow:#f5c433; --yd-text:#173b2d; }
body.yarrah-product { margin:0!important; padding-top:0!important; background:var(--yd-mint); color:var(--yd-text); }
body.yarrah-product .yd-original-header,body.yarrah-product .yd-original-footer,body.yarrah-product #siteheader_large,body.yarrah-product #siteheader_large_bar1,body.yarrah-product #siteheader_small,body.yarrah-product #sup-menu,body.yarrah-product #footer,body.yarrah-product #info-bar-right,body.yarrah-product #siteheader_large_bar1 + br {display:none!important}
body.yarrah-product .yd-yarrah-header,body.yarrah-product .yd-yarrah-footer {display:block!important;margin:0!important;padding:0!important}
body.yarrah-product #contentContainer:empty {display:none!important}
body.yarrah-product .detailpage {max-width:none;margin:0;padding:0;background:var(--yd-mint)}
body.yarrah-product .detailpage > .container-fluid {padding:0;max-width:none}
body.yarrah-product .yd-product-hero {background:#eef6f1;padding:28px max(24px,calc((100vw - 1240px)/2)) 48px}
body.yarrah-product .yd-hero-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:54px;align-items:start}
body.yarrah-product .yd-gallery {position:relative;min-width:0}
body.yarrah-product .yd-gallery .images {display:grid;grid-template-columns:68px minmax(0,1fr);gap:16px;align-items:start;background:transparent;border:0;padding:0;box-shadow:none}
body.yarrah-product .yd-gallery .images .image {grid-column:2;grid-row:1;min-height:470px;background:#dce9e1;border-radius:24px;display:flex;align-items:center;justify-content:center;overflow:hidden}
body.yarrah-product .yd-gallery .images .image a {width:100%;text-align:center}
body.yarrah-product .yd-gallery .images .image img {max-height:470px;max-width:100%;height:auto;width:auto;object-fit:contain;margin:auto}
body.yarrah-product .yd-gallery .images .thumbs {grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:10px;margin:0}
body.yarrah-product .yd-gallery .images .thumb {width:68px;height:68px;background:#fff;border:1px solid #bfd4c6;border-radius:13px;padding:6px;cursor:pointer}
body.yarrah-product .yd-gallery .images .thumb img {width:100%;height:100%;object-fit:contain}
body.yarrah-product .yd-gallery .classimg {position:absolute;top:12px;left:92px;z-index:2}
body.yarrah-product .yd-product-title {font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(30px,2.8vw,43px);line-height:1.12;color:#122e25;margin:0 0 20px}
body.yarrah-product .yd-purchase {min-width:0}
body.yarrah-product .yd-purchase .variants_select {background:transparent;border:0;padding:0;margin:12px 0 18px}
body.yarrah-product .yd-purchase .variants_select .h4 {font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#667b70}
body.yarrah-product .yd-purchase .variants_select .btn-primary {background:var(--yd-yellow);border-color:var(--yd-yellow);color:var(--yd-text);border-radius:22px}
body.yarrah-product .yd-purchase .basedata {background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 16px}
body.yarrah-product .yd-purchase .item-price-info {width:auto;margin:12px 0}
body.yarrah-product .yd-purchase .item-price-info td {padding:0 8px 0 0}
body.yarrah-product .yd-purchase .item-price-info tr:first-child td:last-child {font:400 33px/1.2 Georgia,'Times New Roman',serif;color:var(--yd-green);text-align:left}
body.yarrah-product .yd-purchase .buy {float:none!important;width:100%;margin-top:16px}
body.yarrah-product .yd-purchase .buy .row {display:flex;align-items:stretch;gap:12px;margin:0}
body.yarrah-product .yd-purchase .buy .row > div {padding:0;float:none}
body.yarrah-product .yd-purchase .buy .row > div:first-child {flex:0 0 110px;width:110px}
body.yarrah-product .yd-purchase .buy .row > div:nth-child(2) {flex:1;min-width:0;width:auto}
body.yarrah-product .yd-purchase .buy input[type=number] {height:48px;border:1px solid #d8e0d8;border-radius:24px;text-align:center;background:#fff}
body.yarrah-product .yd-purchase .buy .btn-primary {min-height:48px;background:var(--yd-green);border:1px solid var(--yd-green);border-radius:24px;color:#fff;font-weight:700}
body.yarrah-product .yd-purchase .buy .btn-primary:hover {background:#12392a}
body.yarrah-product .yd-purchase .argumente {margin:22px 0 0;padding:0;list-style:none}
body.yarrah-product .yd-purchase .argumente li {margin:0 0 9px;padding-left:27px;position:relative;font-size:14px}
body.yarrah-product .yd-purchase .argumente li:before {content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:var(--yd-yellow);text-align:center;font-weight:bold;color:var(--yd-green)}
body.yarrah-product .yd-purchase .buttonNEW,body.yarrah-product .yd-purchase .buttonNEW2 {background:#f1f7f1;border:1px solid #bfd5c5;color:var(--yd-green);border-radius:18px;padding:9px 14px;margin:4px}
/* Information section: 70% description / 30% feeding and product details */
body.yarrah-product .yd-information {background:var(--yd-cream);padding:48px max(24px,calc((100vw - 1240px)/2)) 56px}
body.yarrah-product .yd-section-title {font:400 clamp(26px,2.5vw,34px)/1.2 Georgia,'Times New Roman',serif;color:var(--yd-green);text-align:center;margin:0 0 30px}
body.yarrah-product .yd-info-grid {display:grid;grid-template-columns:minmax(0,7fr) minmax(270px,3fr);gap:40px;align-items:start}
body.yarrah-product .yd-description,body.yarrah-product .yd-facts {min-width:0;font-size:15px;line-height:1.8}
body.yarrah-product .yd-description h2,body.yarrah-product .yd-description h3,body.yarrah-product .yd-facts h3 {font:400 23px/1.3 Georgia,'Times New Roman',serif;color:var(--yd-green);margin:0 0 15px}
body.yarrah-product .yd-description .longdescription .content {font-size:15px;color:#4d6258;line-height:1.8}
body.yarrah-product .yd-facts {background:#fff;border:1px solid #e4e9e0;border-radius:17px;padding:22px;overflow-x:auto}
body.yarrah-product .yd-facts table {width:100%;border-collapse:collapse;font-size:14px}
body.yarrah-product .yd-facts th,body.yarrah-product .yd-facts td {padding:10px;border-bottom:1px solid #e1e8df;text-align:left}
body.yarrah-product .yd-facts th {background:#eaf3ec;color:var(--yd-green)}
/* Extra sections below the information grid, always visible */
body.yarrah-product #detail_tab {display:none!important}
body.yarrah-product .yd-extra-sections {background:var(--yd-cream);padding:0 max(24px,calc((100vw - 1240px)/2)) 48px}
body.yarrah-product .yd-extra-sections #detail_tab_content {display:flex;flex-direction:column;gap:20px;margin:0;padding:0;background:transparent;border:0;box-shadow:none;min-height:0}
body.yarrah-product .yd-extra-sections #detail_tab_content > .tab-pane {display:block!important;opacity:1!important;visibility:visible!important;float:none!important;width:100%;margin:0;padding:24px;background:#fff;border:1px solid #e4e9e0;border-radius:16px}
body.yarrah-product .yd-extra-sections #detail_tab_content h3 {font:400 23px Georgia,'Times New Roman',serif;color:var(--yd-green);margin:0 0 14px}
/* Existing ShopPilot cross/size listings remain operational */
body.yarrah-product .yd-related {background:var(--yd-mint);padding:45px max(24px,calc((100vw - 1240px)/2)) 65px}
body.yarrah-product .yd-related .yd-section-title {text-align:left}
body.yarrah-product .yd-related .probierlist {margin:0}
body.yarrah-product .yd-related .probieritem {border:0;border-radius:15px;background:#fff;padding:15px}
/* Carousel enhancement applies only if item cards are present as direct children */
body.yarrah-product .yd-related .yd-carousel-track {display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;padding:8px 0 18px}
body.yarrah-product .yd-related .yd-carousel-track > * {flex:0 0 calc((100% - 54px)/4);min-width:0;scroll-snap-align:start}
body.yarrah-product .yd-carousel-controls {display:flex;justify-content:flex-end;gap:9px;margin:-58px 0 25px}
body.yarrah-product .yd-carousel-controls button {width:40px;height:40px;border:0;border-radius:50%;background:var(--yd-green);color:#fff;font-size:22px;cursor:pointer}
@media(max-width:991px){body.yarrah-product .yd-product-hero,body.yarrah-product .yd-information,body.yarrah-product .yd-extra-sections,body.yarrah-product .yd-related{padding-left:22px;padding-right:22px}body.yarrah-product .yd-hero-grid{gap:24px}body.yarrah-product .yd-info-grid{grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:20px}body.yarrah-product .yd-related .yd-carousel-track > *{flex-basis:calc((100% - 36px)/3)}}
@media(max-width:767px){body.yarrah-product .yd-hero-grid,body.yarrah-product .yd-info-grid{grid-template-columns:1fr}body.yarrah-product .yd-gallery .images{grid-template-columns:55px minmax(0,1fr);gap:9px}body.yarrah-product .yd-gallery .images .thumb{width:55px;height:55px}body.yarrah-product .yd-gallery .images .image{min-height:300px}body.yarrah-product .yd-gallery .images .image img{max-height:330px}body.yarrah-product .yd-product-title{font-size:30px}body.yarrah-product .yd-related .yd-carousel-track > *{flex-basis:calc((100% - 16px)/2)}body.yarrah-product .yd-carousel-controls{margin:0 0 16px}}
/* Sakrij stari BIO natpis na Yarrah stranici proizvoda */
body.yarrah-product .yd-product-hero .classimg {
    display: none !important;
}