/* Optizona (company 3) parts of the homepage 2.0 (so_home_design, ui.css of defaults-3.php). Loaded after home.css.
   1. Optizona font. The page width follows --so-wrap of the Optizona header 4.0 (home.css), so it lines up with the header.
   2. The Optizona 2026 product card (sections/card_oz.tpl): the rules of optizona26_category.css for .oz26c-*, scoped to
      the homepage (the category stylesheet needs html.oz26 and loads on category pages only). Keep both in step. */
.sohd--c3{--so-font:"Optizona3 Commerce","Optizona3 Manrope","Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;font-family:var(--so-font)}
#tygh_container .sohd--c3 {
    --oz26-brand: #17354b; --oz26-tint: #e8eef3; --oz26-tint-line: #c5d3df;
    --oz26-ink: #0f1a24; --oz26-ink-2: #36414c; --oz26-muted: #4a5560; --oz26-line: #e3e7eb; --oz26-line-2: #dfe3e8;
    --oz26-surface: #f4f6f8; --oz26-ok: #1f7a4a; --oz26-order: #8a5300; --oz26-sale: #b3261e; --oz26-check: #b8c0c8;
    --oz26-font: var(--so-font);
}
/* rails: 4 · 3 · 2 cards per view, like the SK cards */
.sohd--c3 .rail>form{flex:0 0 calc((100% - 72px)/4);display:flex;min-width:0;margin:0}
@media (max-width:1023px){.sohd--c3 .rail>form{flex-basis:calc((100% - 48px)/3)}}
@media (max-width:640px){.sohd--c3 .rail>form{flex-basis:calc((100% - 12px)/2 - 12px)}}
/* the thermal room is dark: the card keeps its white plate there */
.sohd--c3 .rail-wrap--dark .oz26c-card{background:#fff !important;border-radius:16px}

#tygh_container .sohd--c3 .oz26c-card { position: relative !important; flex: 1 !important; display: flex !important; flex-direction: column !important; min-width: 0 !important; height: auto !important; margin: 0 !important; padding: 8px 8px 12px !important; border: 0 !important; border-radius: 16px !important; background: #fff !important; box-shadow: inset 0 0 0 1px var(--oz26-line) !important; color: var(--oz26-ink); font-family: var(--oz26-font); transition: box-shadow .2s; }
#tygh_container .sohd--c3 .oz26c-card:hover { box-shadow: inset 0 0 0 2px var(--oz26-brand) !important; }
#tygh_container .sohd--c3 .oz26c-card__media { position: relative; }
#tygh_container .sohd--c3 .oz26c-card__photo { position: relative; display: grid !important; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: 270px; margin: 0; padding: 20px 24px; border-radius: 12px; background: var(--oz26-surface); overflow: hidden; }
#tygh_container .sohd--c3 .oz26c-card__photo picture { display: contents; }
#tygh_container .sohd--c3 .oz26c-card__photo img { display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; margin: 0 !important; object-fit: contain; mix-blend-mode: multiply; filter: none !important; }
#tygh_container .sohd--c3 .oz26c-card__sale { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--oz26-sale); color: #fff; font: 700 12px/1 var(--oz26-font); }
#tygh_container .sohd--c3 .oz26c-card__tools { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
#tygh_container .sohd--c3 .oz26c-tool, #tygh_container .sohd--c3 .oz26c-tool > :is(a, button, div) { display: block; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
#tygh_container .sohd--c3 .oz26c-tool :is(a, button) {
    position: relative; display: grid !important; place-items: center; width: 36px !important; height: 36px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .94) !important; color: var(--oz26-ink) !important; font-size: 0 !important; line-height: 0 !important; text-decoration: none !important; overflow: hidden;
}
#tygh_container .sohd--c3 .oz26c-tool :is(a, button) > * { display: none !important; }
#tygh_container .sohd--c3 .oz26c-tool :is(a, button)::before { content: ""; position: absolute; inset: 9px; background: currentColor; -webkit-mask: var(--oz26-ico) center / contain no-repeat; mask: var(--oz26-ico) center / contain no-repeat; }
#tygh_container .sohd--c3 .oz26c-tool :is(a, button):hover { color: var(--oz26-brand) !important; }
#tygh_container .sohd--c3 .oz26c-tool--wish { --oz26-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E"); }
#tygh_container .sohd--c3 .oz26c-tool--compare { --oz26-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='18' r='3'/%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Cpath d='M13 6h3a2 2 0 0 1 2 2v7M11 18H8a2 2 0 0 1-2-2V9'/%3E%3C/svg%3E"); }
#tygh_container .sohd--c3 .oz26c-tool.is-on :is(a, button), #tygh_container .sohd--c3 .oz26c-tool :is(a, button):is(.active, .ut2-add-to-wish--active, .ut2-add-to-compare--active) { background: var(--oz26-tint) !important; box-shadow: inset 0 0 0 1.5px var(--oz26-brand) !important; color: var(--oz26-brand) !important; }

