@charset "UTF-8";
/* ===============================
   RESET
   =============================== */
input,
textarea {
  outline: none;
}

/* ===============================
   BUTTONS — BASE
   =============================== */
.btn {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #141414;
  font-weight: 400;
  font-size: var(--fs-body);
  outline: none;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: transparent;
  transition: 0.3s ease;
}

@media (max-width: 768px) {
  .btn {
    font-size: 16px;
  }
}
/* ===============================
   BUTTONS — ICON
   =============================== */
.btn.btn-icon {
  border-radius: 5px;
  padding: 2px;
  background: transparent;
}

.btn.btn-icon .icon {
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure SVGs inside icons don't collapse */
.btn.btn-icon .icon svg,
.btn.btn-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  flex-shrink: 0;
}

.btn.btn-icon:hover {
  background: #141414;
}

.btn.btn-icon:hover svg {
  color: #fff;
}

/* Header icon buttons — no background on hover */
.btn.btn-icon.search:hover,
.btn.btn-icon.account_btn:hover,
.btn.btn-icon.wishlist:hover,
.btn.btn-icon.basket_btn:hover {
  background: none;
}

.btn.btn-icon.search:hover svg,
.btn.btn-icon.account_btn:hover svg,
.btn.btn-icon.wishlist:hover svg,
.btn.btn-icon.basket_btn:hover svg {
  color: #141414;
}

/* ===============================
   BUTTONS — BORDERED
   =============================== */
.btn.btn-bordered {
  padding: 10px 40px;
  border: 1px solid #141414;
}

.btn.btn-bordered:hover {
  background: #141414;
  color: #ffffff;
}

.btn.btn-bordered:hover .loader {
  border-color: #141414;
  border-bottom-color: transparent;
}

.btn.btn-bordered.active {
  background: #141414;
  color: #ffffff;
}

.btn.btn-bordered:disabled {
  cursor: no-drop;
  background: #979797;
  border-color: #979797;
  color: #141414;
}

/* ===============================
   BUTTONS — FULL (solid)
   =============================== */
.btn.btn-full {
  padding: 10px 40px;
  background: #141414;
  color: #ffffff;
  border: 1px solid #141414;
}

.btn.btn-full:hover {
  background: transparent;
  color: #141414;
}

.btn.btn-full:hover .loader {
  border-color: #141414;
  border-bottom-color: transparent;
}

.btn.btn-full:disabled {
  cursor: no-drop;
  background: #979797;
  border-color: #979797;
  color: #141414;
}

@media (max-width: 768px) {
  .btn.btn-full {
    padding: 10px 16px;
  }
}
/* ===============================
   BUTTONS — ARROW (circle, large)
   =============================== */
.btn.btn-arrow-left,
.btn.btn-arrow-right {
  width: 100px;
  height: 100px;
  border: 1px solid #141414;
  color: #141414;
  border-radius: 50%;
}

.btn.btn-arrow-left .icon,
.btn.btn-arrow-right .icon {
  width: auto;
  height: 35px;
  min-height: 35px;
  display: flex;
  align-items: center;
}

.btn.btn-arrow-left .icon {
  margin-right: 5px;
}

.btn.btn-arrow-right .icon {
  margin-left: 8px;
}

.btn.btn-arrow-left:hover,
.btn.btn-arrow-right:hover {
  background: #141414;
  color: #ffffff;
}

/* ===============================
   BUTTONS — ARROW (circle, mini)
   iOS fix: explicit width + height
   on SVG, no "auto" dimensions
   =============================== */
