

#wrapper {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}
html #product-comments-list-header {
    padding: 0;
}
html #blockcart-modal .modal-title {
    font-weight: 600;
    font-size: 14px;
}
html #blockcart-modal .product-image {
    margin: 0;
}
#wrapper .container {
    /* max-width: 100%; */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 50px;
    padding-right: 30px;
}

#content-wrapper,
#product #content-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
#blockcart-modal .divide-right .row > .col-md-6 {
    width: auto;
}
#blockcart-modal .modal-body .divide-right ul {
    margin-top: 0;
    margin-bottom: 2px;
    list-style: disc;
    padding-left: 17px;
}
html #blockcart-modal .cart-content {
    padding-left: 0;
}
#blockcart-modal .modal-body .divide-right ul li {
    font-size: 13px;
    line-height: 22px;
}
/* ==========================================================================
   Breadcrumb: reverted to theme default styling on pack pages (per request).
   Previous custom pill/rounded breadcrumb CSS removed below, kept as comment
   for easy revert if needed.

   .breadcrumb {
       background: transparent;
       padding: 0;
       margin-top: 0.5rem;
       margin-bottom: 1.25rem;
       margin-left: 0;
       border: none;
   }
   
   .breadcrumb ol {
       display: inline-flex;
       align-items: center;
       background: transparent;
       padding: 0;
       margin: 0;
       list-style: none;
       border: none;
       gap: 0;
   }
   
   .breadcrumb li {
       background: transparent;
       padding: 0;
       margin: 0;
       border: none;
       display: inline-flex;
       align-items: center;
       font-size: 0.88rem;
   }
   
   .breadcrumb li a,
   .breadcrumb li>span {
       height: 36px;
       background-color: #f5f5f5;
       color: #333333;
       text-decoration: none;
       font-weight: 400;
       display: inline-flex;
       align-items: center;
       justify-content: center;
       border: none;
       border-radius: 4px;
       box-sizing: border-box;
   }
   
   .breadcrumb li:first-child a,
   .breadcrumb li:first-child span {
       width: 36px;
       height: 36px;
       padding: 0;
       margin: 0;
       display: inline-flex;
       align-items: center;
       justify-content: center;
       text-align: center;
   }
   
   .breadcrumb li:not(:first-child) a,
   .breadcrumb li:not(:first-child)>span {
       padding: 0 14px;
   }
   
   .breadcrumb li a:hover {
       color: #000000;
       background-color: #ececec;
   }
   
   .breadcrumb li a i.material-icons,
   .breadcrumb li span i.material-icons {
       font-size: 18px;
       line-height: 1;
       color: #333333;
       margin: 0;
       padding: 0;
       float: none;
       display: block;
       text-align: center;
       vertical-align: middle;
   }
   
   .breadcrumb li+li::before {
       content: "›";
       color: #555555;
       font-size: 1.1rem;
       line-height: 36px;
       padding: 0 10px;
       background: transparent;
       border: none;
       display: inline-flex;
       align-items: center;
   }
   ========================================================================== */


h1.pack-title-main {
    font-size: 3.00rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111827;
    margin-top: 0.5rem;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.pack-subtitle-desc {
    font-size: 1.60rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
}


.ap5-pack-content-header {
    background-color: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 14px 20px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.ap5-pack-content-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111827;
}

.ap5-pack-tabs-container {
    margin-top: 0;
    margin-bottom: 2rem;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

body .tabs .tab-pane {
    padding-top: 0;
}
#ap5-pack-product-tab-list.nav-tabs,
ul#ap5-pack-product-tab-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border: 1px solid #e5e5e5;
    border-bottom: none;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    list-style: none;
}

#ap5-pack-product-tab-list.nav-tabs>li,
#ap5-pack-product-tab-list.nav-tabs .nav-item {
    flex: 0 0 var(--tab-width, 33.3333%);
    max-width: var(--tab-width, 33.3333%);
    min-width: 0;
    margin: 0;
    padding: 0;
    float: none;
}

#ap5-pack-product-tab-list.nav-tabs>li>a,
#ap5-pack-product-tab-list.nav-tabs .nav-link {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #333333;
    background-color: #ffffff;
    border: none;
    border-right: 1px solid #e5e5e5;
    border-radius: 0;
    height: 100%;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.35;
    margin: 0;
}

