/* =========================================================
   BRIDAL GALORE
   SINGLE PRODUCT PAGE
========================================================= */


/* =========================================================
   SINGLE PRODUCT PAGE
========================================================= */

.single-product-page {
    width: 90%;
    max-width: 1200px;

    margin: 120px auto 70px;
}


/* =========================================================
   PRODUCT MAIN
========================================================= */

.product-main {
    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 70px;

    align-items: center;
}


/* =========================================================
   PRODUCT IMAGES
========================================================= */

.product-images {
    width: 100%;

    object-fit: contain;

    min-width: 0;
}


/* =========================================================
   PRODUCT IMAGE SLIDER
========================================================= */

.bridal-product-slider {
    width: 100%;

    position: relative;
}


/* =========================================================
   MAIN SLIDER CONTAINER
========================================================= */

.bridal-slider-main {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #f8f6f4;

    border-radius: 4px;
}


/* =========================================================
   IMAGE / VIDEO TRACK
========================================================= */

.bridal-slider-track {
    position: relative;

    width: 100%;

    overflow: hidden;

    touch-action: pan-y;
}


/* =========================================================
   SLIDES
========================================================= */

.bridal-slide {
    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateX(40px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s ease;
}


/*
 * First slide establishes the
 * gallery height.
 */

.bridal-slide:first-child {
    position: relative;
}


/*
 * Active slide.
 */

.bridal-slide.active {
    position: relative;

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateX(0);

    z-index: 2;
}


/*
 * Inactive slides must not
 * affect layout.
 */

.bridal-slide:not(.active) {
    position: absolute;

    top: 0;

    left: 0;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.bridal-product-image {
    display: block;

    width: 100%;

    height: auto;

    max-height: 750px;

    object-fit: contain;

    margin: 0 auto;
}


/* =========================================================
   PRODUCT VIDEO SLIDE
========================================================= */

.bridal-video-slide {
    width: 100%;

    background: #000;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;
}


/* =========================================================
   PRODUCT VIDEO
========================================================= */

.bridal-product-video {
    display: block;

    width: 100%;

    height: auto;

    max-height: 750px;

    object-fit: contain;

    margin: 0 auto;

    background: #000;
}


/* =========================================================
   SLIDER ARROWS
========================================================= */

.bridal-slider-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 45px;

    height: 45px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    color: #2b2520;

    font-size: 20px;

    line-height: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.10);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.bridal-slider-arrow:hover {
    background: #ffffff;

    transform:
        translateY(-50%)
        scale(1.05);

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.15);
}


.bridal-slider-arrow:active {
    transform:
        translateY(-50%)
        scale(0.96);
}


.bridal-slider-prev {
    left: 15px;
}


.bridal-slider-next {
    right: 15px;
}


/* =========================================================
   SLIDER DOTS
========================================================= */

.bridal-slider-dots {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 15px;
}


