/* Fotbalovebranky.cz – vlastni styly nad Bootstrap 5.3 */
:root {
  --fb-green: #3b6a17;
  --fb-green-600: #335d13;
  --fb-green-dark: #22400b;
  --fb-green-light: #eaf3de;
  --fb-lime: #a3d489;
  --fb-accent: #f39200;
  --fb-accent-dark: #d97f00;
  --fb-ink: #1d2618;
  --fb-muted: #5b6656;
  --bs-primary: var(--fb-green);
  --bs-primary-rgb: 59, 106, 23;
  --bs-link-color: var(--fb-green);
  --bs-link-color-rgb: 59, 106, 23;
  --bs-link-hover-color: var(--fb-green-dark);
  --bs-link-hover-color-rgb: 34, 64, 11;
  --bs-body-color: var(--fb-ink);
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-border-radius: .5rem;
  --bs-border-radius-lg: .75rem;
}

body { background: #fff; -webkit-font-smoothing: antialiased; }
.ico { flex-shrink: 0; vertical-align: -.2em; }
.ico-lg { width: 32px; height: 32px; }
.ico-xl { width: 48px; height: 48px; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }

/* tlacitka */
.btn-primary {
  --bs-btn-bg: var(--fb-green); --bs-btn-border-color: var(--fb-green);
  --bs-btn-hover-bg: var(--fb-green-dark); --bs-btn-hover-border-color: var(--fb-green-dark);
  --bs-btn-active-bg: var(--fb-green-dark); --bs-btn-active-border-color: var(--fb-green-dark);
  --bs-btn-disabled-bg: var(--fb-green); --bs-btn-disabled-border-color: var(--fb-green);
}
.btn-outline-primary {
  --bs-btn-color: var(--fb-green); --bs-btn-border-color: var(--fb-green);
  --bs-btn-hover-bg: var(--fb-green); --bs-btn-hover-border-color: var(--fb-green);
  --bs-btn-active-bg: var(--fb-green-dark); --bs-btn-active-border-color: var(--fb-green-dark);
}
.btn-accent {
  --bs-btn-color: #1b1300; --bs-btn-bg: var(--fb-accent); --bs-btn-border-color: var(--fb-accent);
  --bs-btn-hover-color: #1b1300; --bs-btn-hover-bg: #ffab2e; --bs-btn-hover-border-color: #ffab2e;
  --bs-btn-active-color: #1b1300; --bs-btn-active-bg: var(--fb-accent-dark); --bs-btn-active-border-color: var(--fb-accent-dark);
  --bs-btn-focus-shadow-rgb: 243, 146, 0;
  font-weight: 600;
}
.btn .ico { margin-top: -2px; }
.bg-accent { background: var(--fb-accent) !important; color: #1b1300 !important; }
.text-primary { color: var(--fb-green) !important; }
.form-control:focus, .form-check-input:focus { border-color: var(--fb-lime); box-shadow: 0 0 0 .25rem rgba(59, 106, 23, .2); }
.form-check-input:checked { background-color: var(--fb-green); border-color: var(--fb-green); }

/* horni lista a hlavicka */
.topbar { background: var(--fb-green-dark); color: #dfe9d4; font-size: .85rem; padding: .35rem 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-header { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .04); }
.site-header .navbar { padding-top: .6rem; padding-bottom: .6rem; }
.navbar-brand { display: flex; align-items: center; gap: .5rem; }
.navbar-brand { padding: 0; }
.navbar-brand img.site-logo { height: 60px; width: auto; }
@media (max-width: 1199.98px) { .navbar-brand img.site-logo { height: 50px; } }
@media (max-width: 400px) { .navbar-brand img.site-logo { height: 42px; } }
.brand-text { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: #22400b; line-height: 1; white-space: nowrap; }
.brand-text span { color: var(--fb-accent); font-weight: 700; }
.brand-white { color: #fff; }
@media (max-width: 400px) { .brand-text { font-size: 1.1rem; } }
.navbar .nav-link { font-weight: 600; color: var(--fb-ink); padding: .5rem .85rem !important; border-radius: .4rem; white-space: nowrap; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--fb-green); background: var(--fb-green-light); }
.btn-cart { background: var(--fb-green); color: #fff; font-weight: 600; border-radius: 2rem; padding: .45rem 1rem; }
.btn-cart:hover { background: var(--fb-green-dark); color: #fff; }
.dropdown-menu { border: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); padding: .5rem; }
.dropdown-item { border-radius: .35rem; padding: .45rem .75rem; }
.dropdown-item:active { background: var(--fb-green); }
@media (max-width: 1199.98px) {
  .offcanvas .nav-link { font-size: 1.1rem; }
  .offcanvas .dropdown-menu { box-shadow: none; padding-left: 1rem; }
}

/* hero */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--fb-green-dark); }
.hero-slides, .hero-slide, .hero picture, .hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide { opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide.active .hero-bg { animation: heroZoom 7s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } .hero-slide.active .hero-bg { animation: none; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 38, 6, .88) 0%, rgba(20, 38, 6, .65) 45%, rgba(20, 38, 6, .15) 100%); }
.hero-content { max-width: 640px; padding: 4rem 0; }
.hero .lead { color: #e6efdc; }
@media (max-width: 767.98px) {
  .hero { min-height: 440px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(20, 38, 6, .55) 0%, rgba(20, 38, 6, .88) 70%); }
  .hero h1 { font-size: 2rem; }
}

/* USP */
.usp { background: var(--fb-green-light); border-bottom: 1px solid #d8e8c4; }
.usp-item { display: flex; gap: .75rem; align-items: center; justify-content: center; }
@media (min-width: 768px) { .usp-item { justify-content: flex-start; } }
.usp-item .ico { color: var(--fb-green); }
.usp-item strong { display: block; line-height: 1.2; }
.usp-item span { font-size: .85rem; color: var(--fb-muted); }
@media (max-width: 575.98px) { .usp-item { flex-direction: column; text-align: center; gap: .35rem; } }

/* sekce */
.section-title { font-weight: 800; font-size: 1.75rem; position: relative; padding-bottom: .5rem; margin-bottom: 1rem; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; border-radius: 2px; background: var(--fb-accent); }
.page-title { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.bg-soft { background: #f6f8f3; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .15s; }
.lead-text { font-size: 1.1rem; color: var(--fb-muted); }
.content-text { line-height: 1.7; }
.content-text img { max-width: 100%; height: auto; border-radius: .5rem; }
.content-text h2 { font-size: 1.35rem; font-weight: 700; margin-top: 1.5rem; }
.content-text table { width: 100%; margin-bottom: 1rem; }
.content-text ul { padding-left: 1.2rem; }

/* dlazdice kategorii */
.cat-tile { position: relative; display: block; border-radius: .75rem; overflow: hidden; aspect-ratio: 4 / 3; background: var(--fb-green-dark); color: #fff; text-decoration: none; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(15, 30, 5, .85) 100%); }
.cat-tile-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: .9rem 1rem; font-weight: 700; line-height: 1.25; }
.cat-tile-label small { display: block; font-weight: 400; opacity: .85; font-size: .8rem; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile:hover { color: #fff; }

/* karta produktu */
.product-card { border: 1px solid #e6eadf; border-radius: .75rem; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-title { font-weight: 700; line-height: 1.3; }
.price { font-weight: 800; font-size: 1.15rem; color: var(--fb-green-dark); white-space: nowrap; }
.price-lg { font-size: 2rem; }
.price-request { color: var(--fb-accent-dark); font-size: 1rem; }
.price-lg.price-request { font-size: 1.6rem; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 575.98px) {
  .product-card .card-body { padding: .75rem; }
  .product-card .card-title { font-size: .9rem; }
  .price { font-size: 1rem; }
  .product-card .badge { display: none; }
}

/* kategorie */
.cat-nav .list-group-item { border: 0; border-radius: .4rem !important; padding: .5rem .75rem; font-weight: 500; }
.cat-nav .list-group-item.active { background: var(--fb-green); color: #fff; }
.cat-nav { top: 100px; }
.cat-chips { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.cat-chips .btn { white-space: nowrap; border-radius: 2rem; }

/* detail produktu */
.product-gallery .main-image img { width: 100%; height: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.thumbs img { width: 100%; height: 100%; }
.thumb { border-radius: .4rem; overflow: hidden; outline: 2px solid transparent; }
.thumb:hover { outline-color: var(--fb-accent); }
.buy-box { background: #f6f8f3; border: 1px solid #e3ead9; border-radius: .75rem; padding: 1.5rem; }
.facts li { display: flex; gap: .5rem; align-items: center; margin-bottom: .35rem; }
.facts .ico { color: var(--fb-green); }
.qty-input { display: flex; width: 132px; flex-shrink: 0; }
.qty-input .form-control { border-radius: 0; border-left: 0; border-right: 0; -moz-appearance: textfield; }
.qty-input .form-control::-webkit-outer-spin-button, .qty-input .form-control::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-input .btn:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.qty-input .btn:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.qty-sm { width: 112px; }
.qty-sm .btn, .qty-sm .form-control { padding: .25rem .5rem; }
.inquiry-box { background: #fff; border: 1px solid #e3ead9; border-radius: .75rem; padding: 1.5rem; }
.mobile-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid #e3ead9; box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding: .65rem 1rem; display: flex; justify-content: space-between; align-items: center; padding-bottom: calc(.65rem + env(safe-area-inset-bottom)); }
@media (max-width: 991.98px) { body:has(.mobile-buy) { padding-bottom: 76px; } }

/* kosik a objednavka */
.checkout-steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.5rem; font-size: .9rem; color: var(--fb-muted); flex-wrap: wrap; }
.checkout-steps li { display: flex; align-items: center; gap: .4rem; }
.checkout-steps li + li::before { content: ""; width: 24px; height: 2px; background: #d5dccc; margin-right: .25rem; }
.checkout-steps span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e6eadf; font-weight: 700; font-size: .8rem; }
.checkout-steps .done span { background: var(--fb-green); color: #fff; }
.checkout-steps .current { color: var(--fb-ink); font-weight: 700; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto auto 40px; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid #e6eadf; }
.cart-img img { width: 96px; height: 72px; object-fit: cover; }
@media (max-width: 767.98px) {
  .cart-row { grid-template-columns: 72px 1fr auto; grid-template-areas: "img name del" "qty qty total"; gap: .5rem .75rem; }
  .cart-img { grid-area: img; } .cart-img img { width: 72px; height: 54px; }
  .cart-name { grid-area: name; } .cart-qty { grid-area: qty; } .cart-total { grid-area: total; text-align: right; } .cart-del { grid-area: del; }
}
.summary-box { background: #f6f8f3; border: 1px solid #e3ead9; border-radius: .75rem; padding: 1.5rem; top: 100px; }
.form-section { border: 1px solid #e3ead9; border-radius: .75rem; padding: 1.25rem 1.5rem 1.5rem; margin-bottom: 1.5rem; }
.form-section legend { float: none; width: auto; font-size: 1.15rem; font-weight: 700; padding: 0 .5rem; margin: 0 0 .5rem -.5rem; }
.choice { display: flex; gap: .75rem; align-items: center; border: 1px solid #dfe5d6; border-radius: .5rem; padding: .85rem 1rem; margin-bottom: .5rem; cursor: pointer; transition: border-color .15s, background .15s; }
.choice .form-check-input { margin: 0; flex-shrink: 0; }
.choice small { display: block; color: var(--fb-muted); }
.choice:has(input:checked) { border-color: var(--fb-green); background: var(--fb-green-light); }
.choice.disabled { opacity: .45; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--fb-green-light); color: var(--fb-green); }

/* kontakt */
.contact-card { background: var(--fb-green-light); border-radius: .75rem; padding: 1.5rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; font-size: 1.05rem; }
.contact-list .ico { color: var(--fb-green); margin-top: .25rem; }

/* oceneni, CTA */
.award-box { display: flex; gap: 1rem; align-items: center; background: #fff7e8; border: 1px solid #ffe2b0; border-radius: .75rem; padding: 1rem 1.25rem; }
.award-box .ico { color: var(--fb-accent-dark); }
.cta { background: linear-gradient(135deg, var(--fb-green) 0%, var(--fb-green-dark) 100%); color: #fff; }
.cta .lead { color: #e2ecd6; }

/* galerie + lightbox */
.gallery-thumb img { width: 100%; height: 100%; transition: transform .3s; }
.gallery-thumb { overflow: hidden; border-radius: .4rem; }
.gallery-thumb:hover img { transform: scale(1.04); }
#lightbox .modal-content { position: relative; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 2.5rem; line-height: 1; width: 48px; height: 64px; border-radius: .4rem; }
.lb-prev { left: .5rem; } .lb-next { right: .5rem; }
.lb-nav:hover { background: rgba(0, 0, 0, .7); }

/* paticka */
.site-footer { background: #1b2a10; color: #c9d6bc; }
.site-footer h2 { color: #fff; letter-spacing: .05em; }
.site-footer a { color: #e3eed6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: .35rem; }
.footer-bottom { background: #142008; color: #9fb08f; }

.breadcrumb { --bs-breadcrumb-divider: "›"; }
.breadcrumb a { text-decoration: none; }
