.product-detail-page {
    background: #f2f2f2;
}







.pd-container {
    width: calc(100% - 32px);
    max-width: 1680px;
    margin: 0 auto;
    padding: 18px 0 48px;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #777;
    font-size: 13px;
    margin-bottom: 20px;
}

.pd-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.pd-breadcrumb svg {
    width: 15px;
    height: 15px;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: start;
    gap: 26px;
}

.pd-gallery {
    position: sticky;
    top: 82px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.pd-gallery-stage {
    position: relative;
    aspect-ratio: 1.07;
    background: #fff;
    overflow: hidden;
    touch-action: pan-y;
}

.pd-gallery-stage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.pd-gallery-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #111;
    color: #efff65;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 13px;
    border-radius: 5px;
}

.pd-gallery-counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(235,235,235,.95);
    color: #333;
    padding: 7px 13px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.pd-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #eee;
    background: rgba(255,255,255,.95);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.pd-gallery-arrow.prev {
    left: 12px;
}

.pd-gallery-arrow.next {
    right: 12px;
}

.pd-gallery-arrow svg {
    width: 20px;
    height: 20px;
}

.pd-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.pd-panel {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.pd-title-panel {
    position: relative;
    padding-right: 65px;
}

.pd-title {
    font-size: 21px;
    font-weight: 750;
    line-height: 1.4;
    margin: 0 0 7px;
    color: #111;
}

.pd-brand {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 9px;
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #666;
}

.pd-stars {
    color: #f5a500;
    letter-spacing: 2px;
    font-size: 18px;
}

.pd-stars.empty {
    color: #bbb;
}

.pd-favorite {
    position: absolute;
    top: 17px;
    right: 17px;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.pd-shipping {
    background: #111;
    color: #efff65;
    border-radius: 7px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
}

.pd-section-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #111;
}

.pd-campaign {
    background: #fff4f5;
    border: 1px solid #efb9c3;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a92445;
    font-size: 14px;
    font-weight: 700;
}

.pd-campaign svg {
    flex-shrink: 0;
}

.pd-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.pd-benefit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 650;
}

.pd-benefit svg {
    width: 17px;
    height: 17px;
}

.pd-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.pd-spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 11px 15px;
    min-width: 85px;
}

.pd-spec span {
    font-size: 12px;
    color: #777;
}

.pd-spec strong {
    font-size: 14px;
    color: #111;
}

.pd-price {
    font-size: 31px;
    font-weight: 850;
    line-height: 1.2;
    color: #111;
}

.pd-old-price {
    color: #999;
    font-size: 15px;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.pd-buy-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.pd-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 7px;
    overflow: hidden;
}

.pd-quantity button {
    background: #f5f5f5;
    border: 0;
    width: 38px;
    height: 48px;
    font-size: 20px;
    cursor: pointer;
}

.pd-quantity input {
    width: 40px;
    border: 0;
    text-align: center;
    font: inherit;
    background: #fff;
}

.pd-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #111;
    color: #fff;
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.pd-lower {
    margin-top: 25px;
    display: grid;
    gap: 18px;
}

