/* Global */
/* ------------------------------------ */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
  ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
  ========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
  margin: 0;
}

/**
* Render the `main` element consistently in IE.
*/
main {
  display: block;
}

/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
  margin: 0.67em 0;
  font-size: 2em;
}

/* Grouping content
  ========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
  font-size: 1em; /* 2 */
  font-family: monospace, monospace; /* 1 */
}

/* Text-level semantics
  ========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
  background-color: transparent;
}

/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
  border-bottom: none; /* 1 */
}

/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
  font-size: 1em; /* 2 */
  font-family: monospace, monospace; /* 1 */
}

/**
* Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
  ========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
  border-style: none;
}

/* Forms
  ========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
  margin: 0; /* 2 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  font-family: inherit; /* 1 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
  /* 1 */
  overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
  /* 1 */
  text-transform: none;
}

/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
* Correct the padding in Firefox.
*/
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*    `fieldset` elements in all browsers.
*/
legend {
  display: table; /* 1 */
  box-sizing: border-box; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  color: inherit; /* 2 */
  white-space: normal; /* 1 */
}

/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
  vertical-align: baseline;
}

/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
  overflow: auto;
}

/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type=search] {
  outline-offset: -2px; /* 2 */
  -webkit-appearance: textfield; /* 1 */
}

/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  font: inherit; /* 2 */
  -webkit-appearance: button; /* 1 */
}

/* Interactive
  ========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
  display: block;
}

/*
* Add the correct display in all browsers.
*/
summary {
  display: list-item;
}

/* Misc
  ========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
  display: none;
}

/**
* Add the correct display in IE 10.
*/
[hidden] {
  display: none;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Alexandria", "Arial", sans-serif;
  font-style: normal;
  font-weight: 300;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff;
}

main {
  flex-grow: 1;
}

img {
  display: block;
  height: auto;
  object-fit: cover;
}

a {
  color: #000000;
  text-decoration: none;
}

button {
  cursor: pointer;
  background-color: #ffffff;
}

svg {
}


#rentalsCatalog{
  scroll-margin-top: 134px; /* подгони под высоту хедера */
}

@media (max-width: 768px){
  #rentalsCatalog{ scroll-margin-top: 66px; }
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

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

/* Blocks */
/* ------------------------------------ */
.hero__picture {
  max-width: 1300px;
  margin: 0 auto; 
  width: 100%;
  aspect-ratio: 1300 / 490;
  overflow: hidden; 
}

@media (max-width: 768px) {
  .hero__picture {
    aspect-ratio: 195 / 92; /* это 780:368 */
  }
}

.hero__picture picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero__text {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 60px 70px 48px;
  font-weight: 350;
  line-height: 160%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .hero__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
    font-weight: 350;
    line-height: 150%;
    letter-spacing: 0;
    text-transform: unset;
    padding: 24px 30px;
    text-transform: uppercase;
  }
}

/* One row flex container that holds: location nav + equipment select */
.rentals__controls{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap; /* mobile */
  flex-direction: row;
  justify-content: center; 
}

@media (max-width: 767px) {
  .rentals__controls{
    gap: 8px;
  }
}


/* Location buttons */
.location{
  display:flex;
  align-items:center;
  gap:16px;
}

.location__btn{
  min-width: 180px;
  padding: 11px 10px;
  border: 1px solid #828282;
  border-radius: 22px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#828282;
  font-family:'Alexandria', sans-serif;
  font-weight:300;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.48px;
  line-height:normal;
  text-decoration:none;
  background:transparent;
  transition: background-color .15s ease, color .15s ease;
}

@media (max-width: 767px) {
  .location__btn{
    min-width: 160px;
    font-size:11px;
  }
  .location{
    gap:8px;
  }
}

.location__btn:not(.is-active):hover{
  background-color:#F3F3F3;
}

.location__btn.is-active,
.location__btn[aria-current="page"]{
  pointer-events: auto;
  cursor: pointer;
  background-color:#393838;
  color:#fff;
  border: none;
}

