/* === Header Bar === */
.header-bar {
  background-color: #f4f0ed; /* warm beige/grey */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-img {
  max-height: 60px;
  width: auto;
  display: inline-block;
}

/* Outer wrapper to center the grid */
.shop-wrapper {
  display: flex;
  flex-direction: column;  /* ✅ было row — станет column */
  align-items: center;     /* ✅ центрируем содержимое */
  justify-content: center;
}

/* Product grid container */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 1624px;       /* 4×400 + 3×8 = 1624px total */
  width: 100%;
}

.load-more-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 16px 0 32px;
}

/* Product card (fixed width) */
.product-card {
  flex: 0 0 400px;         /* Always 400px per card */
  max-width: 400px;
  background: #fff;
  text-align: center;
  transition: transform 0.3s ease;
  border-radius: 4px;          /* Rounded corners */
  overflow: hidden;            /* Clip child elements (e.g. images) */
}

.product-card:hover {
  transform: translateY(-4px);
}

/* Get rid of blue underline */
.product-card a {
  text-decoration: none;
  color: inherit;
}

.product-card a:hover {
  text-decoration: none;
  color: inherit;
}

/* Image area */
.product-image {
  background-color: #f5f5f5;
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 4px;   /* Match card */
  border-top-right-radius: 4px;  /* Match card */
  overflow: hidden;
}

.product-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0; /* ensure image corners follow parent shape */
}

/* Info */
.product-info {
  padding: 10px 0;
}

.product-name {
  font-size: 0.9rem;
  text-decoration: none;
  color: #444;
  margin-bottom: 4px;
}

.product-price {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
}

/* Responsive behavior */
@media (max-width: 1600px) {
  .product-grid {
    justify-content: center; /* keep centered */
  }
}

@media (max-width: 1200px) {
  .product-card {
    flex: 1 1 calc(33.333% - 8px);
    max-width: calc(33.333% - 8px);
  }
}

