/* =========================================================
   COBBLES INTERNATIONAL
   PREMIUM PRODUCTS
   FINAL CLEAN CSS
   Matches the CURRENT PHP markup
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

.premium-hero,
.premium-intro,
.premium-surfaces,
.premium-cta {
    box-sizing: border-box;
}

.premium-hero *,
.premium-intro *,
.premium-surfaces *,
.premium-cta * {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.premium-hero {
    position: relative;
    width: 100%;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: var(--charcoal);
}

.premium-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.premium-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    transform: scale(1.03);
    animation: premiumHeroZoom 12s ease-out forwards;
}

@keyframes premiumHeroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1.03);
    }
}

.premium-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(20,17,14,.10) 0%,
            rgba(20,17,14,.38) 45%,
            rgba(20,17,14,.92) 100%
        );
    pointer-events: none;
}

.premium-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.premium-hero h1 {
    display: block;
    max-width: 8ch;
    margin: 1.2rem 0 1.5rem;
    padding: 0;
    color: #fff;
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: .92;
    font-weight: 500;
    letter-spacing: -.04em;
}

.premium-hero h1 em {
    display: block;
    color: #E4A583;
    font-family: Georgia, serif;
    font-weight: 400;
}

.premium-hero p {
    max-width: 46ch;
    margin: 0 0 2rem;
    color: rgba(255,255,255,.78);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
}


/* =========================================================
   INTRO
========================================================= */

.premium-intro {
    width: 100%;
    margin: 0;
    background: var(--stone-white);
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.premium-intro-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 6rem;
    align-items: center;
}

.premium-intro-heading {
    min-width: 0;
}

.premium-intro h2 {
    display: block;
    max-width: 12ch;
    margin: 1rem 0 0;
    padding: 0;
    color: var(--charcoal);
    font-size: clamp(2.3rem,4vw,4rem);
    line-height: 1.05;
    font-weight: 500;
}

.premium-intro h2 em {
    color: var(--terracotta-deep);
    font-family: Georgia,serif;
    font-weight: 400;
}

.premium-intro-copy {
    width: 100%;
    max-width: 52ch;
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.8;
}

.premium-intro-copy p {
    margin: 0;
}

.premium-intro-copy p + p {
    margin-top: 1.3rem;
}


/* =========================================================
   SURFACES SECTION
========================================================= */

.premium-surfaces {
    position: relative;
    width: 100%;
    margin: 0;
    padding-top: 7rem;
    padding-bottom: 7rem;
    background: #d8d9da;
}

.premium-section-heading {
    width: 100%;
    margin: 0 0 4rem;
    padding: 0;
}

.premium-section-heading h2 {
    display: block;
    max-width: 18ch;
    margin: 1rem 0 0;
    color: var(--charcoal);
    font-size: clamp(2.4rem,4vw,4rem);
    line-height: 1.05;
    font-weight: 500;
}

.premium-section-heading h2 em {
    color: var(--terracotta-deep);
    font-family: Georgia,serif;
    font-weight: 400;
}


/* =========================================================
   PRODUCT GRID
   IMPORTANT:
   THIS MATCHES:
   .premium-products-grid
========================================================= */

.premium-products-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 30px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: stretch !important;
}


/* =========================================================
   PRODUCT CARD
   IMPORTANT:
   OVERRIDES THE OLD HORIZONTAL .premium-product RULE
========================================================= */

.premium-products-grid .premium-product,
.premium-products-grid .premium-product-card {
    position: relative !important;

    display: flex !important;

    flex-direction: column !important;

    grid-template-columns: none !important;

    width: 100% !important;
    min-width: 0 !important;

    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid rgba(20,17,14,.15) !important;

    background: #d8d9da !important;

    box-sizing: border-box !important;

    align-self: stretch !important;

    transform: none;
}

.premium-products-grid .premium-product:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 45px rgba(20,17,14,.12);
}


/* =========================================================
   PRODUCT GALLERY
========================================================= */

.premium-products-grid .premium-product-gallery {
    position: relative;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    grid-column: auto !important;

    grid-row: auto !important;

    box-sizing: border-box;
}


/* =========================================================
   IMAGE SLIDER
========================================================= */

.premium-product-image-slider {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 1.20 / 1;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #c7c8c9;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.premium-products-grid .premium-image {
    position: absolute !important;

    inset: 0 !important;

    display: none !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    aspect-ratio: auto !important;

    background: #c7c8c9;

    cursor: zoom-in;

    box-sizing: border-box;
}

