/* Additions to the live shop's CSS (public/theme/glowstudio.css) for parts rebuilt without WoodMart's scripts */
.gs-dev{background:#EBD3A2;text-align:center;font-size:13px;padding:4px;position:relative;z-index:1000}

/* own gallery (replaces WoodMart's Swiper): one image per slide, swipe with scroll-snap */
.gs-gal .wd-carousel-wrap{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;transform:none!important}
.gs-gal .wd-carousel-wrap::-webkit-scrollbar{display:none}
.gs-gal .wd-carousel-item{flex:0 0 100%;scroll-snap-align:start}
.wd-gallery-thumb .wd-carousel-wrap{display:flex;flex-direction:column;gap:10px}
.wd-gallery-thumb .wd-carousel-item{cursor:pointer;opacity:.6}
.wd-gallery-thumb .wd-carousel-item.wd-thumb-active{opacity:1}
.gs-gal-dots{display:none;justify-content:center;gap:6px;margin-top:10px}
.gs-gal-dots button{width:22px;height:4px;border:0;border-radius:2px;background:#ddd;padding:0;min-height:0}
.gs-gal-dots button.on{background:#1f2937}
@media (max-width:1024px){.wd-gallery-thumb{display:none}.gs-gal-dots{display:flex}}
.gs-save{color:#c2410c;font-weight:600;margin-top:-6px}
/* header cart: only the count badge, like the live shop */
.wd-header-cart.wd-design-1 .subtotal-divider,.wd-header-cart.wd-design-1 .wd-cart-subtotal{display:none}
/* the live shop loads the product-page CSS only on product pages; here it is one file → keep list breadcrumbs whole */
.gs-list-crumbs .woocommerce-breadcrumb .wd-last-link~span{display:inline!important}

/* related products: plain grid instead of a slider */
.gs-rel .wd-carousel-wrap{display:grid;grid-template-columns:repeat(var(--wd-col-lg),1fr);gap:var(--wd-gap-lg);transform:none!important}
.gs-rel .wd-carousel-item{width:auto!important;flex:none!important;max-width:none!important;padding:0!important}
@media (max-width:767px){.gs-rel .wd-carousel-wrap{grid-template-columns:repeat(2,1fr);gap:10px}}

/* hair dye shades list */
.gs-shades{margin:30px auto}
.gs-shades-title{font-size:22px}
.gs-shades-search input{width:100%;height:46px;border:1px solid #ddd;padding:0 14px;margin-bottom:10px;border-radius:8px}
.gs-shades-list{max-height:520px;overflow:auto;border:1px solid #eee;border-radius:8px}
.gs-shade{display:grid;grid-template-columns:56px 1fr auto auto;gap:12px;align-items:center;padding:8px 12px;border-bottom:1px solid #eee}
.gs-shade img{width:56px;height:56px;object-fit:contain}
.gs-shade-name small{display:block;color:#6B7280}
.gs-shade.is-out{opacity:.55}
.gs-shade.hl{background:#f3f1ff}
.gs-shade .button{min-height:36px;padding:0 16px}
@media (max-width:600px){.gs-shade{grid-template-columns:44px 1fr auto}.gs-shade .button{grid-column:1/-1}}
/* product photo full screen (live: WoodMart PhotoSwipe, magnifier „Click to enlarge“) */
.gs-gal .woocommerce-product-gallery__image a{cursor:zoom-in}
.gs-lb{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;touch-action:pan-y}
.gs-lb img{max-width:100vw;max-height:100vh;object-fit:contain;user-select:none}
.gs-lb button{position:absolute;background:rgba(0,0,0,.35);color:#fff;border:0;border-radius:50%;width:48px;height:48px;font-size:32px;line-height:46px;padding:0;min-height:0;cursor:pointer;z-index:1}
.gs-lb-x{top:12px;right:12px}.gs-lb-p{left:12px;top:50%;margin-top:-24px}.gs-lb-n{right:12px;top:50%;margin-top:-24px}
.gs-lb-c{position:absolute;top:22px;left:20px;color:#fff;font-size:14px;opacity:.8}
/* home carousels (Актуално / Топ / Препоръчано): every card the same width, a square 1:1 photo frame (whole photo, contain,
   light background, same inner space), prices on one line (owner 14.11.2026) */
.gs-carousel .products{align-items:stretch!important}
.gs-carousel .products > .wd-product{min-width:0!important;overflow:visible;height:auto!important;display:flex;flex-direction:column}
.gs-carousel .products > .wd-product > .wd-product-wrapper{flex:1 1 auto}
.gs-carousel .products > .wd-product .wd-product-wrapper{display:flex;flex-direction:column;height:100%}
.gs-carousel .products > .wd-product .wd-product-thumb{aspect-ratio:1/1;width:100%;background:#f9f9f9;border-radius:var(--wd-brd-radius,8px);overflow:hidden}
.gs-carousel .products > .wd-product .wd-product-img-link{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%;padding:8%;box-sizing:border-box;background:transparent}
.gs-carousel .products > .wd-product .wd-product-img-link img{width:100%!important;height:100%!important;max-width:100%;object-fit:contain;mix-blend-mode:multiply}
.gs-carousel .products > .wd-product .wd-product-img-hover{inset:0}
.gs-carousel .products > .wd-product .wd-product-img-hover img{width:100%;height:100%;object-fit:contain;padding:8%;box-sizing:border-box}
.gs-carousel .products > .wd-product .product-element-bottom{display:flex;flex-direction:column;flex:1 1 auto}
.gs-carousel .products > .wd-product .product-rating-price{margin-top:auto}
/* „Топ предложения“ on category / brand pages: same equal cards as the home carousels (owner 14.11.2026) – long brand
   names („DCM Diapason Cosmetics Milano“) no longer make one card taller */
.gs-top-offers .products{align-items:stretch!important}
.gs-top-offers .products > .wd-product{min-width:0!important;height:auto!important;display:flex;flex-direction:column}
.gs-top-offers .products > .wd-product > .wd-product-wrapper{flex:1 1 auto;display:flex;flex-direction:column;height:100%}
.gs-top-offers .products > .wd-product .wd-product-thumb{aspect-ratio:1/1;width:100%;background:#f9f9f9;border-radius:var(--wd-brd-radius,8px);overflow:hidden}
.gs-top-offers .products > .wd-product .wd-product-img-link{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%;padding:8%;box-sizing:border-box;background:transparent}
.gs-top-offers .products > .wd-product .wd-product-img-link img{width:100%!important;height:100%!important;max-width:100%;object-fit:contain;mix-blend-mode:multiply}
.gs-top-offers .products > .wd-product .product-element-bottom{display:flex;flex-direction:column;flex:1 1 auto}
.gs-top-offers .products > .wd-product .product-rating-price{margin-top:auto}
.gs-top-offers .wd-product .gs-brand-line,.gs-top-offers .wd-product .wd-product-cats,
.gs-carousel .wd-product .gs-brand-line,.gs-carousel .wd-product .wd-product-cats{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.gs-top-offers .products > .wd-product .wd-product-thumb{height:auto!important;flex:0 0 auto}
/* owner 21.11.2026 „много високи картите“ (Топ предложения, desktop): content-visibility:auto gives the cards outside the visible part
   of a carousel the 430px placeholder (glowstudio.css, live scroll-reveal.php) and the row stretches the visible ones to it –
   a ~70px gap above the price. Carousels are short rows, so no placeholder there. */
@media (min-width:1025px){.gs-top-offers .wd-products .wd-product,.gs-carousel .wd-products .wd-product{content-visibility:visible;contain-intrinsic-size:none}}
