/* Dana category carousel: what both designs share (the head, tabs, slider
   chrome, placeholder, edge and side layouts). Each design's own tile is in
   category-carousel-1.css / -2.css. Measured against Vineta
   (design/css/styles.css) at 1440 / 1024 / 768 / 390; sizes in px (the
   starter's root is 12px). One sheet for both directions. */
.dana-cc { --dana-cc-radius: var(--dana-radius-image); }
.dana-cc--radius-0 { --dana-cc-radius: 0px; }
.dana-cc--radius-8 { --dana-cc-radius: 8px; }
.dana-cc--radius-16 { --dana-cc-radius: 16px; }

/* The head (.flat-title): 30px above the row, 48px from 1200 (styles.css
   20327). The merchant's text colour paints the title and the names. */
.dana-cc .dana-cc__head { margin-block-end: 30px; }
@media (min-width: 1200px) { .dana-cc .dana-cc__head { margin-block-end: 48px; } }
/* The title's own colour (title_color, baby 1065, vegetable 1209) before
   the names' colour. */
.dana-cc .dana-head__title { color: var(--dana-cc-title, var(--dana-cc-ink, var(--dana-heading))); }
/* Larger titles (title_size), product-carousel's steps: the h3 scale (48/60,
   38/50 under 1025, 28/40 on phones: plant, pod, travel, watch, furniture2)
   and the display step between (40/48 from 1025, then the h3 scale: book).
   No tracking, as the template's h3. */
.dana-cc:is(.dana-cc--title-large, .dana-cc--title-medium) .dana-head__title { font-size: var(--dana-fs-h3); line-height: var(--dana-lh-h3); letter-spacing: 0; }
@media (min-width: 1025px) {
  .dana-cc.dana-cc--title-medium .dana-head__title { font-size: 40px; line-height: 48px; }
}
/* The small word over the title (bicycle 1121, .flat-title-v2 .tf-btn
   .btn-out-line-green.btn-small): an outlined pill in the primary colour,
   16/24 upper case (14 on phones), 24px above the title from 1200. */
