/*
Theme Name: Garderobchik
Theme URI: https://гардеробчик.бел
Author: Garderobchik
Description: Garderobchik
Version: 1.0
*/


/* FONTS */

/* montserrat-regular - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'),
       url('fonts/montserrat-v31-cyrillic_latin-regular.woff2') format('woff2'); 
}

/* montserrat-700 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'),
       url('fonts/montserrat-v31-cyrillic_latin-700.woff2') format('woff2'); 
}

/* montserrat-900 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: local('Montserrat Black'), local('Montserrat-Black'),
       url('fonts/montserrat-v31-cyrillic_latin-900.woff2') format('woff2'); 
}

/* 1. GLOBAL SETTINGS */
:root {
    --color-black: #010101;
    --color-white: #f5f5f5;
    --font-main: 'Montserrat', sans-serif;
    --container-width: 1400px;
    --transition-base: all 0.3s ease;
    --section-padding-desktop: 100px 0;
    --section-padding-mobile: 60px 0;
    --title-margin-bottom: 50px;
}

/* 2. STYLES AND FONTS */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', var(--font-main), sans-serif !important;
    background-color: var(--color-white);
    color: var(--color-black);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 3. SECTIONS AND TITLES */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

section:not(.hero-section) {
    padding: var(--section-padding-desktop);
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: clamp(30px, 6vw, 80px);
    margin-bottom: var(--title-margin-bottom);
    width: 100%;
}

/* 4. HERO */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    filter: 
        brightness(0.75) 
        contrast(1.1) 
        saturate(0) 
        sepia(0);
    transition: var(--transition-base);
}

.hero-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 50px 0;
}

/* HEADER AND LOGO */
.hero-header {
    width: 100%;
    z-index: 1000;
    padding: 50px 0 20px; 
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: clamp(5rem, 11vw, 11rem);
    width: 100%;
    display: flex;
    align-items: center;
}

.logo svg, 
.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    transform: translateY(-25px);
}

.nav-phone {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.icon-link {
    display: flex;
}

.logo a,
.nav-phone,
.icon-link {
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* BURGER BTN */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    position: relative;
    transform: translateY(-25px);
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    transition: var(--transition-base);
}

.hero-header.menu-open .burger-btn span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hero-header.menu-open .burger-btn span:nth-child(2) { opacity: 0; }
.hero-header.menu-open .burger-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

body .hero-header.is-home {
    position: absolute;
    top: 0; 
    left: 0;
    background-color: transparent;
}
body .hero-header.is-home .logo a,
body .hero-header.is-home .nav-phone,
body .hero-header.is-home .icon-link { color: var(--color-white); }
body .hero-header.is-home .burger-btn span { background-color: var(--color-white); }
body .hero-header.is-home .logo a:hover,
body .hero-header.is-home .nav-phone:hover,
body .hero-header.is-home .icon-link:hover { color: var(--color-black); }

body .hero-header.is-internal {
    position: relative;
    top: 0;
    background-color: var(--color-black);
}
body .hero-header.is-internal .logo a,
body .hero-header.is-internal .nav-phone,
body .hero-header.is-internal .icon-link { color: var(--color-white); }
body .hero-header.is-internal .burger-btn span { background-color: var(--color-white); }
body .hero-header.is-internal .logo a:hover,
body .hero-header.is-internal .nav-phone:hover,
body .hero-header.is-internal .icon-link:hover { color: rgba(255, 255, 255, 0.5); }

.hero-content-bottom {
    container-type: inline-size;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-title {
    color: var(--color-white);
    font-size: clamp(40px, 7vw, 110px);
    line-height: 1.1;
    margin: 0 0 30px 0;
    white-space: nowrap;
    text-align: center;
}

@media (min-width: 769px) {
    .hero-title { white-space: nowrap; }
}

.btn-main {
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    align-self: center; 
    width: max-content; 
    background-color: var(--color-white);
    color: var(--color-black);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    padding: 20px 50px;
    border-radius: 0;
    transition: var(--transition-base);
    box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
    .btn-main:hover {
        background-color: var(--color-black);
        color: var(--color-white);
    }
}

/* LOOKS */
.looks-cta-wrapper {
    position: relative;
    background-color: var(--color-black);
}

#looks {
    position: relative;
    background-color: var(--color-black); 
    z-index: 1;
}

#looks .section-title {
    color: var(--color-white);
}

.looks-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding-bottom: 50px;
}

.look-item {
    display: block;
    overflow: hidden;
    background-color: #222;
    aspect-ratio: 3 / 4;
    border-radius: 0;
}

.look-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.look-item:hover img {
    transform: scale(1.05);
}

