
/* ==========================================
   SONELY BRAND — MAIN STYLES
   ========================================== */


/* 01. ОСНОВА */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #222222;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

button,
input,
textarea,
select,
a {
    font-family: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    font-weight: 300;
}

img {
    max-width: 100%;
}

[hidden] {
    display: none !important;
}


/* 02. ШАПКА САЙТУ */

.top-bar,
.catalog-header {
    height: 80px;
    padding: 0 35px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    color: #ffffff;
}

.catalog-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    color: #222222;
}

.menu-button,
.catalog-menu-button {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    background: transparent;
    border: none;
    padding: 5px;
    font-size: 23px;
    line-height: 1;
    color: inherit;
}

.header-brand,
.catalog-brand {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo,
.catalog-logo {
    display: block;
    width: 95px;
    height: auto;
}

.catalog-logo {
    filter: brightness(0);
}

.header-icons,
.catalog-icons {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon-button,
.catalog-icon-button,
.product-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: none;
    background: transparent;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.header-icon-button svg,
.catalog-icon-button svg,
.product-cart-link svg {
    display: block;
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.top-bar .menu-button,
.top-bar .header-icon-button,
.top-bar .cart-icon-link {
    color: #ffffff;
}

.catalog-header .catalog-menu-button,
.catalog-header .catalog-icon-button,
.catalog-header .product-cart-link {
    color: #222222;
}

.catalog-header a,
.catalog-header a:visited {
    text-decoration: none;
}


/* 03. ЛІЧИЛЬНИК КОШИКА */

.cart-count {
    position: absolute;
    top: -7px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 3px;
    border-radius: 50%;
    background: #222222;
    color: #ffffff;
    font-size: 10px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
}

.cart-count[hidden] {
    display: none !important;
}

.top-bar .cart-count {
    background: #ffffff;
    color: #222222;
}


/* 04. БОКОВЕ МЕНЮ */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease,
                visibility 0.35s ease;
    z-index: 99;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 430px;
    max-width: 90%;
    height: 100dvh;
    padding: 35px 30px;
    background: #faf8f5;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 100;
    overflow-y: auto;
}

.side-menu.active {
    transform: translateX(0);
}

.close-menu {
    display: block;
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
    border: none;
    color: #333333;
    font-size: 32px;
}

.menu-categories,
.menu-information {
    display: flex;
    flex-direction: column;
}

.menu-categories a {
    display: flex;
    justify-content: space-between;
    padding: 17px 0;
    border-bottom: 1px solid #ddd8d2;
    color: #3b3631;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.4px;
}

.menu-categories a::after {
    content: "›";
}

.menu-information {
    margin-top: 40px;
}

.menu-information a {
    padding: 12px 0;
    color: #837a71;
    font-size: 14px;
    text-decoration: none;
}

.menu-categories a:hover,
.menu-information a:hover {
    color: #b49c82;
}

.menu-bottom {
    margin-top: 45px;
    color: #837a71;
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}


/* 05. ГОЛОВНИЙ ЕКРАН */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100svh;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("images/hero-desktop.jpg");
    background-size: cover;
    background-position: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.logo {
    width: 300px;
    height: auto;
    animation: logoAppear 1.8s ease-out both;
}

.shop-button {
    padding: 14px 40px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 3px;
    transition: background 0.3s ease,
                color 0.3s ease;
}

.shop-button:hover {
    background: #ffffff;
    color: #222222;
}

.down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    text-decoration: none;
    font-size: 38px;
}


/* 06. ІСТОРІЯ БРЕНДУ */

.brand-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    margin-top: 60px;
    background: #ffffff;
}

.story-photo {
    overflow: hidden;
}

.story-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 12%;
    text-align: center;
}

.story-number {
    font-size: 11px;
    color: #999999;
    letter-spacing: 3px;
}

.story-content h2 {
    margin: 30px 0;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.3;
}

