/* Homatics light-blue theme.
   Primary action buttons intentionally keep the existing dark blue. */
:root {
  --surface: #e8f3ff !important;
  --surface-soft: #f5faff !important;
  --soft-pink: #dbeafe !important;
  --border: #c4dcf3 !important;
  --shadow: 0 22px 40px rgba(30, 64, 175, 0.11) !important;
  --shadow-sm: 0 14px 26px rgba(30, 64, 175, 0.1) !important;
  --product-stage-edge: #f7fbff;
  --product-stage-edge-clear: rgba(247, 251, 255, 0);
}

html,
body {
  background: #ffffff !important;
}

main,
.checkout-page-main {
  background: transparent !important;
}

header {
  background: #fbfdff !important;
}

header .top-banner {
  background: #1e40af !important;
  border-bottom: 1px solid #1e3a8a !important;
  color: #ffffff !important;
}

.home-categories h2,
.retro-categories h2 {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin: 0 auto 1.2rem !important;
  padding: 0.7rem 1.8rem;
  background: #1e40af !important;
  border: 1px solid #1e3a8a;
  border-radius: 0.75rem;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.2);
  line-height: 1.2;
}

.home,
.home .slider-img {
  background: #e8f3ff !important;
}

.retro-categories,
.about .test,
.spravodaj-container {
  background-color: #e8f3ff !important;
  border-color: #c4dcf3 !important;
}