#ap5-pack-product-tab-list.nav-tabs>li:last-child>a,
#ap5-pack-product-tab-list.nav-tabs .nav-item:last-child .nav-link {
    border-right: none;
}

@media (min-width: 769px) {

    #ap5-pack-product-tab-list.nav-tabs>li:nth-child(3n)>a,
    #ap5-pack-product-tab-list.nav-tabs .nav-item:nth-child(3n) .nav-link {
        border-right: none;
    }

    #ap5-pack-product-tab-list.nav-tabs>li:nth-child(n+4)>a,
    #ap5-pack-product-tab-list.nav-tabs .nav-item:nth-child(n+4) .nav-link {
        border-top: 1px solid #e5e5e5;
    }
}

#ap5-pack-product-tab-list.nav-tabs>li>a:hover,
#ap5-pack-product-tab-list.nav-tabs .nav-link:hover {
    color: #111111;
    background-color: #f9f9f9;
}

#ap5-pack-product-tab-list.nav-tabs>li.active>a,
#ap5-pack-product-tab-list.nav-tabs .nav-link.active {
    color: #ffffff;
    background-color: #4a2c3d;
    font-weight: 700;
    border-bottom: none;
}

#ap5-pack-product-tab-list.nav-tabs .ap5-pack-product-tab-name {
    flex: 1 1 0%;
    min-width: 0;
    max-width: calc(100% - 30px);
    white-space: normal;
    word-break: break-word;
    margin-right: 8px;
    display: inline-block;
    color: inherit;
    text-align: left;
    font-size: 12px;
}

#ap5-pack-product-tab-list.nav-tabs .tab-chevron-icon {
    font-size: 20px;
    line-height: 1;
    color: inherit;
    flex-shrink: 0;
    vertical-align: middle;
}

#ap5-pack-product-tabs-content.tab-content {
    margin: 0;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #c5a45b;
    padding: 24px 24px 28px 24px;
    background-color: #ffffff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.ap5-pack-item-container {
    padding: 0;
}
-------------------------------------------------------- */

.ap5-pack-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.ap5-pack-item-ref {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333333;
}

.ap5-pack-item-ref .ref-label {
    font-weight: 400;
    color: #555555;
    font-size: 14px;
}

.ap5-pack-item-ref .ref-value {
    font-weight: 500;
    color: #111111;
    font-size: 14px;
}

.ap5-pack-item-price {
    font-weight: 700;
    color: #111111;
    font-size: 14px;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.ap5-pack-item-price .price-tax-label {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
}

.ap5-pack-item-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 1.5rem;
}

.ap5-learn-more-toggle-pack {
    margin-bottom: 1rem;
}

.ap5-learn-more-toggle-pack a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c5a45b;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    cursor: pointer;
}

.ap5-learn-more-toggle-pack a:hover {
    text-decoration: none;
}
.ap5-learn-more-toggle-pack > a span.ap5-learn-more-label-pack {
    font-size: 14px;
}
.ap5-learn-more-content-pack p {
    line-height: 24px;
}
.ap5-learn-more-content-pack ul {
    padding-left: 25px;
    margin-top: 0;
}
.ap5-learn-more-content-pack ul li::marker {
    color: #bda35b;
}
.ap5-learn-more-content-pack ul li {
    margin-bottom: 6px;
}
.ap5-learn-more-icon-pack {
    font-size: 28px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ap5-learn-more-toggle-pack a[aria-expanded="true"] .ap5-learn-more-icon-pack {
    transform: rotate(180deg);
}

.ap5-learn-more-content-pack {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 1.5rem;
}


.degustation-card-pack {
    border: 1px solid #e5e5e5;
    border-radius: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.product-features-pack {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-pack .feature-list-pack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-features-pack .feature-item-pack {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    border-bottom: 1px solid #ccc;
    padding: 14px 0;
}
.product-features-pack .feature-item-pack:last-child {
    border-bottom: 0;
}

.product-features-pack .feature-item-pack img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-features-pack .feature-item-pack strong {
    font-weight: 600;
    min-width: 201px;
    color: #111111;
    font-size: 14px;
}



.combined-row-pack {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin: 1.5rem 0;
}

.feature-col-pack {
    width: 48%;
}

.feature-col-pack strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: capitalize;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #222;
}
.feature-icons-pack img {
    border: 1px solid #ccc;
    background-color: #cccccc40;
    width: 45px;
    height: 45px;
    padding: 8px;
}

.feature-icons-pack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
}

.feature-circle-icon-pack {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex: 0 0 auto;
}



.feature-section-title-pack {
    font-size: 1.35rem;
    font-weight: 700;
    color: #000000;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}

.table-data-sheet-pack {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e5e5;
}

.table-data-sheet-pack tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table-data-sheet-pack td {
    padding: 1.25rem 1rem;
    font-size: 14px;
    border-bottom: 1px solid #efefef;
}

.table-data-sheet-pack td:first-child {
    font-weight: 700;
    color: #111111;
    width: 35%;
    font-size: 14px;
}

.table-data-sheet-pack td:last-child {
    color: #444444;
}



.ap5-main-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0;
}

#ap5-product-list {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 0;
    padding-right: 15px;
}

