/* ==========================================================================
   FONTS (ARCHIVO)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700&display=swap');

/* ==========================================================================
   PRODUCT DETAILS - HIGH IMPACT LAYOUT
   ========================================================================== */
.dc-product-page.dc-inner-page {
    /* Override global inner page padding if necessary to allow full bleed */
    padding-left: 0 !important;
    background-color: var(--dc-beige-bg);
}

.dc-product-impact-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    /* Move main content below navbar */
    padding-top: 0;
    background-color: var(--dc-beige-bg, #EAE5D5);
    /* Match global beige background */
}

/* ==========================================================================
   LEFT COLUMN: SCROLLING GALLERY
   ========================================================================== */
.dc-product-gallery-scroll {
    width: 65%;
    display: flex;
    flex-direction: column;
    /* Optional: add scroll snap for a more deliberate feel */
    scroll-snap-type: y proximity;
}

.dc-gallery-item {
    width: 105%;
    height: auto;
    scroll-snap-align: start;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}

/* Allow the first image to underlap the sticky panel to reveal its radius */
.dc-product-gallery-scroll .dc-gallery-item.full-width:first-child {
    width: 105%;
}

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

.dc-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    /* Frames the face and torso perfectly */
    display: block;
}

/* Masonry Collage for Details */
.dc-product-collage {
    display: flex;
    gap: 5px;
    width: 105%;
    /* To match the carousel underlap */
    margin: 0;
    padding: 0;
    position: relative;
    /* Drives the absolute right column */
}

.dc-collage-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dc-collage-left {
    flex: 0 0 calc(50% - 2.5px);
}

.dc-collage-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(50% - 2.5px);
}

.dc-collage-right .dc-collage-item:last-child {
    flex-grow: 1;
    height: 0;
    min-height: 0;
}

.dc-collage-right .dc-collage-item:last-child img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.dc-collage-item {
    width: 100%;
}

.dc-collage-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/* ==========================================================================
   RIGHT COLUMN: STICKY INFO PANEL
   ========================================================================== */
.dc-product-info-sticky {
    width: 35%;
    position: sticky;
    top: 0;
    /* Align to the very top */
    height: 100vh;
    background-color: var(--dc-beige-light);
    /* Match sticky navbar desktop color */
    border-radius: 40px 0 0 40px;
    /* High impact curved border */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 10;
    overflow-y: auto;
    /* Allow scrolling within the panel if content is too long */
    /* Hide scrollbar for clean look */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.dc-product-info-sticky::-webkit-scrollbar {
    display: none;
}

.dc-info-inner {
    padding: 60px 50px 80px 50px;
    display: flex;
    flex-direction: column;
}

/* Typography & Header */
.dc-back-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    color: var(--dc-text-gray);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 40px;
    padding: 0;
    transition: color 0.3s ease;
    cursor: pointer;
}

.dc-back-btn:hover {
    color: var(--dc-text-dark);
}

.dc-back-btn i {
    margin-right: 8px;
}

.dc-collection-name {
    display: block;
    color: #ff9100;
    /* Base for Collection */
    font-size: 14px;
    margin-bottom: 5px;
}

.dc-collection-name strong {
    font-weight: 800;
}

.dc-collection-name span {
    font-weight: 400;
    color: #d89f78;
    /* Lighter shade if needed, but mockup looks similar */
}

.dc-product-title {
    font-family: 'Archivo', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--dc-text-dark);
    line-height: 1.1;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.dc-product-edition {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #555;
    margin-bottom: 15px;
}

.dc-product-fit-desc {
    font-size: 13px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.dc-product-fit-desc em {
    font-style: italic;
    font-weight: 600;
}

.dc-product-fit-desc span {
    font-style: italic;
}

.dc-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
}

.dc-price {
    font-family: 'Archivo', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dc-text-dark);
    display: flex;
    align-items: baseline;
}

.dc-price sub {
    font-size: 14px;
    font-weight: 800;
    margin-left: 2px;
}

.dc-old-price {
    font-size: 18px;
    color: var(--dc-text-gray);
    text-decoration: line-through;
    display: flex;
    align-items: baseline;
}

.dc-old-price sub {
    font-size: 12px;
    margin-left: 2px;
}

/* ==========================================================================
   DIVIDERS & COLOR SECTION
   ========================================================================== */
