/* =========================================================
   ATLANTICA — PRODUCT DETAIL
========================================================= */

.atl-product-detail-page {
    background: #f7f9fc;
    min-height: 100vh;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.atl-product-breadcrumb-section {
    padding: 22px 0;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
}

.atl-product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    color: #8993a5;
    font-size: .78rem;
}

.atl-product-breadcrumb a {
    color: #667288;
    text-decoration: none;
    transition: .2s ease;
}

.atl-product-breadcrumb a:hover {
    color: #0b2a82;
}

.atl-product-breadcrumb i {
    font-size: .65rem;
    color: #b1b8c4;
}

.atl-product-breadcrumb .current {
    max-width: 280px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #152642;
    font-weight: 700;
}


/* =========================================================
   MAIN
========================================================= */

.atl-product-main {
    padding: 48px 0 70px;
}

.atl-product-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, .95fr);

    gap: 65px;

    align-items: start;
}


/* =========================================================
   GALLERY
========================================================= */

.atl-product-gallery {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;

    position: sticky;
    top: 25px;
}

.atl-product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.atl-product-thumbnail {
    width: 82px;
    height: 82px;

    padding: 5px;

    overflow: hidden;

    border: 1px solid #e3e8f0;
    border-radius: 15px;

    background: #fff;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.atl-product-thumbnail:hover {
    transform: translateY(-2px);
}

.atl-product-thumbnail.is-active {
    border-color: #0b2a82;

    box-shadow:
        0 0 0 2px rgba(11,42,130,.08);
}

.atl-product-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 10px;
}

.atl-product-thumbnail span {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9ca7b8;
    background: #f5f7fa;

    border-radius: 10px;
}


/* MAIN IMAGE */

.atl-product-main-image {
    position: relative;

    min-height: 380px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e5eaf1;
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(255,255,255,1),
            rgba(246,248,251,1)
        );

    box-shadow:
        0 25px 70px rgba(15,35,65,.08);
}

.atl-product-image-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    /* padding: 45px; */

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.atl-product-image-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.atl-product-image-slide img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 30px rgba(15,35,65,.12)
        );

    transition: transform .4s ease;
}

.atl-product-main-image:hover
.atl-product-image-slide.is-active img {
    transform: scale(1.025);
}

.atl-product-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #a8b1bf;

    font-size: 4rem;
}

.atl-product-image-badge {
    position: absolute;
    top: 20px;
    left: 20px;

    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 12px;

    border: 1px solid rgba(255,255,255,.7);
    border-radius: 999px;

    background: rgba(255,255,255,.88);

    color: #0b2a82;

    font-size: .67rem;
    font-weight: 800;

    letter-spacing: .05em;
    text-transform: uppercase;

    box-shadow:
        0 8px 20px rgba(15,35,65,.08);

    backdrop-filter: blur(10px);
}

.atl-product-image-badge i {
    color: #c55902;
}

.atl-product-gallery-nav {
    position: absolute;

    z-index: 5;

    top: 50%;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e1e6ee;
    border-radius: 50%;

    background: rgba(255,255,255,.9);

    color: #253653;

    cursor: pointer;

    transform: translateY(-50%);

    box-shadow:
        0 8px 20px rgba(15,35,65,.08);

    transition: .2s ease;
}

.atl-product-gallery-nav:hover {
    background: #0b2a82;
    color: #fff;
}

.atl-product-gallery-nav.prev {
    left: 17px;
}

.atl-product-gallery-nav.next {
    right: 17px;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.atl-product-info {
    padding-top: 7px;
}

.atl-product-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.atl-product-meta-top > div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.atl-product-brand {
    color: #c55902;

    font-size: .76rem;
    font-weight: 900;

    letter-spacing: .13em;
    text-transform: uppercase;
}

.atl-product-category {
    padding-left: 10px;

    border-left: 1px solid #dce2eb;

    color: #8490a3;

    font-size: .76rem;
    font-weight: 700;
}

.atl-product-new {
    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(12,111,150,.08);

    color: #0c6f96;

    font-size: .68rem;
    font-weight: 800;

    text-transform: uppercase;
}

.atl-product-title {
    margin: 14px 0 8px;

    color: #10213d;

    font-size: clamp(2rem, 3vw, 3.15rem);
    font-weight: 900;

    line-height: 1.05;
    letter-spacing: -.045em;
}

.atl-product-reference {
    color: #8994a6;
    font-size: .76rem;
}

.atl-product-reference strong {
    color: #526077;
}


/* =========================================================
   PRICE
========================================================= */

.atl-product-price-block {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 24px;
}

.atl-product-price {
    color: #0b2a82;

    font-size: 2rem;
    font-weight: 900;

    letter-spacing: -.03em;
}

.atl-product-old-price {
    color: #9ba3b0;

    font-size: .98rem;

    text-decoration: line-through;
}

.atl-product-saving {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 7px;

    color: #25835d;

    font-size: .75rem;
    font-weight: 800;
}

.atl-product-saving i {
    font-size: .82rem;
}


/* =========================================================
   SHORT DESCRIPTION
========================================================= */

.atl-product-short-description {
    margin-top: 22px;
    padding-bottom: 23px;

    border-bottom: 1px solid #e7ebf1;

    color: #657187;

    font-size: .94rem;
    line-height: 1.8;
}


/* =========================================================
   VARIANT
========================================================= */

.atl-product-option {
    margin-top: 25px;
}

.atl-product-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 12px;
}