.story-line {
    width: 335px;
    max-width: 100%;
    height: 1px;
    flex-shrink: 0;
    background: #333333;
    margin-bottom: 30px;
}

.story-text {
    margin: 0 0 18px;
    color: #666666;
    font-size: 14px;
    line-height: 2;
}


/* 07. БЕСТСЕЛЕРИ */

.featured-section {
    padding: 45px 6% 90px;
    background: #ffffff;
}

.featured-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 45px;
}

.featured-label {
    margin-bottom: 15px;
    color: #999999;
    font-size: 11px;
    letter-spacing: 3px;
}

.featured-heading h2 {
    margin: 0;
    font-size: 44px;
    font-weight: 300;
}

.featured-all {
    padding-bottom: 10px;
    border-bottom: 1px solid #222222;
    color: #222222;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.featured-item {
    display: block;
    min-width: 0;
    color: #222222;
    text-decoration: none;
}

.featured-item > img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.featured-item:hover > img {
    transform: scale(1.025);
}

.featured-item h3 {
    margin: 20px 0 0;
    color: #222222;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: center;
}


/* 08. КАТАЛОГ — ЗАГОЛОВКИ */

.catalog-page {
    background: #ffffff;
    color: #222222;
}

.catalog-intro {
    padding: 65px 20px 55px;
    text-align: center;
}

.catalog-intro h1 {
    margin: 18px 0;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 5px;
    line-height: 1.3;
}

.catalog-intro p {
    margin: 0;
    color: #999999;
    font-size: 11px;
    letter-spacing: 2px;
}


/* 09. СІТКА КАРТОК ТОВАРІВ */

.dresses-grid,
.all-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
    padding: 0 6% 100px;
}

.dress-item {
    min-width: 0;
    text-align: center;
}

.dress-item > .dress-item {
    display: block;
}

.dresses-grid .product-link,
.all-products-grid a.dress-item,
.all-products-grid .dress-item > a,
.dresses-grid .dress-item > a {
    display: block;
    width: 100%;
    color: #222222;
    text-decoration: none;
}

/* Назви ніколи не стають фіолетовими */

.dresses-grid a,
.dresses-grid a:link,
.dresses-grid a:visited,
.dresses-grid a:hover,
.dresses-grid a:active,
.all-products-grid a,
.all-products-grid a:link,
.all-products-grid a:visited,
.all-products-grid a:hover,
.all-products-grid a:active {
    color: #222222;
    text-decoration: none;
}

.dresses-grid .dress-item h2,
.all-products-grid .dress-item h2 {
    margin: 18px 0 0;
    padding: 0;
    color: #222222;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
}


/* 10. ЄДИНА ВИСОТА ФОТО */

.product-photo-hover,
.catalog-photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #ffffff;
}

.product-photo-hover img,
.catalog-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

.dresses-grid .product-link > img,
.all-products-grid .dress-item > img,
.all-products-grid a.dress-item > img,
.all-products-grid .dress-item > a > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
}

/* Перше фото */

.product-photo-hover .photo-main,
.catalog-photo .photo-main {
    opacity: 1;
    transition: opacity 0.45s ease;
}

/* Друге фото */

.product-photo-hover .photo-hover,
.catalog-photo .photo-hover {
    opacity: 0;
    transition: opacity 0.45s ease;
}

/* Зміна фотографії на комп'ютері */

@media (hover: hover) {

    .product-photo-hover:hover .photo-main,
    .catalog-photo:hover .photo-main,
    .dress-item:hover .catalog-photo .photo-main {
        opacity: 0;
    }

    .product-photo-hover:hover .photo-hover,
    .catalog-photo:hover .photo-hover,
    .dress-item:hover .catalog-photo .photo-hover {
        opacity: 1;
    }

}

/* На телефонах залишається основне фото */

@media (hover: none) {

    .photo-hover {
        display: none !important;
    }

}


/* 11. ДОДАТКОВІ БЛОКИ */