.dc-divider {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}

.dc-color-section {
    margin: 10px 0;
}

.dc-color-label {
    font-size: 12px;
    color: #555;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.dc-color-label strong {
    color: var(--dc-text-dark);
    text-transform: none;
    font-size: 14px;
}

.dc-color-swatch-wrap {
    display: flex;
    align-items: center;
}

.dc-color-triangle {
    width: 25px;
    height: 23px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   FORM & ACTIONS
   ========================================================================== */
.dc-product-form {
    margin-bottom: 40px;
}

/* Size Selector */
.dc-size-selector-wrap {
    margin-bottom: 5px;
    padding: 5px 0;
}

.dc-size-options {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.dc-size-btn {
    background: transparent;
    border: none;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.dc-size-btn:hover {
    color: var(--dc-text-dark);
}

.dc-size-btn.active {
    color: #ff9100;
    font-size: 24px;
    font-weight: 800;
    border: none;
    background: transparent;
}

/* Main Actions */
.dc-product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.dc-btn-comprar {
    flex-grow: 1;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 40px;
    /* Big rounded pill */
    height: 65px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.dc-btn-comprar:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.dc-qty-wishlist-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 15px;
}

.dc-btn-wishlist-text {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--dc-text-dark, #333);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: opacity 0.3s ease;
}

.dc-btn-wishlist-text .dc-wishlist-icon {
    transition: filter 0.3s ease, transform 0.2s ease;
    filter: grayscale(100%) brightness(1.2) opacity(0.6);
    /* Gray when inactive */
}

.dc-btn-wishlist-text.active .dc-wishlist-icon {
    filter: none;
    /* Native orange (#ff9100) when active */
}

.dc-btn-wishlist-text:hover {
    opacity: 0.8;
}

.dc-qty-wishlist-row .dc-qty-selector {
    border: none;
    border-bottom: 2px solid transparent;
}

.dc-qty-wishlist-row .dc-qty-selector button {
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 600;
    color: var(--dc-text-dark, #333);
    padding: 0 10px;
    cursor: pointer;
}

.dc-qty-wishlist-row .dc-qty-selector input {
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 700;
    width: 40px;
    text-align: center;
    color: var(--dc-text-dark, #333);
}

/* Express Checkout */
.dc-express-checkout {
    text-align: center;
    margin-top: 20px;
}

.dc-express-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.dc-pay-btn {
    height: 55px;
    flex: 1;
    border: 1px solid #1a1a1a;
    border-radius: 40px;
    background: transparent;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dc-pay-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.dc-paypal-note {
    font-size: 11px;
    color: #444;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: left;
}

/* ==========================================================================
   ACCORDIONS
   ========================================================================== */
.dc-product-accordions {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dc-accordion {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dc-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--dc-text-dark);
    cursor: pointer;
    list-style: none;
    /* Hide default arrow */
}

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

.dc-accordion summary .dc-accordion-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.dc-accordion[open] summary .dc-accordion-icon {
    transform: rotate(180deg);
    /* Rotate arrow to point up */
}

.dc-accordion-content {
    padding-bottom: 25px;
    color: var(--dc-text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.dc-feature-list,
.dc-info-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.dc-feature-list li,
.dc-info-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.dc-feature-list i {
    width: 20px;
    margin-right: 10px;
    color: var(--dc-text-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
    .dc-product-title {
        font-size: 36px;
    }

    .dc-info-inner {
        padding: 40px 30px;
    }
}

@media (max-width: 991px) {

    .dc-product-page.dc-inner-page {
        padding-top: 0 !important;
    }

    /* Stack layout on smaller screens */
    .dc-product-impact-layout {
        flex-direction: column;
        overflow-x: hidden;
    }

    .dc-product-gallery-scroll {
        width: 100%;
        overflow-x: hidden;
    }

    .dc-product-info-sticky {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        border-radius: 40px 40px 0 0;
        /* Adjust curve for stacked layout */
        margin-top: -40px;
        /* Overlap the gallery slightly */
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    }

    .dc-info-inner {
        padding: 40px 25px;
    }

    .dc-product-title {
        font-size: 31px;
        line-height: 1.06;
        letter-spacing: -0.8px;
    }

    .dc-product-edition {
        font-size: 17px;
        margin-bottom: 12px;
    }
}