.location__btn.is-active:hover{
  background-color:#434343;
}

.location__btn:focus-visible{
  outline: 2px solid #393838;
  outline-offset: 2px;
}

.location__icon{
  display: block;
  flex: 0 0 auto;
}

/* ключ: красим именно <use> */
.location__icon use{
  fill: currentColor;
}


.select {
  display: flex;
  flex-direction: column;
  width: max-content;
  margin: 0;
  position: relative;
}
.select__btn {
  padding: 12.5px 10px;
  min-width: 180px;
  border: 1px solid #828282;
  border-radius: 21px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #828282;
  font-family: 'Alexandria', sans-serif;
  font-weight: 300;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.48px;
  line-height: normal;
}

@media (max-width: 767px) {
  .select__btn {
    min-width: 160px;
    font-size: 11px;

  }
}
/*.select__sublist {
  margin: 0;
  padding: 15px 10px;
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
  color: #000000;
  background: #1a1a1a;
  box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity ease-in 0.1s, transform ease-in 0.1s;
  z-index: 100;
}*/

.select__sublist {
  position: absolute;
    top: calc(100% + 10px);
    text-align: left;
    background: #1a1a1a;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.15);
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 0px;
    width: 100%;
    display: none;
    padding: 0;
}

.select__sublist--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  display: block;
}
/*.select__sublink {
  width: 100%;
  border: none;
  text-align: left;
  user-select: none;
  transition: color ease-in 0.1s;
  line-height: 2;
}*/

.select__sublink {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background: #1a1a1a;
    padding: 12px 12px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Alexandria', sans-serif;
    font-weight: 300;
    letter-spacing: -0.36px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.48px;
    line-height: normal;
    width: 100%;
    border: none;
}

.select__sublink:hover, .select__sublink:focus-visible {
    background: #5a5a5a;
    color: white;
}



.rentals {
  padding: 0 60px;
}
@media (max-width: 767px) {
  .rentals {
    padding: 0;
  }
}
.rentals__list {
  margin: 0;
  padding: 40px 70px;
  list-style: none;
  display: flex;
  gap: 34px 40px;
  flex-wrap: wrap;
}
@media (max-width: 1420px) {
  .rentals__list {
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .rentals__list {
    padding: 16px 30px 32px;
    gap: 16px;
  }
}
.rentals__item {
  border: 0.5px dotted #1a1a1ad9;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 360px;
}
.rentals__overlay {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: -1;
  backdrop-filter: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity ease 0.6s;
}
.rentals__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  z-index: 10000;
}
.rentals__overlay.is-open .rentals__overlay-drawer {
  transform: translateX(0);
  opacity: 1;
}

.faq {
  padding: 85px 0;
}
@media (max-width: 767px) {
  .faq {
    padding: 0;
  }
}
.faq__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media (max-width: 1420px) {
  .faq__wrapper {
    padding: 0 30px;
  }
}
@media (max-width: 767px) {
  .faq__wrapper {
    padding: 40px 27px;
    gap: 40px;
  }
}
.faq__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.faq__heading {
  font-size: 24px;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0 -20px;
  padding: 5px 20px;
  border-radius: 28px;
  border: 2px solid #000000;
  width: max-content;
}
@media (max-width: 1420px) {
  .faq__heading {
    margin: 0;
  }
}
@media (max-width: 767px) {
  .faq__heading {
    display: none;
  }
}
.faq__heading--mobile {
  display: none;
  font-size: 20px;
  margin: 0;
  padding: 2px 6px;
}
@media (max-width: 767px) {
  .faq__heading--mobile {
    display: flex;
  }
}
.faq__item {
  padding: 20px 0;
  border-top: 2px solid #000000;
}
@media (max-width: 767px) {
  .faq__item {
    padding: 14px 0;
  }
}
.faq__item:last-child {
  border-bottom: 2px solid #000000;
}
.faq__text{
  font-size: 18px;
  line-height: 160%;
  margin: 0;

  box-sizing: border-box;
  overflow: hidden;

  height: 0;
  padding-top: 0;              /* закрыто: 0 */
  opacity: 0;
  transform: translateY(-4px);

  transition:
    height 300ms ease,
    opacity 160ms ease,
    transform 240ms ease;

  text-align: left;
}