.info-section {
    padding: 100px 20px;
    text-align: center;
}

#productList {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-card {
    width: 300px;
}

.product-card img {
    display: block;
    width: 100%;
    height: auto;
}

.product-card[hidden] {
    display: none;
}

.product-card h3 {
    font-weight: 300;
}


/* 12. АДАПТАЦІЯ ДЛЯ ПЛАНШЕТІВ */

@media (max-width: 1000px) {

    .brand-story {
        grid-template-columns: 1fr;
    }

    .story-photo {
        height: 500px;
    }

    .story-content {
        padding: 65px 40px;
    }

}


/* 13. МОБІЛЬНА ВЕРСІЯ */

@media (max-width: 700px) {

    .brand-story {
        margin-top: 30px;
    }

    .story-photo {
        height: 450px;
    }

    .story-content {
        padding: 65px 30px;
    }

    .story-content h2 {
        font-size: 36px;
    }

    .featured-section {
        padding: 40px 20px 65px;
    }

    .featured-heading {
        align-items: start;
    }

    .featured-heading h2 {
        font-size: 30px;
    }

    .featured-all {
        font-size: 9px;
    }

    .featured-grid {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }

    .featured-item {
        flex: 0 0 75%;
        scroll-snap-align: start;
    }

    .dresses-grid,
    .all-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
        padding: 0 15px 65px;
    }

    .catalog-intro {
        padding: 50px 15px 40px;
    }

    .catalog-intro h1 {
        font-size: 30px;
    }

}


/* 14. НЕВЕЛИКІ ТЕЛЕФОНИ */

@media (max-width: 600px) {

    .hero {
        background-image:
            linear-gradient(
                rgba(0, 0, 0, 0.35),
                rgba(0, 0, 0, 0.35)
            ),
            url("images/hero-mobile.jpg");
    }

    .logo {
        width: 230px;
    }

    .top-bar,
    .catalog-header {
        height: 65px;
        padding: 0 18px;
    }

    .header-logo,
    .catalog-logo {
        width: 75px;
    }

    .header-icons,
    .catalog-icons {
        gap: 10px;
    }

    .side-menu {
        padding: 25px 22px;
    }

    .dresses-grid .dress-item h2,
    .all-products-grid .dress-item h2 {
        font-size: 10px;
        letter-spacing: 1.2px;
        margin-top: 14px;
    }

}


/* 15. АНІМАЦІЇ */

@keyframes logoAppear {

    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .logo {
        animation: none;
    }

    .product-photo-hover img,
    .catalog-photo img {
        transition: none;
    }

}

/* НЕ ПРИХОВУВАТИ ФОТО, ЯКЩО ДРУГОГО НЕМАЄ */

@media (hover: hover) {

    .product-photo-hover:not(:has(.photo-hover)):hover .photo-main,
    .catalog-photo:not(:has(.photo-hover)):hover .photo-main {
        opacity: 1;
    }

}

/* SONELY — ЄДИНІ ПОСИЛАННЯ КАРТОК */

.all-products-grid .product-link,
.all-products-grid .product-link:link,
.all-products-grid .product-link:visited,
.all-products-grid .product-link:hover,
.all-products-grid .product-link:active {
    display: block;
    color: #222222;
    text-decoration: none;
}

.all-products-grid .product-link h2 {
    color: #222222;
    text-decoration: none;
}

/* SONELY — зміна фото товару при наведенні */

.product-photo-hover {
    position: relative;
    overflow: hidden;
}

.product-photo-hover .photo-main {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.35s ease;
}

