/* Shared storefront: clear navigation, generous controls and product-first layouts. */
:root { --ekn-bg: #f8faf7; --ekn-surface: #eef3eb; --ekn-border: #dce4d8; --ekn-body: #28372b; --ekn-body-muted: #626d63; --ekn-heading: #233b29; --ekn-font-heading: 'DM Sans', sans-serif; }
body { padding-top: 0; color: var(--ekn-body); line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { font-family: 'DM Sans', sans-serif; letter-spacing: -.025em; }
a { text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #436b32 !important; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 2000; background: #fff; padding: 12px 20px; color: #233b29; }
.skip-link:focus { top: 12px; }
.ekn-nav,.ekn-nav.scrolled { position: sticky; top: 0; height: auto; background: #fff; box-shadow: 0 2px 8px #233b2908; border-bottom: 1px solid var(--ekn-border); backdrop-filter: none; }
.ekn-nav > .container { display: grid; grid-template-columns: auto minmax(180px,1fr) auto; gap: 12px 28px; padding-top: 16px; padding-bottom: 10px; }
.nav-brand__text { color: #233b29; font-family: 'DM Sans',sans-serif; font-size: 1.15rem; }
.nav-brand__text span { color: #56713e; }
.nav-brand img { height: 44px; max-width: 180px; object-fit: contain; }
.nav-search { display: flex; grid-column: 2; grid-row: 1; width: 100%; background: #f5f7f3; border: 1px solid #cbd6c5; border-radius: 12px; }
.nav-search input,.nav-search input:focus { width: 100%; min-width: 0; color: #28372b; font-size: .95rem; padding: 12px 16px; }
.nav-search input::placeholder { color: #667361; }
.nav-search:focus-within { background: #fff; border-color: #436b32; }
.nav-search button { color: #fff; background: #2e5137; min-width: 48px; align-self: stretch; }
.nav-links { grid-column: 1 / -1; grid-row: 2; gap: 12px; }
.nav-links .nav-link { color: #435443 !important; font-size: .875rem; }
.nav-links .nav-link.active,.nav-links .nav-link:hover { background: #edf4e7; color: #31531d !important; }
.nav-actions { grid-column: 3; grid-row: 1; }
.cart-btn,.account-btn,.nav-actions .nav-link { color: #28442d !important; background: #f3f7ee; border-color: #d4dfcc; min-height: 44px; }
.nav-toggler { color: #28442d; border-color: #d4dfcc; min-height: 44px; min-width: 44px; justify-content: center; align-items: center; }
.mobile-basket { display: none; }
.shop-shortcuts { background: #eef4e8; border-bottom: 1px solid #dce4d8; }
.shop-shortcuts > .container { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: thin; }
.shop-shortcuts a { color: #304a2d; font-size: .85rem; font-weight: 600; white-space: nowrap; padding: 12px 0; text-decoration: none; }
.shop-shortcuts a:hover { text-decoration: underline; }
.affiliate-bar { position: static; font-size: .75rem; padding: 8px 0; background: #fff; color: #62705c; border: 0; }
.messages-wrap { top: 150px; }
main { min-height: 50vh; }
.btn,.ekn-btn { border-radius: 9px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; padding: .65rem 1rem; }
.btn-primary { background: #31553b; border-color: #31553b; color: #fff; }
.btn-primary:hover,.btn-primary:focus { background: #233e2b; border-color: #233e2b; color: #fff; }
.btn-outline-primary { color: #31553b; border-color: #c6d5bf; background: #fff; }
.btn-outline-primary:hover { background: #edf4e7; color: #233e2b; border-color: #31553b; }
.form-control,.form-select { min-height: 44px; border-color: #cbd6c5; border-radius: 8px; }
.card { border-radius: 14px; border-color: var(--ekn-border); box-shadow: 0 3px 12px #233b2905; }
.card-header { background: #fff; padding: 18px 20px; border-bottom-color: var(--ekn-border); }
.card-body { padding: 20px; }
.breadcrumb { font-size: .875rem; }
.breadcrumb a { color: #47643b; }
.storefront-home { padding-top: 22px; }
.shop-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; background: #eaf1e1; border: 1px solid #dbe5d0; border-radius: 22px; padding: 44px; }
.shop-eyebrow { font-size: .7rem; letter-spacing: .16em; font-weight: 700; color: #5c714e; margin-bottom: 10px; }
.shop-hero h1 { font-size: clamp(2.5rem,4.5vw,4.2rem); line-height: 1.06; font-weight: 700; letter-spacing: -.055em; margin-bottom: 18px; color: #233e2b; }
.shop-hero__copy > p:not(.shop-eyebrow) { max-width: 470px; color: #58654f; margin-bottom: 24px; }
.hero-finds { display: grid; gap: 14px; }
.hero-find { display: flex; align-items: center; gap: 18px; background: #ffffffdf; border: 1px solid #fff; border-radius: 14px; padding: 16px; text-decoration: none; color: #28372b; box-shadow: 0 8px 24px #233b2905; }
.hero-find img { width: 92px; height: 92px; object-fit: contain; background: #fff; border-radius: 8px; }
.hero-find span { flex: 1; min-width: 0; }
.hero-find small { display: block; color: #677360; font-size: .72rem; margin-bottom: 4px; }
.hero-find strong { display: block; font-size: .9rem; line-height: 1.5; }
.shop-section { margin-top: 38px; }
.shop-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.shop-section__heading h2 { font-size: clamp(1.35rem,2.5vw,1.8rem); font-weight: 700; margin: 0; }
.shop-section__heading > a { font-size: .85rem; font-weight: 600; color: #365630; flex-shrink: 0; }
.category-shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.category-shortcuts a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #30452c; background: #fff; border: 1px solid #dce4d8; border-radius: 12px; padding: 14px; font-size: .85rem; font-weight: 600; }
.category-shortcuts a > i { margin-left: auto; font-size: .7rem; }
.category-shortcuts__icon { display: grid; place-items: center; background: #edf3e5; border-radius: 50%; width: 36px; height: 36px; flex-shrink: 0; color: #5a7740; }
.category-shortcuts a:hover { border-color: #608449; background: #f4f8ef; }
.shop-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.shop-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #dce4d8; border-radius: 14px; overflow: hidden; transition: box-shadow .2s; min-width: 0; }
.shop-card:hover { box-shadow: 0 8px 22px #233b2910; }
.shop-card__image { position: relative; display: grid; place-items: center; height: 220px; background: #fff; padding: 20px; border-bottom: 1px solid #eef1eb; }
.shop-card__image img { height: 100%; width: 100%; object-fit: contain; }
.shop-card__placeholder { display: grid; gap: 10px; text-align: center; color: #7c8577; font-size: .8rem; }
.shop-card__sale { position: absolute; left: 12px; top: 12px; background: #eff6e5; color: #35541e; border-radius: 5px; padding: 3px 8px; font-size: .75rem; font-weight: 600; }
.shop-card__body { padding: 18px; display: flex; flex: 1; flex-direction: column; gap: 8px; }
.shop-card__category { font-size: .7rem; color: #6a7565; }
.shop-card h3 { font-size: .9rem; line-height: 1.5; margin: 0; }
.shop-card h3 a,.product-card .card-title a { color: #28372b; text-decoration: none; }
.shop-card h3 a:hover,.product-card .card-title a:hover { text-decoration: underline; }
.shop-card__price { margin-top: auto; padding-top: 8px; }
.shop-card .btn { font-size: .8rem; }
.shopping-help { margin-top: 44px; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; border-top: 1px solid #dce4d8; padding: 32px 0 0; }
.shopping-help h2 { font-size: 1rem; margin-top: 12px; }
.shopping-help p { font-size: .85rem; color: #626d63; }
.shopping-help a { color: #365630; font-size: .85rem; font-weight: 600; }
.shopping-help > div > i { color: #608449; }
.filter-card { top: 150px; box-shadow: none; }
.filter-card summary { cursor: pointer; font-size: 1rem; font-weight: 600; }
.filter-card .form-check { padding-top: 5px; padding-bottom: 5px; }
.product-img-wrap { height: 230px; background: #fff; padding: 18px; }
.product-img-wrap img { object-fit: contain; }
.product-card .card-title { font-size: .95rem; line-height: 1.5; }
.product-card .card-text { margin-top: 8px; }
.supplier-tab { min-height: 44px; }
.listing-intro { margin: 28px 0 24px; }
.listing-intro h1 { font-size: 2rem; font-weight: 700; }
.listing-intro p { color: #626d63; }
.filter-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-summary span { font-size: .8rem; padding: 5px 12px; background: #eaf1e1; border-radius: 20px; }
.ekn-footer { background: #243a2c; margin-top: 48px; }
.ekn-footer p,.footer-links a { color: #d0d9cb; }
.footer-bottom,.footer-bottom a { color: #bac8b4; }
@media (max-width: 1199px) and (min-width: 992px) { .ekn-nav > .container { gap: 10px 16px; } }
@media (max-width: 991px) {
  .ekn-nav > .container { grid-template-columns: 1fr auto auto; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .nav-brand { grid-column: 1; grid-row: 1; }
  .nav-toggler { display: flex; grid-column: 3; grid-row: 1; }
  .mobile-basket { display: flex; gap: 6px; align-items: center; color: #28442d; text-decoration: none; font-size: .85rem; padding: 8px; min-height: 44px; }
  .nav-search { display: flex; grid-column: 1 / -1; grid-row: 2; }
  .nav-collapse { top: 100%; position: absolute; max-height: 65vh; background: #fff; border: 1px solid #dce4d8; }
  .nav-collapse .nav-links { align-items: stretch; }
  .nav-collapse .nav-links .dropdown-menu { background: #f3f7ee; }
  .nav-collapse .nav-links .dropdown-item { color: #30452c; white-space: normal; }
  .nav-collapse .nav-links .dropdown-item:hover { color: #233e2b; background: #eaf1e1; }
  .nav-actions .dropdown-menu { max-width: calc(100vw - 40px); }
  .nav-actions .dropdown-item { white-space: normal; overflow-wrap: anywhere; }
  .shop-hero { padding: 30px; gap: 24px; }
  .hero-find { padding: 12px; gap: 10px; }
  .hero-find img { width: 64px; height: 78px; }
  .category-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .shop-hero { grid-template-columns: 1fr; padding: 26px; }
  .hero-finds { display: none; }
  .shop-section__heading { align-items: start; flex-wrap: wrap; gap: 8px; }
  .shop-section { margin-top: 28px; }
  .shop-grid { gap: 12px; }
  .shop-card__image { height: 175px; padding: 12px; }
  .shop-card__body { padding: 12px; }
  .shop-card .btn { padding: 8px; font-size: .75rem; }
  .shopping-help { grid-template-columns: 1fr; gap: 20px; }
  .filter-card { position: static; margin-bottom: 24px; }
  .category-shortcuts a { padding: 10px; gap: 8px; }
  .category-shortcuts__icon { width: 28px; height: 28px; }
  .floating-cart { bottom: 14px; right: 14px; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
.shop-card { width: 100%; }
.product-detail-page > .row > .col-md-6 > .d-flex h1 { font-size: clamp(1.5rem,2.5vw,2.15rem); line-height: 1.3; }
.product-detail-page #main-product-image { min-height: 300px; }
.product-detail-page .product-thumb { object-fit: contain !important; background: #fff; }
.checkout-summary { top: 145px; }
@media (max-width: 991px) { .checkout-summary { position: static; } }