.faq__title--active + .faq__text{
  margin-top: 8px;
  opacity: 1;
  transform: none;
  transition-delay: 60ms;
}

@media (prefers-reduced-motion: reduce){
  .faq__text{
    transition: none !important;
    transform: none !important;
  }
}

.faq__title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: none;
  font-size: 24px;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
  padding: 0;
}
.faq__title--active {
  margin: 0;
}
.faq__title--active .faq__icon {
  transform: rotate(180deg);
}
@media (max-width: 767px) {
  .faq__title {
    font-size: 20px;
    text-align: left;
    color: #1a1a1a;
  }
}
.faq__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: transform ease-in 0.3s;
}
.faq__contacts {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 0;
}
@media (max-width: 767px) {
  .faq__contacts {
    flex-direction: column;
    gap: 32px;
  }
}
.faq__contacts-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0 -20px;
  padding: 5px 20px;
  border-radius: 28px;
  border: 2px solid #000000;
  width: max-content;
}
@media (max-width: 1420px) {
  .faq__contacts-title {
    margin: 0;
  }
}
@media (max-width: 767px) {
  .faq__contacts-title {
    font-size: 20px;
    padding: 3px 10px;
  }
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
  max-width: 635px;
}
.contacts__text {
  font-family: "Inter", "Arial", sans-serif;
  font-size: 18px;
  line-height: 160%;
}
@media (max-width: 767px) {
  .contacts__text {
    font-size: 16px;
  }
}
.contacts__link {
  position: relative;
}
.contacts__link::before {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translate(-50%, -50%);
  background-color: #000000;
}
.contacts__social-link svg {
  width: 48px;
  height: 48px;
  margin-right: 12px;
  color: #1A1A1A;
}
@media (max-width: 767px) {
  .contacts__social-link svg {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
}

.kayak-card {
  max-width: 364px;
  background: #ffffff;
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 16px;
  line-height: 18px;
  font-weight: 300;
}
.kayak-card__img {
  width: 100%;
  object-fit: contain;
  height: auto;
  display: block;
  margin: 0 0 4px;
}
@media (max-width: 768px){
  .kayak-card{
    /*max-width: 346px;*/
  }
}
.kayak-card__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 11px;
}
.kayak-card__spec {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
}
.kayak-card__difficulty {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  padding: 1px 8px;
  border-radius: 16px;
}
.kayak-card__difficulty--easy {
  color: #080;
  border: 1px solid #080;
}
.kayak-card__difficulty--medium {
  color: #ffaa33;
  border: 1px solid #ffaa33;
}
.kayak-card__difficulty--hard {
  color: #cc0000;
  border: 1px solid #cc0000;
}
.kayak-card__prices {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}
.kayak-card__price-pill {
  display: flex;
  justify-content: left;
  gap: 6px;
  padding: 2px 6px;
  border-radius: 16px;
  border: 1.5px dotted #1a1a1a;
  /* background-color: #E8593B; */
  color: #fff;
  flex-direction: row;
  align-items: flex-end;
}
.kayak-card__price {
  font-size: 18px;
  font-weight: 400;
  color: #EB5C5F;
}
.kayak-card__price-end {
  font-size: 11px;
  color: #1a1a1a;
  /* position-area: bottom; */
  line-height: 100%;
}
.kayak-card__footer {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.kayak-card__footer-request {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 180%;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 22px;
}
.kayak-card__book {
  width: 100%;
  transition: opacity ease-in 0.3s;
  background: #1A1A1A;
  color: #ffffff;
  border: none;
  height: 80px;
  font-weight: 400;
  font-size: 24px;
  line-height: 110%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
}
.kayak-card__book.isHide {
  opacity: 0;
  pointer-events: none;
}
.kayak-card__book::after {
  content: "";
  width: 100px;
  height: 71px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-mask: url("../images/rentals/icons/eddy.svg") center/contain no-repeat;
  mask: url("../images/rentals/icons/eddy.svg") center/contain no-repeat;
  opacity: 0;
  transition: opacity ease-in 0.15s;
  filter: blur(10px);
}
.kayak-card__book--blue::after {
  background-color: #6590B3;
}
.kayak-card__book--orange::after {
  background-color: #EDA145;
}
.kayak-card__book--withe::after {
  background-color: #ffffff;
}
.kayak-card__book:hover::after {
  opacity: 1;
}
.kayak-card__location {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 17px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity ease-in 0.3s;
  pointer-events: none;
}
.kayak-card__location.is-open {
  opacity: 1;
  pointer-events: auto;
}
.kayak-card__location-text {
  margin: 0;
  padding: 0;
}
.kayak-card__location-inner {
  display: flex;
  gap: 16px;
}
.kayak-card__location-btn {
  width: 148px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid;
  padding: 10px;
  text-transform: uppercase;
  opacity: .5;
  cursor: default;
}
.kayak-card__location-btn:not([disabled]) {
  width: 148px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid #000000;
  padding: 10px;
  text-transform: uppercase;
  opacity: 1;
  transition: color ease-in 0.1s, background-color ease-in 0.1s;
  cursor: pointer;
}
.kayak-card__location-btn:not([disabled]):hover, .kayak-card__location-btn:not([disabled]):focus-visible {
  color: #ffffff;
  background-color: #000000;
}
.kayak-card--overlay {
  border-radius: 16px;
  width: 360px;
}

.drawer {
  width: 50vw;
  min-width: 750px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.28) 100%);
  backdrop-filter: blur(1.5px);
  border-radius: 8px 0 0 8px;
  opacity: 0;
  height: 100vh;
  transform: translateX(-250%);
  transition: transform ease 0.6s, opacity ease 0.6s;
}
@media (max-width: 767px) {
  .drawer {
    min-width: 390px;
    width: 100%;
  }
}
.drawer__header {
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  height: 100px;
  width: 100%;
  background-color: #1a1a1a;
  color: #ffffff;
  gap: 20px;
}
.drawer__title {
  color: #ffffff;
  font-weight: 300;
  font-size: 36px;
  line-height: 110%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
}
@media (max-width: 767px) {
  .drawer__title {
    font-size: 26px;
  }
}
@media (max-width: 767px) {
  .drawer__title-booking {
    display: none;
  }
}
.drawer__icon-close {
  width: 34px;
  height: 34px;
  cursor: pointer;
}

