/* Depurarte Single Product Page Styles - 1:1 Pixel Match with Design Spec */

html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
}

.depurarte-single-product-page {
    background: #F8F5F0;
    color: #3A2A3F;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    padding: 36px 0 64px 0;
    min-height: 80vh;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.depurarte-container {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Breadcrumbs */
.depurarte-product-breadcrumbs {
    font-size: 12px;
    color: var(--text-muted, #7A6A7E);
    margin-bottom: 22px;
}

.depurarte-product-breadcrumbs a {
    color: var(--text-muted, #7A6A7E);
    text-decoration: none;
    transition: color 0.16s ease;
}

.depurarte-product-breadcrumbs a:hover {
    color: var(--oro-antiguo, #D0A761);
}

.depurarte-crumb-sep {
    margin: 0 6px;
    color: rgba(122, 106, 126, 0.4);
}

.depurarte-crumb-current {
    color: #3A2A3F;
    font-weight: 500;
}

/* Main Grid Layout */
.depurarte-product-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 64px;
}

/* Left Column: Gallery */
.depurarte-main-media-wrap {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-default, #E5DCCB);
    background: var(--marfil-200, #EFE7D6);
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 16px rgba(18, 3, 27, 0.05);
}

.depurarte-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.22s ease;
}

.depurarte-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.depurarte-thumb-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-default, #E5DCCB);
    height: 78px;
    background: #EFE7D6;
    transition: all 0.2s ease;
}

.depurarte-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.depurarte-thumb-item:hover,
.depurarte-thumb-item.is-active {
    border-color: var(--oro-antiguo, #D0A761);
    box-shadow: 0 2px 8px rgba(208, 167, 97, 0.3);
    transform: translateY(-1px);
}

/* Right Column: Info & Purchase */
.depurarte-product-category-badge {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--purpura-loto, #572760);
    font-weight: 600;
}

.depurarte-product-title {
    font-family: 'Cormorant Garamond', 'Cinzel Decorative', serif;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--violeta-profundo, #340E49);
    margin: 12px 0;
}

.depurarte-product-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.depurarte-stars {
    color: var(--oro-antiguo, #D0A761);
    letter-spacing: .16em;
    font-size: 13px;
}

.depurarte-opinions-count {
    font-size: 12px;
    color: var(--text-muted, #7A6A7E);
}

.depurarte-product-price-row {
    font-size: 26px;
    font-weight: 600;
    color: #3A2A3F;
    margin-bottom: 6px;
}

.depurarte-product-price-row ins {
    text-decoration: none;
    color: #3A2A3F;
}

.depurarte-product-price-row del {
    font-size: 18px;
    color: #7A6A7E;
    margin-right: 8px;
}

.depurarte-product-tax-legal {
    font-size: 12px;
    color: var(--text-muted, #7A6A7E);
    margin-bottom: 24px;
}

.depurarte-product-short-desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-body, #3A2A3F);
    margin-bottom: 28px;
    max-width: 50ch;
}

/* Intención Pills */
.depurarte-intention-selector {
    margin-bottom: 24px;
}

.depurarte-intention-heading {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--purpura-loto, #572760);
    margin-bottom: 10px;
    font-weight: 600;
}

.depurarte-intention-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.depurarte-intent-btn {
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    border: 1px solid #CDBFA6;
    background: #FFFFFF;
    color: #3A2A3F;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-weight: 500;
    transition: all 0.2s ease;
}

.depurarte-intent-btn:hover {
    border-color: #773684;
}

.depurarte-intent-btn.is-active {
    border-color: #572760;
    background: #572760;
    color: #F8F3E8;
    box-shadow: 0 4px 12px rgba(87, 39, 96, 0.25);
}

/* Quantity & Add to Cart Row */
.depurarte-purchase-row {
    margin-bottom: 18px;
}

.depurarte-cart-form {
    display: flex;
    gap: 14px;
    align-items: center;
}

.depurarte-qty-pill-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-strong, #CDBFA6);
    border-radius: 999px;
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.depurarte-qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    font-size: 16px;
    color: var(--purpura-loto, #572760);
    user-select: none;
    transition: background 0.16s ease;
}

.depurarte-qty-btn:hover {
    background: rgba(87, 39, 96, 0.06);
}

.depurarte-qty-num {
    min-width: 28px;
    width: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: transparent;
    outline: none;
    color: #3A2A3F;

    /* Hide Chrome & Firefox spin buttons */
    appearance: textfield;
    -moz-appearance: textfield;
}

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

.depurarte-btn-add-cart {
    flex: 1;
    background: var(--violeta-profundo, #340E49) !important;
    color: #F8F3E8 !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 999px !important;
    font-family: var(--font-body, 'Montserrat', sans-serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(52, 14, 73, 0.28) !important;
    transition: all 0.2s ease !important;
    text-align: center;
}

.depurarte-btn-add-cart:hover {
    background: #1F082C !important;
    box-shadow: 0 6px 20px rgba(52, 14, 73, 0.38) !important;
    transform: translateY(-1px);
}

/* Stock Note */
.depurarte-stock-craft-note {
    font-size: 12px;
    color: var(--text-muted, #7A6A7E);
    margin-bottom: 32px;
}

/* Accordion Details */
.depurarte-product-details-accordion {
    border-top: 1px solid var(--border-default, #E5DCCB);
}

.depurarte-accordion-item {
    border-bottom: 1px solid var(--border-default, #E5DCCB);
    padding: 16px 0;
}

.depurarte-accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--violeta-profundo, #340E49);
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.depurarte-accordion-icon {
    font-size: 16px;
    color: var(--oro-antiguo, #D0A761);
    font-weight: 400;
}

.depurarte-accordion-content {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted, #7A6A7E);
}

.depurarte-accordion-content p {
    margin: 0;
}

/* Cross-Sell Section: "Completa tu ritual" */
.depurarte-cross-sell-section {
    margin-top: 64px;
}

.depurarte-cross-sell-title {
    font-family: 'Cormorant Garamond', 'Cinzel Decorative', serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--violeta-profundo, #340E49);
    margin: 0 0 22px 0;
}

.depurarte-cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.depurarte-cross-sell-card {
    cursor: pointer;
    display: flex;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-default, #E5DCCB);
    border-radius: 18px;
    padding: 14px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(18, 3, 27, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.depurarte-cross-sell-card:hover {
    box-shadow: 0 10px 24px rgba(52, 14, 73, 0.12);
    border-color: var(--oro-antiguo, #D0A761);
    transform: translateY(-2px);
}

.depurarte-cross-sell-thumb {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #EFE7D6;
}

.depurarte-cross-sell-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.depurarte-cross-sell-name {
    font-family: 'Cormorant Garamond', 'Cinzel Decorative', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--violeta-profundo, #340E49);
    line-height: 1.2;
}

.depurarte-cross-sell-cat {
    font-size: 12px;
    color: var(--text-muted, #7A6A7E);
    margin: 4px 0 6px 0;
}

.depurarte-cross-sell-price {
    font-size: 14px;
    font-weight: 600;
    color: #3A2A3F;
}

/* Trust Bar Section */
.depurarte-trust-bar-section {
    margin-top: 56px;
}

.depurarte-trust-bar-inner {
    background: #FDFBF7;
    border: 1px solid var(--border-default, #E5DCCB);
    border-radius: 18px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
}

.depurarte-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--violeta-profundo, #340E49);
    letter-spacing: .02em;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .depurarte-product-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .depurarte-product-title {
        font-size: 32px;
    }

    .depurarte-cross-sell-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .depurarte-trust-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
}
