/* ==========================================================================
   DON CARTON – homepage
   Rozměry odvozené z návrhu: rám 1456 px, obsahový kontejner 1281 px.
   Vše prefixované .dc-.
   ========================================================================== */

/* --------------------------------------------------------------------------
   PÍSMA – self-hostovaná, podsetovaná na latinku + českou diakritiku.
   Breamcatcher je komerční font (Typodermic), pro web je potřeba dokoupit
   licenci, viz brand manuál, sekce Písma.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Breamcatcher";
  src: url("assets/fonts/breamcatcher-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Breamcatcher";
  src: url("assets/fonts/breamcatcher-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --dc-paper: #fbf7ee;
  --dc-paper-light: #fcfaf6;
  --dc-white: #fff;
  --dc-ink: #322820;
  --dc-ink-soft: #6f665b;
  --dc-teal: #117e99;
  --dc-teal-dark: #0d6c85;
  --dc-cream-line: #fffdee;
  --dc-kraft: #945621;
  --dc-orange: #c78a4e;
  --dc-badge: #e09a68;
  --dc-line: #e3ddd1;

  --dc-display: "Breamcatcher", "Arial Narrow", sans-serif;
  --dc-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --dc-hand: "Caveat", "Segoe Script", cursive;

  --dc-texture: url("assets/paper-texture.png");
  --dc-tape: url("assets/paska.png");
  --dc-cta-frame: url("assets/cta-ramecek.svg");

  --dc-container: 1281px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.dc-page {
  margin: 0;
  background-color: var(--dc-paper);
  color: var(--dc-ink);
  font-family: var(--dc-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.dc-container {
  width: 100%;
  max-width: var(--dc-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.dc-section {
  position: relative;
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.dc-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.dc-h2 {
  margin: 0;
  font-family: var(--dc-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.17;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* papírová textura na krémovém podkladu */
.dc-paper-bg {
  position: relative;
  isolation: isolate;
  background-color: var(--dc-paper);
}

.dc-paper-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dc-texture);
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.dc-paper-bg > * {
  position: relative;
  z-index: 1;
}

/* lepicí páska jako dekorace */
.dc-tape {
  position: absolute;
  width: 53px;
  height: 21px;
  background-image: var(--dc-tape);
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 3;
}

/* ==========================================================================
   TLAČÍTKA
   ========================================================================== */

.dc-btn {
  --dc-btn-bg: var(--dc-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  height: 44px;
  /* Breamcatcher má vysoký accent nad verzálkami, takže text ve flexu sedí
     opticky výš. 0,165 em nahoře ho posune přesně na střed. */
  padding: 0.165em 1.4em 0;
  border: 0;
  background: var(--dc-btn-bg);
  color: var(--dc-cream-line);
  font-family: var(--dc-display);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

/* Text je posunutý o 0,165 em dolů kvůli vysokému accentu Breamcatcheru.
   Ikona ten posun mít nesmí, jinak sedí pod optickým středem. */
.dc-btn svg {
  flex: none;
  margin-top: -0.165em;
}

.dc-btn:hover,
.dc-btn:focus-visible {
  --dc-btn-bg: var(--dc-teal-dark);
  transform: translateY(-1px);
}

.dc-btn:focus-visible {
  outline: 3px solid var(--dc-ink);
  outline-offset: 3px;
}

/* Varianta s originální art-deco ozdobou z brand kitu (cta_.svg z Drive).
   border-image natahuje jen prostřední proužek, takže rohy zůstávají
   nezkreslené při libovolné šířce tlačítka. */
.dc-btn--frame {
  height: 55px;
  padding: 0.165em 6px 0;
  background: transparent;
  border-style: solid;
  border-width: 0 58px;
  border-image-source: var(--dc-cta-frame);
  border-image-slice: 0 47.586% fill;
  border-image-repeat: stretch;
}

.dc-btn--frame:hover,
.dc-btn--frame:focus-visible {
  filter: brightness(0.92);
}

/* obrysová varianta na krémovém podkladu */
.dc-btn--ghost {
  --dc-btn-bg: transparent;
  height: 55px;
  color: var(--dc-ink);
  box-shadow: inset 0 0 0 1px var(--dc-ink);
}

.dc-btn--ghost:hover,
.dc-btn--ghost:focus-visible {
  --dc-btn-bg: rgba(50, 40, 32, 0.06);
  color: var(--dc-ink);
}

/* ==========================================================================
   HLAVIČKA
   V návrhu není bílá, ale světle krémová se stejnou papírovou texturou.
   ========================================================================== */

.dc-header {
  position: relative;
  z-index: 3;
  isolation: isolate;
  background: var(--dc-paper-light);
}

.dc-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dc-texture);
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.dc-header > * {
  position: relative;
  z-index: 1;
}

.dc-header__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: 1rem;
}