/* Fix default button styling for close button */
.overlay-close{
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  cursor: pointer;
}

.overlay-close svg{ display:block; }

.overlay-close:focus-visible{
  outline: 2px solid rgba(255,255,255,.6);
  outline-offset: 4px;
  border-radius: 999px;
}


@media (max-width: 767px) {
  .drawer__icon-close {
    width: 28px;
    height: 28px;
  }
}
.drawer__inner {
  display: flex;
  justify-content: center;
  padding: 100px 16px 0;
  gap: 16px;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) {
  .drawer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
  }
  .drawer__inner::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}
.drawer__left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px 0 24px;
  height: auto;
}
.drawer__left::-webkit-scrollbar {
  width: 0;
  height: 0;
}
@media (max-width: 2559px) {
  .drawer__left {
    flex-direction: column;
    align-items: flex-end;
  }
}
@media (max-width: 767px) {
  .drawer__left {
    overflow: visible;
    padding: 0;
  }
}

.drawer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px 0;
}
.drawer__right::-webkit-scrollbar {
  width: 0;
  height: 0;
}
@media (max-width: 767px) {
  .drawer__right {
    overflow: visible;
    padding: 0 0 16px;
  }
}

.info-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  color: #ffffff;
  font-family: "Inter", "Arial", sans-serif;
  font-size: 11px;
  line-height: 140%;
  font-weight: 300;
  background-color: #1a1a1a;
  border-radius: 16px;
  width: 320px;
}
@media (max-width: 767px) {
  .info-card {
    width: 360px;
  }
}