#ap5-buy-block-container {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    flex: 0 0 25%;
    width: 25%;
}

@media (min-width: 768px) {
    #ap5-buy-block-container {
        margin-top: -130px;
        position: sticky;
        top: 90px;
        z-index: 10;
        align-self: flex-start;
    }
}

.ap5-buy-card-box {
    background-color: #ffffff;
    border: 1px solid #e5e0d8;
    border-radius: 4px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ap5-card-divider {
    border: none;
    border-top: 1px solid #eeeeee;
    margin: 1.25rem 0;
}



#ap5-price-container {
    margin-bottom: 0.5rem;
}

#ap5-price-container .product-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
}

#ap5-price-container .current-price-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

#ap5-price-container .current-price-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.1;
    white-space: nowrap;
}

#ap5-price-container .price-tax-label {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    line-height: 1;
}

#ap5-price-container .discount {
    background-color: #e26a54;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
}

#ap5-price-container .product-discount {
    margin-top: 2px;
}

#ap5-price-container .regular-price {
    font-size: 15px;
    color: #777777;
    text-decoration: line-through;
    text-align: left;
    display: block;
}



.ap5-add-to-cart-container .product-quantity {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
}

.ap5-qty-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.ap5-qty-stepper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #777777;
    border-radius: 0px;
    background-color: #ffffff;
    height: 38px;
    width: 157px;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.ap5-qty-btn {
    width: 32px;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 24px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    outline: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    line-height: 1;
}

.ap5-qty-btn:hover {
    background-color: #f2f2f2;
}

.ap5-qty-input {
    width: 40px;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    -moz-appearance: textfield;
    margin: 0;
    padding: 0;
    outline: none;
    box-shadow: none;
}

.ap5-qty-input::-webkit-outer-spin-button,
.ap5-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ap5-qty-row .control-label {
    font-size: 1.40rem;
    color: #4b5563;
    font-weight: 500;
    margin: 0;
}

.ap5-buy-card-box .comments_note,
.ap5-buy-card-box a[href*="comment"] {
    display: none;
}


.ap5-add-to-cart-container .add {
    width: 100%;
    margin: 0;
}

.ap5-add-to-cart-container .add-to-cart {
    width: 100%;
    height: 44px;
    background-color: #c5a45b;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ap5-add-to-cart-container .add-to-cart:hover {
    background-color: #b39249;
}

.ap5-add-to-cart-container .add-to-cart i.material-icons {
    font-size: 20px;
}



.ap5-reassurance-block {
    display: flex;
    flex-direction: column;
}

.ap5-reassurance-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.ap5-reassurance-item:last-child {
    border-bottom: none;
}

.ap5-reassurance-item i.material-icons {
    font-size: 22px;
    color: #4a2c3d;
    flex-shrink: 0;
}

.ap5-reassurance-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #222222;
    line-height: 1.3;
}