.about .test,
.spravodaj-container {
  background: linear-gradient(180deg, #fbfdff 0%, #f5faff 100%) !important;
}

.retro-categories {
  background: linear-gradient(180deg, #fbfdff 0%, #f5faff 100%) !important;
}

.spravodaj-container {
  border: 1px solid #a9cbea !important;
  box-shadow: 0 12px 26px rgba(30, 64, 175, 0.1) !important;
}

.spravodaj-form input {
  background: #ffffff !important;
  border: 1px solid #9fc4e7 !important;
  box-shadow: inset 0 1px 2px rgba(30, 64, 175, 0.08) !important;
}

.spravodaj-form input:focus {
  border-color: #1e40af !important;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.14) !important;
  outline: none !important;
}

.spravodaj-form input::placeholder {
  color: #667085 !important;
  opacity: 1 !important;
}

.category-card,
.retro-category-card {
  background: #ffffff !important;
  border-color: #b9d7f2 !important;
  box-shadow: 0 10px 22px rgba(30, 64, 175, 0.06);
}



/* Neutral category treatment shared by product and video category listings. */
.retro-categories {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.retro-categories .retro-category-card {
  background: #ffffff !important;
  border: 1px solid #dedede !important;
  box-shadow: none !important;
}



.retro-categories .retro-category-card--active {
  background: #ffffff !important;
  border-color: #bfbfbf !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08) !important;
}

.course .box,
.course .box-container .box {
  background: linear-gradient(180deg, #fbfdff 0%, #f5faff 100%) !important;
  border-color: #b5d2ed !important;
}

/* Daily-sale cards retain their red promotional treatment. */
.course .box.product-card--daily-sale,
.course .box-container .box.product-card--daily-sale {
  background: linear-gradient(180deg, #fff8f8 0%, #f6e9ea 100%) !important;
  border-color: #d32f2f !important;
  box-shadow: 0 12px 26px rgba(211, 47, 47, 0.22) !important;
  --product-stage-edge: #faeeee;
  --product-stage-edge-clear: rgba(250, 238, 238, 0);
}

.checkout-form label:has(> input[type="radio"]),
.checkout-form label:has(> input[type="checkbox"]),
.product-variant-picker__option,
.produkt-reference-item,
.video-empty-state {
  background: linear-gradient(180deg, #ffffff 0%, #edf6ff 100%) !important;
  border-color: #c4dcf3 !important;
}

.checkout-form label:has(> input:checked),
.product-variant-picker__option.is-active {
  background: #dbeafe !important;
  border-color: #60a5fa !important;
}

.product-count,
#discount-code,
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form input[type="text"],
.checkout-form select,
#pickupPointDisplay {
  border-color: #c4dcf3 !important;
}

.product-count:focus-within,
#discount-code:focus,
.checkout-form input[type="email"]:focus,
.checkout-form input[type="tel"]:focus,
.checkout-form input[type="text"]:focus,
.checkout-form select:focus,
#pickupPointDisplay:focus {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16) !important;
}

/* Page titles follow the same clean, black treatment as category headings. */
h1:has(> i.fa-caret-right),
h2:has(> i.fa-caret-right) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 1.4rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #111 !important;
  font-size: clamp(2rem, 2.2vw, 2.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-align: left !important;
  text-transform: none !important;
}

h1 > i.fa-caret-right,
h2 > i.fa-caret-right {
  display: none !important;
}

/* The input keeps its own white pill; no tinted panel should sit behind it. */
.home-search-section:not(.search-panel-open):not(.mobile-search-open) .container {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}


/* Square structural cards match the current product-detail visual language. */
body .header-locale-button,
body .header-locale-menu,
body .header-locale-option,
body .kosik-container .promo-bubble-inline,
body .kosik-container .kosik-produkt,
body .kosik-container .produkt-obsah img,
body .kosik-container .product-count,
body .kosik-container .produkt-obsah > a,
body .kosik-container .kosik-celkem,
body .kosik-container .price-summary__note,
body .kosik-container .kosik-objednat,
body .kosik-container #submitButton,
body .kosik-container #discount-code,
body .kosik-container #apply-discount,
body .checkout-page-main .checkout-card,
body .checkout-page-main .checkout-form-note,
body .checkout-page-main .checkout-form input,
body .checkout-page-main .checkout-form select,
body .checkout-page-main .checkout-form button,
body .checkout-page-main .checkout-form label:has(> input[type="radio"]),
body .checkout-page-main .checkout-form label:has(> input[type="checkbox"]),
body .checkout-page-main #differentAddressFields,
body .checkout-page-main #pickupPointSection,
body .checkout-page-main #businessFields,
body .checkout-page-main .product,
body .checkout-page-main .product img,
body .checkout-page-main .total-price,
body .checkout-page-main .price-summary-card__note,
body .checkout-page-main #submitButton,
body .checkout-page-main .osobne,
body #dpdModalContent,
body #closeDpdModal,
body .sidebar,
body .sidebar .velde,
body .sidebar > ul li a,
body .sidebar .contact a,
body .sidebar .contact img,
body .course .hore .video,
body .course .hore .video > a,
body .course .hore .video iframe,
body .course .hore .video img,
body .course .hore .video .lite-youtube,
body .course .hlavna > .produktinfo,
body .product-detail-columns .produktinfo img,
body .product-detail-columns .produktinfo iframe,
body .product-detail-columns .produktinfo video,
body .product-detail-columns .produktinfo .lite-youtube,
body .about-page-main .about-story img,
body .about-page-main .about-story iframe,
body .about-page-main .about-story video,
body .about-page-main .about-story .lite-youtube,
body .about-page-main .about-story .cookie-media-placeholder,
body .one-sprava-page-main .article-story,
body .one-sprava-page-main .article-story img,
body .one-sprava-page-main .article-story iframe,
body .one-sprava-page-main .article-story video,
body .one-sprava-page-main .article-story .lite-youtube,
body .one-sprava-page-main .article-story .cookie-media-placeholder,
body .one-sprava-page-main .article-story .lite-youtube > img {
  border-radius: 0 !important;
}


/* Checkout spacing and desktop name layout */
body header .global-header-search .home-search-input-wrap,
body header .global-header-search #home-search-input,
body header .global-header-search .home-search-input-wrap > i,
body header .global-header-search .home-search-results {
  border-radius: 0 !important;
}

body .checkout-page-main .checkout-form > h2 {
  margin-top: 2.2rem !important;
}

body .checkout-page-main .checkout-form > h2 + label[for]:not(:has(> input[type="radio"])):not(:has(> input[type="checkbox"])) {
  /* The section title belongs visually to the fields below it. */
  margin-top: 0 !important;
}

body .checkout-page-main .checkout-form label[for]:not(:has(> input[type="radio"])):not(:has(> input[type="checkbox"])) {
  display: block;
  margin-top: 1.25rem !important;
  margin-bottom: 0.4rem !important;
  /* Keep each label visually grouped with the field below it. */
  font-size: 1.31rem !important;
  line-height: 1.3 !important;
}

body .checkout-page-main .checkout-form input[type="email"],
body .checkout-page-main .checkout-form input[type="tel"],
body .checkout-page-main .checkout-form input[type="text"],
body .checkout-page-main .checkout-form input[type="number"],
body .checkout-page-main .checkout-form select,
body .checkout-page-main .checkout-form textarea,
body .checkout-page-main #pickupPointDisplay {
  font-size: 1.31rem !important;
}

body .checkout-page-main #personNameFields:not([hidden]):not(.hidden),
body .checkout-page-main #customerNameRow:not([hidden]):not(.hidden),
body .checkout-page-main #personalNameFields:not([hidden]):not(.hidden),
body .checkout-page-main #customerNameFields:not([hidden]):not(.hidden),
body .checkout-page-main .checkout-form__two-col:not([hidden]):not(.hidden) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.2rem !important;
  width: 100%;
}

body .checkout-page-main #personNameFields > *,
body .checkout-page-main #customerNameRow > *,
body .checkout-page-main #personalNameFields > *,
body .checkout-page-main #customerNameFields > *,
body .checkout-page-main .checkout-form__two-col > * {
  min-width: 0;
}

body .checkout-page-main #personNameFields input,
body .checkout-page-main #customerNameRow input,
body .checkout-page-main #personalNameFields input,
body .checkout-page-main #customerNameFields input,
body .checkout-page-main .checkout-form__two-col input {
  box-sizing: border-box;
  width: 100%;
}

body .checkout-page-main .price-summary-card__row--net {
  margin-top: 0.1rem;
  padding-top: 0.7rem;
  border-top: 1px solid #e3e6eb;
  color: #8a8f98 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
}

body .checkout-page-main .price-summary-card__row--net strong {
  color: #8a8f98 !important;
  font-size: 1.04rem !important;
  font-weight: 600 !important;
}

@media (max-width: 640px) {
  body .checkout-page-main .checkout-form label[for]:not(:has(> input[type="radio"])):not(:has(> input[type="checkbox"])),
  body .checkout-page-main .checkout-form input[type="email"],
  body .checkout-page-main .checkout-form input[type="tel"],
  body .checkout-page-main .checkout-form input[type="text"],
  body .checkout-page-main .checkout-form input[type="number"],
  body .checkout-page-main .checkout-form select,
  body .checkout-page-main .checkout-form textarea,
  body .checkout-page-main #pickupPointDisplay {
    font-size: 1.42rem !important;
  }

  body .checkout-page-main #personNameFields:not([hidden]):not(.hidden),
  body .checkout-page-main #customerNameRow:not([hidden]):not(.hidden),
  body .checkout-page-main #personalNameFields:not([hidden]):not(.hidden),
  body .checkout-page-main #customerNameFields:not([hidden]):not(.hidden),
  body .checkout-page-main .checkout-form__two-col:not([hidden]):not(.hidden) {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
}
