/* =============================================================
   PDP Overrides
   Loaded after styles-m.css but BEFORE styles-l.css
   Must use !important to defeat both.
   ============================================================= */

/* --- Price / SKU reordering --- */
.product-info-main .product-info-price {
    display: flex ;
    flex-direction: column ;
    width: 100% ;
    border-bottom: none ;
    color: inherit ;
}

.product-info-main .product-info-stock-sku {
    order: -1 ;
    float: none ;
    display: block ;
    padding-bottom: 0 ;
    margin-bottom: 6px ;
}

.product-info-main .stock.available {
    display: none ;
}

/* --- Product image — no sticky, contained --- */
.catalog-product-view .product.media {
    position: static ;
    max-width: 100% ;
    overflow: hidden ;
    box-sizing: border-box ;
}

.catalog-product-view .product.media .gallery-placeholder__image {
    max-width: 100% ;
    height: auto ;
}

.catalog-product-view .product.media .fotorama__stage {
    max-width: 100% ;
}

/* Hide Fotorama thumbnails/nav — show only main image */
.catalog-product-view .product.media .fotorama__nav-wrap,
.catalog-product-view .product.media .fotorama__nav,
.catalog-product-view .product.media .fotorama__thumb-border {
    display: none ;
}

/* =============================================================
   CUSTOMER REVIEWS — complete section styling
   ============================================================= */

/* --- Section heading: "CUSTOMER REVIEWS" --- */
.catalog-product-view .wds-reviews-section__heading {
    font-family: 'Lato', sans-serif ;
    font-size: 24px ;
    font-weight: 700 ;
    color: #1a1a2e ;
    text-transform: uppercase ;
    margin: 0 0 24px ;
    padding-bottom: 12px ;
}

/* --- SHARE YOUR THOUGHTS CTA box --- */
.catalog-product-view .wds-reviews-section__cta {
    background: #f8f9fa ;
    border: 1px solid #e0e0e0 ;
    border-radius: 5px ;
    padding: 24px 28px ;
    margin-bottom: 32px ;
}

.catalog-product-view .wds-reviews-section__cta-title {
    font-family: 'Lato', sans-serif ;
    font-size: 18px ;
    font-weight: 700 ;
    color: #1a1a2e ;
    text-transform: uppercase ;
    margin: 0 0 6px ;
}

.catalog-product-view .wds-reviews-section__cta-text {
    font-size: 14px ;
    color: #7f8c8d ;
    margin: 0 0 14px ;
}

/* --- "WHAT PEOPLE ARE SAYING..." subheading --- */
.catalog-product-view .wds-reviews-section__subheading {
    font-family: 'Lato', sans-serif ;
    font-size: 20px ;
    font-weight: 300 ;
    color: #7f8c8d ;
    text-transform: uppercase ;
    margin: 0 0 20px ;
}

/* --- Individual review items (AJAX-loaded) --- */
.catalog-product-view .wds-review-list__items {
    list-style: none ;
    margin: 0 ;
    padding: 0 ;
}

.catalog-product-view .wds-review-list__item {
    display: flex ;
    gap: 24px ;
    padding: 16px 0 ;
    border-bottom: 1px solid #e0e0e0 ;
}

.catalog-product-view .wds-review-list__item:last-child {
    border-bottom: none ;
}

.catalog-product-view .wds-review-list__author {
    flex: 0 0 100px ;
    font-size: 13px ;
    color: #c0392b ;
    font-weight: 700 ;
}

.catalog-product-view .wds-review-list__by {
    display: block ;
    font-weight: 400 ;
    color: #7f8c8d ;
    font-size: 12px ;
}

.catalog-product-view .wds-review-list__content {
    flex: 1 ;
}

.catalog-product-view .wds-review-list__ratings {
    margin-bottom: 4px ;
    display: flex ;
    align-items: center ;
    gap: 8px ;
}

.catalog-product-view .wds-review-list__title {
    font-size: 15px ;
    font-weight: 700 ;
    color: #1a1a2e ;
    margin-bottom: 2px ;
    display: inline ;
    margin-left: 8px ;
}