.dc-logo {
  display: block;
}

.dc-logo img {
  display: block;
  width: 160px;
  height: auto;
}

.dc-search {
  position: relative;
  justify-self: center;
  width: min(100%, 536px);
}

.dc-search__field {
  display: flex;
  align-items: center;
  height: 53px;
  background: var(--dc-white);
  border: 1px solid var(--dc-line);
}

.dc-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 1.15rem;
  border: 0;
  background: transparent;
  color: var(--dc-ink);
  font: inherit;
  font-size: 16px;
}

.dc-search input::placeholder {
  color: #9c948a;
}

.dc-search input:focus-visible {
  outline: 2px solid var(--dc-teal);
  outline-offset: -2px;
}

.dc-search button {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dc-ink);
  cursor: pointer;
}

.dc-search button:focus-visible {
  outline: 2px solid var(--dc-teal);
  outline-offset: -2px;
}

/* páska lepí roh pole, většina plochy leží mimo pole */
.dc-search .dc-tape--a {
  top: -9px;
  right: -23px;
  width: 52px;
  height: 20px;
  transform: rotate(8deg);
}

.dc-search .dc-tape--b {
  bottom: -9px;
  left: -34px;
  width: 51px;
  height: 23px;
  transform: rotate(17deg);
}

.dc-header__tools {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.dc-header__tools a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--dc-ink);
}

.dc-header__tools a:focus-visible {
  outline: 2px solid var(--dc-teal);
  outline-offset: 2px;
}

/* --- navigace: oddělovače jsou krátké svislé linky, ne plná ohraničení --- */

.dc-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dc-nav li {
  position: relative;
  display: flex;
  align-items: center;
}

.dc-nav li + li::before {
  content: "";
  width: 1px;
  height: 27px;
  background: var(--dc-line);
}

.dc-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.3rem 1.75rem;
  color: var(--dc-ink);
  font-size: 16px;
  text-decoration: none;
}

.dc-nav a:hover,
.dc-nav a:focus-visible {
  color: var(--dc-teal);
}

.dc-nav svg {
  flex: none;
  opacity: 0.7;
}

/* ==========================================================================
   KATEGORIE
   ========================================================================== */

.dc-cats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.dc-cats .dc-tape--start {
  top: -6px;
  left: -17px;
  width: 59px;
  height: 29px;
  transform: rotate(0.5deg);
}

.dc-cats .dc-tape--end {
  right: -29px;
  bottom: -26px;
  width: 80px;
  height: 38px;
  transform: rotate(0.5deg);
}

.dc-cat {
  display: flex;
  align-items: center;
  gap: 21px;
  min-height: 115px;
  padding: 1rem 33px;
  background: var(--dc-white);
  color: var(--dc-ink);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(50, 40, 32, 0.06);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.dc-cat:hover,
.dc-cat:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(50, 40, 32, 0.12);
}

.dc-cat:focus-visible {
  outline: 3px solid var(--dc-teal);
  outline-offset: 2px;
}

.dc-cat__icon {
  flex: none;
  width: 73px;
  height: 50px;
  object-fit: contain;
}

.dc-cat__name {
  flex: 1;
  font-family: var(--dc-display);
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dc-cat__more {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--dc-ink-soft);
  font-size: 16px;
  white-space: nowrap;
}

.dc-cat:hover .dc-cat__more {
  color: var(--dc-teal);
}

/* ==========================================================================
   PRODUKTY
   ========================================================================== */

.dc-carousel-nav {
  display: flex;
  gap: 0.75rem;
}

.dc-carousel-nav button {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--dc-teal);
  background: transparent;
  color: var(--dc-teal);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.dc-carousel-nav button:last-child {
  background: var(--dc-teal);
  color: #fff;
}