.look-item:nth-child(3n+2) {
    position: relative;
    top: 50px;
}

.looks-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 50px; 
}

.btn-looks {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 2px solid var(--color-white);
    padding: 15px 40px;
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition-base);
    display: inline-block;
}

@media (hover: hover) and (pointer: fine) {
    .btn-looks:hover {
        background-color: transparent;
        color: var(--color-white);
    }
}



.LoadMoreButton {
    display: none !important;
}

/* CTA */
#cta.cta-section {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0; 
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
    background-color: var(--color-black);
    z-index: 2;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
}

.cta-container {
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.cta-title {
    font-size: clamp(40px, 7vw, 90px);
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

.cta-btn-wrapper {
    display: flex;
    justify-content: center;
}

.cta-btn {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 18px 45px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
}

/* TEXT PAGES AND BREADCRUMBS */
.breadcrumbs-wrapper {
    margin-bottom: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.breadcrumbs-wrapper a {
    transition: var(--transition-base);
    color: #aaa;
}

.breadcrumbs-wrapper a:hover {
    color: var(--color-black);
}

.separator {
    margin: 0 10px;
    opacity: 0.5;
}

section.text-page-section {
    padding-top: 150px; 
    min-height: 60vh;
}

.text-container {
    max-width: 800px; 
}

.text-content {
    font-size: 18px;
    line-height: 1.6;
}

.text-content h2, 
.text-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.text-content p { margin-bottom: 20px; }
.text-content ul, .text-content ol { margin-bottom: 20px; padding-left: 20px; }
.text-content a { text-decoration: underline; }

/* RESPONSIVE STYLES */
@media screen and (max-width: 930px) and (max-height: 500px) and (orientation: landscape) {
    section.text-page-section {
        padding-top: 20px; 
    }
    section.text-page-section .breadcrumbs-wrapper {
        margin-bottom: 10px;
        padding-top: 10px;
    }
    section.text-page-section .section-title {
        margin-bottom: 20px;
    }
}

/* FOOTER */
.main-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding-top: 60px;
    margin-top: auto; 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    gap: 30px;
}

.footer-middle {
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a,
.footer-col li {
    font-size: 15px;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-col a:hover { opacity: 0.6; }

.menu-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-right .social-icons {
    display: flex;
    gap: 15px;
}

footer.main-footer .logo a,
footer.main-footer .social-icons a.icon-link {
    color: var(--color-white);
    transition: opacity 0.3s ease;
}

footer.main-footer .logo a:hover,
footer.main-footer .social-icons a.icon-link:hover {
    color: var(--color-white);
}

.footer-full-width-text {
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 25px 0 40px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5); 
    line-height: 1.6;
}

/* BACK TO TOP BTN */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    color: var(--color-black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;    
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    transform: translateY(20px); 
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top.show:hover {
    background-color: var(--color-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* RESPONSIVE STYLES TABLETS */
@media (max-width: 1024px) {
    .looks-grid-custom { gap: 20px; }
}

@media (max-width: 992px) { 
    .footer-container {
        flex-direction: column; 
        text-align: center;
        gap: 40px;
    }
    .footer-middle {
        flex-direction: column;
        gap: 30px;
    }
    .footer-right .social-icons {
        justify-content: center;
    }
}

@media (max-width: 950px) and (orientation: landscape) {
    .hero-title {
        font-size: clamp(40px, 6vw, 55px); 
        line-height: 1.1;
    }
}

/* RESPONSIVE STYLES MOBILES */
@media (max-width: 768px) {
    section:not(.hero-section) {
        padding: var(--section-padding-mobile);
    }
    
    section.text-page-section {
        padding-top: 20px;
    }

    .hero-header {
        padding: 30px 0 10px;
    }

    .burger-btn { 
        display: flex; 
        position: relative;
        z-index: 100;
        transform: translateY(-10px);
    }

    .desktop-nav {
        display: flex; 
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s ease;
        z-index: 99;
        transform: none; 
    }

    .hero-header.menu-open .desktop-nav { right: 0; }
	
    .nav-phone {
        font-size: 24px;
    }

    .social-icons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }   

    .icon-link svg,
    .icon-link img {
        width: 35px;
        height: 35px;
    }

    body .hero-header.is-home .desktop-nav .nav-phone:hover,
    body .hero-header.is-home .desktop-nav .icon-link:hover,
    body .hero-header.is-home .desktop-nav .nav-phone:active,
    body .hero-header.is-home .desktop-nav .icon-link:active {
        color: var(--color-white);
        opacity: 0.7; 
    }

    .hero-title {
        white-space: normal; 
        font-size: clamp(30px, 11vw, 55px);
        line-height: 1.1;
        word-wrap: normal;
        overflow-wrap: normal;
        hyphens: none; 
        box-sizing: border-box; 
    }

    .looks-grid-custom {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 0;
    }
    
    .look-item:nth-child(3n+2) {
        transform: none; 
    }

    .looks-btn-wrapper {
        margin-top: 10px; 
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

/* BASE BTN STYLES */
.cta-btn-wrapper, 
.looks-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-main,
.cta-btn,
.btn-looks {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 280px;
    min-height: 60px;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 16px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    cursor: pointer;
    font-family: var(--font-main);
}

.looks-btn-wrapper .btn-looks {
    padding-right: 45px !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Montserrat', var(--font-main), sans-serif !important;
}

.looks-btn-wrapper .btn-looks::after {
    content: '' !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 14px !important;
    height: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23010101' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
}

@media (hover: hover) and (pointer: fine) {
    .looks-btn-wrapper .btn-looks::after {
        transition: all 0.3s ease !important;
    }

    .looks-btn-wrapper .btn-looks:hover::after {
        filter: brightness(0) invert(1) !important;
        transform: translateY(-25%) !important;
    }
}

.LoadMoreButton, 
.sbi_load_btn, .sl-load-more-btn {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* SPOTLIGHT INSTAGRAM */

.MediaTile__root {
    overflow: hidden !important;
    border-radius: 0 !important; 
    position: relative !important; 
}

.MediaThumbnail__root {
    transition: transform 0.6s ease !important;
    will-change: transform;
}

.MediaTile__root:hover .MediaThumbnail__root {
    transform: scale(1.05) !important;
}

[class*="Overlay__root"], 
[class*="MediaTile__overlay"] {
    display: none !important;
    background: transparent !important;
}

.MediaThumbnail__image {
    filter: none !important;
    opacity: 1 !important;
}

.insta-custom-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white); 
    color: var(--color-black); 
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.5;
    padding: 15px 20px 20px;
    box-sizing: border-box;
    z-index: 20; 

    display: -webkit-box;
    -webkit-line-clamp: 3; 
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
    text-transform: none !important;
    font-weight: 400;
}

.insta-custom-caption b:first-child {
    font-weight: 700;
    color: var(--color-black);
    display: block;
    margin-bottom: 5px;
}

@media (min-width: 769px) {
    .FeedGridLayout__cell:nth-child(3n+2) {
        transform: translateY(50px) !important;
    }
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 20px 5%;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    font-family: var(--font-main);
}

.cookie-text {
    font-size: 14px;
    line-height: 1.5;
    max-width: 600px;
}

.cookie-link {
    color: var(--color-white);
    text-decoration: underline;
    white-space: normal;
    transition: opacity var(--transition-base, 0.3s ease);
}

.cookie-link:hover {
    opacity: 0.7;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 2px solid var(--color-white);
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-base, 0.3s ease);
    min-width: 160px;
    text-align: center;
}

.cookie-btn:hover {
    background-color: transparent;
    color: var(--color-white);
}

.cookie-btn-outline {
    background-color: transparent;
    color: var(--color-white);
}

.cookie-btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 10px;
        gap: 10px;
    }
    .cookie-text {
        font-size: 11px;
        line-height: 1.2;
    }
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cookie-btn {
     padding: 8px 10px;
     font-size: 12px;
     min-width: auto;
    }
}

.cookie-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    font-family: var(--font-main);
}
.cookie-modal-content {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-sizing: border-box;
}
.cookie-modal-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
.cookie-modal-content p {
    font-size: 14px;
    margin-bottom: 25px;
}
.cookie-option {
    margin-bottom: 15px;
}
.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
}
.cookie-option input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
}
.cookie-option small {
    display: block;
    color: #555;
    margin-top: 3px;
    line-height: 1.3;
}
.cookie-btn-save {
    margin-top: 25px;
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.cookie-btn-save:hover {
    background-color: transparent;
    color: var(--color-black);
}
.cookie-btn-save {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 2px solid var(--color-black);
    font-family: var(--font-main);
    margin-top: 25px;
    width: 100%;
}

.cookie-btn-save:hover {
    background-color: transparent;
    color: var(--color-black);
    opacity: 0.6;
}
.cookie-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: var(--font-main);
    cursor: pointer;
    color: var(--color-black);
    line-height: 1;
}

@media (max-width: 1024px) {
    
    .cookie-modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 80px 20px 30px; 
        overflow-y: auto; 
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .cookie-modal-close {
        position: absolute; 
        top: 20px;
        right: 20px;
        font-size: 36px;
    }

}