.product-photo-hover .photo-hover {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: visible;
    z-index: 2;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.product-photo-hover:hover .photo-hover,
.product-link:hover .photo-hover {
    opacity: 1;
}

/* SONELY — PHOTO HOVER */

.product-photo-hover {
    position: relative;
    overflow: hidden;
}

.product-photo-hover .photo-main {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-photo-hover .photo-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: visible;
    z-index: 2;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.product-photo-hover:hover .photo-hover,
.product-link:hover .photo-hover {
    opacity: 1;
}

/* ==========================================
   SONELY — HOME PAGE 2026
   Additional styles for index.html only
========================================== */

.home-page {
  --home-brown: #402820;
  --home-dark: #2c1a15;
  --home-ink: #25211f;
  --home-muted: #817873;
  --home-border: #e9e2dd;
  --home-cream: #f8f6f3;
}

.home-page section {
  scroll-margin-top: 25px;
}

.home-page .home-eyebrow {
  margin: 0 0 22px;
  color: #9b8a80;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .25em;
  line-height: 1.7;
}

.home-page .home-text-link {
  display: inline-block;
  margin-top: 23px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--home-brown);
  color: var(--home-brown);
  text-decoration: none;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .11em;
}

.home-page .home-text-link:hover {
  color: var(--home-dark);
}

/* HEADER AND MENU */

.home-page .top-bar .cart-count {
  background: var(--home-brown);
  color: white;
}

.home-page .side-menu {
  background: #faf8f5;
}

.home-page .side-menu .social-links a {
  color: var(--home-brown);
  font-size: 12px;
  text-decoration: none;
}

.home-page .side-menu .social-links a:hover {
  text-decoration: underline;
}

/* HERO */

.home-page .hero {
  min-height: 650px;
}

.home-page .hero-content {
  gap: 24px;
  padding: 90px 25px;
}

.home-page .home-hero-caption {
  margin: 0 0 10px;
  color: white;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .28em;
  text-align: center;
}

.home-page .shop-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 15px 27px;
  font-size: 10px;
  letter-spacing: .17em;
  text-align: center;
}

.home-page .shop-button:hover {
  color: var(--home-brown);
}

/* BRAND STORY */

.home-page .brand-story {
  margin-top: 0;
}

.home-page .story-content {
  padding-top: 100px;
  padding-bottom: 100px;
}

.home-page .story-content h2 {
  margin: 0 0 29px;
  font-size: clamp(31px, 3.5vw, 51px);
  letter-spacing: -.035em;
}

.home-page .story-line {
  width: 105px;
  margin-bottom: 32px;
  background: var(--home-brown);
}

.home-page .story-text {
  max-width: 480px;
  font-size: 13px;
}

/* BESTSELLERS */

.home-page .featured-section {
  padding-top: 105px;
  padding-bottom: 115px;
}

.home-page .featured-heading {
  margin-bottom: 48px;
}

.home-page .featured-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.home-page .featured-item h3 {
  font-weight: 400;
  letter-spacing: .12em;
}

.home-page .featured-all {
  border-color: var(--home-brown);
  color: var(--home-brown);
}

/* SHARED SECTION HEAD */

.home-page .home-section-head {
  max-width: 690px;
  margin: 0 auto 55px;
  text-align: center;
}

.home-page .home-section-head h2 {
  margin: 0 0 22px;
  font-size: clamp(27px, 3.5vw, 42px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -.025em;
}

.home-page .home-section-head > p:last-child {
  max-width: 560px;
  margin: 0 auto;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 2;
}

/* CATEGORY LINKS */

.home-page .home-collections {
  padding: 100px 6% 120px;
  background: var(--home-cream);
}

.home-page .home-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto;
  gap: 15px;
}

.home-page .home-category {
  display: grid;
  grid-template-columns: 45px 1fr 25px;
  align-items: center;
  min-height: 115px;
  gap: 15px;
  padding: 25px 30px;
  border: 1px solid #e5dbd5;
  background: white;
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color .25s, background .25s;
}

.home-page .home-category:hover {
  border-color: var(--home-brown);
  background: #fffdfb;
}

.home-page .home-category > span:first-child {
  color: #a49790;
  font-size: 11px;
}

.home-page .home-category strong {
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 300;
  letter-spacing: .025em;
}