.ticket {
    display: flex;
    margin-top: 8px;
    margin-left: 0px;
    gap: 12px;
    line-height: 1.2;
    font-size: 10px;
    align-items: center;
}

.ticket > img{
  width: 24px;
  flex: 0 0 auto;
}

.ticket a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
}

.arrow {
    margin-bottom: 3px;
    width: 7px;
    height: 7px;
}

.info-card__title {
  font-size: 16px;
  line-height: 110%;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.info-card__list, .info-card__text {
  margin: 0;
  margin-top: 8px;
  line-height: 160%;
}
.info-card__item {
  font-size: 11px;
  margin-left: -28px;
}
.info-card__excluded {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-card__link {
  color: #ffffff;
  text-decoration: underline;
}
.info-card__packing {
  position: relative;
  display: inline-flex;
  align-items: baseline;
}
.info-card__packing:hover .tooltip, .info-card__packing:focus-within .tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  font-size: 26px;
}
.info-card__packing-link {
  display: inline-flex;
  color: #EDA145;
  font-weight: 400;
  cursor: pointer;
  position: relative;
  line-height: 140%;
  border: 1px solid #EDA145;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  padding: 2px 5px;
  margin: 0 2px;
}

.info-note {
  display: flex;
  flex-direction: column;
  color: #FBF3E3;
  font-family: "Inter", "Arial", sans-serif;
  font-size: 10px;
  line-height: 140%;
  font-weight: 400;
  text-transform: uppercase;
  background-color: rgba(26, 26, 26, 0.9);
  border-radius: 16px;
  width: 320px;
  overflow: clip;
}
@media (max-width: 767px) {
  .info-note {
    width: 360px;
  }
}
.info-note__img {
  position: relative;
  width: 100%;
  height: 140px;
}
.info-note__img img {
  height: 140px;
  width: 100%;
}
.info-note__icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 38px;
  height: 34px;
  pointer-events: none;
}
.info-note__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
}
.info-note__text {
  margin: 0;
  padding: 0;
  text-align: justify;
}

.widget-frame {
  width: 360px;
  border-radius: 16px !important;
  overflow: clip;
  background-color: #ffffff;
  overflow: hidden;
  /*box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);*/
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;  /* вместо 1 1 auto, чтобы высота шла за виджетом */
}

.widget-logo {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex-direction: column;
  bottom: 14px;
}

.secure-card {
    background: none;
    padding: 20px 20px 0;
    color: #4a4f52;
    display: grid;
    gap: 16px;
    box-shadow: none;
}

.secure-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.secure-head p {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.secure-body {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.secure-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  margin: 0 16px 0 20px;
  color: #4a4f52;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px 0;
}

.secure-links a {
  color: #4a4f52;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 52px 0 40px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    padding: 8px 0 16px 0;
}

.widget-frame-inner {
  opacity: 0;
  pointer-events: none;
  transition: opacity ease 0.6s;
}
.widget-frame-inner.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tooltip {
  position: absolute;
  top: 41px;
  left: 50%;
  transform: translateX(-50%);
  width: 206px;
  padding: 16px 8px;
  background: #ffffff;
  color: #000000;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: block;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
  font-size: 26px;
}
.tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -14px;
  width: 0;
  height: 0;
  border-bottom: 16px solid #ffffff;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}
.tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -41px;
  width: 100%;
  height: 70px;
}
.tooltip:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  font-size: 26px;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 4px;
  margin-bottom: 12px;
}

.tooltip-title {
  font-weight: 700;
  font-size: 20px;
  color: #000000;
  margin: 0;
}

.tooltip-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #000000;
}
/* =========================
   Overlay kayak card collapse
   ========================= */