.dc-carousel-nav button:hover {
  background: var(--dc-teal-dark);
  border-color: var(--dc-teal-dark);
  color: #fff;
}

.dc-carousel-nav button:focus-visible {
  outline: 3px solid var(--dc-ink);
  outline-offset: 2px;
}

.dc-products {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 295px;
  gap: 33px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.dc-products::-webkit-scrollbar {
  display: none;
}

.dc-product {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--dc-white);
  box-shadow: 0 1px 3px rgba(50, 40, 32, 0.06);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.dc-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(50, 40, 32, 0.13);
}

.dc-product__media {
  position: relative;
  aspect-ratio: 295 / 184;
  overflow: hidden;
}

.dc-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dc-product:hover .dc-product__media img {
  transform: scale(1.04);
}

.dc-product__badge {
  position: absolute;
  top: 14px;
  left: 0;
  padding: 0.58em 1em 0.42em;
  background: var(--dc-badge);
  color: #fff;
  font-family: var(--dc-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dc-product__badge--sale {
  background: var(--dc-paper);
  color: var(--dc-orange);
}

.dc-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 25px 27px;
}

.dc-product__stock {
  margin: 0;
  font-family: var(--dc-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dc-orange);
}

.dc-product__stock--out {
  color: #a49b8f;
}

.dc-product__name {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.dc-product__name a {
  color: inherit;
  text-decoration: none;
}

/* celá karta je klikatelná, ale v DOM zůstává odkaz jen jednou */
.dc-product__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.dc-product__name a:hover {
  color: var(--dc-teal);
}

.dc-product__name a:focus-visible {
  outline: 3px solid var(--dc-teal);
  outline-offset: 3px;
}

.dc-product__price {
  margin: 16px 0 0;
  font-family: var(--dc-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.dc-product__vat {
  margin: 4px 0 0;
  color: var(--dc-ink-soft);
  font-size: 14px;
  line-height: 1.43;
}

.dc-product .dc-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 48px;
  margin-top: 18px;
  padding: 0.165em 1em 0;
}

.dc-products-more {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

/* ==========================================================================
   BRANDOVANÉ OBALY
   ========================================================================== */

.dc-brand {
  position: relative;
  z-index: 1;
  isolation: isolate;
  box-shadow: 0 -18px 54px rgba(50, 40, 32, 0.18);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(
    90deg,
    #b57d49 0%,
    #c3854c 21%,
    #b57b46 46%,
    #cf8e51 72%,
    #cf8e51 86%,
    #c5874e 100%
  );
  color: #2c1d0f;
}

.dc-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dc-texture);
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.dc-brand > * {
  position: relative;
  z-index: 1;
}

/* Stejný dvouvrstvý stín jako pod hero, jen zapuštěný do horní hrany
   kraftové sekce. Uprostřed kratší a světlejší, u krajů delší a sytější. */
.dc-brand .dc-edge-shadow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  background: rgba(38, 22, 8, 0.1);
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 15%,
    rgba(0, 0, 0, 0.6) 32%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.18) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 15%,
    rgba(0, 0, 0, 0.6) 32%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.18) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.dc-brand .dc-edge-shadow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  background: linear-gradient(
    to right,
    rgba(38, 22, 8, 0.11) 0%,
    rgba(38, 22, 8, 0.075) 15%,
    rgba(38, 22, 8, 0.03) 35%,
    rgba(38, 22, 8, 0) 50%,
    rgba(38, 22, 8, 0.03) 65%,
    rgba(38, 22, 8, 0.075) 85%,
    rgba(38, 22, 8, 0.11) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.86) 25%,
    rgba(0, 0, 0, 0.62) 50%,
    rgba(0, 0, 0, 0.35) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.86) 25%,
    rgba(0, 0, 0, 0.62) 50%,
    rgba(0, 0, 0, 0.35) 75%,
    rgba(0, 0, 0, 0) 100%
  );
}

.dc-brand__title {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.dc-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  justify-items: center;
}

.dc-gallery img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* ==========================================================================
   PATIČKA
   Tmavý blok v barvě Hořká čokoláda uzavírá stránku a odděluje ji od obsahu.
   ========================================================================== */