.home-page .home-category > span:last-child {
  justify-self: end;
  font-size: 19px;
  color: var(--home-brown);
}

/* INDIVIDUAL TAILORING */

.home-page .home-tailoring {
  padding: 120px 6%;
  background: white;
  text-align: center;
}

.home-page .home-tailoring-inner {
  max-width: 720px;
  margin: 0 auto;
}

.home-page .home-tailoring h2 {
  margin: 0 0 29px;
  font-size: clamp(29px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.4;
}

.home-page .home-small-line {
  width: 95px;
  height: 1px;
  margin: 0 auto 30px;
  background: var(--home-brown);
}

.home-page .home-tailoring-lead {
  color: var(--home-ink) !important;
  font-size: 15px !important;
  font-weight: 400;
}

.home-page .home-tailoring-inner > p:not(.home-eyebrow) {
  max-width: 640px;
  margin: 0 auto 20px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 2.1;
}

.home-page .home-brown-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 53px;
  margin-top: 28px;
  padding: 17px 30px;
  border: 1px solid var(--home-brown);
  background: var(--home-brown);
  color: white;
  text-decoration: none;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .13em;
  transition: background .2s;
}

.home-page .home-brown-button:hover {
  background: var(--home-dark);
  color: white;
}

/* HOW TO ORDER */

.home-page .home-process {
  padding: 110px 6%;
  background: var(--home-cream);
}

.home-page .home-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto;
  gap: 45px;
}

.home-page .home-process-item {
  padding-top: 25px;
  border-top: 1px solid #cdbeb5;
}

.home-page .home-process-number {
  color: #a08d82;
  font-size: 11px;
  letter-spacing: .1em;
}

.home-page .home-process-item h3 {
  margin: 26px 0 15px;
  font-size: 18px;
  font-weight: 400;
}

.home-page .home-process-item p {
  max-width: 310px;
  margin: 0;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 2;
}

/* DELIVERY AND PAYMENT */

.home-page .home-delivery {
  padding: 115px 6% 120px;
}

.home-page .home-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1150px;
  margin: 0 auto;
  gap: 20px;
}

.home-page .home-info-card {
  min-height: 290px;
  padding: 42px 30px;
  border: 1px solid var(--home-border);
  background: white;
  text-align: center;
}

.home-page .home-info-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--home-brown);
}

.home-page .home-info-icon svg {
  width: 34px;
  height: 34px;
}

.home-page .home-info-card h3 {
  margin: 0 0 17px;
  font-size: 15px;
  font-weight: 400;
}

.home-page .home-info-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 2;
}

.home-page .home-delivery-footnote {
  margin: 27px 0 0;
  color: var(--home-muted);
  font-size: 11px;
  text-align: center;
}

/* FAQ */

.home-page .home-faq {
  padding: 110px 6%;
  background: var(--home-cream);
}

.home-page .home-faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid #ddd2cc;
}

.home-page .home-faq-list details {
  border-bottom: 1px solid #ddd2cc;
}

.home-page .home-faq-list summary {
  position: relative;
  padding: 25px 35px 25px 0;
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  list-style: none;
  cursor: pointer;
}

.home-page .home-faq-list summary::-webkit-details-marker {
  display: none;
}

.home-page .home-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 24px;
  color: var(--home-brown);
  font-size: 20px;
  font-weight: 300;
}

.home-page .home-faq-list details[open] summary::after {
  content: "−";
}

.home-page .home-faq-list details p {
  max-width: 720px;
  margin: 0;
  padding: 0 30px 26px 0;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 2;
}

/* CONTACTS */

.home-page .home-contacts {
  padding: 115px 6% 125px;
  text-align: center;
}

.home-page .home-contacts h2 {
  margin: 0 0 25px;
  font-size: clamp(29px, 4vw, 45px);
  font-weight: 300;
}