.bridal-slider-dot {
    width: 8px;

    height: 8px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #d5d5d5;

    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.bridal-slider-dot:hover {
    background: #b89b5e;
}


.bridal-slider-dot.active {
    background: #b89b5e;

    transform: scale(1.3);
}


/* =========================================================
   VIDEO DOT
========================================================= */

.bridal-slider-dot.bridal-video-dot {
    width: 20px;

    height: 20px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 8px;

    line-height: 1;

    background: #d5d5d5;

    color: #2b2520;
}


.bridal-slider-dot.bridal-video-dot:hover {
    background: #b89b5e;

    color: #ffffff;
}


.bridal-slider-dot.bridal-video-dot.active {
    background: #b89b5e;

    color: #ffffff;

    transform: scale(1.15);
}


/* =========================================================
   IMAGE / VIDEO THUMBNAILS
========================================================= */

.bridal-slider-thumbnails {
    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    margin-top: 18px;

    padding-bottom: 5px;

    overflow-x: auto;

    scrollbar-width: thin;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   STANDARD THUMBNAIL
========================================================= */

.bridal-slider-thumbnail {
    flex: 0 0 75px;

    width: 75px;

    height: 90px;

    padding: 0;

    border: 2px solid transparent;

    border-radius: 2px;

    background: transparent;

    cursor: pointer;

    overflow: hidden;

    opacity: 0.75;

    transition:
        border-color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}


.bridal-slider-thumbnail:hover {
    opacity: 1;

    transform: translateY(-2px);
}


.bridal-slider-thumbnail.active {
    border-color: #b89b5e;

    opacity: 1;
}


.bridal-slider-thumbnail img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;
}


/* =========================================================
   VIDEO THUMBNAIL
========================================================= */

.bridal-video-thumbnail {
    position: relative;

    flex: 0 0 75px;

    width: 75px;

    height: 90px;

    padding: 0;

    border: 2px solid transparent;

    border-radius: 2px;

    background: #171717;

    color: #ffffff;

    cursor: pointer;

    overflow: hidden;

    opacity: 0.75;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 7px;

    transition:
        border-color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}


.bridal-video-thumbnail:hover {
    opacity: 1;

    transform: translateY(-2px);
}


.bridal-video-thumbnail.active {
    border-color: #b89b5e;

    opacity: 1;
}


/* =========================================================
   VIDEO THUMBNAIL PLAY ICON
========================================================= */

.bridal-video-thumbnail-play {
    width: 32px;

    height: 32px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 255, 255, 0.95);

    color: #2b2520;

    font-size: 13px;

    line-height: 1;

    padding-left: 2px;
}


/* =========================================================
   VIDEO THUMBNAIL LABEL
========================================================= */

.bridal-video-thumbnail-label {
    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #ffffff;
}


/* =========================================================
   NO PRODUCT IMAGE
========================================================= */

.product-no-image {
    width: 100%;

    background: #f8f6f4;

    overflow: hidden;
}