.dc-footer {
  position: relative;
  z-index: 1;
  box-shadow: 0 -18px 54px rgba(30, 16, 4, 0.3);
  isolation: isolate;
  margin-top: 0;
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background: var(--dc-ink);
  color: var(--dc-paper);
}

.dc-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dc-texture);
  background-size: 256px 256px;
  mix-blend-mode: soft-light;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.dc-footer > * {
  position: relative;
  z-index: 1;
}

.dc-footer a {
  color: inherit;
  text-decoration: none;
}

.dc-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dc-footer a:focus-visible {
  outline: 2px solid var(--dc-paper);
  outline-offset: 3px;
}

/* --- newsletter --- */

.dc-footer__newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(251, 247, 238, 0.18);
}

.dc-footer__nl-title {
  margin: 0;
  font-family: var(--dc-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  text-transform: uppercase;
}

.dc-footer__nl-text {
  margin: 6px 0 0;
  color: rgba(251, 247, 238, 0.75);
  font-size: 14px;
  line-height: 1.43;
}

.dc-nl-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(100%, 420px);
}

.dc-nl-form input {
  flex: 1;
  min-width: 180px;
  height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(251, 247, 238, 0.35);
  background: transparent;
  color: var(--dc-paper);
  font: inherit;
  font-size: 16px;
}

.dc-nl-form input::placeholder {
  color: rgba(251, 247, 238, 0.5);
}

.dc-nl-form input:focus-visible {
  outline: 2px solid var(--dc-paper);
  outline-offset: -2px;
}

.dc-nl-form .dc-btn {
  height: 48px;
}

/* --- sloupce --- */

.dc-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3rem);
}

.dc-footer__logo {
  display: block;
  width: 168px;
  height: auto;
}

.dc-footer__claim {
  margin: 12px 0 0;
  max-width: 34ch;
  color: rgba(251, 247, 238, 0.75);
  font-size: 14px;
  line-height: 1.57;
}

.dc-footer__head {
  margin: 0 0 14px;
  font-family: var(--dc-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dc-badge);
}

.dc-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dc-footer__col li + li {
  margin-top: 10px;
}

.dc-footer__col a,
.dc-footer__contact li {
  font-size: 15px;
  line-height: 1.5;
}

.dc-footer__contact li {
  color: rgba(251, 247, 238, 0.85);
}

.dc-social {
  display: flex;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dc-social li + li {
  margin-top: 0;
}

.dc-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 44px;
  color: rgba(251, 247, 238, 0.75);
  transition: color 0.18s ease;
}

.dc-social a:hover {
  color: var(--dc-paper);
  text-decoration: none;
}

/* --- spodní lišta --- */

.dc-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 247, 238, 0.18);
  color: rgba(251, 247, 238, 0.7);
  font-size: 14px;
}

.dc-footer__bottom p {
  margin: 0;
}

.dc-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* stejný přechod jako u hero a kraftové sekce, jen zapuštěný do patičky */
.dc-footer .dc-edge-shadow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 15%,
    rgba(0, 0, 0, 0.6) 32%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.18) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 15%,
    rgba(0, 0, 0, 0.6) 32%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.18) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.dc-footer .dc-edge-shadow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.24) 0%,
    rgba(0, 0, 0, 0.16) 15%,
    rgba(0, 0, 0, 0.07) 35%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.07) 65%,
    rgba(0, 0, 0, 0.16) 85%,
    rgba(0, 0, 0, 0.24) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.86) 25%,
    rgba(0, 0, 0, 0.62) 50%,
    rgba(0, 0, 0, 0.35) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.86) 25%,
    rgba(0, 0, 0, 0.62) 50%,
    rgba(0, 0, 0, 0.35) 75%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* --------------------------------------------------------------------------
   SVĚTLÁ VARIANTA PATIČKY
   Zapíná se přidáním třídy .dc-footer--light na <footer>.
   Tmavá zůstává výchozí, přepnutí je jen tahle jedna třída.
   -------------------------------------------------------------------------- */

.dc-footer--light {
  background: var(--dc-paper);
  color: var(--dc-ink);
}

.dc-footer--light::before {
  mix-blend-mode: overlay;
  opacity: 0.7;
}

.dc-footer--light .dc-edge-shadow {
  height: 14px;
  background: rgba(50, 40, 32, 0.19);
}