.catalog-product-view .wds-review-list__detail {
    font-size: 13px ;
    color: #666666 ;
    line-height: 1.5 ;
    margin-top: 4px ;
}

/* =============================================================
   WRITE YOUR OWN REVIEW — custom template (wds-review-form)
   Two-row layout: star labels on top, radio buttons below.
   Colors matched to live site (lidstyles.com).
   ============================================================= */

/* Wrapper — override Luma .block.review-add defaults */
.wds-review-form.block.review-add {
    padding: 32px 0 48px ;
    border-top: 2px solid #e0e0e0 ;
    margin: 0 ;
}

/* Hide Luma's default legend */
.wds-review-form .review-legend {
    display: none ;
}

/* Remove Luma fieldset borders/padding */
.wds-review-form .review-fieldset {
    border: none ;
    padding: 0 ;
    margin: 0 ;
}

/* "WRITE YOUR OWN REVIEW" */
.wds-review-form__heading {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #c0392b;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

/* "YOU'RE REVIEWING: / PRODUCT NAME" */
.wds-review-form__product-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* "YOUR RATING *" */
.wds-review-form__rating-label {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.wds-review-form__required {
    color: #ad2a24;
}

/* Rating section */
.wds-review-form__rating-section {
    margin-bottom: 28px;
}

/* Rating table — force block so rows stack vertically */
.wds-review-form__rating-table,
.wds-review-form #product-review-table {
    display: block ;
    margin-top: 8px;
    width: auto;
}

/* Row 1: Star labels — top border + sides */
.wds-review-form__label-row {
    display: flex ;
    flex-wrap: nowrap;
    border: 1px solid #d0d0d0;
    border-bottom: none;
}

/* Row 2: Radio buttons — bottom border + sides */
.wds-review-form__radio-row {
    display: flex ;
    flex-wrap: nowrap;
    border: 1px solid #d0d0d0;
    border-top: 1px solid #d0d0d0;
}

/* Each label cell */
.wds-review-form__label-cell {
    flex: 0 0 100px;
    width: 100px;
    text-align: center;
    padding: 10px 0;
    border-right: 1px solid #d0d0d0;
    background: #ffffff;
}

.wds-review-form__label-cell:last-child {
    border-right: none;
}

/* Star label text */
.wds-review-form__star-value {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

/* Each radio cell */
.wds-review-form__radio-cell {
    flex: 0 0 100px;
    width: 100px;
    text-align: center;
    padding: 10px 0;
    border-right: 1px solid #d0d0d0;
    background: #ffffff;
}

.wds-review-form__radio-cell:last-child {
    border-right: none;
}

/* Radio button — reset ALL Luma .radio base styles */
.wds-review-form__radio-cell input[type="radio"],
.wds-review-form__radio-cell input.radio {
    -webkit-appearance: radio ;
    -moz-appearance: radio ;
    appearance: radio ;
    display: inline-block ;
    position: static ;
    width: 16px ;
    height: 16px ;
    margin: 0 ;
    padding: 0 ;
    opacity: 1 ;
    clip: auto ;
    overflow: visible ;
    cursor: pointer;
    vertical-align: middle;
}

/* --- Form fields --- */
.wds-review-form__field {
    margin-bottom: 18px;
}

.wds-review-form__label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.wds-review-form__input {
    width: 100%;
    max-width: 420px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    box-sizing: border-box;
    color: #333333;
}

.wds-review-form__textarea {
    width: 100%;
    max-width: 520px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    min-height: 110px;
    resize: vertical;
    box-sizing: border-box;
    color: #333333;
}

.wds-review-form__input:focus,
.wds-review-form__textarea:focus {
    border-color: #999999;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

/* --- Submit button — red matching live site --- */
.wds-review-form__actions {
    margin-top: 28px;
}

.wds-review-form__submit {
    background: #e30613;
    border: none;
    color: #ffffff;
    padding: 14px 40px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.15s ease;
}

.wds-review-form__submit:hover {
    background: #c0050f;
}

.wds-review-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