.dana-cc .dana-cc__eyebrow {
  justify-self: center;
  display: inline-block;
  padding: 9px 27px;
  border: 1px solid currentColor;
  border-radius: 99px;
  color: var(--dana-cc-ink, var(--dana-primary));
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-transform: uppercase;
}
@media (max-width: 767px) { .dana-cc .dana-cc__eyebrow { font-size: 14px; } }
@media (min-width: 1200px) { .dana-cc .dana-head__main:has(> .dana-cc__eyebrow) { row-gap: 24px; } }
.dana-cc .dana-head--start .dana-cc__eyebrow { justify-self: start; }
/* A line before the title, the title at the end (.flat-title.style-line). */
.dana-cc .dana-cc__head--line { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
@media (min-width: 768px) { .dana-cc .dana-cc__head--line { gap: 25px; } }
.dana-cc .dana-cc__rule { flex: 1 1 auto; align-self: flex-end; margin-block-end: 8px; border-block-end: 1px solid var(--dana-line); }

/* Tabs (index.html:1803 .flat-title-tab-categories + .menu-tab-line): the
   title, then the tab row 20px under it (32 from 1200), the row 30px above
   the slider (42 from 1200); 22/26 names in the muted colour, the current one
   and the hovered one in the accent with a line growing from the centre,
   20px apart (24 from 768, styles.css 19170). The row scrolls inside itself
   when the names do not fit, from its start (safe centring). */
.dana-cc .dana-cc__head--tabs { gap: 20px; }
@media (min-width: 1200px) { .dana-cc .dana-cc__head--tabs { gap: 32px; margin-block-end: 42px; } }
.dana-cc__tabs { display: flex; justify-content: safe center; gap: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.dana-cc__tabs::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .dana-cc__tabs { gap: 24px; } }
.dana-head--start .dana-cc__tabs, .dana-head--between .dana-cc__tabs { justify-content: flex-start; }
.dana-cc__tab {
  position: relative;
  flex: none;
  padding: 4px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 22px;
  line-height: 26px;
  font-weight: 500;
  color: var(--dana-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s var(--dana-ease);
}
.dana-cc__tab::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 50%;
  inline-size: 0;
  block-size: 1px;
  background-color: currentColor;
  transform: translateX(-50%);
  transition: inline-size .3s var(--dana-ease);
}
[dir="rtl"] .dana-cc__tab::after { transform: translateX(50%); }
.dana-cc__tab:hover, .dana-cc__tab:focus-visible, .dana-cc__tab.is-active { color: var(--dana-accent-ink); }
.dana-cc__tab:hover::after, .dana-cc__tab:focus-visible::after, .dana-cc__tab.is-active::after { inline-size: 100%; }
/* A pane that shows fades in and rises 30px (.flat-animate-tab, 0.2s). */
.dana-cc__panel:not([hidden]) { animation: dana-cc-tab .2s var(--dana-ease); }
@keyframes dana-cc-tab { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dana-cc__panel:not([hidden]) { animation: none; } }

/* The slider. Fewer categories than fit: Swiper centres them
   (centerInsufficientSlides); before the script the row centres too. */
.dana-cc__slider { position: relative; min-inline-size: 0; }
.dana-cc .swiper:not(.swiper-initialized) > .swiper-wrapper { justify-content: safe center; }
.dana-cc .swiper-slide { block-size: auto; }
/* Arrows at the sides from 1200 (.fl-control-sw2: 22px outside the row,
   54px from 1600 in the container's side margin), centred on the row; dots
   under 1200 only (core). A full-width row has no such margin: its arrows
   stay 22px out, inside the screen. */
.dana-cc__nav { display: none; }
@media (min-width: 1200px) {
  .dana-cc__nav { display: inline-flex; position: absolute; z-index: 2; inset-block-start: 50%; transform: translateY(-50%); }
  .dana-cc__nav--prev { left: auto; right: auto; inset-inline-start: -22px; }
  .dana-cc__nav--next { left: auto; right: auto; inset-inline-end: -22px; }
  .dana-cc__nav.swiper-button-lock { display: none; }
}
@media (min-width: 1600px) {
  .dana-cc:not(.mt-section--full):not(.dana-cc--edge):not(.dana-cc--shape-inset, .dana-cc--shape-rounded, .dana-cc--shape-round) .dana-cc__nav--prev { inset-inline-start: -54px; }
  .dana-cc:not(.mt-section--full):not(.dana-cc--edge):not(.dana-cc--shape-inset, .dana-cc--shape-rounded, .dana-cc--shape-round) .dana-cc__nav--next { inset-inline-end: -54px; }
}
/* Arrows by the title (arrows_position heading; furniture2 1588,
   .flat-title.style-between.align-items-end + .box-nav-swiper.style-2): two
   48px arrows 12px apart at the end of the heading row, their foot on the
   head's foot, from 1200 (d-none d-xl-flex); the dots under 1200 as with
   the side arrows. A head in a row (split, line) takes them as its last
   item; a centred or start head keeps them over its end, clear of the
   words (a centred title stays centred on the row); beside the row (side)
   they stand under the words. */
.dana-cc__navs { display: none; gap: 12px; }
@media (min-width: 1200px) {
  .dana-cc__navs { display: flex; flex: none; }
  .dana-cc .dana-cc__head--nav.dana-head--between { align-items: flex-end; }
  .dana-cc .dana-cc__head--nav.dana-head--between > .dana-head__text { margin-inline-start: auto; }
  .dana-cc .dana-cc__head--nav.dana-head--between > .dana-cc__navs:first-child { margin-inline-start: auto; }
  .dana-cc .dana-cc__head--nav.dana-cc__head--line > .dana-cc__navs { align-self: flex-end; }
  .dana-cc:not(.dana-cc--side) .dana-cc__head--nav:not(.dana-head--between, .dana-cc__head--line) { position: relative; padding-inline-end: 120px; }
  .dana-cc:not(.dana-cc--side) .dana-cc__head--nav:not(.dana-head--between, .dana-cc__head--line, .dana-head--start) { padding-inline-start: 120px; }
  .dana-cc:not(.dana-cc--side) .dana-cc__head--nav:not(.dana-head--between, .dana-cc__head--line) > .dana-cc__navs { position: absolute; inset-block-end: 0; inset-inline-end: 0; }
  .dana-cc--side .dana-cc__head--nav > .dana-cc__navs { justify-self: start; }
  /* A head that holds nothing but the arrows is their row only. */
  .dana-cc .dana-cc__head--nav:not(:has(.dana-head__main, .dana-head__text, .dana-cc__tabs)) { min-block-size: 48px; }
}
/* Under 1200 a head that held only the arrows takes no room (no empty band
   over the row). */
@media (max-width: 1199px) {
  .dana-cc .dana-cc__head--nav:not(:has(.dana-head__main, .dana-head__text, .dana-cc__tabs)) { display: none; }
}

/* The tile's picture and its placeholder. */
.dana-cc__media { position: relative; display: block; overflow: hidden; }
.dana-cc__media img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: opacity .5s ease, transform 2s cubic-bezier(0, 0, .44, 1.18); }
@media (hover: hover) { .dana-cc__tile:hover .dana-cc__media img { transform: scale(1.06); } }
.dana-cc__ph { display: flex; align-items: center; justify-content: center; inline-size: 100%; block-size: 100%; min-block-size: 100%; background-color: var(--dana-cc-panel, var(--dana-surface)); color: var(--dana-muted); font-size: 40px; line-height: 1; }
.dana-cc--roriginal .dana-cc__ph { aspect-ratio: 3 / 4; }
/* A long name never runs out of its tile: two lines at most. */
.dana-cc__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: break-word; }