.dc-footer--light .dc-edge-shadow::after {
  height: 34px;
  background: linear-gradient(
    to right,
    rgba(50, 40, 32, 0.21) 0%,
    rgba(50, 40, 32, 0.14) 15%,
    rgba(50, 40, 32, 0.06) 35%,
    rgba(50, 40, 32, 0) 50%,
    rgba(50, 40, 32, 0.06) 65%,
    rgba(50, 40, 32, 0.14) 85%,
    rgba(50, 40, 32, 0.21) 100%
  );
}

.dc-footer--light .dc-footer__newsletter {
  border-bottom-color: rgba(50, 40, 32, 0.14);
}

.dc-footer--light .dc-footer__nl-text,
.dc-footer--light .dc-footer__claim,
.dc-footer--light .dc-footer__contact li,
.dc-footer--light .dc-footer__bottom {
  color: var(--dc-ink-soft);
}

.dc-footer--light .dc-footer__head {
  color: var(--dc-kraft);
}

.dc-footer--light .dc-nl-form input {
  border-color: rgba(50, 40, 32, 0.28);
  background: #fff;
  color: var(--dc-ink);
}

.dc-footer--light .dc-nl-form input::placeholder {
  color: #9c948a;
}

.dc-footer--light .dc-nl-form input:focus-visible {
  outline-color: var(--dc-teal);
}

.dc-footer--light .dc-social a {
  color: var(--dc-ink-soft);
}

.dc-footer--light .dc-social a:hover {
  color: var(--dc-teal);
}

.dc-footer--light .dc-footer__bottom {
  border-top-color: rgba(50, 40, 32, 0.14);
}

.dc-footer--light a:focus-visible {
  outline-color: var(--dc-ink);
}

/* ==========================================================================
   RESPONZIVITA
   Breakpointy: 1280 velký desktop, 1080 menší desktop, 900 tablet,
   600 mobil, 380 malý mobil. Typografie je plynulá přes clamp(),
   takže mezi body nic neposkakuje.
   ========================================================================== */

/* --- velké obrazovky: kontejner nepřerůstá, jen se přidá vzduch --- */
@media (min-width: 1600px) {
  .dc-section {
    padding-block: 4rem;
  }
}

/* --- menší desktop --- */
@media (max-width: 1200px) {
  .dc-products {
    grid-auto-columns: minmax(0, 265px);
    gap: 26px;
  }

  .dc-cat {
    padding: 1rem 24px;
    gap: 18px;
  }

  .dc-cat__icon {
    width: 62px;
    height: 44px;
  }
}