#tygh_container .sohd--c3 .oz26c-card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 6px 0; }
#tygh_container .sohd--c3 .oz26c-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
#tygh_container .sohd--c3 .oz26c-card__brand { min-width: 0; overflow: hidden; color: var(--oz26-muted); font: 700 11px/1.4 var(--oz26-font); letter-spacing: .1em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
#tygh_container .sohd--c3 .oz26c-av { flex: none; display: flex; align-items: center; gap: 6px; color: var(--oz26-ink-2); font: 600 13px/1.3 var(--oz26-font); white-space: nowrap; }
#tygh_container .sohd--c3 .oz26c-av i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #9aa4ae; }
#tygh_container .sohd--c3 .oz26c-av--stock { color: var(--oz26-ok); }
#tygh_container .sohd--c3 .oz26c-av--stock i { background: var(--oz26-ok); }
#tygh_container .sohd--c3 .oz26c-av--order { color: var(--oz26-order); font-weight: 500; }
#tygh_container .sohd--c3 .oz26c-av--order i { background: #b26b00; }
#tygh_container .sohd--c3 .oz26c-av--out { color: var(--oz26-muted); font-weight: 500; }
#tygh_container .sohd--c3 .oz26c-card__name { display: -webkit-box; overflow: hidden; margin: 0; color: var(--oz26-ink) !important; font: 600 16px/1.35 var(--oz26-font) !important; letter-spacing: -.005em; text-decoration: none !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#tygh_container .sohd--c3 .oz26c-card__name:hover { color: var(--oz26-brand) !important; }
#tygh_container .sohd--c3 .oz26c-card__spec { overflow: hidden; color: var(--oz26-muted); font: 400 13.5px/1.45 var(--oz26-font); text-overflow: ellipsis; white-space: nowrap; }
#tygh_container .sohd--c3 .oz26c-card__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
#tygh_container .sohd--c3 .oz26c-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; min-width: 0; }
#tygh_container .sohd--c3 .oz26c-card__price :is(.ty-price, .ty-price-num, .ty-price-update, bdi, span) { color: var(--oz26-ink) !important; font: 700 19px/1.2 var(--oz26-font) !important; letter-spacing: -.01em; white-space: nowrap; }
#tygh_container .sohd--c3 .oz26c-card__price :is(.ty-list-price, .ty-strike, .ty-discount-label, .ty-save-price, .ecl-price-data-nds) { display: none !important; }
#tygh_container .sohd--c3 .oz26c-card:has(.oz26c-card__sale) .oz26c-card__price > :not(.oz26c-card__old) :is(.ty-price, .ty-price-num, bdi, span) { color: var(--oz26-sale) !important; }
#tygh_container .sohd--c3 .oz26c-card__old, #tygh_container .sohd--c3 .oz26c-card__old * { display: inline !important; color: var(--oz26-muted) !important; font: 500 13px/1.2 var(--oz26-font) !important; }
#tygh_container .sohd--c3 .oz26c-card__old :is(.ty-strike, .ty-list-price) { text-decoration: line-through !important; }
#tygh_container .sohd--c3 .oz26c-card__old .ty-discount-label { display: none !important; }

/* Round cart button: tint at rest, brand on card hover. The Optizona global button colour
   (optizona3_commerce/mobile-complete-fix.css, #0066CC !important behind three ids) needs four ids to be replaced. */
#tygh_container .sohd--c3 .oz26c-card__cart { flex: none; }
#tygh_container .sohd--c3 .oz26c-card__cart :is(.oz3c-product__cart-wrap, .ut2-gl__control, .cm-reload-0, [id^="add_to_cart_update"], .ty-product-block__button-add-to-cart, .buttons-container) { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
#tygh_container#tygh_container #tygh_main_container#tygh_main_container .sohd--c3 .oz26c-card__cart :is(.ty-btn, button[type="submit"]),
#tygh_container .sohd--c3 .oz26c-card__detail {
    position: relative; display: grid !important; place-items: center !important; width: 44px !important; height: 44px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 50% !important; background: var(--oz26-tint) !important; box-shadow: none !important; color: var(--oz26-brand) !important; font-size: 0 !important; line-height: 0 !important; text-indent: 0 !important; overflow: hidden;
}
#tygh_container#tygh_container #tygh_main_container#tygh_main_container .sohd--c3 .oz26c-card__cart :is(.ty-btn, button[type="submit"]) > * { display: none !important; }
#tygh_container#tygh_container #tygh_main_container#tygh_main_container .sohd--c3 .oz26c-card__cart :is(.ty-btn, button[type="submit"])::before {
    content: ""; position: absolute; inset: 11px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}
#tygh_container .sohd--c3 .oz26c-card__cart a[id^="opener_buy_now_with_one_click"], #tygh_container .sohd--c3 .oz26c-card__cart a.vc__l { display: none !important; }
#tygh_container .sohd--c3 .oz26c-card__detail svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#tygh_container#tygh_container #tygh_main_container#tygh_main_container .sohd--c3 .oz26c-card:hover .oz26c-card__cart :is(.ty-btn, button[type="submit"]),
#tygh_container .sohd--c3 .oz26c-card:hover .oz26c-card__detail { background: var(--oz26-brand) !important; color: #fff !important; }

/* thermal facts: two real figures fill the row (the SK page has three) */
.sohd--c3 .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
/* team portraits: faces sit in the upper third of the shop photos */
.sohd--c3 .person__ph{background-position:50% 12%}
/* binocular brand wall: larger logos than on the SK page (normalized so-home-logos canvases, equal visual area) */
@media (min-width:1024px){.sohd--c3 .bw .bw__logo img{width:210px}.sohd--c3 .bw--logo{padding:12px 20px}}
@media (max-width:640px){.sohd--c3 .bw .bw__logo img{width:170px}}