.premium-products-grid .premium-image.is-active {
    display: block !important;
}

.premium-products-grid .premium-image img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;

    transition:
        transform .7s ease,
        filter .4s ease;
}

.premium-products-grid .premium-image:hover img {
    transform: scale(1.045);
    filter: saturate(1.04);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.premium-image-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            145deg,
            rgba(0,0,0,.02),
            transparent 50%,
            rgba(0,0,0,.20)
        );
}


/* =========================================================
   IMAGE EXPAND BUTTON
========================================================= */

.premium-image-expand {
    position: absolute;

    right: 16px;
    bottom: 16px;

    z-index: 10;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.75);

    border-radius: 50%;

    background:
        rgba(20,17,14,.62);

    color: #fff;

    opacity: 0;

    transform: scale(.85);

    transition:
        opacity .25s ease,
        transform .25s ease;

    pointer-events: none;
}

.premium-image:hover .premium-image-expand {
    opacity: 1;
    transform: scale(1);
}

.premium-image-expand span {
    font-size: 22px;
    line-height: 1;
}


/* =========================================================
   IMAGE CAPTION
========================================================= */

.premium-image-caption {
    position: absolute;

    left: 18px;
    right: 65px;
    bottom: 18px;

    z-index: 5;

    color: #fff;

    font-size: 11px;
    line-height: 1.5;

    opacity: 0;

    transform: translateY(6px);

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.premium-image:hover .premium-image-caption {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   PRODUCT IMAGE ARROWS
========================================================= */

.premium-product-image-slider
.premium-product-arrow {
    position: absolute;

    top: 50%;

    z-index: 20;

    width: 40px;
    height: 40px;

    min-width: 40px;
    max-width: 40px;

    min-height: 40px;
    max-height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255,255,255,.94);

    color: #191714;

    box-shadow:
        0 7px 18px
        rgba(0,0,0,.16);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        transform .2s ease,
        background .2s ease;
}

.premium-product-image-slider
.premium-product-arrow:hover {
    background: #fff;

    transform:
        translateY(-50%)
        scale(1.08);
}

.premium-product-arrow span {
    font-size: 27px;
    line-height: 1;
    font-weight: 300;
}

.premium-product-prev {
    left: 13px;
}

.premium-product-next {
    right: 13px;
}


/* =========================================================
   IMAGE COUNTER
========================================================= */

.premium-product-image-counter {
    position: absolute;

    left: 50%;
    bottom: 13px;

    z-index: 20;

    display: flex;

    align-items: center;

    gap: 6px;

    padding:
        7px 11px;

    border-radius: 30px;

    background:
        rgba(20,17,14,.70);

    color: #fff;

    font-size: 10px;
    line-height: 1;

    transform: translateX(-50%);
}

.premium-counter-divider {
    opacity: .45;
}


/* =========================================================
   NO IMAGE
========================================================= */

.premium-no-image {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    aspect-ratio: 1.20 / 1;

    margin: 0;

    background: #c7c8c9;

    color: #666;

    font-size: 12px;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.premium-products-grid .premium-product-info {
    position: relative;

    display: flex !important;

    flex-direction: column !important;

    flex: 1 1 auto !important;

    width: 100% !important;

    min-width: 0 !important;

    min-height: 230px;

    margin: 0 !important;

    padding:
        25px 27px 28px !important;

    grid-column: auto !important;

    grid-row: auto !important;

    background: #d8d9da;

    box-sizing: border-box;
}


/* =========================================================
   NUMBER
========================================================= */

.premium-product-number {
    display: block;

    margin: 0 0 8px;

    color: var(--terracotta-deep);

    font-size: 10px;

    line-height: 1;

    letter-spacing: .16em;
}


/* =========================================================
   LABEL
========================================================= */

.premium-label {
    display: block;

    margin: 0 0 9px;

    color: var(--terracotta-deep);

    font-size: 9px;

    line-height: 1.3;

    letter-spacing: .14em;

    text-transform: uppercase;
}


/* =========================================================
   PRODUCT TITLE
========================================================= */

.premium-products-grid .premium-product-info h4 {
    display: block;

    width: 100%;

    margin: 0 0 10px;

    padding: 0;

    color: var(--charcoal);

    font-size: 20px;

    line-height: 1.25;

    font-weight: 500;
}


/* =========================================================
   SUBTITLE
========================================================= */

.premium-card-subtitle {
    display: block;

    margin: 0 0 12px;

    color: var(--slate);

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.premium-product-description {
    display: block;

    width: 100%;

    margin: 0 0 20px;

    color: var(--slate);

    font-size: 13px;

    line-height: 1.65;
}

.premium-product-description p {
    margin: 0 0 8px;
}

.premium-product-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   VIEW FINISH
========================================================= */

.premium-enquire {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    align-self: flex-start;

    width: auto;

    margin:
        auto 0 0;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--terracotta-deep);

    font-size: 10px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: .12em;

    text-transform: uppercase;

    cursor: pointer;
}

.premium-enquire-arrow {
    width: 30px;
    height: 30px;

    min-width: 30px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(20,17,14,.20);

    border-radius: 50%;

    font-size: 15px;

    line-height: 1;

    transition:
        transform .25s ease,
        background .25s ease;
}

.premium-enquire:hover
.premium-enquire-arrow {
    transform: translateX(4px);

    background: #fff;
}


/* =========================================================
   CTA
========================================================= */

.premium-cta {
    position: relative;

    width: 100%;

    overflow: hidden;

    margin: 0;

    padding: 7rem 0;

    background: var(--charcoal);

    color: #fff;
}

.premium-cta-bg {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(193,99,62,.22),
            transparent 35%
        );
}

.premium-cta-content {
    position: relative;

    z-index: 2;

    max-width: 720px;
}

.premium-cta h2 {
    display: block;

    margin:
        1rem 0 1.4rem;

    color: #fff;

    font-size:
        clamp(2.5rem,5vw,4.8rem);

    line-height: 1;

    font-weight: 500;
}

.premium-cta h2 em {
    color: #E4A583;

    font-family: Georgia,serif;

    font-weight: 400;
}

.premium-cta p {
    max-width: 52ch;

    margin:
        0 0 2rem;

    color:
        rgba(255,255,255,.68);

    font-size: 1rem;

    line-height: 1.7;
}

.premium-cta-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 1rem;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.premium-lightbox {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;

    align-items: center;

    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 30px;

    box-sizing: border-box;
}

.premium-lightbox.is-open {
    display: flex;
}

.premium-lightbox-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(12,11,10,.88);

    backdrop-filter: blur(8px);
}