@media(max-width: 992px) {
    #ap5-buy-block-container {
        margin-top: 0;
        width: 33.33%;
        flex: 0 0 33.33%;
    }
    .ap5-product-list .ap5-pack-product {
        padding: 7px;
        margin-top: 0 !important;
    }
    .ap5-pack-product .ap5-pack-product-content {
        border: 1px solid #ccc;
    }
    .ap5-pack-product .ap5-pack-product-icon-plus:before {
        top: 6px !important;
        left: 6px;
    }
    .ap5-pack-product-name a {
        margin-top: 19px;
        display: block;
    }
}
@media (max-width: 768px) {
    .product-features-pack .feature-item-pack {
        flex-wrap: wrap;
    }
    .ap5-product-list .ap5-pack-product {
        padding: 7px 0;
    }
    #wrapper .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    #ap5-product-list {
        padding-right: 0;
    }

    h1.pack-title-main {
        font-size: 1.75rem;
    }

    .pack-subtitle-desc {
        font-size: 0.98rem;
    }

    #ap5-buy-block-container {
        position: static;
        margin-top: 0;
        flex: 0 0 100%;
        width: 100%;
        padding: 0;
    }

    #ap5-pack-product-tab-list.nav-tabs {
        flex-wrap: wrap;
    }

    #ap5-pack-product-tab-list.nav-tabs .nav-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    #ap5-pack-product-tab-list.nav-tabs .nav-link {
        padding: 10px 14px;
        font-size: 1.20rem;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .combined-row-pack {
        gap: 1rem;
    }

    .feature-col-pack {
        width: 100%;
    }
}
@media (max-width: 768px) {
    #blockcart-modal .modal-dialog {
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #blockcart-modal .modal-content {
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1024px) {
    #blockcart-modal .modal-header .close span {
        opacity: 1 !important;
        display: inline !important;
    }
}



div#blockcart-modal, .ap5-qty-error-modal, .js-product-images-modal {
    z-index: 9999999999;
    background: rgba(0, 0, 0, 0.5);
    padding-right: 0 !important;
}




/* ==========================================================================
   Mobile: fix product-image zoom modal not scrolling (pack pages only)
   Same underlying bug as the "added to cart" modal: .modal-dialog is fixed
   to the viewport and taller than short mobile screens, with no internal
   scroll, so part of the image/description is unreachable.
   ========================================================================== */
@media (max-width: 768px) {
    .js-product-images-modal .modal-dialog {
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .js-product-images-modal .modal-content {
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================================================
   Desktop: fix header rendering above the modal backdrop (pack pages only)
   The modal already uses the max possible z-index, but the sticky header
   still visually wins due to its own stacking context. Only demote it while
   a modal is actually open (Bootstrap adds .modal-open to <body>), so the
   header's normal z-index is untouched at every other time.
   ========================================================================== */
body.modal-open #header {
    z-index: 1 !important;
}

/* ==========================================================================
   Restore modal backdrop dimming on pack pages only.
   A third-party shipping widget (bpostshm) injects a global, unscoped
   `.modal-backdrop { display: none !important; }` rule meant only for its
   own pickup-point modal, which silently kills the dimmed backdrop for
   every other Bootstrap modal on the site (add-to-cart, image zoom, etc).
   This restores it specifically on pack pages without touching bpostshm.
   ========================================================================== */
body.ap5-pack-page .modal-backdrop {
    display: block !important;
}

/* ==========================================================================
   Desktop: fix product-image zoom modal overflowing viewport height with no
   scroll (pack pages only). The earlier scroll fix was mobile-only
   (max-width: 768px); tall images + long descriptions can overflow on
   desktop too, especially at reduced browser zoom. Applies at all sizes;
   harmless when content already fits within 92vh.
   ========================================================================== */
.js-product-images-modal .modal-dialog {
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.js-product-images-modal .modal-content {
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.product-total .label{
    color:black;
}
/* ==========================================================================
   Add a working close button to the product-image zoom modal (pack pages
   only). PrestaShop's default template has none at all; the small box in
   the top-right is just the (single) thumbnail nav, not a close control.
   ========================================================================== */
.ap5-image-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.ap5-image-modal-close i.material-icons {
    font-size: 22px;
    color: #333333;
    line-height: 1;
}

.ap5-image-modal-close:hover i.material-icons {
    color: #000000;
}
