/*
CTC Separate Stylesheet
Updated: 2026-02-13 05:56:07
*/

/* Hero Slider - Test Edit */
.full-width {
    position: relative;
}

.hero-slider-container {
    height: 550px;
    min-height: 500px;
    background: #000;
    overflow: hidden;
    position: relative;
}

.hero-slider-container .splide__track,
.hero-slider-container .splide__list,
.hero-slider-container .splide__slide {
    height: 100% !important;
}

.slide-inner {
    height: 550px;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding-bottom: 100px;
    background: #000;
}

.hero-slide-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 1 !important;
    display: block !important;
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    font-family: 'Helvetica Neue', sans-serif;
    text-align: center;
}

.slide-subtitle {
    display: block;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 300;
}

.slide-heading {
    font-size: 42px;
    font-weight: 400;
    max-width: 500px;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
    line-height: 1.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

/* Splide Pagination Dots */
.hero-dots {
    bottom: 4% !important;
    left: auto !important;
    right: 49% !important;
    width: auto !important;
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hero-dots .dot {
    background: rgba(255, 255, 255, 0.4) !important;
    width: 6px !important;
    height: 6px !important;
    transition: all 0.3s ease;
}

.hero-dots .dot.is-active {
    background: #fff !important;
    transform: scale(1.4);
}

/* Splide Arrows at Bottom Right */
.splide__arrows {
    position: absolute !important;
    bottom: 4% !important;
    right: 3% !important;
    z-index: 10 !important;
    width: 69px !important;
    height: 36px !important;
    display: block !important;
}

.splide__arrow {
    position: absolute !important;
    top: 5px !important;
    /* Adjusted for smaller size */
    width: 26px !important;
    height: 26px !important;
    background: #D9D9D9 !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
    transform: none !important;
}

.splide__arrow--prev {
    left: 0 !important;
}

.splide__arrow--prev svg {
    transform: rotate(180deg) !important;
}

.splide__arrow--next {
    right: 0 !important;
}

.splide__arrow--next svg {
    transform: none !important;
}

.splide__arrow:hover {
    opacity: 1;
    background: #ccc !important;
}

.splide__arrow svg {
    fill: black !important;
    width: 12px !important;
    height: 12px !important;
}

a.hero-button {
    background: #fff;
    color: #000 !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
}

a.hero-button:hover {
    background: #f0f0f0 !important;
    transform: translateY(-2px) !important;
}

/* Featured Masonry Grid */
.featured-masonry-grid {
    margin-top: -2px;
    /* Smooth transition from hero */
}

.featured-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 600px;
    font-family: 'Helvetica Neue', sans-serif;
}

.featured-block {
    position: relative;
    overflow: hidden;
}

.block-inner {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: #fff;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.featured-block:hover .block-inner {
    transform: scale(1.05);
}

.block-content {
    position: relative;
    z-index: 5;
}

.block-tag {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.block-title {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
}

.block-btn {
    display: inline-block;
    color: #000;
    background: #fff;
    padding: 8px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
    z-index: 1;
}

/* Global Content Layout */
.main-shop-loop {
    padding-top: 100px;
    padding-bottom: 100px;
    max-width: 1320px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Editorial Sections (Curated, New Season, Trending) */
.elgora-editorial-section {
    padding: 40px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.editorial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
}

.editorial-header .header-left h2 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #000;
}

.editorial-header .header-left p {
    font-size: 16px;
    color: #666;
    letter-spacing: 0.5px;
    margin: 0;
}

.editorial-shop-link {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    color: #1E1E1E;
    transition: opacity 0.3s ease;
    padding: 12px 24px;
    border: 1px solid #CACACB;
    border-radius: 12px;
    text-decoration: none;
}

.editorial-shop-link:hover {
    opacity: 0.7;
}

/* Horizontal Scroll Wrapper & Grid */
.editorial-scroll-wrapper {
    position: relative;
}

.editorial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding-bottom: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.editorial-grid::-webkit-scrollbar {
    display: none;
}

.editorial-item {
    flex: 0 0 310px;
    scroll-snap-align: start;
    position: relative;
}

/* Modifier: Trending items are wider and taller */
.elgora-editorial-section.trending-section .editorial-item {
    flex: 0 0 310px;
}

@media (max-width: 768px) {
    .editorial-item {
        flex: 0 0 280px;
    }

    .elgora-editorial-section.trending-section .editorial-item {
        flex: 0 0 310px;
    }

    .elgora-editorial-section {
        padding: 40px 20px;
    }

    .editorial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Item Content Styles */
.editorial-item a {
    text-decoration: none;
    color: inherit;
}

.editorial-item .img-wrap {
    background: #F2F2F2;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.editorial-item .img-wrap img {
    width: 100%;
    height: 400px;
    /* Standard height */
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.elgora-editorial-section.trending-section .editorial-item .img-wrap img {
    height: 401px;
    /* Taller for trending */
}

.elgora-editorial-section.trending-section .editorial-item .img-wrap {
    margin-bottom: 0px;
    border-radius: 0px;
}

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

/* Progress Bar */
.editorial-progress {
    background: #f0f0f0;
    height: 1px;
    margin-top: 10px;
    position: relative;
    border-radius: 2px;
}

.editorial-progress-bar {
    background: #000;
    height: 100%;
    width: 0;
    transition: width 0.1s ease-out;
}

/* Modifier: Curated/Products Details */
.editorial-item .item-details {
    padding-top: 5px;
}

.editorial-item .brand-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.editorial-item .brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.editorial-item .product-title {
    font-size: 0.95rem;
    font-weight: 300;
    color: #666;
    margin: 0 0 8px 0 !important;
}

.editorial-item .price {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.editorial-item .wishlist-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.editorial-item .wishlist-btn svg {
    width: 20px;
    height: 20px;
}

.editorial-item .wishlist-btn:hover {
    color: #F00;
}

/* Modifier: Trending Overlay */
.trending-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    z-index: 2;
}

.trending-title {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

.item-details {
    align-items: center;
}

.brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 5px;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.5px;
}

.wishlist-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.wishlist-btn svg {
    width: 20px;
    height: 20px;
}

.wishlist-btn:hover {
    color: #F00;
}

.product-title {
    margin-bottom: 0px !important;
}

.product-title a {
    font-size: 0.95rem !important;
    font-weight: 300 !important;
    color: #666 !important;
    letter-spacing: 0.5px;
}

.curated-item .price {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    display: block;
}

/* Responsive Design */

/* Large desktop (1440px+) */
@media (min-width: 1440px) {
    .featured-grid-container {
        height: 625px;
    }
}

/* Small desktop / tablet landscape (1024px – 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .featured-grid-container {
        height: 550px;
    }

    .block-title {
        font-size: 1.5rem;
    }
}

/* Tablet portrait (768px – 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .featured-grid-container {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }

    .featured-block {
        height: 450px;
    }

    .featured-block.block-3 {
        grid-column: span 2;
        height: 400px;
    }

    .slide-heading {
        font-size: 36px;
    }
}

/* iPhone Pro Max / Plus (414px – 767px) */
@media (min-width: 414px) and (max-width: 767px) {
    .featured-grid-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .featured-block {
        height: 400px;
    }

    .block-title {
        font-size: 1.6rem;
    }

    .slide-heading {
        font-size: 32px;
    }

    .slide-content {
        max-width: 90%;
    }
}

/* iPhone Pro / modern base (390px – 413px) */
@media (min-width: 390px) and (max-width: 413px) {
    .featured-grid-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .featured-block {
        height: 380px;
    }

    .block-title {
        font-size: 1.4rem;
    }

    .slide-heading {
        font-size: 28px;
    }
}

/* Standard iPhones (375px – 389px) */
@media (min-width: 375px) and (max-width: 389px) {
    .featured-grid-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .featured-block {
        height: 360px;
    }

    .block-inner {
        padding: 30px;
    }

    .block-title {
        font-size: 1.3rem;
    }
}

/* Standard Tablet and Mobile (up to 768px) */
@media (max-width: 768px) {

    .hero-slider-container,
    .slide-inner {
        height: 450px !important;
        min-height: 400px !important;
    }

    .slide-inner {
        padding-bottom: 60px;
    }

    .slide-heading {
        font-size: 32px;
    }
}

/* Small phones (max-width: 374px) */
@media (max-width: 374px) {
    .featured-grid-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .featured-block {
        height: 340px;
    }

    .block-inner {
        padding: 20px;
    }

    .block-title {
        font-size: 1.2rem;
    }

    .slide-heading {
        font-size: 24px;
    }

    .hero-slider-container,
    .slide-inner {
        height: 380px !important;
    }
}