.premium-lightbox-panel {
    position: relative;

    z-index: 2;

    width: min(1180px,94vw);

    max-height: 92vh;

    display: grid;

    grid-template-columns:
        minmax(0,1.5fr)
        minmax(280px,.65fr);

    overflow: hidden;

    background: #24211e;

    border:
        1px solid
        rgba(255,255,255,.14);

    box-shadow:
        0 30px 90px
        rgba(0,0,0,.45);
}

.premium-lightbox-image-wrap {
    position: relative;

    min-width: 0;

    min-height: 500px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #111;
}

.premium-lightbox-image-wrap img {
    display: block;

    width: 100%;
    height: 100%;

    max-height: 82vh;

    object-fit: contain;
}


/* =========================================================
   LIGHTBOX CLOSE
========================================================= */

.premium-lightbox-close {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 100;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 50%;

    background:
        rgba(15,14,13,.72);

    color: #fff;

    cursor: pointer;
}

.premium-lightbox-close span {
    font-size: 27px;
    line-height: 1;
    font-weight: 200;
}


/* =========================================================
   LIGHTBOX ARROWS
========================================================= */

.premium-lightbox-prev,
.premium-lightbox-next {
    position: absolute;

    top: 50%;

    z-index: 50;

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 50%;

    background:
        rgba(20,18,16,.72);

    color: #fff;

    cursor: pointer;

    transform:
        translateY(-50%);
}

.premium-lightbox-prev {
    left: 18px;
}

.premium-lightbox-next {
    right: 18px;
}

.premium-lightbox-prev span,
.premium-lightbox-next span {
    font-size: 28px;
    line-height: 1;
}


/* =========================================================
   LIGHTBOX CONTENT
========================================================= */

.premium-lightbox-content {
    min-width: 0;

    padding:
        55px 40px 40px;

    background: #24211e;

    color: #fff;

    overflow-y: auto;
}

.premium-lightbox-number {
    margin-bottom: 12px;

    color:
        rgba(255,255,255,.45);

    font-size: 10px;

    letter-spacing: .14em;
}