.product-no-image img {
    display: block;

    width: 100%;

    height: auto;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-info {
    width: 100%;

    padding: 20px;
}


/* =========================================================
   PRODUCT TITLE
========================================================= */

.product-info h1 {
    margin: 0 0 20px;

    font-family: "Playfair Display", serif;

    font-size: 48px;

    font-weight: 500;

    line-height: 1.15;

    color: #2b2520;
}


/* =========================================================
   PRODUCT DIVIDER
========================================================= */

.product-divider {
    width: 60px;

    height: 2px;

    background: #b89b5e;

    margin-bottom: 25px;
}


/* =========================================================
   PRODUCT PRICE
========================================================= */

.product-price {
    margin-bottom: 20px;

    font-size: 28px;

    color: #b89b5e;
}


.product-price del {
    color: #999;

    margin-right: 8px;
}


.product-price ins {
    text-decoration: none;
}


/* =========================================================
   PRODUCT STATUS
========================================================= */

.product-status {
    margin-bottom: 30px;
}


.available,
.sold {
    font-size: 13px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.available {
    color: #6d8b5a;
}


.sold {
    color: #a44;
}


/* =========================================================
   PRODUCT DESCRIPTION
========================================================= */

.product-description {
    margin-bottom: 35px;

    color: #555;

    line-height: 1.8;

    font-size: 15px;
}


.product-description p {
    margin-top: 0;

    margin-bottom: 15px;
}


.product-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SOCIAL ENQUIRY BUTTONS
========================================================= */

.social-enquiry-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;
}


/* =========================================================
   SHARED SOCIAL BUTTON
========================================================= */

.social-enquiry-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 16px 30px;

    text-decoration: none;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 13px;

    border-radius: 4px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.social-enquiry-btn:hover {
    text-decoration: none;

    transform: translateY(-2px);
}


.social-icon {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 16px;
}


.social-text {
    display: inline-block;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-btn {
    border: 2px solid #a04a8b;

    color: #a04a8b;
}


.whatsapp-btn:hover {
    background: #a04a8b;

    color: #ffffff;

    box-shadow:
        0 5px 15px rgba(160, 74, 139, 0.18);
}


/* =========================================================
   FACEBOOK
========================================================= */

.facebook-btn {
    border: 2px solid #a04a8b;

    color: #a04a8b;
}


.facebook-btn:hover {
    background: #a04a8b;

    color: #ffffff;

    box-shadow:
        0 5px 15px rgba(160, 74, 139, 0.18);
}


/* =========================================================
   INSTAGRAM
========================================================= */

.instagram-btn {
    border: 2px solid #a04a8b;

    color: #a04a8b;
}


.instagram-btn:hover {
    background: #a04a8b;

    color: #ffffff;

    box-shadow:
        0 5px 15px rgba(160, 74, 139, 0.18);
}


/* =========================================================
   PRODUCT NAVIGATION
   PREVIOUS / NEXT DRESS
========================================================= */

.product-navigation {
    width: 100%;

    margin: 70px auto 0;

    padding-top: 30px;

    border-top: 1px solid #ddd;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 30px;
}


/* =========================================================
   PREVIOUS / NEXT LINKS
========================================================= */

.product-navigation > a {
    display: flex;

    flex-direction: column;

    color: #2b2520;

    text-decoration: none;
}


.product-navigation > a:hover {
    text-decoration: none;
}


.product-navigation > a:last-child {
    align-items: flex-end;

    text-align: right;
}


/* =========================================================
   NAV ARROW
========================================================= */

.nav-arrow {
    font-size: 25px;

    line-height: 1;

    color: #b89b5e;

    margin-bottom: 6px;

    transition:
        transform 0.25s ease;
}


.product-navigation > a:first-child:hover .nav-arrow {
    transform: translateX(-5px);
}


.product-navigation > a:last-child:hover .nav-arrow {
    transform: translateX(5px);
}


/* =========================================================
   NAV LABEL
========================================================= */

.nav-label {
    font-size: 11px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #999;

    margin-bottom: 5px;
}


/* =========================================================
   NAV TITLE
========================================================= */

.nav-title {
    font-family: "Playfair Display", serif;

    font-size: 16px;

    color: #2b2520;

    line-height: 1.4;
}


/* =========================================================
   BACK TO COLLECTIONS
========================================================= */

.product-navigation-center {
    text-align: center;
}


.product-navigation-center a {
    color: #777;

    text-decoration: none;

    font-size: 11px;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition:
        color 0.25s ease;
}


.product-navigation-center a:hover {
    color: #b89b5e;

    text-decoration: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .single-product-page {
        width: 92%;

        margin-top: 90px;
    }


    .product-main {
        grid-template-columns: 1fr;

        gap: 45px;

        align-items: start;
    }


    .product-images {
        width: 100%;
    }


    .bridal-product-slider {
        max-width: 750px;

        margin: 0 auto;
    }


    .product-info {
        width: 100%;

        max-width: 750px;

        margin: 0 auto;

        padding: 0;
    }


    .product-navigation {
        margin-top: 55px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .single-product-page {
        width: 92%;

        margin-top: 90px;

        margin-bottom: 50px;
    }


    /* -----------------------------------------
       PRODUCT
    ----------------------------------------- */

    .product-main {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    /* -----------------------------------------
       IMAGE / VIDEO SLIDER
    ----------------------------------------- */

    .bridal-slider-main {
        border-radius: 3px;
    }


    .bridal-product-image {
        max-height: 600px;
    }


    .bridal-product-video {
        max-height: 600px;
    }


    .bridal-slider-arrow {
        width: 38px;

        height: 38px;

        font-size: 17px;
    }


    .bridal-slider-prev {
        left: 10px;
    }


    .bridal-slider-next {
        right: 10px;
    }


    /* -----------------------------------------
       DOTS
    ----------------------------------------- */

    .bridal-slider-dots {
        margin-top: 12px;

        gap: 7px;
    }


    .bridal-slider-dot {
        width: 7px;

        height: 7px;
    }


    .bridal-slider-dot.bridal-video-dot {
        width: 18px;

        height: 18px;

        font-size: 7px;
    }


    /* -----------------------------------------
       THUMBNAILS
    ----------------------------------------- */

    .bridal-slider-thumbnails {
        gap: 8px;

        margin-top: 14px;
    }


    .bridal-slider-thumbnail {
        flex: 0 0 65px;

        width: 65px;

        height: 78px;
    }


    .bridal-video-thumbnail {
        flex: 0 0 65px;

        width: 65px;

        height: 78px;
    }


    .bridal-video-thumbnail-play {
        width: 28px;

        height: 28px;

        font-size: 11px;
    }


    .bridal-video-thumbnail-label {
        font-size: 9px;
    }


    /* -----------------------------------------
       PRODUCT DETAILS
    ----------------------------------------- */

    .product-info {
        padding: 0;
    }


    .product-info h1 {
        font-size: 36px;

        margin-bottom: 18px;
    }


    .product-price {
        font-size: 24px;
    }


    .product-description {
        font-size: 15px;

        line-height: 1.75;
    }


    /* -----------------------------------------
       SOCIAL BUTTONS
    ----------------------------------------- */

    .social-enquiry-buttons {
        flex-direction: column;

        width: 100%;
    }


    .social-enquiry-btn {
        width: 100%;

        justify-content: center;

        padding: 15px 20px;
    }


    /* -----------------------------------------
       PRODUCT NAVIGATION
    ----------------------------------------- */

    .product-navigation {
        width: 100%;

        grid-template-columns: 1fr 1fr;

        gap: 20px;

        margin-top: 55px;
    }


    .product-navigation-center {
        grid-column: 1 / -1;

        grid-row: 1;

        margin-bottom: 10px;
    }


    .product-navigation > a {
        grid-row: 2;
    }


    .product-navigation > a:last-child {
        align-items: flex-end;

        text-align: right;
    }


    .nav-title {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .single-product-page {
        width: 94%;

        margin-top: 70px;
    }


    /* -----------------------------------------
       IMAGE / VIDEO SLIDER
    ----------------------------------------- */

    .bridal-product-image {
        max-height: 500px;
    }


    .bridal-product-video {
        max-height: 500px;
    }


    .bridal-slider-arrow {
        width: 34px;

        height: 34px;

        font-size: 15px;
    }


    .bridal-slider-prev {
        left: 7px;
    }


    .bridal-slider-next {
        right: 7px;
    }


    /* -----------------------------------------
       THUMBNAILS
    ----------------------------------------- */

    .bridal-slider-thumbnails {
        gap: 6px;

        margin-top: 12px;
    }


    .bridal-slider-thumbnail {
        flex: 0 0 58px;

        width: 58px;

        height: 70px;
    }


    .bridal-video-thumbnail {
        flex: 0 0 58px;

        width: 58px;

        height: 70px;
    }


    .bridal-video-thumbnail-play {
        width: 25px;

        height: 25px;

        font-size: 10px;
    }


    .bridal-video-thumbnail-label {
        font-size: 8px;

        letter-spacing: 0.8px;
    }


    /* -----------------------------------------
       PRODUCT TITLE
    ----------------------------------------- */

    .product-info h1 {
        font-size: 30px;
    }


    .product-price {
        font-size: 22px;
    }


    /* -----------------------------------------
       STATUS
    ----------------------------------------- */

    .available,
    .sold {
        font-size: 11px;

        letter-spacing: 1.5px;
    }


    /* -----------------------------------------
       SOCIAL BUTTONS
    ----------------------------------------- */

    .social-enquiry-btn {
        min-height: 50px;

        padding: 13px 15px;

        font-size: 12px;

        letter-spacing: 1.5px;
    }


    /* -----------------------------------------
       PRODUCT NAVIGATION
    ----------------------------------------- */

    .product-navigation {
        gap: 15px;
    }


    .nav-arrow {
        font-size: 21px;
    }


    .nav-label {
        font-size: 9px;

        letter-spacing: 1.5px;
    }


    .product-navigation-center a {
        font-size: 10px;

        letter-spacing: 1.5px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.bridal-slider-arrow:focus-visible,
.bridal-slider-dot:focus-visible,
.bridal-slider-thumbnail:focus-visible,
.social-enquiry-btn:focus-visible,
.product-navigation a:focus-visible {

    outline: 2px solid #b89b5e;

    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bridal-slide,
    .bridal-slider-arrow,
    .bridal-slider-dot,
    .bridal-slider-thumbnail,
    .social-enquiry-btn,
    .nav-arrow {

        transition: none;
    }

}