/* FKH SHOP overrides */
:root { --fkh-dark: #0f3d2e; --fkh-brand: #1b6b52; --fkh-mint: #d2e3db; --fkh-bg: #f5f4f0; }
body { background: var(--fkh-bg); }
.main-container { background: var(--fkh-bg); }

/* sticky announcement bar */
#youcan-section--announcement-bar { position: sticky; top: 0; z-index: 60; }
#youcan-section--announcement-bar .announcement .message { font-weight: 600; }

/* header logo */
yc-header .logo img { width: var(--header-logo-width); height: auto; max-height: 100px; object-fit: contain; }

/* order form panel */
yc-product-info .express-checkout { background: var(--fkh-mint); border-radius: 10px; padding: 16px; }

/* footer: centered, dark */
footer .content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
footer .content .store-brand { font-size: 2.4rem; font-weight: 800; letter-spacing: 2px; }
footer .content .social-links { display: none; }
footer .copyright { text-align: center; }
.fkh-social { display: flex; justify-content: center; gap: 12px; list-style: none; margin: 18px 0 6px; padding: 0; }
.fkh-social a { width: 44px; height: 44px; border-radius: 50%; background: #3fa886; color: #fff; display: grid; place-items: center; }
.fkh-social a:hover { background: #1b6b52; }

/* products grid: small cards, centered rows */
.products-by-collection .items-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 12px; }
.products-by-collection .items-grid > li { flex: 0 0 calc(50% - 6px); min-width: 0; }
@media (min-width: 768px) { .products-by-collection .items-grid > li { flex-basis: calc(33.333% - 8px); } }
.products-by-collection .product-card .info { text-align: center; }

/* footer spacing */
footer .content { padding: 2em 10% 0; border-block: 0; gap: 6px; }
footer .content .store-brand a { font-size: 2.8rem; font-weight: 800; letter-spacing: 2px; }
footer .content .links-box:not(:has(.navigation)) { display: none; }

/* image counter reads 1 / 5 in RTL */
.single-product yc-product-media .main-image .count { direction: ltr; unicode-bidi: isolate; }
/* footer: tighter brand spacing, room for the sticky order bar */
footer .content .store-brand { margin-bottom: 0.5em !important; }
@media (max-width: 768px) { body:has(.single-product) footer { padding-bottom: 90px; } }

/* collapsible product description */
.fkh-collapsible[data-collapsed] { position: relative; max-height: 260px; overflow: hidden; }
.fkh-collapsible[data-collapsed]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(245, 244, 240, 0), #f5f4f0); pointer-events: none; }
.fkh-readmore { -webkit-appearance: none; appearance: none; display: block; margin: 12px auto 0; padding: 10px 28px; border: 1.5px solid #0f3d2e; border-radius: 8px; background: #fff; color: #0f3d2e; font-family: inherit; font-size: 1.5rem; font-weight: 700; line-height: 1.4; cursor: pointer; opacity: 1; -webkit-tap-highlight-color: transparent; }
.fkh-readmore:active { background: #0f3d2e; color: #fff; }
@media (hover: hover) { .fkh-readmore:hover { background: #0f3d2e; color: #fff; } }
.fkh-readmore[hidden] { display: none; }

/* Pack options: one per row */
yc-variant[name="toggle"] { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; }
yc-variant[name="toggle"] .toggle-item { max-height: none; width: 100%; justify-content: space-between; text-align: start; padding: 14px 16px; font-size: 1.6rem; font-weight: 600; border-radius: 10px; }
yc-variant[name="toggle"] .toggle-item { gap: 8px; font-size: 1.5rem; }
yc-variant[name="toggle"] .toggle-item .fkh-note { flex: none; white-space: nowrap; font-size: 1.3rem; font-weight: 600; }

/* product images inside a dark green frame */
.single-product yc-product-media { border: 3px solid #0f3d2e; border-radius: 14px; padding: 8px; }

/* home products: titles wrap on two lines, view-all (if enabled) goes on its own row */
.products-by-collection .product-card .info .title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.5; text-align: center; text-decoration: none; }
.products-by-collection .items-grid .show-more { flex: 0 0 100%; order: 1; justify-content: center; }