.btn.btn-arrow-left-mini,
.btn.btn-arrow-right-mini {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border: 1px solid #141414;
  color: #141414;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.btn-arrow-left-mini svg.icon,
.btn.btn-arrow-right-mini svg.icon {
  width: 10px;
  height: 18px;
  min-width: 10px;
  min-height: 18px;
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}

.btn.btn-arrow-left-mini svg.icon {
  margin-right: 2px;
}

.btn.btn-arrow-right-mini svg.icon {
  margin-left: 2px;
}

.btn.btn-arrow-left-mini:hover,
.btn.btn-arrow-right-mini:hover {
  background: #141414;
  color: #ffffff;
}

@media (max-width: 768px) {
  .btn.btn-arrow-left-mini,
  .btn.btn-arrow-right-mini {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }
  .btn.btn-arrow-left-mini svg.icon,
  .btn.btn-arrow-right-mini svg.icon {
    width: 7px;
    height: 12px;
    min-width: 7px;
    min-height: 12px;
  }
}
/* ===============================
   ARROW BUTTONS — iOS SVG FIX
   Replace "width: auto" with explicit dimensions
   =============================== */
/* Mini arrows */
.btn.btn-arrow-left-mini svg.icon,
.btn.btn-arrow-right-mini svg.icon {
  width: 10px;
  min-width: 10px;
  height: 18px;
  min-height: 18px;
  display: block;
  flex-shrink: 0;
}

.btn.btn-arrow-left-mini svg.icon {
  margin-right: 2px;
}

.btn.btn-arrow-right-mini svg.icon {
  margin-left: 2px;
}

@media (max-width: 768px) {
  .btn.btn-arrow-left-mini svg.icon,
  .btn.btn-arrow-right-mini svg.icon {
    width: 7px;
    min-width: 7px;
    height: 12px;
    min-height: 12px;
  }
}
/* Large arrows */
.btn.btn-arrow-left svg.icon,
.btn.btn-arrow-right svg.icon {
  width: 14px;
  min-width: 14px;
  height: 24px;
  min-height: 24px;
  display: block;
  flex-shrink: 0;
}

.btn.btn-arrow-left svg.icon {
  margin-right: 3px;
}

.btn.btn-arrow-right svg.icon {
  margin-left: 3px;
}

/* ===============================
   RATING
   =============================== */
.rating {
  display: flex;
  gap: 5px;
  align-items: center;
}

.rating .stars {
  display: flex;
}

.rating .stars .icon {
  width: 19px;
  height: 19px;
  min-width: 19px;
  min-height: 19px;
  padding: 3.5px;
}

.rating .count {
  font-size: var(--fs-caption);
  font-weight: 300;
  color: #A6A2A2;
  user-select: none;
}

/* ===============================
   BADGE
   =============================== */
.badge {
  text-transform: uppercase;
  padding: 5px;
  background: #141414;
  color: #ffffff;
  user-select: none;
  font-size: 16px;
}

.badge_out_of_stock {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #848484;
  color: #fff;
  padding: 8px;
  user-select: none;
  font-size: 12px;
}

@media (max-width: 767px) {
  .badge_out_of_stock {
    font-size: 11px;
  }
}
/* ===============================
   FORM — FLOATING LABEL INPUT
   Shared styles for text, email,
   password and textarea.
   =============================== */
.custom_input {
  position: relative;
}

.custom_input input[type=text],
.custom_input input[type=email],
.custom_input input[type=password],
.custom_input textarea {
  width: 100%;
  padding: 16px 0 13px 0;
  font-size: var(--fs-body);
  font-weight: 300;
  border: none;
  color: #141414;
  border-bottom: 1px solid #141414;
  outline: none;
  position: relative;
  background: transparent;
  z-index: 1;
}

.custom_input textarea {
  height: 164px;
  resize: none;
}

/* Floating label */
.custom_input label {
  width: 100%;
  position: absolute;
  top: calc(50% - 18px);
  left: 0;
  font-size: var(--fs-body);
  color: #979797;
  pointer-events: none;
  transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
  z-index: 2;
}

/* Label floats up on focus or when filled */
.custom_input input:focus ~ label,
.custom_input input:not(:placeholder-shown) ~ label,
.custom_input textarea:focus ~ label,
.custom_input textarea:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 12px;
  color: #979797;
}

/* Error message */
.custom_input .error {
  font-size: 12px;
  color: red;
  margin-top: 4px;
  visibility: hidden;
}

.custom_input input[data-error=true] ~ .error,
.custom_input textarea[data-error=true] ~ .error {
  visibility: visible;
}

/* Textarea label position */
.custom_input.textarea label {
  top: calc(50% - 65px);
}

/* Password toggle button */
.custom_input.password input[type=password] {
  padding-right: 42px;
}

.custom_input.password button {
  position: absolute;
  right: 0;
  top: calc(50% - 26px);
  z-index: 3;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.custom_input.password button svg {
  width: 32px;
  height: 32px;
  padding: 5px 1px;
  color: #ECECEC;
}

/* ===============================
   FORM — CHECKBOX
   =============================== */
.custom_checkbox {
  user-select: none;
  cursor: pointer;
}

.custom_checkbox input[type=checkbox] {
  width: 0;
  height: 0;
  display: none;
}

.custom_checkbox label {
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  display: flex;
  gap: 15px;
}

.custom_checkbox label .checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  padding: 3px 1px;
  display: flex;
  color: #fff;
  background: transparent;
  border: 1px solid #979797;
  cursor: pointer;
  transition: 0.3s ease;
}

