@import url('https://fonts.googleapis.com/css2?family=Radio+Canada:ital,wght@0,300..700;1,300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  font-size: 16px;

  --background-primary: #FAFAFA;
  --background-secondary: #FFFFFF;
  --background-alert-error: #FEF3F2;

  --border-primary: #EAEAEB;
  --border-secondary: #E0E0E1;
  --border-tertiary: #C7C7C9;

  --brand-green: #007847;
  --brand-green-light: #2ABF71;

  --text-primary: #0A0A0A;
  --text-secondary: #444444;
  --text-tertiary: #888888;
  --text-disable: #AAAAAA;
  --text-alert-success: #079455;
  --alert-error: #D92D20;
}

::placeholder {
  color: var(--text-disable);
}

* {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--text-primary);
}

button {
  appearance: none;
  -webkit-appearance: none;
}

details > summary {
  list-style: none;
}

details > summary::marker {
  content: "";
}

details > summary::-webkit-details-marker {
  display: none;
}

table {
  border: 0;
  border-collapse: collapse;
}

.header {
  background-color: var(--background-secondary);
  position: sticky;
  top: 0;
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
  z-index: 10;
}

.header .content {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header .logo {
  height: 32px;
  display: block;
} 

.header .navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header .navigation ul .separator {
  background-color: var(--border-primary);
  width: 1px;
  height: 24px;
}

.header .navigation ul li a {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}


.header .navigation-mobile {
  background-color: var(--background-secondary);
  position: absolute;
  padding: 24px;
  bottom: 5px;
  left: 0;
  transform: translateY(100%);
  width: 100%;
  z-index: 10;
  display: none;
  
  
}

.header .navigation-mobile .btn {
  padding: 12px;
  font-size: 1rem;
  line-height: 24px;
}

.header .navigation-mobile ul {

  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.header .navigation-mobile a:not(.btn) {
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.0;
  font-weight:450;
  letter-spacing: 1px;
  text-decoration: none;
  display: block;
}


    .inline-menu li {
        display: inline-block;
        margin-right: 16px;
        vertical-align: middle;
        list-style: none;
    }

    .inline-menu img {
        height: 16px;  /* optional */
        vertical-align: middle;
    }





.mobile-menu-layer {
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.header + .mobile-menu-layer {
  display: none;
}

.header.open .navigation-mobile,
.header.open + .mobile-menu-layer {
  display: block;
}

.header .header-controls {
  display: flex;
  gap: 14px;
  align-items: center;
}

.header .header-controls .search,
.header .header-controls .menu {
  background-color: var(--background-secondary);
  border: 1px solid var(--border-primary);
  padding: 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}

.header .header-controls .menu,
.header.open .header-controls .open-icon,
.header.open .header-controls .search,
.header .header-controls .close-icon {
  display: none;
}
.header.open .header-controls .close-icon {
  display: block;
}

.header .header-controls .btn {
  padding: 10px 8px;
  width: 65px;
  font-size: 0.875rem;
  line-height: 22px;
  flex-shrink: 0;
}

.header .header-controls .switch-language {
  background-color: transparent;
  padding: 8px;
  border: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #333333;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.header .header-controls .cart {
  position: relative;
  background-color: transparent;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.header .header-controls .cart .cart-items-counter {
  background-color: var(--text-primary);
  padding: 5px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  color: #FBFBFC;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(50%, -40%);
  padding-top: 2px;
}


.cart-items-counter {
 font-size: 0.6rem;
}

.header .header-controls .user {
  background-color: #000000;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 24px;
}



.footer {
  margin: auto;
  width: 100%;
  max-width: 1440px;
  padding: 80px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 24px;
}

.footer .footer-content {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  gap: 20px;
}

.footer .footer-content .footer-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 416px;
}

.footer .footer-content .footer-info .footer-logo {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  font-size: 20px;
  line-height: 140%;
}

.footer .footer-content .footer-info .footer-contact {
  max-width: 318px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer .footer-content .footer-info .footer-social-media {
  display: flex;
  gap: 12px;
}

.footer .footer-content .footer-menu,
.footer .footer-content .footer-menu nav {
  display: flex;
  gap: 80px;
}

.footer .footer-content .footer-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer .footer-content .footer-menu ul li {
  color: var(--text-tertiary);
}

.footer .footer-content .footer-menu ul li a {
  color: var(--text-primary);
  text-decoration: none;
}

.footer .footer-content .footer-menu ul li a:hover {
  text-decoration: underline;
}

.footer .footer-content .footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer .footer-content .footer-newsletter form {
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 4px;
}

.footer .footer-content .footer-newsletter form .btn {
  padding: 10px;
  font-size: 1rem;
  font-weight: 500;
}

.footer .footer-copyright {
  font-size: 1rem;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-tertiary);
  text-align: center;
}

.input-label {
  position: relative;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 6px;
}

.input-label input {
  padding-right: 45px;
  color: var(--text-primary);
}

.input-label button,
.input-label .error-icon,
.input-label .icon {
  background-color: transparent;
  position: absolute;
  bottom: 13px;
  right: 15px;
  appearance: none;
  border: 0;
  cursor: pointer;
}

.input-label button {
  z-index: 2;
}

.input-label .error-icon {
  display: none;
}

.input-label svg {
  display: block;
}

.input-label.error {
  color: var(--alert-error);
}

.input-label.error .error-icon {
  display: block;
}

.input-label[aria-disabled="true"] {
  opacity: 0.3;
  pointer-events: none;
}

.check-label {
  color: var(--text-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 8px;
  cursor: pointer;
}

.check-label input {
  display: none;
}

.check-label input + span {
  background-color: #FFFFFF;
  width: 24px;
  height: 24px;
  border: 2px solid #E5E5E5;
  border-radius: 4px;
}

.check-label input:checked + span {
  background-image: url("data:image/svg+xml,%3Csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M2.91663%206.99992L5.83329%209.91659L11.6666%204.08325'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--brand-green-light);
  border-color: var(--brand-green-light);
}

.check-label.error input + span {
  border-color: var(--alert-error);
}

input[type="text"],
input[type="email"],
input[type="password"] {
  background-color: rgba(245, 245, 245, 0.002);
  padding: 12px;
  width: 100%;
  font-size: 0.875rem;
  line-height: 22px;
  border: 1px solid #E0E0E1;
  border-radius: 12px;
}

input[type="text"] + button.delete,
input[type="email"] + button.delete,
input[type="password"] + button.delete {
  display: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  box-shadow: 0px 0px 0px 3px rgba(14, 14, 14, 0.04);
  outline: 0;
}

input[type="text"]:focus + button.delete,
input[type="email"]:focus + button.delete,
input[type="password"]:focus + button.delete,
button.delete:hover {
  display: block !important;
}

input[type="text"]:focus ~ .error-icon,
input[type="email"]:focus ~ .error-icon,
input[type="password"]:focus ~ .error-icon {
  display: none;
}

.btn {
  background-color: #FFFFFF;
  padding: 18px 16px;
  width: 100%;
  color: var(--text-primary);
  font-size: 1.125rem;
  line-height: 26px;
  font-weight: 500;
  border: 1px solid #EAEAEB;
  border-radius: 12px;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn.primary {
  background-color: var(--brand-green);
  color: #FFFFFF;
}

.btn.secondary {
  color: var(--brand-green);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  column-gap: 20px;
  row-gap: 32px;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product .product-image {
  background-size: cover;
  background-position: center;
  width: 100%;
  max-height: 224px;
  aspect-ratio: 1;
  border-radius: 16px;
}

.product .product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;

 
}
#second-child {

  background-color: var(--brand-green);
  color: var(--background-primary);
}


.card-article-link {

  text-decoration: none;
  align-items: center;

}


.from-product {

  font-size: 1rem;
}
.product .product-info .product-title {
  color: #000000;
  font-size: 1rem;
  line-height: 1.4em;
  letter-spacing: 0.65px;
  font-weight: 600;
}

.product .product-info .product-description {
  color: var(--text-secondary);
  font-weight: 1rem;
  font-weight: 300;
  white-space: nowrap;
  font-size: 0.9rem !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product .product-info .product-price-tag {
  display: flex;
  align-items: end;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 1rem;
  font-weight: 300;
}



.product .product-info .product-price {
  color: #000000;
  font-size: 0.8rem;
  line-height: 1.2em;
  font-weight: 600;
}


@media all and (max-width: 1000px) {

  .header {
    padding: 12px 20px;
  }

  .header .navigation ul li:not(:first-of-type) {
    display: none;
  }

  .header .header-controls {
  gap: clamp(0px, 2vw, 24px);
  }


  .header .header-controls > *:not(.search, .cart) {
    display: none !important;

  }
  .header .header-controls .menu {
    display: flex !important;
  }

  .product .product-info .product-title {
    font-size: 16px;
  }

  .footer {
    padding: 32px 20px 16px 20px;
    font-size: 0.875rem;
    line-height: 22px;
  }

  .footer .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  .footer .footer-content .footer-info .footer-logo {
    font-size: 1.125rem;
    line-height: 26px;
  }

  .footer .footer-content .footer-menu nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer .footer-content .footer-menu {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer .footer-content .footer-menu ul {
    gap: 12px;
  }

  .footer .footer-content .footer-newsletter {
    width: 100%;
  }

 

}




/* ===== Destinations Section ===== */

.destinations-section {
  padding: 80px 20px;
}

.destinations-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Title */
.destinations-header {
  margin-bottom: 32px;
}

.destinations-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
}

/* Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

/* Card */
.destination-card {
  cursor: pointer;
}

.destination-image {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.destination-card:hover .destination-image {
  transform: scale(1.03);
}

/* City name */
.destination-name {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

/* ===== Trending Section ===== */

.trending-section {
  padding: 80px 20px;
}

.trending-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trending-header {
  margin-bottom: 24px;
}

.trending-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
}

/* Wrapper for scroll + arrow */
.trending-wrapper {
  position: relative;
}

/* List */
.trending-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Card */
.trending-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.trending-card:hover {
  transform: translateY(-4px);
}

.trending-image {
  height: 170px;
  background-size: cover;
  background-position: center;
}

.trending-info {
  padding: 14px;
}

.trending-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.trending-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.4;
}

/* ===== Mobile: Horizontal Scroll + Arrow ===== */
@media (max-width: 768px) {
  .trending-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .trending-card {
    min-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Scroll Arrow */
  .trending-scroll-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: rgba(0,0,0,0.5);
    background: linear-gradient(to left, #fff, transparent);
    padding-left: 10px;
    padding-right: 10px;
    pointer-events: none; /* doesn't block scrolling */
  }
}



/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

/* Modal */
.modal {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  position: relative;

}

.modal h3 {
  margin-bottom: 16px;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

/* Form */
.faq-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.faq-form input,
.faq-form textarea {
  margin-top: 6px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-primary);
  font-size: 1rem;
}



/* Flash messages */
.flash-messages {
  margin: 15px 0;
}

.flash {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}

.flash.success {
  background: #E6F4EA;
  color: #1B7A32;
}

.flash.error {
  background: #FDE8E8;
  color: #B42318;
}

.flash.warning {
  background: #FFF4D6;
  color: #9A6B00;
}

.flash.info {
  background: #E7F1FF;
  color: #0B65C2;
}