.atl-product-option-header span {
    color: #263653;

    font-size: .83rem;
    font-weight: 800;
}

.atl-product-option-header strong {
    color: #0b2a82;
    font-size: .78rem;
}

.atl-product-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.atl-product-variant {
    min-width: 125px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;

    padding: 13px 15px;

    border: 1px solid #dfe5ed;
    border-radius: 13px;

    background: #fff;

    cursor: pointer;

    text-align: left;

    transition: .2s ease;
}

.atl-product-variant:hover {
    border-color: #aeb9ca;
}

.atl-product-variant.is-active {
    border-color: #0b2a82;

    background: rgba(11,42,130,.045);

    box-shadow:
        0 0 0 2px rgba(11,42,130,.06);
}

.atl-product-variant-name {
    color: #293957;

    font-size: .78rem;
    font-weight: 800;
}

.atl-product-variant-price {
    color: #0b2a82;

    font-size: .72rem;
    font-weight: 800;
}


/* =========================================================
   STOCK
========================================================= */

.atl-product-stock {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 21px;

    color: #25835d;

    font-size: .79rem;
    font-weight: 800;
}

.atl-product-stock i {
    font-size: .85rem;
}

.atl-product-stock small {
    color: #8b95a6;
    font-size: .71rem;
    font-weight: 600;
}

.atl-product-stock.is-out {
    color: #c53f3f;
}


/* =========================================================
   BUY
========================================================= */

.atl-product-buy-form {
    margin-top: 22px;
}

.atl-product-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 12px;
}

.atl-product-quantity > span {
    color: #263653;

    font-size: .82rem;
    font-weight: 800;
}

.atl-product-quantity-control {
    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid #dce3ec;
    border-radius: 12px;

    background: #fff;
}

.atl-product-quantity-control button {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    background: #fff;

    color: #516079;

    cursor: pointer;

    transition: .2s ease;
}

.atl-product-quantity-control button:hover {
    background: #f3f6fa;
    color: #0b2a82;
}

.atl-product-quantity-control input {
    width: 48px;
    height: 42px;

    padding: 0;

    border: 0;

    outline: none;

    color: #152642;

    background: #fff;

    text-align: center;

    font-size: .86rem;
    font-weight: 800;
}

.atl-product-quantity-control input::-webkit-inner-spin-button,
.atl-product-quantity-control input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.atl-product-quantity-control input {
    appearance: textfield;
}

.atl-product-add-btn {
    width: 100%;
    min-height: 57px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 19px;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #c55902 0%,
            #fda257 100%
        );

    color: #fff;

    cursor: pointer;

    font-size: .9rem;
    font-weight: 800;

    box-shadow:
        0 15px 30px rgba(197,89,2,.22);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.atl-product-add-btn span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.atl-product-add-btn:hover:not(:disabled) {
    transform: translateY(-2px);

    box-shadow:
        0 20px 35px rgba(197,89,2,.27);
}

.atl-product-add-btn:disabled {
    opacity: .48;
    cursor: not-allowed;
    box-shadow: none;
}


/* =========================================================
   REASSURANCE
========================================================= */

.atl-product-reassurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 17px;

    border: 1px solid #e6ebf2;
    border-radius: 15px;

    background: #fff;
}

.atl-product-reassurance-item {
    min-height: 73px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 12px;

    color: #667288;

    font-size: .67rem;
    font-weight: 700;
}

.atl-product-reassurance-item + .atl-product-reassurance-item {
    border-left: 1px solid #edf0f5;
}

.atl-product-reassurance-item > div {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(11,42,130,.06);

    color: #0b2a82;
}


/* =========================================================
   DETAILS
========================================================= */

.atl-product-details-section {
    padding: 70px 0;

    background: #fff;

    border-top: 1px solid #e9edf3;
}

.atl-product-details-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(330px, .75fr);

    gap: 30px;
}

.atl-product-description-card,
.atl-product-specs-card {
    padding: 32px;

    border: 1px solid #e8edf4;
    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(15,35,65,.045);
}

.atl-product-section-kicker {
    display: block;

    margin-bottom: 8px;

    color: #c55902;

    font-size: .7rem;
    font-weight: 900;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.atl-product-description-card h2,
.atl-product-specs-card h2 {
    margin: 0 0 20px;

    color: #152642;

    font-size: 1.45rem;
    font-weight: 900;
}

.atl-product-description {
    color: #667288;

    font-size: .92rem;
    line-height: 1.9;
}

.atl-product-no-content {
    margin: 0;

    color: #919aaa;

    font-size: .85rem;
}

.atl-product-specs {
    border-top: 1px solid #edf0f5;
}

.atl-product-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #edf0f5;
}