.custom_checkbox label .checkbox svg {
  opacity: 0;
  transition: 0.3s ease;
}

.custom_checkbox input[type=checkbox]:checked ~ label .checkbox {
  background: #000000;
  border-color: #000000;
}

.custom_checkbox input[type=checkbox]:checked ~ label .checkbox svg {
  opacity: 1;
}

/* ===============================
   FORM — RADIO
   =============================== */
.custom_radio_label {
  width: 100%;
  max-width: 359px;
}

.custom_radio_label input {
  display: none;
}

.custom_radio_label .custom_radio_input {
  display: flex;
  cursor: pointer;
  width: 100%;
  max-width: 359px;
  padding: 10px;
  align-items: center;
  border: 1px solid transparent;
  gap: 10px;
  background: #F5F5F5;
  transition: 0.3s ease;
}

.custom_radio_label .custom_radio_input::before {
  content: "";
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  border: 1px solid #141414;
  border-radius: 50%;
  transition: 0.3s ease;
}

.custom_radio_label .custom_radio__info {
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  user-select: none;
  gap: 5px;
}

.custom_radio_label .custom_radio_input__title {
  font-size: var(--fs-body);
  font-weight: 300;
  color: #000000;
}

@media (max-width: 1120px) {
  .custom_radio_label .custom_radio_input__title {
    font-size: var(--fs-body);
  }
}
.custom_radio_label .custom_radio_input__desc {
  font-size: 12px;
  color: #979797;
}

/* Radio checked state */
.custom_radio_label input:checked + .custom_radio_input {
  border-color: #000;
}

.custom_radio_label input:checked + .custom_radio_input::before {
  background: #141414;
  box-shadow: inset 0px 0px 0px 3px #F5F5F5;
}

/* ===============================
   FORM — CUSTOM SELECT
   (single definition, not two)
   =============================== */
.custom__select {
  width: 100%;
  max-width: 359px;
  position: relative;
  user-select: none;
  cursor: pointer;
}

.custom__select .custom__select_current {
  padding: 10px;
  border: 1px solid #979797;
  font-size: var(--fs-body);
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom__select .custom__select_current i.custom__select_current_icon {
  width: 16px;
  transform: rotate(0deg);
  transition: 0.3s ease;
}

.custom__select .custom__select_current i.custom__select_current_icon svg {
  width: 16px;
  height: 10px;
}

/* Shared dropdown list styles */
.custom__select .custom__select_list,
.custom__search_input .custom__select_list {
  display: flex;
  flex-direction: column;
  max-height: 0;
  height: auto;
  overflow-y: auto;
  position: absolute;
  width: 100%;
  z-index: 1;
  background: #fff;
  left: 0;
  transition: 0.3s ease-in-out;
}

.custom__select .custom__select_list_item,
.custom__search_input .custom__select_list_item {
  padding: 7px;
  font-size: var(--fs-caption);
  font-weight: 300;
  cursor: pointer;
  transition: 0.1s ease;
}

.custom__select .custom__select_list_item:hover,
.custom__search_input .custom__select_list_item:hover {
  background: #141414;
  color: #fff;
}

/* Select open state */
.custom__select.open .custom__select_list {
  max-height: 200px;
}

.custom__select.open .custom__select_current i.custom__select_current_icon {
  transform: rotate(180deg);
}

/* ===============================
   FORM — SEARCH INPUT
   =============================== */
.custom__search_input {
  position: relative;
}

.custom__search_input input[type=text] {
  padding: 10px;
  border: 1px solid #979797;
  font-size: var(--fs-body);
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.custom__search_input.open .custom__select_list {
  max-height: 200px;
}

/* ===============================
   VARIANT SELECT (native)
   =============================== */
.variant-select {
  border-radius: 0;
  border: 1px solid #141414;
  padding: 5px 10px;
  background: transparent;
  font-size: 16px;
  font-weight: 300;
  display: inline-flex;
}

@media (max-width: 767px) {
  .variant-select {
    font-size: 12px;
    max-width: 79px;
  }
}
/* ===============================
   LOADER SPINNER
   =============================== */
.loader {
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