.pd-description {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.pd-attribute-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 15px;
    padding: 12px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.pd-review {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.pd-review p {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.pd-countdown {
    background: #efff65;
    color: #111;
    border-radius: 6px;
    padding: 9px 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
}

.pd-countdown-label,
.pd-countdown-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-countdown-time span {
    background: #111;
    color: #fff;
    padding: 6px 9px;
    border-radius: 4px;
    font-size: 12px;
}

@media (max-width: 850px) {

    .pd-container {
        width: calc(100% - 20px);
        padding-top: 12px;
    }

    .pd-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pd-gallery {
        position: relative;
        top: auto;
    }

    .pd-gallery-stage {
        aspect-ratio: 1;
    }

    .pd-panel {
        padding: 15px;
    }

    .pd-title-panel {
        padding-right: 60px;
    }

    .pd-title {
        font-size: 18px;
    }

    .pd-price {
        font-size: 27px;
    }

    .pd-countdown {
        font-size: 12px;
        padding: 9px;
    }

    .pd-countdown-time span {
        font-size: 10px;
        padding: 5px;
    }

    .pd-shipping {
        font-size: 12px;
    }

    .pd-benefit {
        font-size: 12px;
    }
}

/* STILO PRODUCT REFINEMENT V1 */

.pd-container {
    width: 95%;
    max-width: 1680px;
}

.pd-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 26px;
}

.pd-info {
    gap: 7px;
}

.pd-gallery {
    border-radius: 12px;
    top: 160px;
}

.pd-gallery-stage {
    aspect-ratio: 1.073;
}

.pd-gallery-stage img {
    object-fit: contain;
    background: #fff;
}

.pd-gallery-badge {
    left: 0;
    top: 13px;
    border-radius: 0 5px 5px 0;
    font-size: 12px;
    padding: 8px 10px;
}

.pd-gallery-counter {
    background: #777;
    color: #fff;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    bottom: 18px;
    right: 12px;
}

.pd-panel {
    border-radius: 0;
    padding: 15px 23px;
}

.pd-title-panel {
    border-radius: 9px 9px 0 0;
    padding-right: 65px;
}

.pd-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pd-campaign {
    border: 1px solid #ff9aab;
    background: #fff5f6;
    color: #8b4857;
    border-radius: 5px;
    padding: 9px 10px;
    font-size: 12px;
    font-weight: 500;
    min-height: 40px;
}

.pd-campaign > svg {
    background: #ffe0e5;
    width: 28px;
    height: 24px;
    padding: 5px;
    border-radius: 4px;
}

.pd-benefits {
    gap: 8px;
}

.pd-benefit {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 7px;
    min-height: 48px;
    padding: 10px;
    font-size: 12px;
    font-weight: 550;
}

.pd-benefit svg {
    width: 21px;
    height: 21px;
    color: #111;
}

.pd-specs {
    gap: 7px;
}

.pd-spec {
    background: #f2f2f2;
    border-radius: 6px;
    padding: 9px 10px;
    min-width: 44px;
    text-align: center;
    gap: 4px;
}

.pd-spec span {
    font-size: 11px;
    font-weight: 500;
}

.pd-spec strong {
    font-size: 13px;
    font-weight: 650;
}

.pd-package-content {
    background: #f2f2f2;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    margin-bottom: 12px;
}

.pd-etbis {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    max-width: 450px;
    background: #f2f2f2;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    padding: 13px;
    margin: 15px 0 10px;
    color: #111;
    text-decoration: none;
    box-sizing: border-box;
}

.pd-etbis img {
    width: 54px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: 3px;
    flex-shrink: 0;
}

.pd-etbis-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-etbis-info strong {
    font-size: 14px;
    font-weight: 750;
}

.pd-etbis-info span {
    font-size: 11px;
    color: #777;
}

.pd-etbis-info small {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.pd-etbis-info svg {
    width: 13px;
    height: 13px;
}

.pd-accordions {
    padding: 4px 23px 10px;
}

.pd-accordion {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
}

.pd-accordion summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    min-height: 50px;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    box-sizing: border-box;
}

.pd-accordion summary::-webkit-details-marker {
    display: none;
}

.pd-accordion-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #111;
    flex-shrink: 0;
}

.pd-accordion-icon::before {
    content: '+';
    font-size: 18px;
    font-weight: 400;
}

.pd-accordion[open] .pd-accordion-icon::before {
    content: '−';
}

.pd-accordion-content {
    padding: 0 14px 14px;
    color: #555;
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.pd-accordion-content p {
    margin: 7px 0;
}

@media (max-width: 850px) {

    .pd-container {
        width: calc(100% - 20px);
    }

    .pd-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pd-gallery {
        position: relative;
        top: auto;
    }

    .pd-gallery-stage {
        aspect-ratio: 1;
    }

    .pd-panel {
        padding: 15px;
    }

    .pd-title-panel {
        padding-right: 60px;
    }

    .pd-accordions {
        padding: 4px 0 8px;
    }

    .pd-etbis {
        max-width: 100%;
    }

    .pd-benefit {
        min-height: 40px;
        font-size: 11px;
    }
}


/* STILO COUNTDOWN VISIBILITY */

.pd-countdown[hidden] {
    display: none !important;
}

.pd-countdown {
    min-height: 37px;
    box-sizing: border-box;
    padding: 6px 12px;
}

.pd-countdown-label svg {
    width: 18px;
    height: 18px;
}

.pd-countdown-time span {
    white-space: nowrap;
}

@media (max-width: 480px) {

    .pd-countdown {
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px;
    }

    .pd-countdown-time {
        justify-content: center;
    }
}


/* STILO CAMPAIGN MODAL V1 */

button.pd-campaign {
    width: 100%;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.pd-campaign-arrow {
    width: 17px;
    height: 17px;
    margin-left: auto;
    flex-shrink: 0;
}

.pd-campaign-modal {
    width: min(460px, calc(100% - 32px));
    max-height: 85dvh;
    overflow-y: auto;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: #111;
    box-shadow: 0 15px 70px rgba(0,0,0,.18);
    font-family: inherit;
}

.pd-campaign-modal::backdrop {
    background: rgba(0,0,0,.48);
}

.pd-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.pd-modal-header h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 750;
}

.pd-modal-header button {
    border: 0;
    background: #f3f3f3;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
}

.pd-modal-body {
    padding: 20px;
}

.pd-modal-offer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #efc0cc;
    background: #fff5f7;
    border-radius: 8px;
    font-size: 14px;
}

.pd-modal-offer svg {
    color: #d72b55;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.pd-modal-body h3 {
    font-size: 15px;
    margin: 22px 0 10px;
}

.pd-modal-body p {
    color: #555;
    font-size: 14px;
    line-height: 1.65;
    margin: 10px 0;
}

.pd-modal-description {
    white-space: pre-line;
}

.pd-modal-continue {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: 22px;
    border: 0;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}



/* STILO MOBILE PURCHASE V224 */

.pd-mobile-purchase {
    display: none;
}

@media (max-width: 767px) {

    body.product-detail-page {
        padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .product-detail-page .pd-buy-row .pd-add-cart {
        display: none !important;
    }

    .pd-mobile-purchase {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 8px;

        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        max-width: 100%;
        z-index: 1000;

        padding: 10px 13px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));

        background: #fff;
        border-top: 1px solid #e8e8e8;
        box-shadow: 0 -3px 15px rgba(0,0,0,.06);

        box-sizing: border-box;
    }

    .pd-mobile-purchase button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        width: 100%;
        min-width: 0;
        height: 46px;

        border-radius: 7px;
        padding: 0 8px;

        font-family: inherit;
        font-size: 14px;
        font-weight: 650;

        cursor: pointer;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }

    .pd-mobile-purchase .pd-mobile-cart {
        color: #151515;
        background: #fff;
        border: 1px solid #d5d5d5;
    }

    .pd-mobile-purchase .pd-mobile-cart svg {
        width: 17px;
        height: 17px;
        flex-shrink: 0;
    }

    .pd-mobile-purchase .pd-mobile-buy {
        color: #fff;
        background: #0caf59;
        border: 1px solid #0caf59;
        font-weight: 750;
    }

    .pd-mobile-purchase .pd-mobile-buy:active {
        background: #07994d;
    }

    .pd-mobile-purchase .pd-mobile-cart:active {
        background: #f5f5f5;
    }

}