.home-page .home-contacts > p:not(.home-eyebrow) {
  max-width: 580px;
  margin: 0 auto;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 2.1;
}

/* FOOTER */

.home-page .home-footer {
  padding: 75px 6% 28px;
  background: var(--home-brown);
  color: #fff;
}

.home-page .home-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 45px;
  max-width: 1200px;
  margin: 0 auto 75px;
}

.home-page .home-footer-brand h2 {
  margin: 0 0 25px;
  font-size: 31px;
  font-weight: 300;
  letter-spacing: .22em;
}

.home-page .home-footer-brand p {
  margin: 0;
  color: #d7cac2;
  font-size: 12px;
  line-height: 2;
}

.home-page .home-footer-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.home-page .home-footer-column h3 {
  margin: 0 0 12px;
  color: #eddfd7;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .13em;
}

.home-page .home-footer-column a {
  color: #ded2cb;
  font-size: 11px;
  line-height: 1.7;
  text-decoration: none;
}

.home-page .home-footer-column a:hover {
  color: white;
  text-decoration: underline;
}

.home-page .home-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid #72554b;
  color: #c9b6ac;
  font-size: 10px;
  letter-spacing: .08em;
}

/* TABLET */

@media(max-width: 950px) {
  .home-page .home-process-grid,
  .home-page .home-info-grid {
    gap: 16px;
  }

  .home-page .home-info-card {
    padding: 34px 22px;
  }

  .home-page .home-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
}

/* MOBILE */

@media(max-width: 700px) {
  .home-page .hero {
    min-height: 600px;
  }

  .home-page .hero-content {
    padding: 90px 18px;
  }

  .home-page .home-hero-caption {
    max-width: 300px;
    font-size: 9px;
    letter-spacing: .2em;
  }

  .home-page .brand-story {
    margin-top: 0;
  }

  .home-page .story-photo {
    height: 440px;
  }

  .home-page .story-content {
    padding: 75px 25px;
  }

  .home-page .featured-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .home-page .home-collections,
  .home-page .home-tailoring,
  .home-page .home-process,
  .home-page .home-delivery,
  .home-page .home-faq,
  .home-page .home-contacts {
    padding: 78px 6%;
  }

  .home-page .home-section-head {
    margin-bottom: 40px;
  }

  .home-page .home-category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-page .home-category {
    min-height: 86px;
    padding: 18px 22px;
  }

  .home-page .home-process-grid,
  .home-page .home-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-page .home-process-item {
    padding: 25px 0 8px;
  }

  .home-page .home-info-card {
    min-height: 0;
    padding: 35px 25px;
  }

  .home-page .home-footer {
    padding: 65px 7% 25px;
  }

  .home-page .home-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px 22px;
  }

  .home-page .home-footer-brand {
    grid-column: 1 / -1;
  }

  .home-page .home-footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media(max-width: 400px) {
  .home-page .home-footer-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-footer-brand {
    grid-column: auto;
  }

  .home-page .home-category {
    grid-template-columns: 32px 1fr 20px;
  }
}

/* SONELY — SOCIAL MEDIA ICONS */

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    color: #252020;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.5;
}

.social-links a::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
}

/* Instagram */
.social-links a[href*="instagram.com"]::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5' fill='none' stroke='white' stroke-width='1.35'/%3E%3Ccircle cx='12' cy='12' r='3.8' fill='none' stroke='white' stroke-width='1.35'/%3E%3Ccircle cx='17.5' cy='6.8' r='.7' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5' fill='none' stroke='white' stroke-width='1.35'/%3E%3Ccircle cx='12' cy='12' r='3.8' fill='none' stroke='white' stroke-width='1.35'/%3E%3Ccircle cx='17.5' cy='6.8' r='.7' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Telegram */
.social-links a[href*="t.me"]::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z' fill='none' stroke='white' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='m21.854 2.147-10.94 10.939' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z' fill='none' stroke='white' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='m21.854 2.147-10.94 10.939' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
