/* ==========================================================
   PRODUCT DETAILS PAGE
========================================================== */

.product-details-section {
    padding: 120px 0 120px;
    background: #f9f9f8;
    overflow: hidden;
}

.product-details-row {
    align-items: flex-start;
}

/* ==========================================================
   BREADCRUMB
========================================================== */

.product-breadcrumb-wrapper {
    margin-bottom: 32px;
}

.product-breadcrumb {
    gap: 12px;
    flex-wrap: wrap;
}

.product-breadcrumb li,
.product-breadcrumb li a {
    color: #7F7F7F;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: 0.3s ease;
    text-transform: uppercase;
}

.product-breadcrumb li a:hover {
    color: #1a1c1c;
}

.product-breadcrumb li.active {
    color: #1a1c1c;
}

/* ==========================================================
   PRODUCT GALLERY
========================================================== */

.product-gallery-wrapper {
    position: relative;
}

.product-gallery-img {
    width: 100%;
    overflow: hidden;
    border-radius: 0px;
    background-color: #eceae6;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.product-gallery-img img{
    width: 100%;
}

.product-gallery-main {
    height: 760px;
    background-image: url('../images/product-main.jpg');
}

.product-gallery-thumb-one,
.product-gallery-thumb-two {
    height: 132px;
}

.product-gallery-thumb-one {
    background-image: url('../images/product-thumb-1.jpg');
}

.product-gallery-thumb-two {
    background-image: url('../images/product-thumb-2.jpg');
}

/* ==========================================================
   PRODUCT CONTENT
========================================================== */

.product-content-wrapper {
    /* max-width: 480px; */
    margin-left: 50px;
    position: relative;
    /* top: 120px; */
}

.product-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #1a1c1c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-title {
    margin-bottom: 20px;
    color: #1a1c1c;

    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
}

.product-price-wrapper {
    margin-bottom: 28px;
}

.product-price {
    color: #444844;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.product-tax {
    color: #777;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.product-description {
    margin-bottom: 42px;
    color: #444844;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
}

/* ==========================================================
   PRODUCT OPTIONS
========================================================== */

.product-option-block {
    margin-bottom: 32px;
}

.product-option-title {
    color: #444844;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;text-transform: uppercase;
}

.product-option-value,
.product-size-guide {
    color: #444844;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;text-transform: uppercase;
}

.product-size-guide:hover {
    color: #1a1c1c;
}

.product-color-wrapper {
    flex-wrap: wrap;
}

.product-color {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: #5c5c5c;
    transition: 0.3s ease;
}

.product-color.beige {
    background: #c4b8a6;
}

.product-color.black {
    background: #111;
}

.product-color.active {
    border-color: #1a1c1c;
    box-shadow: 0 0 0 3px #d9d9d9;
}

.product-size-wrapper {
    flex-wrap: wrap;
}

.product-size-btn {
    min-width: 56px;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d7d7d7;
    border-radius: 0px;
    background: transparent;
    color: #1a1c1c;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

.product-size-btn.active,
.product-size-btn:hover {
    background: #1a1c1c;
    border-color: #1a1c1c;
    color: #fff;
}

/* ==========================================================
   VARIANT RADIOS (product tags)
========================================================== */

.product-variant-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #d7d7d7;
    border-radius: 0px;
    background: transparent;
    color: #1a1c1c;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.product-variant-radio:hover {
    border-color: #1a1c1c;
}

/* attr-selected is what the unify package stamps on the default variant's
   <label>, so it is present in the server HTML and highlights the right
   option on first paint. :has(input:checked) then keeps the highlight in
   sync once variant-tags.js takes over the native checked state. */
.product-variant-radio[attr-selected="true"],
.product-variant-radio:has(input:checked) {
    background: #1a1c1c;
    border-color: #1a1c1c;
    color: #fff;
}

.product-variant-radio input[type="radio"] {
    accent-color: #1a1c1c;
    margin: 0;
}

.product-variant-radio:has(input:checked) input[type="radio"] {
    accent-color: #fff;
}

.product-variant-price {
    opacity: 0.75;
}

/* ==========================================================
   QUANTITY
========================================================== */

.product-quantity-wrapper {
    width: 170px;
    height: 56px;
    padding: 0 18px;
    border: 1px solid #d7d7d7;
    border-radius: 0px;
    background: #fff;
}

.qty-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #1a1c1c;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.qty-count {
    color: #1a1c1c;
    font-size: 16px;
    font-weight: 600;
}

