/* =========================================================
   RYNA WOMAN - DISCOVER PAGE
========================================================= */

.discover-page {
    width: 100%;
    background: #fff4f7;
    color: #222;

    /* Soft pink gap before footer */
    padding-bottom: 60px;
}


/* =========================================================
   HERO SLIDER
========================================================= */

.discover-hero {
    width: 100%;
    position: relative;
}

.discover-hero-slider {
    position: relative;
    width: 100%;
    height: 700px !important;
    overflow: hidden;
    background: #eee;
}

.discover-hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

.discover-hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.discover-hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: center center;

    animation: discoverZoomOut 5s ease-out forwards;
}

@keyframes discoverZoomOut {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}


/* =========================================================
   SLIDER BUTTONS
========================================================= */

.discover-slider-prev,
.discover-slider-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.35);
    color: #fff;

    cursor: pointer;

    z-index: 5;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.discover-slider-prev {
    left: 16px;
}

.discover-slider-next {
    right: 16px;
}

.discover-slider-prev:hover,
.discover-slider-next:hover {
    background: rgba(0, 0, 0, 0.55);
}

.discover-slider-prev i,
.discover-slider-next i {
    font-size: 10px;
}


/* =========================================================
   SLIDER DOTS
========================================================= */

.discover-slider-dots {
    position: absolute;

    left: 50%;
    bottom: 12px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 5px;

    z-index: 6;
}

.discover-slider-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);

    cursor: pointer;
}

.discover-slider-dot.active {
    width: 19px;

    border-radius: 10px;

    background: #fff;
}


/* =========================================================
   INTRO
========================================================= */

.discover-intro {
    width: 100%;
    background: #fff4f7;
}

.discover-intro-inner {
    width: 100%;
    padding: 38px 28px 36px;
}

.discover-intro h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;

    color: #222;
}

.discover-intro p {
    margin: 10px 0 0;

    color: #777;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   JOURNAL SECTION
========================================================= */

.discover-journal {
    width: 100%;

    padding: 28px 36px 55px;

    background: #fff4f7;
}

.discover-journal-header {
    margin-bottom: 30px;
}

.discover-journal-header h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;

    color: #222;
}


/* =========================================================
   STORY GRID
========================================================= */

.discover-story-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 38px;
    row-gap: 55px;
}


/* =========================================================
   STORY CARD
========================================================= */

.discover-story-card {
    min-width: 0;

    width: 100%;
}


/* =========================================================
   STORY IMAGE
   SAME WIDTH + SAME HEIGHT
========================================================= */

.discover-story-image {
    display: block;

    width: 100%;
    height: 420px;

    overflow: hidden;

    background: #eee8e8;

    text-decoration: none;
}

.discover-story-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    transition: transform 0.4s ease;
}

.discover-story-card:hover
.discover-story-image img {
    transform: scale(1.02);
}


/* =========================================================
   STORY CONTENT
========================================================= */

.discover-story-content {
    padding-top: 17px;
}

.discover-story-category {
    margin-bottom: 7px;

    color: #8a817b;

    font-size: 13px;
    line-height: 1.3;
}

.discover-story-content h3 {
    margin: 0 0 11px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;

    color: #222;
}

.discover-story-content p {
    max-width: 100%;

    margin: 0;

    color: #777;

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   READ STORY
========================================================= */

.discover-story-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-top: 16px;

    color: #777;

    text-decoration: none;

    font-size: 14px;
    line-height: 1.3;
}

.discover-story-link span {
    font-size: 15px;
    line-height: 1;
}

.discover-story-link:hover {
    color: #222;
}


/* =========================================================
   BRAND MESSAGE
========================================================= */

.discover-brand-message {
    width: 100%;

    padding: 58px 38px 65px;

    background: #fbf5ef;
}

.discover-brand-message-inner {
    width: 100%;
    max-width: 560px;

    margin: 0 auto;

    text-align: center;
}

.discover-brand-message h2 {
    margin: 0 0 17px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 27px;
    font-weight: 400;
    line-height: 1.25;

    color: #222;
}