/* STILO DETAIL PRICE V229 */

.stilo-detail-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
    min-width: 0;
}

.stilo-detail-old-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stilo-detail-prices .pd-old-price {
    color: #888;
    font-size: 18px;
    font-weight: 500;
    text-decoration: line-through;
    margin: 0;
}

.stilo-detail-reference {
    color: #777;
    font-size: 14px;
    font-weight: 500;
}

.stilo-detail-prices .pd-price {
    color: #d71935;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.stilo-detail-prices .stilo-price-discount {
    font-size: 12px;
    padding: 5px 8px;
}

@media (max-width: 767px) {

    .stilo-detail-prices .pd-price {
        font-size: 29px;
    }

    .stilo-detail-prices .pd-old-price {
        font-size: 16px;
    }

    .stilo-detail-reference {
        font-size: 13px;
    }

}



/* STILO PRICE COLORS V231 */

.stilo-detail-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
}

.stilo-detail-old-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stilo-detail-prices .pd-old-price {
    color: #dc2626 !important;
    font-size: 19px;
    font-weight: 600;
    text-decoration: line-through !important;
    margin: 0;
}

.stilo-detail-prices .pd-price {
    color: #16a34a !important;
    font-size: 35px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.stilo-detail-prices .stilo-price-discount {
    background: #eaf8ef !important;
    color: #07863f !important;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 5px;
}

@media (max-width: 767px) {

    .stilo-detail-prices .pd-price {
        font-size: 30px;
    }

    .stilo-detail-prices .pd-old-price {
        font-size: 17px;
    }

}



/* STILO FINAL PRICE V232 */

.stilo-detail-prices .pd-old-price {
    color: #dc2626 !important;
    text-decoration: line-through !important;
    font-weight: 600 !important;
}

.stilo-detail-prices .pd-price {
    color: #16a34a !important;
    font-weight: 800 !important;
}

.stilo-detail-prices .stilo-price-discount {
    background: #16a34a !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 5px !important;
    font-weight: 800 !important;
    padding: 5px 9px;
}





/* STILO MOBILE PRICE V236 */

@media (max-width: 767px) {

    .pd-info .stilo-detail-prices {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        min-width: 0;
        gap: 5px;
    }

    .pd-info .stilo-price-mobile-moved {
        margin: 10px 0 14px !important;
        padding: 0 !important;
    }

    .pd-info .stilo-detail-prices .pd-price {
        display: block !important;
        visibility: visible !important;
        color: #16a34a !important;
        font-size: 30px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
    }

    .pd-info .stilo-detail-prices .pd-old-price {
        color: #dc2626 !important;
        text-decoration: line-through !important;
        font-size: 17px !important;
    }

    .pd-info .stilo-detail-prices .stilo-price-discount {
        background: #16a34a !important;
        color: #ffffff !important;
        font-weight: 800 !important;
    }

}



/* STILO MOBILE PRICE ROW V237 */

@media (max-width: 767px) {

    .pd-info .stilo-detail-prices {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 9px !important;
        width: 100%;
        min-width: 0;
        margin: 10px 0 14px !important;
    }

    .pd-info .stilo-detail-old-row {
        display: contents !important;
    }

    .pd-info .stilo-detail-prices .pd-old-price {
        order: 1;
        color: #dc2626 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-decoration: line-through !important;
        white-space: nowrap;
        margin: 0 !important;
    }

    .pd-info .stilo-detail-prices .pd-price {
        order: 2;
        color: #16a34a !important;
        font-size: 24px !important;
        font-weight: 800 !important;
        white-space: nowrap;
        margin: 0 !important;
        line-height: 1.2 !important;
    }

    .pd-info .stilo-detail-prices .stilo-price-discount {
        order: 3;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: #16a34a !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        border-radius: 5px !important;
        padding: 5px 7px !important;
        white-space: nowrap;
        margin: 0 !important;
        flex-shrink: 0;
    }

}

@media (max-width: 380px) {

    .pd-info .stilo-detail-prices {
        gap: 6px !important;
    }

    .pd-info .stilo-detail-prices .pd-old-price {
        font-size: 13px !important;
    }

    .pd-info .stilo-detail-prices .pd-price {
        font-size: 21px !important;
    }

    .pd-info .stilo-detail-prices .stilo-price-discount {
        font-size: 11px !important;
        padding: 4px 6px !important;
    }

}