/* ==========================================================
   VARIANT SELECT
   The purchase-option dropdown beside Quantity. Left unstyled it renders as
   the raw OS control, which reads as an unfinished form field next to the
   flat quantity box. Matched to that box — same height, same border — so the
   two read as one pair of controls.

   appearance:none removes the native arrow along with the chrome, so the
   chevron is drawn as an inlined background SVG (no extra request).
========================================================== */
/* The title sits directly above the control, as Quantity's does. */
.product-variant-block .product-option-title {
    margin-bottom: 12px;
}

.product-variant-block select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 320px;
    height: 56px;
    padding: 0 44px 0 18px;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231A1C1C' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    color: #1a1c1c;
    font-size: 16px;
    font-weight: 600;
    line-height: 56px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-variant-block select:hover,
.product-variant-block select:focus {
    outline: none;
    border-color: #1a1c1c;
}

/* ==========================================================
   BUTTONS
========================================================== */

.product-cta-wrapper {
    margin: 42px 0;
}

.product-primary-btn,
.product-secondary-btn {
    width: 100%;
    height: 60px;
    border-radius: 0px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.product-primary-btn {
    border: 1px solid #1a1c1c;
    background: #1a1c1c;
    color: #fff;
}

.product-primary-btn:hover {
    background: transparent;
    color: #1a1c1c;
}

.product-secondary-btn {
    border: 1px solid #d7d7d7;
    background: transparent;
    color: #1a1c1c;
}

.product-secondary-btn:hover {
    border-color: #1a1c1c;
    background: #1a1c1c;
    color: #fff;
}

/* ==========================================================
   PRODUCT INFO
========================================================== */

.product-info-wrapper {
    padding-top: 24px;
    border-top: 1px solid #e4e4e4;
}

.product-info-item {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    
}

.product-info-title {
    margin-bottom: 10px;
    color: #1a1c1c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;text-transform: uppercase;
}

.product-info-text {
    margin-bottom: 0;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    width: 230px;
}

/* ==========================================================
   RELATED PRODUCTS
========================================================== */

.related-products-section {
    padding: 0 0 100px;
    background: #f9f9f8;
}

.section-heading-wrapper {
    margin-bottom: 20px;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 24px;
}

.section-heading {
    color: #1a1c1c;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.section-link {
    color: #1a1c1c;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.section-link:hover {
    opacity: 0.7;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1199px) {

    .product-title {
        font-size: 46px;
    }

    .product-gallery-main {
        height: 680px;
    }
}

@media (max-width: 991px) {

    .product-details-section {
        padding: 40px 0 80px;
    }

    .product-content-wrapper {
        max-width: 100%;
        position: static;
    }

    .product-title {
        font-size: 42px;
    }

    .product-gallery-main {
        height: 520px;
    }

    .related-products-section {
        padding-bottom: 80px;
    }

    .product-details-section.mt-nav{margin-top: 91px;}
    .product-breadcrumb-wrapper{margin-bottom: 20px;}
}

@media (max-width: 767px) {

    .product-details-section {
        padding: 30px 0 60px;
    }

    .product-breadcrumb-wrapper {
        margin-bottom: 30px;
    }

    .product-title {
        font-size: 34px;
    }

    .product-price {
        font-size: 24px;
    }

    .product-description {
        font-size: 15px;
    }

    .product-gallery-main {
        height: 420px;
        border-radius: 16px;
    }

    .product-gallery-thumb-one,
    .product-gallery-thumb-two {
        height: 180px;
        border-radius: 16px;
    }

    .product-quantity-wrapper {
        width: 100%;
        max-width: 170px;
    }

    .section-heading {
        font-size: 30px;
    }

    .section-heading-wrapper {
        gap: 16px;
        flex-direction: column;
        align-items: flex-start !important;
    }
}

@media (max-width: 575px) {

    .product-title {
        font-size: 28px;
    }

    .product-gallery-main {
        height: 340px;
    }

    .product-gallery-thumb-one,
    .product-gallery-thumb-two {
        height: 140px;
    }

    .product-primary-btn,
    .product-secondary-btn {
        height: 54px;
    }
}
/* Selected variant — native :checked on the hidden radio, so no JS and no
   class toggling. Matches what .product-size-btn.active looked like. */
.product-size-btn:has(input:checked) {
    background: var(--color-text, #16181d);
    color: #fff;
    border-color: var(--color-text, #16181d);
}