/* The row runs past the container to the screen's end edge from 768
   (bicycle, pod, plant, watch: .slider-layout-right, styles.css 374): the
   slides are sized on the container (the swiper's end padding is the
   distance to the screen's edge, 24px at 1440) and the next one shows in
   that strip; the section clips it. On phones the row stays in the
   container, as the template's does. */
.dana-cc--edge { overflow-x: clip; --dana-cc-ext: calc((100vw - min(100vw, var(--dana-page-width))) / 2 + var(--dana-gutter)); }
.dana-cc--edge.mt-section--full { --dana-cc-ext: var(--dana-gutter); }
@media (min-width: 768px) {
  .dana-cc--edge .dana-cc__panels { margin-inline-end: calc(-1 * var(--dana-cc-ext)); }
  .dana-cc--edge .dana-cc__panels .swiper { padding-inline-end: var(--dana-cc-ext); }
}
/* The head in a column beside the row from 1200 (travel, .flat-control-layout:
   60px apart, 130 from 1440, the head 480px at most). Beside it the row runs
   to the screen's edge from 1200 only (.mr-xl, styles.css 21491). */
@media (min-width: 768px) and (max-width: 1199px) {
  .dana-cc--edge.dana-cc--side .dana-cc__panels { margin-inline-end: 0; }
  .dana-cc--edge.dana-cc--side .dana-cc__panels .swiper { padding-inline-end: 0; }
}
@media (min-width: 1200px) {
  .dana-cc--side .dana-cc__body { display: flex; align-items: center; gap: 60px; }
  .dana-cc--side .dana-cc__head { flex: 0 1 480px; max-inline-size: 480px; margin: 0; gap: 24px; }
  .dana-cc--side .dana-cc__panels { flex: 1 1 0; min-inline-size: 0; }
}
@media (min-width: 1440px) { .dana-cc--side .dana-cc__body { gap: 130px; } }
/* With the row running to the screen's edge, the arrows stay inside what
   shows: the next one would sit past the screen. */
@media (min-width: 1200px) {
  .dana-cc--edge .dana-cc__nav--prev { inset-inline-start: 12px; }
  .dana-cc--edge .dana-cc__nav--next { inset-inline-end: 24px; }
}

/* The section as a panel (bg_shape, product-carousel's): 15px in from the
   page's edges on phones, 24px from 768, 40px from 1200 (supplement's
   .container-full band); square, 16px corners, or 80px corners from 768.
   The picture and the overlay stay inside the corners. A row running to
   the edge runs to the panel's edge. */
.mt-section.dana-cc:is(.dana-cc--shape-inset, .dana-cc--shape-rounded, .dana-cc--shape-round) {
  --dana-cc-inset: 15px;
  margin-inline: var(--dana-cc-inset);
  overflow: hidden;
}
.mt-section.dana-cc.dana-cc--shape-rounded { border-radius: 16px; }
@media (min-width: 768px) {
  .mt-section.dana-cc:is(.dana-cc--shape-inset, .dana-cc--shape-rounded, .dana-cc--shape-round) { --dana-cc-inset: 24px; }
  .mt-section.dana-cc.dana-cc--shape-round { border-radius: 80px; }
}
@media (min-width: 1200px) {
  .mt-section.dana-cc:is(.dana-cc--shape-inset, .dana-cc--shape-rounded, .dana-cc--shape-round) { --dana-cc-inset: 40px; }
}
.dana-cc--edge:is(.dana-cc--shape-inset, .dana-cc--shape-rounded, .dana-cc--shape-round):not(.mt-section--full) {
  --dana-cc-ext: calc((100vw - 2 * var(--dana-cc-inset) - min(100vw - 2 * var(--dana-cc-inset), var(--dana-page-width))) / 2 + var(--dana-gutter));
}

/* The names: in capitals on Latin pages (name_uppercase, furniture2
   "BEDROOM"; Arabic has none), in the headings font (name_heading_font:
   travel's Gloock, jewelry's Albert Sans, supplement's Oswald). */
.dana-cc--upper .dana-cc__name { text-transform: uppercase; }
[dir="rtl"] .dana-cc--upper .dana-cc__name { text-transform: none; }
.dana-cc--name-hf .dana-cc__name { font-family: var(--dana-font-heading); }