.atl-product-spec-row span {
    color: #8b95a6;
    font-size: .78rem;
}

.atl-product-spec-row strong {
    color: #263653;

    font-size: .79rem;

    text-align: right;
}


/* =========================================================
   AUDIO
========================================================= */

.atl-product-audio-section {
    padding: 65px 0;

    background:
        linear-gradient(
            135deg,
            #f7f9fc,
            #eef3f9
        );
}

.atl-product-audio-card {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 30px;

    border: 1px solid #dfe6ef;
    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 18px 45px rgba(15,35,65,.06);
}

.atl-product-audio-icon {
    width: 68px;
    height: 68px;

    flex: 0 0 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 19px;

    background:
        linear-gradient(
            135deg,
            #0b2a82,
            #0c6f96
        );

    color: #fff;

    font-size: 1.65rem;
}

.atl-product-audio-content {
    flex: 1;
}

.atl-product-audio-content h2 {
    margin: 0;

    color: #152642;

    font-size: 1.35rem;
    font-weight: 900;
}

.atl-product-audio-content p {
    margin: 7px 0 15px;

    color: #7c8799;

    font-size: .82rem;
}

.atl-product-audio-player {
    width: 100%;
    max-width: 620px;
}


/* =========================================================
   DOCUMENTS
========================================================= */

.atl-product-documents-section {
    padding: 65px 0 80px;

    background: #f7f9fc;
}

.atl-product-documents-header {
    margin-bottom: 22px;
}

.atl-product-documents-header h2 {
    margin: 0;

    color: #152642;

    font-size: 1.5rem;
    font-weight: 900;
}

.atl-product-documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.atl-product-document {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 18px;

    border: 1px solid #e4e9f0;
    border-radius: 17px;

    background: #fff;

    color: inherit;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.atl-product-document:hover {
    transform: translateY(-2px);

    border-color: #d2dbe7;

    box-shadow:
        0 14px 30px rgba(15,35,65,.07);
}

.atl-product-document-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(197,89,2,.08);

    color: #c55902;

    font-size: 1.1rem;
}

.atl-product-document > div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.atl-product-document strong {
    display: block;

    overflow: hidden;

    color: #263653;

    font-size: .78rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.atl-product-document span {
    display: block;

    margin-top: 3px;

    color: #929baa;

    font-size: .68rem;
}

.atl-product-document > i {
    color: #0b2a82;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .atl-product-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, .85fr);

        gap: 35px;
    }

    .atl-product-main-image {
        min-height: 500px; 
    }

}


@media (max-width: 900px) {

    .atl-product-gallery {
        position: static;
    }

    .atl-product-grid {
        grid-template-columns: 1fr;
    }

    .atl-product-details-grid {
        grid-template-columns: 1fr;
    }

    .atl-product-gallery {
        max-width: 760px;
        margin: 0 auto;
        width: 100%;
    }

}


@media (max-width: 650px) {

    .atl-product-main {
        padding: 25px 0 50px;
    }

    .atl-product-gallery {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 10px;
    }

    .atl-product-thumbnail {
        width: 62px;
        height: 62px;
    }

    .atl-product-main-image {
        min-height: 390px;
        border-radius: 20px;
    }

    /*
    .atl-product-image-slide {
        padding: 35px 25px; 
    }
    */

    .atl-product-title {
        font-size: 2rem;
    }

    .atl-product-price {
        font-size: 1.7rem;
    }

    .atl-product-reassurance {
        grid-template-columns: 1fr;
    }

    .atl-product-reassurance-item + .atl-product-reassurance-item {
        border-left: 0;
        border-top: 1px solid #edf0f5;
    }

    .atl-product-details-section,
    .atl-product-audio-section,
    .atl-product-documents-section {
        padding: 45px 0;
    }

    .atl-product-description-card,
    .atl-product-specs-card,
    .atl-product-audio-card {
        padding: 23px;
    }

    .atl-product-audio-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .atl-product-documents-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 430px) {

    .atl-product-gallery {
        grid-template-columns: 1fr;
    }

    .atl-product-thumbnails {
        order: 2;

        flex-direction: row;

        overflow-x: auto;
        padding-bottom: 5px;
    }

    .atl-product-thumbnail {
        flex: 0 0 62px;
    }

    .atl-product-main-image {
        order: 1;
    }

}


/* Senteur intégrée aux caractéristiques du produit */
.atl-product-spec-row-scent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.atl-product-spec-row-scent > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.atl-product-spec-row-scent > span i {
    color: #168ED0;
    font-size: 0.9rem;
}

.atl-product-spec-row-scent > strong {
    text-align: right;
    overflow-wrap: anywhere;
}

@media (max-width: 480px) {
    .atl-product-spec-row-scent {
        gap: 8px;
    }
}
