/*
Theme Name: IVK Storefront
Theme URI: https://ivk.cz/
Description: Prezentační WooCommerce child theme pro demo IVK.
Author: Tech.Mucha
Template: storefront
Version: 1.0.0
Text Domain: ivk-storefront
*/

:root {
  --ivk-ink: #17191c;
  --ivk-graphite: #24272b;
  --ivk-muted: #677078;
  --ivk-surface: #f4f5f1;
  --ivk-lime: #9bc31c;
  --ivk-lime-dark: #789d0b;
  --ivk-amber: #ffb21a;
  --ivk-white: #fff;
  --ivk-radius: 18px;
  --ivk-shadow: 0 18px 50px rgba(23, 25, 28, .10);
}

* { box-sizing: border-box; }
body { color: var(--ivk-ink); background: #fff; font-family: Inter, "Segoe UI", Arial, sans-serif; }
a { color: var(--ivk-lime-dark); }
.col-full { max-width: 1240px; padding-left: 24px; padding-right: 24px; }
.site { overflow: hidden; }
.site-content { outline: none; }
.site-main { margin-bottom: 0; }

.ivk-topbar { background: var(--ivk-ink); color: #dfe3e6; font-size: 13px; }
.ivk-topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ivk-topbar a { color: #fff; text-decoration: none; }
.ivk-topbar__stores { display: flex; gap: 20px; }

.site-header { background: #fff; padding: 0; border-bottom: 1px solid #e7e9e4; }
.ivk-header { min-height: 94px; display: grid; grid-template-columns: 260px 1fr auto; gap: 36px; align-items: center; }
.ivk-logo img { display: block; width: 230px; height: auto; }
.ivk-nav ul { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.ivk-nav a { color: var(--ivk-ink); font-weight: 750; font-size: 15px; text-decoration: none; }
.ivk-nav a:hover { color: var(--ivk-lime-dark); }
.ivk-header__actions { display: flex; align-items: center; gap: 12px; }
.ivk-cart { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: var(--ivk-surface); color: var(--ivk-ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.ivk-cart strong { color: var(--ivk-lime-dark); }

.ivk-hero { position: relative; min-height: 610px; display: flex; align-items: center; color: #fff; background: #101214 center/cover no-repeat; isolation: isolate; }
.ivk-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,14,16,.98) 0%, rgba(12,14,16,.88) 34%, rgba(12,14,16,.18) 72%, rgba(12,14,16,.08) 100%); }
.ivk-hero__content { width: min(650px, 58%); padding: 92px 0; }
.ivk-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; color: #cbe967; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.ivk-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--ivk-amber); border-radius: 3px; }
.ivk-hero h1 { margin: 0 0 22px; color: #fff; font-size: clamp(44px, 5.2vw, 76px); line-height: .98; letter-spacing: -.045em; }
.ivk-hero p { max-width: 600px; margin: 0 0 34px; color: #d9dddf; font-size: 19px; line-height: 1.65; }
.ivk-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ivk-button, .button, button, input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--ivk-lime); color: var(--ivk-ink); font-weight: 900; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.ivk-button:hover, .button:hover { background: #add72b; color: var(--ivk-ink); transform: translateY(-2px); }
.ivk-button--outline { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.06); color: #fff; }
.ivk-button--outline:hover { background: #fff; color: var(--ivk-ink); }

.ivk-trust { position: relative; z-index: 2; margin-top: -42px; }
.ivk-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: var(--ivk-radius); background: #fff; box-shadow: var(--ivk-shadow); }
.ivk-trust__item { padding: 26px 28px; border-right: 1px solid #e8eae5; }
.ivk-trust__item:last-child { border-right: 0; }
.ivk-trust__item strong { display: block; margin-bottom: 5px; font-size: 17px; }
.ivk-trust__item span { color: var(--ivk-muted); font-size: 14px; }

.ivk-section { padding: 92px 0; }
.ivk-section--soft { background: var(--ivk-surface); }
.ivk-section--dark { background: var(--ivk-ink); color: #fff; }
.ivk-section__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.ivk-section__head h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; }
.ivk-section--dark h2 { color: #fff; }
.ivk-section__head p { max-width: 540px; margin: 0; color: var(--ivk-muted); font-size: 17px; }

.ivk-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ivk-category { min-height: 188px; position: relative; padding: 28px; overflow: hidden; border-radius: var(--ivk-radius); background: #fff; color: var(--ivk-ink); box-shadow: 0 8px 24px rgba(23,25,28,.06); text-decoration: none; }
.ivk-category::after { content: "↗"; position: absolute; right: 22px; bottom: 16px; color: var(--ivk-lime-dark); font-size: 30px; }
.ivk-category__number { color: var(--ivk-amber); font-size: 13px; font-weight: 900; }
.ivk-category h3 { max-width: 82%; margin: 28px 0 0; font-size: 23px; line-height: 1.18; }
.ivk-category:hover { color: var(--ivk-ink); transform: translateY(-3px); box-shadow: var(--ivk-shadow); }

.ivk-products ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
.ivk-products ul.products::before, .ivk-products ul.products::after { display: none; }
.ivk-products ul.products li.product { width: auto !important; margin: 0 !important; padding: 18px 18px 22px; border: 1px solid #e8eae5; border-radius: 16px; background: #fff; text-align: left; transition: transform .2s, box-shadow .2s; }
.ivk-products ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--ivk-shadow); }
.ivk-products ul.products li.product img { aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: var(--ivk-surface); }
.ivk-products .woocommerce-loop-product__title { min-height: 50px; color: var(--ivk-ink); font-size: 16px !important; font-weight: 800; line-height: 1.4; }
.ivk-products .price { color: var(--ivk-ink) !important; font-size: 19px !important; font-weight: 900 !important; }
.ivk-products .button { width: 100%; margin-top: 14px; }

.ivk-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ivk-service { min-height: 245px; padding: 30px; border: 1px solid #3b3e42; border-radius: var(--ivk-radius); background: #222529; }
.ivk-service__icon { color: var(--ivk-amber); font-size: 34px; }
.ivk-service h3 { margin: 28px 0 12px; color: #fff; font-size: 22px; }
.ivk-service p { margin: 0; color: #bfc4c7; line-height: 1.6; }

.ivk-store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ivk-store { padding: 30px; border-radius: var(--ivk-radius); background: #fff; box-shadow: 0 8px 30px rgba(23,25,28,.07); }
.ivk-store__city { color: var(--ivk-lime-dark); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.ivk-store h3 { margin: 8px 0 16px; font-size: 22px; }
.ivk-store p { margin: 0 0 16px; color: var(--ivk-muted); }
.ivk-store strong { display: block; }

.site-footer { padding: 64px 0 26px; background: #111315; color: #aeb4b8; }
.ivk-footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 60px; }
.ivk-footer img { width: 225px; margin-bottom: 20px; }
.ivk-footer h3 { color: #fff; font-size: 16px; }
.ivk-footer a { color: #dfe3e6; text-decoration: none; }
.ivk-footer ul { margin: 0; padding: 0; list-style: none; }
.ivk-footer li { margin-bottom: 8px; }
.ivk-footer__bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid #303337; font-size: 13px; }

.storefront-breadcrumb { margin: 24px 0; }
.woocommerce-products-header__title.page-title, .entry-title { font-weight: 900; letter-spacing: -.03em; }
.site-main ul.products li.product { border-radius: 14px; }
.woocommerce-info, .woocommerce-message { border-top-color: var(--ivk-lime); background: var(--ivk-surface); }

@media (max-width: 980px) {
  .ivk-header { grid-template-columns: 210px 1fr auto; gap: 16px; }
  .ivk-logo img { width: 195px; }
  .ivk-nav ul { gap: 14px; }
  .ivk-nav a { font-size: 13px; }
  .ivk-trust__grid, .ivk-service-grid { grid-template-columns: repeat(2, 1fr); }
  .ivk-products ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .col-full { padding-left: 18px; padding-right: 18px; }
  .ivk-topbar__stores, .ivk-nav { display: none; }
  .ivk-header { min-height: 76px; grid-template-columns: 1fr auto; }
  .ivk-logo img { width: 170px; }
  .ivk-hero { min-height: 620px; background-position: 62% center; }
  .ivk-hero::before { background: linear-gradient(90deg, rgba(12,14,16,.96), rgba(12,14,16,.72)); }
  .ivk-hero__content { width: 100%; padding: 70px 0 120px; }
  .ivk-hero h1 { font-size: 48px; }
  .ivk-trust__grid, .ivk-category-grid, .ivk-service-grid, .ivk-store-grid, .ivk-footer { grid-template-columns: 1fr; }
  .ivk-trust__item { border-right: 0; border-bottom: 1px solid #e8eae5; }
  .ivk-section { padding: 68px 0; }
  .ivk-section__head { display: block; }
  .ivk-section__head p { margin-top: 16px; }
  .ivk-products ul.products { grid-template-columns: 1fr; }
}