/* Collapse animation (hero visible, details hidden by default) */
.kayak-card--overlay .kayak-card__detailsWrap{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.kayak-card--overlay .kayak-card__details{
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 240ms ease;
}

.kayak-card--overlay[data-collapsed="0"] .kayak-card__detailsWrap{
  grid-template-rows: 1fr;
}

.kayak-card--overlay[data-collapsed="0"] .kayak-card__details{
  opacity: 1;
  transform: none;
  transition-delay: 60ms;
}

.kayak-card--overlay .kayak-card__spec {
  margin-top: 5px;
}

.kayak-card--overlay .kayak-card__title{
  margin: 0;
  transition: margin-bottom 180ms ease;
}

/* раскрыто — отступ появляется сразу */
.kayak-card--overlay[data-collapsed="0"] .kayak-card__title{
  margin-bottom: 11px;
  transition-delay: 0ms;
}

/* схлопываем — убираем отступ с небольшой задержкой */
.kayak-card--overlay[data-collapsed="1"] .kayak-card__title{
  margin-bottom: 0;
  transition-delay: 60ms; /* подгони под твою анимацию details */
}

@media (prefers-reduced-motion: reduce){
  .kayak-card--overlay .kayak-card__title{
    transition: none !important;
  }
}

/* Toggle button: small, centered, in-flow */
.kayak-card--overlay .kayak-card__toggle{
  position: absolute;
  left: 70%;
  margin: 0px auto 0;      /* центр + место в карточке */
  width: fit-content;

  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18); /* если фон тёмный */
  /* border: 1px solid rgba(0, 0, 0, 0.14); */  /* если фон светлый */

  color: #3b4562;
  font: inherit;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0.2px;

  cursor: pointer;
  user-select: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  opacity: 0.85;
  transition: opacity 160ms ease, transform 120ms ease, border-color 160ms ease;
}

.kayak-card--overlay .kayak-card__toggle:hover{ opacity: 1; }
.kayak-card--overlay .kayak-card__toggle:active{ transform: translateY(0.5px); }

.kayak-card--overlay .kayak-card__toggle::after{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms ease;
  opacity: 0.9;
}

.kayak-card--overlay[data-collapsed="0"] .kayak-card__toggle::after{
  transform: rotate(-135deg);
}

@media (prefers-reduced-motion: reduce){
  .kayak-card--overlay .kayak-card__detailsWrap,
  .kayak-card--overlay .kayak-card__details,
  .kayak-card--overlay .kayak-card__toggle,
  .kayak-card--overlay .kayak-card__toggle::after{
    transition: none !important;
  }
  .kayak-card--overlay .kayak-card__details{
    transform: none !important;
  }
}

/* --- EDDY global overlay compatibility (is-open) --- */

/* 1) Показ оверлея: алиас под global class "is-open" */
.rentals__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  z-index: 10000;
  /* картинку и blur включаем только при открытии → не грузится на старте */
  --bg-main: url("../images/rentals/overlay-desktop.webp");
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.0) 100%), var(--bg-main) center/cover no-repeat;
  backdrop-filter: blur(20px);
}


@media (max-width: 768px) {
  .rentals__overlay.is-open {
    --bg-main: url("../images/rentals/overlay-mobile.webp");
  }
}

/* 2) Показ drawer: алиас под global class "is-open" */
.rentals__overlay.is-open .rentals__overlay-drawer {
  transform: translateX(0);
  opacity: 1;
}

/* 3) Показ контейнера Bokun: global JS не ставит .is-open на widget-frame-inner.
      Он ставит data-eddy-mounted-src после создания iframe. */
.rentals__overlay.is-open .widget-frame-inner[data-eddy-mounted-src] {
  opacity: 1;
  pointer-events: auto;
}

/* Skeletons to reduce CLS */
.rentals__item--skeleton .kayak-card--skeleton {
  max-width: 364px;
  padding: 20px;
  background: #fff;
}

.skeleton {
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(0,0,0,0.06), rgba(0,0,0,0.10), rgba(0,0,0,0.06));
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
}

.skeleton--img   { height: 180px; margin: 0 0 10px; }
.skeleton--title { height: 28px;  margin: 0 0 12px; }
.skeleton--line  { height: 14px;  margin: 0 0 10px; }
.skeleton--btn   { height: 44px;  margin-top: 12px; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