/* --- tablet: kategorie do jednoho sloupce, karusel užší --- */
@media (max-width: 1000px) {
  .dc-section__head {
    margin-bottom: 2rem;
  }

  .dc-products {
    grid-auto-columns: minmax(0, 250px);
    gap: 20px;
  }

  .dc-gallery {
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .dc-header__top {
    grid-template-columns: auto auto;
    row-gap: 0.75rem;
    padding-block: 0.875rem;
  }

  .dc-logo img {
    width: 132px;
  }

  .dc-search {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
  }

  .dc-search .dc-tape {
    display: none;
  }

  .dc-nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .dc-nav ul::-webkit-scrollbar {
    display: none;
  }

  .dc-nav a {
    padding: 0.9rem 1.1rem;
    white-space: nowrap;
  }

  .dc-section {
    padding-block: 2.25rem;
  }

  .dc-section__head {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .dc-cats {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .dc-cats .dc-tape {
    display: none;
  }

  .dc-cat {
    min-height: 84px;
    padding: 0.875rem 1.125rem;
    gap: 0.875rem;
  }

  .dc-cat__icon {
    width: 48px;
    height: 36px;
  }

  .dc-cat__more span {
    display: none;
  }

  .dc-carousel-nav {
    display: none;
  }

  /* karusel přeteče přes okraj kontejneru, aby bylo vidět, že se dá scrollovat */
  .dc-products {
    grid-auto-columns: min(74vw, 260px);
    gap: 16px;
    margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem));
    padding-inline: clamp(1rem, 4vw, 2rem);
    scroll-padding-inline: clamp(1rem, 4vw, 2rem);
  }

  .dc-products-more {
    margin-top: 1.75rem;
  }

  .dc-btn--frame,
  .dc-btn--ghost {
    height: 50px;
  }

  .dc-btn--frame {
    border-width: 0 53px;
  }

  .dc-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .dc-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dc-footer__col--brand {
    grid-column: 1 / -1;
  }

  .dc-gallery img:last-child {
    grid-column: 1 / -1;
    max-width: 320px;
  }
}

/* --- mobil --- */
@media (max-width: 600px) {
  .dc-header__tools {
    gap: 0.5rem;
  }

  .dc-search__field {
    height: 48px;
  }

  .dc-product__body {
    padding: 14px 18px 20px;
  }

  .dc-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .dc-gallery img:last-child {
    max-width: 380px;
  }

  .dc-section__head .dc-btn {
    width: 100%;
  }

  .dc-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .dc-nl-form {
    width: 100%;
  }

  .dc-nl-form .dc-btn {
    width: 100%;
  }
}

/* --- malý mobil --- */
@media (max-width: 380px) {
  .dc-logo img {
    width: 116px;
  }

  .dc-products {
    grid-auto-columns: 82vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .dc-btn:hover,
  .dc-cat:hover,
  .dc-product:hover {
    transform: none;
  }

  .dc-product:hover .dc-product__media img {
    transform: none;
  }
}

@supports not (mix-blend-mode: overlay) {
  .dc-paper-bg::before,
  .dc-header::before,
  .dc-brand::before {
    mix-blend-mode: normal;
    opacity: 0.1;
  }
}

/* ==========================================================================
   HERO – převzato z hero.css (v2)
   ========================================================================== */

.dc-hero {
  /* barvy */
  --dc-paper: #fbf7ee;
  --dc-ink: #322820;
  --dc-teal: #117e99;
  --dc-teal-dark: #0d6c85;

  /* písma */
  --dc-display: "Breamcatcher", "Arial Narrow", sans-serif;
  --dc-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --dc-hand: "Caveat", "Segoe Script", cursive;

  /* cesta k textuře – přepiš podle úložiště */
  --dc-texture: url("assets/paper-texture.png");

  position: relative;
  z-index: 2;
  isolation: isolate;
  background-color: var(--dc-paper);
  color: var(--dc-ink);
  font-family: var(--dc-body);
}

/* Stín pod hero. V návrhu není po celé šířce stejný a hlavně nemá všude
   stejný dosah: uprostřed má krytí 19 % a mizí po 13 px, u krajů 28 %
   a táhne se 30 px. Ten rozdíl dělá ten dojem nadzvednutého papíru.
   Řeším to dvěma vrstvami: rovnoměrný krátký stín po celé šířce
   plus delší přítlak jen u krajů. Svislá maska dělá dojezd do ztracena. */

.dc-hero::before,
.dc-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  pointer-events: none;
  z-index: 1;
}

.dc-hero::before {
  height: 14px;
  background: rgba(50, 40, 32, 0.19);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 15%,
    rgba(0, 0, 0, 0.6) 32%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.18) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 15%,
    rgba(0, 0, 0, 0.6) 32%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.18) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.dc-hero::after {
  height: 34px;
  background: linear-gradient(
    to right,
    rgba(50, 40, 32, 0.21) 0%,
    rgba(50, 40, 32, 0.14) 15%,
    rgba(50, 40, 32, 0.06) 35%,
    rgba(50, 40, 32, 0) 50%,
    rgba(50, 40, 32, 0.06) 65%,
    rgba(50, 40, 32, 0.14) 85%,
    rgba(50, 40, 32, 0.21) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.86) 25%,
    rgba(0, 0, 0, 0.62) 50%,
    rgba(0, 0, 0, 0.35) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.86) 25%,
    rgba(0, 0, 0, 0.62) 50%,
    rgba(0, 0, 0, 0.35) 75%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* plátno v poměru návrhu; nad 1920 px se necentruje do nekonečna */
.dc-hero__stage {
  container-type: inline-size;
  position: relative;
  max-width: 1920px;
  margin-inline: auto;
  aspect-ratio: 2048 / 765;
  overflow: hidden;
}

/* papírová textura */
.dc-hero__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dc-texture);
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