@media (max-width: 768px) {
  .product-card {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

@media (max-width: 576px) {
  .product-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.product-info {
  padding: 8px 8px;
  text-align: left;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table td {
  vertical-align: top;
  border: 0;
  padding: 0;
}

/* Left side (name + price) */
.product-name {
  font-size: 0.95rem;
  color: #222;
  font-weight: 400;
  margin-bottom: 4px;
}

.product-price {
  font-size: 0.95rem;
  font-weight: 300;
  color: #444;
}

/* Right side (status + button) */
.info-right {
  text-align: right;
}

.status {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
  font-weight: 400;
}

/* Status color variants */
.status.available {
  background-color: #e8f9e8;
  color: #2e8b57;
}

.status.out-of-stock {
  background-color: #fdeaea;
  color: #c0392b;
}

.status.coming-soon {
  background-color: #fff5e0;
  color: #b36b00;
}


.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px; /* 4px vertical spacing, 8px horizontal */
}

.highlight-tag {
  background-color: #f0fff0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 15px;
  color: #243424;
  white-space: nowrap;
}





/* Container setup */
.product-detail-container {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Two-column layout */
.product-detail {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Left column: images */
.product-images {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.image-box {
  background-color: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}

.image-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Right column: info */
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
}

.product-title {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.current-price {
  color: #000;
  font-weight: 500;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  margin-left: 8px;
}

.product-short {
  color: #555;
  line-height: 1.4;
}

/* Availability tags */
.status {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.status.available {
  background-color: #e8f9e8;
  color: #2e8b57;
}

.status.out-of-stock {
  background-color: #fdeaea;
  color: #c0392b;
}

.status.coming-soon {
  background-color: #fff5e0;
  color: #b36b00;
}

/* Quantity and button */
.quantity-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.quantity-input {
  width: 60px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
}

.btn-addcart {
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.3s ease;
}
.btn-addcart-dis {
  background-color: #ccc;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  cursor: pointer;
  font-weight: 400;
}

.btn-addcart:hover {
  background-color: #444;
}

/* Disabled state */
.btn-add:disabled,
.btn-add.disabled,
.btn-add[disabled] {
  background-color: #e9e9e9;
  border-color: #d0d0d0;
  color: #a0a0a0;
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none; /* no clicks */
}

/* Make sure hover doesn’t override disabled style */
.btn-add:disabled:hover,
.btn-add.disabled:hover,
.btn-add[disabled]:hover {
  background-color: #e9e9e9;
  color: #a0a0a0;
}


/* Description section */
.product-description {
  margin-top: 16px;
  color: #333;
}

.product-description h5 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 992px) {
  .product-detail {
    flex-direction: column;
  }
  .product-images {
    width: 100%;
  }
}

/* Related Products Section
.related-products {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}



.related-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1616px;
  margin: 0 auto;
}


.related-grid .product-card {
  flex: 0 0 400px;
  max-width: 400px;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease;
}

.related-grid .product-card:hover {
  transform: translateY(-4px);
}
*/

.badge {
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.badge:hover {
  transform: translateY(-1px);
  background-color: #198754 !important; /* Bootstrap green */
}

/* === Category Grid Section === */
.category-grid-section {
  padding: 0;
  margin: 0;
  width: 100%;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 100%;
  min-height: 50vh;
}

.category-tile {
  position: relative;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.category-tile:hover {
  filter: brightness(0.9);
  transform: scale(1.01);
}

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
/* OVERLAY  background: rgba(0, 0, 0, 0.25);  */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  text-align: center;
}


.category-text {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.category-text h3 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.discover-link {
  color: #222;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.discover-link:hover {
  color: #333;
}

.discover-link .arrow {
  margin-left: 4px;
  transition: margin-left 0.2s ease;
}

.discover-link:hover .arrow {
  margin-left: 8px;
}

/* Responsive behavior */
@media (max-width: 992px) {
.category-grid {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}
.category-tile {
  aspect-ratio: 16 / 9;
}
.category-text h3 {
  font-size: 3rem;
}
}


/* TAGS STYLES */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.filter-pill:hover {
  text-decoration: none;
  background: #333;
  color: #fff;
}

.filter-pill.active {
  background: #222; /* Bootstrap success green for active/All */
  color: #fff;
}

/* FILTER WRAPPER */

.filter-wrapper {
  max-width: 1440px;       /* wide XXL container */
  margin: 0 auto;          /* center on page */
  padding: 0 24px;         /* breathing room from edges */
}

.filter-block {
  margin-bottom: 12px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center; /* center pills */
}

.filter-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.filter-pill:hover {
  text-decoration: none;
  background: #333;
  color: #fff;
}

.filter-pill.active {
  background: #222; /* green “All / active” */
  color: #fff;
}

.filter-label {
  font-size: 1.4rem;
  color: #888;
  text-align: center;
  margin-bottom: 4px;
}

/* Base toast look */
.art-toast {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 260px;
    max-width: 420px;
}

.art-toast-header {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-bottom: none;
}

/* Default body (if no specific tag) */
.art-toast-body {
    font-size: 0.9rem;
    padding: 0.9rem 1rem;
}

/* SUCCESS toast (add-to-cart) */
.art-toast-success .art-toast-header {
    background-color: #e8e8e8;   /* light grey header */
    color: #1f4d33;
}

.art-toast-success .art-toast-body {
    background-color: #f5efe4;   /* main  area */
    color: #111;
}

/* INFO toast */
.art-toast-info .art-toast-header {
    background-color: #e3f2fd;
    color: #0b3c68;
}

.art-toast-info .art-toast-body {
    background-color: #1976d2;
    color: #ffffff;
}

/* WARNING toast */
.art-toast-warning .art-toast-header {
    background-color: #fff3cd;
    color: #856404;
}

.art-toast-warning .art-toast-body {
    background-color: #ffc107;
    color: #212529;
}

/* ERROR toast */
.art-toast-error .art-toast-header,
.art-toast-danger .art-toast-header {
    background-color: #f8d7da;
    color: #842029;
}

.art-toast-error .art-toast-body,
.art-toast-danger .art-toast-body {
    background-color: #dc3545;
    color: #ffffff;
}

/* Brand pills */
.brand-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #000;
  background: #e3e3e3;
  color: #000;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.brand-pill:hover {
  background: #111;
  color: #fff;
  text-decoration: none;
}

/* Active brand = same green as active category/tag */
.brand-pill.active {
  background: #222;
  border-color: #222;
  color: #fff;
}

/* Brand pills */
.brand-pill-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #000;
  background: #f4f0ed;
  color: #000;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.brand-pill-tag:hover {
  background: #111;
  color: #f4f0ed;
  text-decoration: none;
}

/* Active brand = same green as active category/tag */
.brand-pill-tag.active {
  background: #222;
  border-color: #222;
  color: #fff;
}

.shop-search {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.shop-search-row {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
}

.shop-search-row input[type="text"] {
  flex: 1 1 auto;     /* ✅ занимает всё доступное место */
  min-width: 260px;   /* ✅ не схлопывается */
  height: 40px;
}

.shop-search-result {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding-bottom: 8px;
}

/* Related products horizontal scroll */
.related-container{
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 16px;       /* safe padding for mobile */
}

.related-title {
  /*font-size: 2rem;
  font-weight: 300;*/
  margin-bottom: 16px;
  margin-left: 8px;
  text-align: left;
  color: #111;
}

.related-products .related-scroll{
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;

  gap: 16px;
  padding: 8px 12px 14px;
}

.related-products .related-item{
  flex: 0 0 320px;   /* default desktop */
  scroll-snap-align: start;
}

/* IMPORTANT: product-card becomes 100% on mobile — override in related slider */
.related-products .related-item .product-card{
  flex: 0 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ✅ Mobile: big cards, small gaps */
@media (max-width: 576px){
  .related-products .related-scroll{
    gap: 12px;
    padding: 8px 16px 14px;
  }

  .related-products .related-item{
    flex: 0 0 78vw;   /* <-- ключевая строка */
    max-width: 78vw;
  }
}

/* ✅ Very small phones */
@media (max-width: 360px){
  .related-products .related-item{
    flex-basis: 84vw;
    max-width: 84vw;
  }
}


/* чуть удобнее скроллбар (опционально) */
.related-scroll::-webkit-scrollbar{ height: 10px; }
.related-scroll::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.15); border-radius: 999px; }
.related-scroll::-webkit-scrollbar-track{ background: transparent; }

/* Neutral accordion styling (override Bootstrap blue) */
.accordion-item {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.accordion-button {
  background: #f6f6f6;
  color: #222;
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background: #f2f2f2;
  color: #222;
  box-shadow: none;
}

.accordion-button:focus {
  border-color: #e5e5e5;
  box-shadow: none; /* убираем синее свечение */
}

.accordion-body {
  background: #fff;
}
/* BRANDS  LANDING SECTION 02 */
.brand-title-link {
  text-decoration: none;
  color: inherit;          /* наследует цвет заголовка */
  transition: opacity 0.2s ease;
}

.brand-title-link:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* GIFT GUIGED LANDING SECTION */
  .gift-guides {
    padding: 4rem 0 4.5rem;
    background-color: #f7f4f1;
  }

  .gift-guides__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  .gift-guides__title {
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
  }

  .gift-guides__subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  /* три вертикальные карточки в ряд на десктопе */
  .gift-guides__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  @media (min-width: 900px) {
    .gift-guides__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  .gift-tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
  }

  .gift-tile__image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4; /* вытянутые вертикальные картинки, как на примере */
    overflow: hidden;
  }

  .gift-tile__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }

  .gift-tile:hover .gift-tile__image {
    transform: scale(1.03);
  }

  .gift-tile__caption {
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .gift-tile__title {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .gift-tile__description {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .gift-tile__link {
    font-size: 0.9rem;
    border-bottom: 1px solid #000;
    padding-bottom: 0.1rem;
    align-self: flex-start;
  }

  .gift-tile:hover .gift-tile__link {
    opacity: 0.7;
  }
  .care-rituals {
    position: relative;
    width: 100%;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .care-rituals__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
  }

  .care-rituals__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh;
    color: #fff;
  }

  .care-rituals__title {
    font-size: 2.8rem;
    line-height: 1.1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .care-rituals__subtitle {
    max-width: 460px;
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .care-rituals__link {
    display: inline-block;
    align-self: flex-start;      /* <<< главное */
    width: auto;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.55rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    background-color: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(3px);
    color: #fff;
  }

  .care-rituals__link:hover {
    background-color: rgba(0, 0, 0, 0.32);
  }

  /* адаптивность */
  @media (max-width: 768px) {
    .care-rituals {
      min-height: 70vh;
    }

    .care-rituals__inner {
      padding: 3rem 1.25rem;
    }

    .care-rituals__title {
      font-size: 2.8rem;
    }

    .care-rituals__subtitle {
      font-size: 1.4rem;
    }
  }
/* BOOKS SECTION */
.books-section {
  position: relative;
  width: 100%;
  min-height: 65vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.books-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25); /* светлая дымка */
}

.books-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: flex;
  justify-content: flex-end;   /* <<< переносим блок вправо */
  align-items: center;
  min-height: 65vh;
}

.books-section__content-box {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  padding: 2.5rem 3rem;
  border-radius: 24px;
  max-width: 640px;
  text-align: right;          /* <<< текст вправо */
}

.books-section__title {
  font-size: 3.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.books-section__subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.books-section__link {
  display: inline-block;
  font-size: 0.95rem;
  padding: 0.6rem 1.8rem;
  border-radius: 999px;
  border: 1px solid #222;
  background-color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  color: #111;
  transition: background 0.25s ease, transform 0.2s ease;
}

.books-section__link:hover {
  background-color: #222;
  color: #fff;
  transform: translateY(-2px);
}

/* Адаптив */
@media (max-width: 768px) {

  .books-section__inner {
    justify-content: center;     /* центрируем */
    padding: 3rem 1.25rem;
  }

  .books-section__content-box {
    text-align: center;          /* текст по центру */
    padding: 1.8rem;
  }

  .books-section__title {
    font-size: 2.2rem;
  }

  .books-section__subtitle {
    font-size: 1rem;
  }
}

.custom-caption {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  max-width: 600px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8%;
  text-align: center;
}

.tg-slide-link {
  text-decoration: none;
  color: #111;
  display: block;
}

.tg-slide-link h2 {
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.tg-slide-link p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
}

.tg-slide-link:hover {
  opacity: 0.75;
}

/* Mobile adaptation */
@media (max-width: 768px) {

  .custom-caption {
    padding: 1.5rem;
    bottom: 5%;
    width: 90%;
  }

  .tg-slide-link h2 {
    font-size: 1.6rem;
  }

  .tg-slide-link p {
    font-size: 1rem;
  }
}
/* ===== CART PROMO MESSAGES ===== */
.cart-message-wrapper {
    max-width: 400px;
}

.cart-message {
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ERROR */
.cart-message-error {
    background-color: #f6e8e8;
    color: #b94a48;
    border: 1px solid #e5c4c4;
}

/* SUCCESS */
.cart-message-success {
    background-color: #e8f3ed;
    color: #2f6f4f;
    border: 1px solid #c9e2d5;
}

/* NEUTRAL */
.cart-message-neutral {
    background-color: #f2f2f2;
    color: #555;
    border: 1px solid #e1e1e1;
}
/* ===== CART PROMO MESSAGES END ===== */

/* ABOUT PAGE */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

/* text */
.about-section__text {
  flex: 1 1 420px;
  max-width: 520px;
}

/* image wrapper */
.about-image {
  flex: 1 1 420px;
}

/* images */
.about-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

/* vertical image */
.about-image-vertical img {
  aspect-ratio: 3 / 4;
  max-width: 420px;
}

/* horizontal images */
.about-image-horizontal img {
  aspect-ratio: 4 / 3;
}

/* layout order */

.about-section--image-left .about-image {
  order: 0;
}

.about-section--image-left .about-section__text {
  order: 1;
}

.about-section--image-right .about-image {
  order: 1;
}

.about-section--image-right .about-section__text {
  order: 0;
}
.about-image img {
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}
/* mobile */

@media (max-width: 768px) {

  .about-section {
    flex-direction: column;
  }

  .about-section__text {
    max-width: 100%;
  }

  .about-image-vertical img {
    max-width: 100%;
  }
  .about-image img {
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  }
}