.premium-lightbox-label {
    margin-bottom: 13px;

    color: #c78267;

    font-size: 10px;

    line-height: 1.2;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.premium-lightbox-content h3 {
    margin:
        0 0 10px;

    color: #fff;

    font-size: 30px;

    line-height: 1.15;

    font-weight: 400;
}

.premium-lightbox-subtitle {
    margin-bottom: 22px;

    color:
        rgba(255,255,255,.65);

    font-size: 13px;

    line-height: 1.6;
}

.premium-lightbox-content p {
    margin:
        0 0 20px;

    color:
        rgba(255,255,255,.72);

    font-size: 14px;

    line-height: 1.8;
}

.premium-lightbox-caption {
    color:
        rgba(255,255,255,.55);

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .premium-products-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;

        gap: 26px !important;
    }

    .premium-lightbox-panel {
        grid-template-columns:
            minmax(0,1.3fr)
            minmax(250px,.7fr);
    }

    .premium-lightbox-content {
        padding:
            45px 30px 30px;
    }
}


/* =========================================================
   TABLET PAGE
========================================================= */

@media (max-width: 900px) {

    .premium-hero {
        min-height: 68vh;
    }

    .premium-hero-content {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    .premium-intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .premium-intro-copy {
        max-width: 65ch;
    }

    .premium-surfaces {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .premium-section-heading {
        margin-bottom: 3rem;
    }

    .premium-cta {
        padding: 5rem 0;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .premium-products-grid {
        grid-template-columns:
            1fr !important;

        gap: 24px !important;
    }

    .premium-product-image-slider {
        aspect-ratio: 1.12 / 1;
    }

    .premium-product-info {
        min-height: 200px !important;

        padding:
            23px 23px 27px !important;
    }

    .premium-lightbox {
        padding: 12px;
    }

    .premium-lightbox-panel {
        width: 100%;

        max-height: 95vh;

        display: flex;

        flex-direction: column;
    }

    .premium-lightbox-image-wrap {
        height: 58vh;

        min-height: 0;

        flex: 0 0 auto;
    }

    .premium-lightbox-image-wrap img {
        max-height: 58vh;
    }

    .premium-lightbox-content {
        max-height: 30vh;

        padding:
            25px 23px;

        overflow-y: auto;
    }

    .premium-lightbox-content h3 {
        font-size: 23px;
    }

    .premium-lightbox-prev {
        left: 10px;
    }

    .premium-lightbox-next {
        right: 10px;
    }

    .premium-hero {
        min-height: 72vh;
    }

    .premium-hero-content {
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }

    .premium-hero h1 {
        max-width: 7ch;

        font-size:
            clamp(2.8rem,14vw,4.5rem);
    }

    .premium-intro {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .premium-intro h2 {
        max-width: 12ch;

        font-size:
            clamp(2.2rem,10vw,3.2rem);
    }

    .premium-intro-copy {
        max-width: none;

        font-size: .95rem;
    }

    .premium-surfaces {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .premium-section-heading {
        margin-bottom: 2.8rem;
    }

    .premium-section-heading h2 {
        max-width: 13ch;

        font-size:
            clamp(2.2rem,10vw,3.2rem);
    }

    .premium-cta {
        padding: 4.5rem 0;
    }

    .premium-cta h2 {
        font-size:
            clamp(2.3rem,10vw,3.5rem);
    }

    .premium-cta-actions {
        align-items: flex-start;

        flex-direction: column;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .premium-products-grid {
        gap: 20px !important;
    }

    .premium-product-image-slider {
        aspect-ratio: 1.05 / 1;
    }

    .premium-product-info {
        min-height: 190px !important;

        padding:
            22px 22px 25px !important;
    }

    .premium-product-arrow {
        width: 34px !important;
        height: 34px !important;

        min-width: 34px !important;
        max-width: 34px !important;

        min-height: 34px !important;
        max-height: 34px !important;
    }

    .premium-product-arrow span {
        font-size: 23px;
    }

    .premium-lightbox-image-wrap {
        height: 52vh;
    }

    .premium-lightbox-image-wrap img {
        max-height: 52vh;
    }

    .premium-lightbox-content {
        max-height: 34vh;
    }

    .premium-intro {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .premium-surfaces {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .premium-hero h1 {
        font-size: 2.8rem;
    }
}