/* ztmavení okrajů uvnitř banneru */
.dc-hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 0 6cqw rgba(58, 45, 28, 0.2),
    inset 0 0 2cqw rgba(58, 45, 28, 0.1);
  pointer-events: none;
  z-index: 4;
}

/* ------------------------------------------------------------------ text */

.dc-hero__content {
  position: absolute;
  z-index: 3;
  left: 8.2%;
  top: 46.9%;
  transform: translateY(-50%);
  width: 46%;
}

.dc-hero__title {
  margin: 0;
  font-family: var(--dc-display);
  font-weight: 700;
  font-size: clamp(30px, 4.2cqw, 61px);
  line-height: 1.14;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dc-hero__title-line {
  display: block;
}

/* ručně kreslené podtržení pod klíčovým slovem */
.dc-hero__mark {
  position: relative;
  display: inline-block;
}

.dc-hero__mark::after {
  content: "";
  position: absolute;
  left: -26%;
  right: -37%;
  bottom: -0.12em;
  height: 0.27em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 204 30' fill='%23117e9a'%3E%3Cpath d='M3 20C40 16 100 7 156 3l0 5C100 12 44 20 3 20Z'/%3E%3Cpath d='M30 26C90 20 156 13 200 12.5l0 3.2C156 17 92 24.5 30 26Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.dc-hero__text {
  margin: 1.2cqw 0 0;
  font-size: clamp(16px, 1.27cqw, 19px);
  line-height: 1.58;
}

/* -------------------------------------------------------------- tlačítko */

.dc-hero__actions {
  margin-top: 2.8cqw;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dc-hero .dc-btn {
  font-size: 18px;
}

/* ---------------------------------------------------------------- maskot */

.dc-hero__mascot {
  position: absolute;
  z-index: 2;
  left: 55.9%;
  bottom: 0;
  width: 31.9%;
}

.dc-hero__mascot img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------- bublina */

.dc-hero__bubble {
  position: absolute;
  z-index: 3;
  left: 50.8%;
  top: 15.7%;
  width: max-content;
  margin: 0;
  font-family: var(--dc-hand);
  font-weight: 600;
  font-size: clamp(14px, 1.56cqw, 26px);
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  color: var(--dc-ink);
}

/* Křivka je uvnitř bubliny, ale absolutně, takže se nepočítá do max-content
   šířky bloku. V originále začíná v polovině druhého řádku a končí přesně
   na jeho konci, takže drží stejný poměr při jakékoli velikosti textu. */
.dc-hero__bubble-line {
  position: absolute;
  z-index: 3;
  left: 60.1%;
  top: 28.1%;
  width: 8.4%;
  height: auto;
  color: var(--dc-ink);
}

/* ------------------------------------------------------ hero responzivně
   Nad 900 px drží hero poměry originálního banneru 1920 × 650.
   Pod 900 px se poměrový layout ruší a obsah teče pod sebou.              */

@media (max-width: 1200px) {
  .dc-hero__content {
    width: 50%;
  }
}

@media (max-width: 900px) {
  .dc-hero__stage {
    container-type: normal;
    aspect-ratio: auto;
    padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1rem, 4vw, 2rem) 0;
  }

  .dc-hero__content {
    position: static;
    transform: none;
    width: 100%;
    max-width: 34rem;
  }

  .dc-hero__title {
    font-size: clamp(28px, 7.6vw, 44px);
    line-height: 1.12;
  }

  .dc-hero__text {
    margin-top: 0.875rem;
  }

  .dc-hero__actions {
    margin-top: 1.5rem;
  }

  .dc-hero__mascot {
    position: static;
    width: min(74%, 300px);
    margin: clamp(0.5rem, 3vw, 1.5rem) 0 0 auto;
  }

  /* vedle nadpisu na ni není místo */
  .dc-hero__bubble,
  .dc-hero__bubble-line {
    display: none;
  }

  .dc-hero__stage::after {
    box-shadow: inset 0 0 40px rgba(58, 45, 28, 0.16);
  }
}

@media (max-width: 600px) {
  .dc-hero__mascot {
    width: min(86%, 260px);
  }
}

@supports not (mix-blend-mode: overlay) {
  .dc-hero__stage::before {
    mix-blend-mode: normal;
    opacity: 0.1;
  }
}