.discover-brand-message p {
    margin: 0;

    color: #817973;

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1440px) {

    .discover-intro-inner {
        padding-left: 38px;
        padding-right: 38px;
    }

    .discover-journal {
        padding-left: 36px;
        padding-right: 36px;
    }

    .discover-story-grid {
        column-gap: 40px;
    }

}


/* =========================================================
   SMALL LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .discover-journal {
        padding-left: 28px;
        padding-right: 28px;
    }

    .discover-story-grid {
        column-gap: 28px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .discover-intro-inner {
        padding: 32px 22px;
    }

    .discover-intro h1 {
        font-size: 26px;
    }

    .discover-journal {
        padding: 30px 22px 45px;
    }

    .discover-journal-header h2 {
        font-size: 24px;
    }

    .discover-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 20px;
        row-gap: 40px;
    }

    .discover-story-content h3 {
        font-size: 19px;
    }

    .discover-brand-message {
        padding: 48px 25px 55px;
    }

    /* Keep pink gap before footer */
    .discover-page {
        padding-bottom: 60px;
    }

    /* Same image height on tablet */
    .discover-story-image {
        height: 320px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .discover-slider-prev,
    .discover-slider-next {
        width: 27px;
        height: 27px;
    }

    .discover-slider-prev {
        left: 10px;
    }

    .discover-slider-next {
        right: 10px;
    }

    .discover-intro-inner {
        padding: 28px 18px 30px;
    }

    .discover-intro h1 {
        font-size: 24px;
    }

    .discover-intro p {
        font-size: 11px;
    }

    .discover-journal {
        padding: 28px 18px 42px;
    }

    .discover-story-grid {
        grid-template-columns: 1fr;

        row-gap: 42px;
    }

    .discover-story-content h3 {
        font-size: 20px;
    }

    .discover-brand-message {
        padding: 42px 20px 48px;
    }

    .discover-brand-message h2 {
        font-size: 24px;
    }

    .discover-brand-message p {
        font-size: 12px;
    }

    /* Soft pink gap before footer */
    .discover-page {
        padding-bottom: 60px;
    }

    /* Same image height on mobile */
    .discover-story-image {
        height: 420px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .discover-intro-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .discover-journal {
        padding-left: 15px;
        padding-right: 15px;
    }

    .discover-journal-header h2 {
        font-size: 22px;
    }

    .discover-story-content h3 {
        font-size: 19px;
    }

    /* Keep pink gap before footer */
    .discover-page {
        padding-bottom: 60px;
    }

    /* Same image height on small mobile */
    .discover-story-image {
        height: 360px;
    }

}


/* =========================================================
   DISCOVER HERO - TRANSPARENT HEADER
   Header transparent only when Hero Banner image exists
========================================================= */

body.discover-has-hero .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.discover-has-hero .site-header .header-main,
body.discover-has-hero .site-header .header-nav {
    background: transparent !important;
}


/* =========================================================
   WHITE LOGO
========================================================= */

body.discover-has-hero .site-logo-image {
    filter: brightness(0) invert(1);
}


/* =========================================================
   WHITE NAVIGATION
========================================================= */

body.discover-has-hero .site-header .nav-link {
    color: #ffffff !important;
}

body.discover-has-hero .site-header .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}


/* =========================================================
   WHITE SIGN IN
========================================================= */

body.discover-has-hero .site-header .header-signin {
    color: #ffffff !important;
}


/* =========================================================
   WHITE ICONS
========================================================= */

body.discover-has-hero .site-header .header-icon,
body.discover-has-hero .site-header .header-cart,
body.discover-has-hero .site-header .search-icon {
    color: #ffffff !important;
}


/* =========================================================
   SEARCH BOX
========================================================= */

body.discover-has-hero .site-header .header-search {
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

body.discover-has-hero .site-header .header-search input {
    color: #ffffff !important;
}

body.discover-has-hero .site-header .header-search input::placeholder {
    color: rgba(255, 255, 255, 0.85) !important;
}


/* =========================================================
   CART COUNT
========================================================= */

body.discover-has-hero .site-header .cart-count {
    background: #ffffff;
    color: #111111;
}