/* Amazigh Local Ryviu Reviews - Frontend */
:root {
    --aslr-brown: #9f4f1c;
    --aslr-orange: #c46a2b;
    --aslr-gold: #ffb800;
    --aslr-cream: #faf7f2;
    --aslr-border: #e8e0d6;
    --aslr-text: #222222;
    --aslr-muted: #777777;
}

/* Same wrapper logic as Ryviu-style widgets */
.lt-block-reviews.aslr-reviews-section {
    max-width: 1200px;
    margin: 55px auto 45px;
    float: none;
    padding: 0 15px;
    clear: both;
}

.review-widget.aslr-single-rating,
.review-widget.aslr-loop-rating {
    margin-bottom: 10px;
}

.aslr-single-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 24px;
    margin: 8px 0 14px;
}

.aslr-loop-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    margin: 6px 0 8px;
}

.aslr-rating-link {
    color: var(--aslr-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.aslr-rating-link:hover {
    color: var(--aslr-brown);
}

.aslr-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    letter-spacing: 1px;
    color: #d9d9d9;
    font-size: 15px;
    vertical-align: middle;
}

.aslr-stars-fill {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    white-space: nowrap;
    color: var(--aslr-gold);
}

.aslr-widget.ryviu-widget {
    width: 100%;
    min-width: 100%;
    min-height: 10px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--aslr-border);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.aslr-widget-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 26px;
}

.aslr-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--aslr-cream);
    border: 1px solid var(--aslr-border);
    color: var(--aslr-brown);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.aslr-widget-header h2 {
    margin: 0;
    color: var(--aslr-text);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    font-weight: 900;
}

.aslr-widget-header p {
    margin: 10px 0 0;
    color: var(--aslr-muted);
    font-size: 16px;
}

.aslr-summary-card {
    min-width: 185px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--aslr-border);
    background: var(--aslr-cream);
    text-align: center;
}

.aslr-summary-card strong {
    display: block;
    color: var(--aslr-text);
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 8px;
}

.aslr-summary-card span:last-child {
    display: block;
    margin-top: 8px;
    color: var(--aslr-muted);
    font-size: 13px;
    font-weight: 700;
}

.aslr-rating-summary {
    display: grid;
    gap: 9px;
    max-width: 620px;
    padding: 18px;
    border-radius: 22px;
    background: #fdfaf6;
    border: 1px solid var(--aslr-border);
    margin-bottom: 28px;
}

.aslr-bar-row {
    display: grid;
    grid-template-columns: 60px 1fr 34px;
    gap: 12px;
    align-items: center;
    color: var(--aslr-muted);
    font-size: 13px;
    font-weight: 700;
}

.aslr-bar {
    height: 8px;
    background: #ece3da;
    border-radius: 999px;
    overflow: hidden;
}

.aslr-bar i {
    display: block;
    height: 100%;
    background: var(--aslr-gold);
    border-radius: inherit;
}

.aslr-bar-row b {
    color: var(--aslr-text);
    text-align: right;
}

.aslr-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 18px;
}

.aslr-review-card {
    padding: 20px;
    border: 1px solid var(--aslr-border);
    border-radius: 22px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.aslr-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07);
    border-color: rgba(196, 106, 43, 0.38);
}

.aslr-review-top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.aslr-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--aslr-orange), var(--aslr-brown));
    font-weight: 900;
    text-transform: uppercase;
}

.aslr-review-top strong,
.aslr-review-top span {
    display: block;
}

.aslr-review-top strong {
    color: var(--aslr-text);
    font-size: 15px;
    font-weight: 900;
}

.aslr-review-top span {
    color: var(--aslr-muted);
    font-size: 12px;
    margin-top: 3px;
}

.aslr-review-stars {
    margin-bottom: 8px;
}

.aslr-verified {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #216e35;
    background: #eaf7ee;
    font-size: 12px;
    font-weight: 800;
}

.aslr-review-card h3 {
    margin: 2px 0 8px;
    color: var(--aslr-text);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
}

.aslr-review-text,
.aslr-review-text p {
    color: #444;
    font-size: 14px;
    line-height: 1.7;
}

.aslr-review-text p:last-child {
    margin-bottom: 0;
}

.aslr-empty-widget {
    padding: 28px;
    text-align: center;
    border-radius: 22px;
    background: var(--aslr-cream);
    border: 1px dashed var(--aslr-border);
}

.aslr-empty-widget h3 {
    margin: 0 0 8px;
    color: var(--aslr-text);
    font-weight: 900;
}

.aslr-empty-widget p {
    margin: 0;
    color: var(--aslr-muted);
}

/* Hide the default WooCommerce review area to avoid duplicated sections */
.woocommerce #reviews.woocommerce-Reviews {
    display: none;
}

@media (max-width: 768px) {
    .lt-block-reviews.aslr-reviews-section {
        margin: 35px auto 30px;
        padding: 0 12px;
    }

    .aslr-widget.ryviu-widget {
        padding: 18px;
        border-radius: 20px;
    }

    .aslr-widget-header {
        display: block;
    }

    .aslr-summary-card {
        margin-top: 18px;
        width: auto;
    }

    .aslr-review-grid {
        grid-template-columns: 1fr;
    }
}

/* Version 1.1 - reviews live in a tab beside Description, and no duplicate product-title rating */
.review-widget.aslr-single-rating,
.review-widget.aslr-loop-rating {
    display: none !important;
}

.woocommerce-tabs .lt-block-reviews.aslr-reviews-in-tab,
#tab-aslr_reviews .lt-block-reviews.aslr-reviews-in-tab {
    max-width: 100%;
    margin: 18px 0 0;
    padding: 0;
}

.woocommerce-tabs .aslr-reviews-in-tab .aslr-widget.ryviu-widget,
#tab-aslr_reviews .aslr-widget.ryviu-widget {
    box-shadow: none;
    border-radius: 20px;
    padding: 24px;
}

.woocommerce-tabs .aslr-widget-header h2,
#tab-aslr_reviews .aslr-widget-header h2 {
    font-size: clamp(24px, 2.4vw, 34px);
}

.woocommerce-tabs .aslr-review-grid,
#tab-aslr_reviews .aslr-review-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

@media (max-width: 768px) {
    .woocommerce-tabs .aslr-reviews-in-tab .aslr-widget.ryviu-widget,
    #tab-aslr_reviews .aslr-widget.ryviu-widget {
        padding: 16px;
    }
}

/* Version 1.2 - clear yellow stars + selectable widget designs */
.aslr-stars,
.aslr-stars * {
    box-sizing: border-box;
}

.aslr-stars {
    position: relative !important;
    display: inline-grid !important;
    grid-template-areas: "stars";
    line-height: 1 !important;
    letter-spacing: 1.5px;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px;
    color: transparent !important;
    vertical-align: middle;
}

.aslr-stars-bg,
.aslr-stars-fill {
    grid-area: stars;
    display: block !important;
    line-height: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    white-space: nowrap;
    text-shadow: none !important;
}

.aslr-stars-bg {
    color: #d7d9dd !important;
    z-index: 1;
}

.aslr-stars-fill {
    position: relative !important;
    inset: auto !important;
    z-index: 2;
    color: #ffb800 !important;
    overflow: hidden !important;
}

.aslr-summary-card .aslr-stars,
.aslr-review-stars .aslr-stars {
    font-size: 18px;
    letter-spacing: 2px;
}

.aslr-summary-card .aslr-stars-fill,
.aslr-review-stars .aslr-stars-fill,
.aslr-loop-rating .aslr-stars-fill {
    color: #ffb800 !important;
}

.aslr-summary-card .aslr-stars-bg,
.aslr-review-stars .aslr-stars-bg,
.aslr-loop-rating .aslr-stars-bg {
    color: #d7d9dd !important;
}

.aslr-design-classic .aslr-widget.ryviu-widget {
    background: #ffffff;
}

/* Version 2: Clean List */
.aslr-design-list .aslr-widget.ryviu-widget {
    border-radius: 18px;
    box-shadow: none;
    border-color: #eadfce;
}

.aslr-design-list .aslr-widget-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--aslr-border);
    padding-bottom: 18px;
}

.aslr-design-list .aslr-rating-summary {
    max-width: none;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 10px;
}

.aslr-design-list .aslr-bar-row {
    grid-template-columns: 48px 1fr 26px;
}

.aslr-design-list .aslr-review-grid {
    display: block;
}

.aslr-design-list .aslr-review-card {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: none;
}

.aslr-design-list .aslr-review-card:hover {
    transform: none;
}

.aslr-design-list .aslr-review-stars,
.aslr-design-list .aslr-verified,
.aslr-design-list .aslr-review-card h3,
.aslr-design-list .aslr-review-text {
    grid-column: 2;
}

/* Version 3: Masonry Grid */
.aslr-design-masonry .aslr-widget.ryviu-widget {
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 55%);
}

.aslr-design-masonry .aslr-review-grid {
    display: block;
    column-count: 3;
    column-gap: 18px;
}

.aslr-design-masonry .aslr-review-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 18px;
    break-inside: avoid;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,.055);
}

.aslr-design-masonry .aslr-review-card:nth-child(3n+1) {
    background: #fffdf8;
}

.aslr-design-masonry .aslr-rating-summary {
    max-width: none;
}

/* Version 4: Minimal Elegant */
.aslr-design-minimal .aslr-widget.ryviu-widget {
    padding: 8px 0 0 !important;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
}

.aslr-design-minimal .aslr-widget-header {
    padding: 0 0 18px;
    border-bottom: 1px solid var(--aslr-border);
}

.aslr-design-minimal .aslr-kicker,
.aslr-design-minimal .aslr-rating-summary {
    display: none;
}

.aslr-design-minimal .aslr-summary-card {
    min-width: 150px;
    border: 0;
    background: transparent;
    padding: 0;
}

.aslr-design-minimal .aslr-summary-card strong {
    font-size: 44px;
}

.aslr-design-minimal .aslr-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 0;
}

.aslr-design-minimal .aslr-review-card {
    border: 0;
    border-bottom: 1px solid var(--aslr-border);
    border-radius: 0;
    padding: 22px 0;
    box-shadow: none;
}

.aslr-design-minimal .aslr-review-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--aslr-border);
}

.aslr-design-minimal .aslr-avatar {
    background: #f2e8dc;
    color: var(--aslr-brown);
}

@media (max-width: 980px) {
    .aslr-design-list .aslr-rating-summary {
        grid-template-columns: 1fr;
    }
    .aslr-design-list .aslr-review-card {
        grid-template-columns: 1fr;
    }
    .aslr-design-list .aslr-review-stars,
    .aslr-design-list .aslr-verified,
    .aslr-design-list .aslr-review-card h3,
    .aslr-design-list .aslr-review-text {
        grid-column: auto;
    }
    .aslr-design-masonry .aslr-review-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .aslr-design-masonry .aslr-review-grid {
        column-count: 1;
    }
    .aslr-design-minimal .aslr-review-grid {
        grid-template-columns: 1fr;
    }
    .aslr-design-minimal .aslr-widget-header {
        display: block;
    }
}


/* Version 1.3 - solid stars, no grey/yellow overlay bug */
.aslr-stars.aslr-stars-solid,
.aslr-stars-solid {
    display: inline-flex !important;
    align-items: center !important;
    gap: 1px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    position: static !important;
    color: inherit !important;
    vertical-align: middle !important;
    font-family: Arial, Helvetica, sans-serif !important;
}
.aslr-stars-solid .aslr-star {
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    font-size: inherit !important;
    text-shadow: none !important;
    transform: none !important;
}
.aslr-stars-solid .aslr-star.is-filled { color: #ffb800 !important; }
.aslr-stars-solid .aslr-star.is-empty { color: #d7d9dd !important; }
.aslr-summary-card .aslr-stars-solid,
.aslr-review-stars .aslr-stars-solid { font-size: 20px !important; }
.aslr-mini-rating .aslr-stars-solid { font-size: 13px !important; }

/* Version 5: Boutique Spotlight */
.aslr-design-boutique .aslr-widget.ryviu-widget {
    background: radial-gradient(circle at 15% 0%, rgba(255,184,0,.16), transparent 34%), #fffdf9;
    border: 1px solid #ead8bf;
    box-shadow: 0 24px 60px rgba(99, 57, 24, .10);
}
.aslr-design-boutique .aslr-widget-header {
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff7e8, #ffffff 70%);
    border: 1px solid #ead8bf;
}
.aslr-design-boutique .aslr-summary-card {
    background: #fff;
    box-shadow: inset 0 0 0 1px #ead8bf, 0 14px 32px rgba(196,106,43,.10);
}
.aslr-design-boutique .aslr-review-card {
    background: #fff;
    border-color: #ead8bf;
    box-shadow: 0 14px 30px rgba(99, 57, 24, .06);
}

/* Version 6: Split Summary */
.aslr-design-split .aslr-widget.ryviu-widget {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.aslr-design-split .aslr-widget-header,
.aslr-design-split .aslr-rating-summary {
    grid-column: 1;
}
.aslr-design-split .aslr-widget-header {
    display: block;
    position: sticky;
    top: 20px;
    margin: 0;
}
.aslr-design-split .aslr-summary-card {
    width: auto;
    margin-top: 18px;
}
.aslr-design-split .aslr-rating-summary {
    margin: 16px 0 0;
}
.aslr-design-split .aslr-review-grid {
    grid-column: 2;
    grid-row: 1 / span 3;
    grid-template-columns: 1fr;
}
.aslr-design-split .aslr-review-card {
    border-radius: 18px;
}

/* Version 7: Compact Trust */
.aslr-design-compact .aslr-widget.ryviu-widget {
    padding: 18px !important;
    border-radius: 16px;
    box-shadow: none;
}
.aslr-design-compact .aslr-widget-header {
    margin-bottom: 14px;
}
.aslr-design-compact .aslr-widget-header h2 { font-size: 24px; }
.aslr-design-compact .aslr-widget-header p,
.aslr-design-compact .aslr-kicker,
.aslr-design-compact .aslr-rating-summary { display: none; }
.aslr-design-compact .aslr-summary-card {
    min-width: 120px;
    padding: 12px;
    border-radius: 14px;
}
.aslr-design-compact .aslr-summary-card strong { font-size: 30px; }
.aslr-design-compact .aslr-review-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}
.aslr-design-compact .aslr-review-card {
    padding: 14px;
    border-radius: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
}
.aslr-design-compact .aslr-review-top { margin: 0; }
.aslr-design-compact .aslr-review-stars { text-align: right; }
.aslr-design-compact .aslr-verified,
.aslr-design-compact .aslr-review-card h3,
.aslr-design-compact .aslr-review-text { grid-column: 1 / -1; }
.aslr-design-compact .aslr-avatar { width: 34px; height: 34px; }

/* Version 8: Timeline Reviews */
.aslr-design-timeline .aslr-widget.ryviu-widget {
    background: #fff;
    box-shadow: none;
}
.aslr-design-timeline .aslr-review-grid {
    display: block;
    position: relative;
    padding-left: 28px;
}
.aslr-design-timeline .aslr-review-grid::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #ead8bf;
}
.aslr-design-timeline .aslr-review-card {
    position: relative;
    margin: 0 0 16px;
    border-radius: 18px;
}
.aslr-design-timeline .aslr-review-card::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffb800;
    box-shadow: 0 0 0 4px #fff7e8;
}

/* Version 9: Dark Luxury */
.aslr-design-dark .aslr-widget.ryviu-widget {
    background: linear-gradient(135deg, #1e1510, #2d211a 62%, #18110d);
    border-color: rgba(255,184,0,.28);
    color: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.aslr-design-dark .aslr-widget-header h2,
.aslr-design-dark .aslr-summary-card strong,
.aslr-design-dark .aslr-review-top strong,
.aslr-design-dark .aslr-review-card h3,
.aslr-design-dark .aslr-bar-row b { color: #fff; }
.aslr-design-dark .aslr-widget-header p,
.aslr-design-dark .aslr-review-top span,
.aslr-design-dark .aslr-review-text,
.aslr-design-dark .aslr-bar-row,
.aslr-design-dark .aslr-summary-card span:last-child { color: rgba(255,255,255,.72); }
.aslr-design-dark .aslr-kicker,
.aslr-design-dark .aslr-summary-card,
.aslr-design-dark .aslr-rating-summary,
.aslr-design-dark .aslr-review-card {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
}
.aslr-design-dark .aslr-bar { background: rgba(255,255,255,.12); }
.aslr-design-dark .aslr-avatar { background: linear-gradient(135deg, #ffb800, #c46a2b); }
.aslr-design-dark .aslr-verified { background: rgba(255,184,0,.12); border-color: rgba(255,184,0,.32); color: #ffd166; }

/* Version 10: Marketplace Style */
.aslr-design-marketplace .aslr-widget.ryviu-widget {
    border-radius: 8px;
    box-shadow: none;
    border-color: #ddd;
}
.aslr-design-marketplace .aslr-kicker { display: none; }
.aslr-design-marketplace .aslr-widget-header {
    align-items: flex-start;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 18px;
}
.aslr-design-marketplace .aslr-summary-card {
    border-radius: 8px;
    background: #f7f7f7;
    border-color: #ddd;
}
.aslr-design-marketplace .aslr-rating-summary {
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
    max-width: 100%;
}
.aslr-design-marketplace .aslr-bar-row { margin-bottom: 8px; }
.aslr-design-marketplace .aslr-review-grid {
    grid-template-columns: 1fr;
    gap: 0;
}
.aslr-design-marketplace .aslr-review-card {
    border: 0;
    border-top: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 18px 0;
    box-shadow: none;
}
.aslr-design-marketplace .aslr-review-card:hover { transform: none; box-shadow: none; }

@media (max-width: 980px) {
    .aslr-design-split .aslr-widget.ryviu-widget { display: block; }
    .aslr-design-split .aslr-widget-header { position: static; margin-bottom: 18px; }
    .aslr-design-split .aslr-review-grid { grid-column: auto; grid-row: auto; }
}
@media (max-width: 768px) {
    .aslr-design-compact .aslr-review-card { display: block; }
    .aslr-design-compact .aslr-review-stars { text-align: left; margin-top: 10px; }
}

/* Version 1.4 - visitor/buyer Write a Review form */
.aslr-front-notice {
    margin: 0 0 18px;
    padding: 13px 16px;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid transparent;
}
.aslr-front-notice-success {
    background: #eaf7ee;
    border-color: #bfe7ca;
    color: #216e35;
}
.aslr-front-notice-error {
    background: #fff1ee;
    border-color: #f2c2b8;
    color: #9f2f1c;
}
.aslr-review-login-message,
.aslr-write-review {
    margin: 0 0 22px;
    border: 1px solid var(--aslr-border);
    border-radius: 22px;
    background: #fffdf9;
    overflow: hidden;
}
.aslr-review-login-message {
    padding: 18px;
}
.aslr-review-login-message strong {
    display: block;
    color: var(--aslr-text);
    font-size: 18px;
    margin-bottom: 6px;
}
.aslr-review-login-message p {
    margin: 0;
    color: var(--aslr-muted);
}
.aslr-write-review summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    background: linear-gradient(135deg, #fff7e8, #ffffff 70%);
}
.aslr-write-review summary::-webkit-details-marker { display: none; }
.aslr-write-review summary span {
    color: var(--aslr-text);
    font-size: 18px;
    font-weight: 900;
}
.aslr-write-review summary small {
    color: var(--aslr-muted);
    font-size: 13px;
    font-weight: 700;
}
.aslr-write-review summary::after {
    content: "+";
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--aslr-orange);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}
.aslr-write-review[open] summary::after { content: "−"; }
.aslr-review-form {
    padding: 20px;
    display: grid;
    gap: 15px;
}
.aslr-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}
.aslr-review-form label span,
.aslr-rating-pick > strong {
    display: block;
    margin-bottom: 7px;
    color: var(--aslr-text);
    font-size: 13px;
    font-weight: 900;
}
.aslr-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.aslr-review-form input[type="text"],
.aslr-review-form input[type="email"],
.aslr-review-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--aslr-border);
    border-radius: 14px;
    background: #fff;
    color: var(--aslr-text);
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}
.aslr-review-form textarea {
    min-height: 120px;
    resize: vertical;
}
.aslr-review-form input:focus,
.aslr-review-form textarea:focus {
    border-color: rgba(196, 106, 43, .75);
    box-shadow: 0 0 0 3px rgba(196, 106, 43, .12);
}
.aslr-rating-pick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.aslr-rating-pick > strong {
    width: 100%;
}
.aslr-rating-pick label {
    margin: 0;
}
.aslr-rating-pick input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.aslr-rating-pick span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--aslr-border);
    background: #fff;
    color: #ffb800;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .2s ease;
}
.aslr-rating-pick input:checked + span,
.aslr-rating-pick span:hover {
    border-color: #ffb800;
    background: #fff7d8;
    box-shadow: 0 8px 18px rgba(255, 184, 0, .18);
}
.aslr-submit-review {
    justify-self: start;
    min-height: 44px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--aslr-orange);
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}
.aslr-submit-review:hover {
    background: var(--aslr-brown);
    transform: translateY(-1px);
}
.aslr-form-note {
    margin: -4px 0 0;
    color: var(--aslr-muted);
    font-size: 13px;
}

/* Adapt the form to some special widget designs */
.aslr-design-minimal .aslr-write-review {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    background: transparent;
}
.aslr-design-minimal .aslr-write-review summary {
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}
.aslr-design-minimal .aslr-review-form {
    padding-left: 0;
    padding-right: 0;
}
.aslr-design-dark .aslr-write-review,
.aslr-design-dark .aslr-review-login-message {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
}
.aslr-design-dark .aslr-write-review summary {
    background: rgba(255,255,255,.06);
}
.aslr-design-dark .aslr-write-review summary span,
.aslr-design-dark .aslr-review-form label span,
.aslr-design-dark .aslr-rating-pick > strong,
.aslr-design-dark .aslr-review-login-message strong {
    color: #fff;
}
.aslr-design-dark .aslr-write-review summary small,
.aslr-design-dark .aslr-form-note,
.aslr-design-dark .aslr-review-login-message p {
    color: rgba(255,255,255,.72);
}
.aslr-design-dark .aslr-review-form input[type="text"],
.aslr-design-dark .aslr-review-form input[type="email"],
.aslr-design-dark .aslr-review-form textarea,
.aslr-design-dark .aslr-rating-pick span {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.16);
}
.aslr-design-dark .aslr-review-form input::placeholder,
.aslr-design-dark .aslr-review-form textarea::placeholder {
    color: rgba(255,255,255,.45);
}
.aslr-design-split .aslr-write-review,
.aslr-design-split .aslr-front-notice,
.aslr-design-split .aslr-review-login-message {
    grid-column: 1 / -1;
}
.aslr-design-split .aslr-rating-summary {
    grid-column: 1;
}
.aslr-design-split .aslr-review-grid {
    grid-row: 2 / span 4;
}

@media (max-width: 768px) {
    .aslr-write-review summary {
        display: grid;
        grid-template-columns: 1fr 32px;
    }
    .aslr-write-review summary small {
        grid-column: 1;
    }
    .aslr-write-review summary::after {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
    .aslr-form-grid {
        grid-template-columns: 1fr;
    }
    .aslr-rating-pick span {
        font-size: 13px;
        padding: 7px 10px;
    }
}


/* Version 1.5 - better spacing for Version 4 Minimal Elegant */
.aslr-design-minimal .aslr-review-grid,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-grid,
.woocommerce-tabs .aslr-design-minimal .aslr-review-grid {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)) !important;
    column-gap: 56px !important;
    row-gap: 0 !important;
    align-items: start !important;
}

.aslr-design-minimal .aslr-review-card,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-card,
.woocommerce-tabs .aslr-design-minimal .aslr-review-card {
    padding: 28px 18px 32px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.aslr-design-minimal .aslr-review-top,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-top {
    margin-bottom: 18px !important;
}

.aslr-design-minimal .aslr-review-stars,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-stars {
    margin: 0 0 18px !important;
}

.aslr-design-minimal .aslr-verified,
#tab-aslr_reviews .aslr-design-minimal .aslr-verified {
    margin: 0 0 18px !important;
}

.aslr-design-minimal .aslr-review-card h3,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-card h3 {
    margin: 0 0 16px !important;
    line-height: 1.38 !important;
    overflow-wrap: anywhere !important;
}

.aslr-design-minimal .aslr-review-text,
.aslr-design-minimal .aslr-review-text p,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-text,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-text p {
    line-height: 1.85 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

.aslr-design-minimal .aslr-review-text p,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-text p {
    margin: 0 0 12px !important;
}

@media (max-width: 980px) {
    .aslr-design-minimal .aslr-review-grid,
    #tab-aslr_reviews .aslr-design-minimal .aslr-review-grid,
    .woocommerce-tabs .aslr-design-minimal .aslr-review-grid {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
    }

    .aslr-design-minimal .aslr-review-card,
    #tab-aslr_reviews .aslr-design-minimal .aslr-review-card,
    .woocommerce-tabs .aslr-design-minimal .aslr-review-card {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}


/* Version 1.6 - restore 4 reviews per row for Version 4 Minimal Elegant + safer text spacing */
.aslr-design-minimal .aslr-review-grid,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-grid,
.woocommerce-tabs .aslr-design-minimal .aslr-review-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: clamp(30px, 3.6vw, 70px) !important;
    row-gap: 0 !important;
    align-items: start !important;
}

.aslr-design-minimal .aslr-review-card,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-card,
.woocommerce-tabs .aslr-design-minimal .aslr-review-card {
    padding: 28px 0 34px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.aslr-design-minimal .aslr-review-top,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-top,
.woocommerce-tabs .aslr-design-minimal .aslr-review-top {
    margin-bottom: 18px !important;
}

.aslr-design-minimal .aslr-review-stars,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-stars,
.woocommerce-tabs .aslr-design-minimal .aslr-review-stars {
    margin: 0 0 18px !important;
}

.aslr-design-minimal .aslr-verified,
#tab-aslr_reviews .aslr-design-minimal .aslr-verified,
.woocommerce-tabs .aslr-design-minimal .aslr-verified {
    margin: 0 0 20px !important;
}

.aslr-design-minimal .aslr-review-card h3,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-card h3,
.woocommerce-tabs .aslr-design-minimal .aslr-review-card h3 {
    margin: 0 0 18px !important;
    font-size: clamp(18px, 1.25vw, 24px) !important;
    line-height: 1.32 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: auto !important;
}

.aslr-design-minimal .aslr-review-text,
.aslr-design-minimal .aslr-review-text p,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-text,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-text p,
.woocommerce-tabs .aslr-design-minimal .aslr-review-text,
.woocommerce-tabs .aslr-design-minimal .aslr-review-text p {
    font-size: clamp(15px, 1.05vw, 18px) !important;
    line-height: 1.78 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: auto !important;
    letter-spacing: 0 !important;
}

.aslr-design-minimal .aslr-review-text p,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-text p,
.woocommerce-tabs .aslr-design-minimal .aslr-review-text p {
    margin: 0 0 12px !important;
}

@media (max-width: 1280px) {
    .aslr-design-minimal .aslr-review-grid,
    #tab-aslr_reviews .aslr-design-minimal .aslr-review-grid,
    .woocommerce-tabs .aslr-design-minimal .aslr-review-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        column-gap: 42px !important;
    }
}

@media (max-width: 980px) {
    .aslr-design-minimal .aslr-review-grid,
    #tab-aslr_reviews .aslr-design-minimal .aslr-review-grid,
    .woocommerce-tabs .aslr-design-minimal .aslr-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 34px !important;
    }
}

@media (max-width: 640px) {
    .aslr-design-minimal .aslr-review-grid,
    #tab-aslr_reviews .aslr-design-minimal .aslr-review-grid,
    .woocommerce-tabs .aslr-design-minimal .aslr-review-grid {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
    }
}

/* Version 1.7 - show non-buyer frontend/CSV reviews as Visitor review */
.aslr-reviewer-badge {
    display: inline-block;
    margin: 0 0 10px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.aslr-reviewer-badge.aslr-verified {
    color: #216e35;
    background: #eaf7ee;
}

.aslr-reviewer-badge.aslr-visitor {
    color: #8a4b12;
    background: #fff3df;
}

.aslr-design-minimal .aslr-reviewer-badge,
#tab-aslr_reviews .aslr-design-minimal .aslr-reviewer-badge,
.woocommerce-tabs .aslr-design-minimal .aslr-reviewer-badge {
    margin: 0 0 20px !important;
}

/* Version 1.9 - country selector, country flag badges, and review photo uploads */
.aslr-review-country {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #faf7f2;
    border: 1px solid #eadfce;
    color: #8a4b12 !important;
    font-size: 11px !important;
    font-weight: 800;
    line-height: 1.2;
}

.aslr-country-flag {
    font-size: 14px;
    line-height: 1;
}

.aslr-review-form select.aslr-country-select,
.aslr-review-form input[type="file"] {
    width: 100%;
    border: 1px solid var(--aslr-border);
    border-radius: 14px;
    padding: 12px 13px;
    background: #fff;
    color: var(--aslr-text);
    font-size: 14px;
    box-sizing: border-box;
}

.aslr-review-form select.aslr-country-select:focus,
.aslr-review-form input[type="file"]:focus {
    outline: none;
    border-color: var(--aslr-orange);
    box-shadow: 0 0 0 3px rgba(196,106,43,.12);
}

.aslr-photo-upload-field small.aslr-form-note {
    display: block;
    margin-top: 7px;
    color: var(--aslr-muted);
    font-size: 12px;
    line-height: 1.45;
}

.aslr-review-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.aslr-review-photo {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--aslr-border);
    background: #faf7f2;
    aspect-ratio: 1 / 1;
}

.aslr-review-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.aslr-review-photo:hover img {
    transform: scale(1.04);
}

.aslr-design-minimal .aslr-review-country,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-country,
.woocommerce-tabs .aslr-design-minimal .aslr-review-country {
    margin-top: 7px !important;
    background: #f8f0e7;
}

.aslr-design-minimal .aslr-review-photos,
#tab-aslr_reviews .aslr-design-minimal .aslr-review-photos,
.woocommerce-tabs .aslr-design-minimal .aslr-review-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px !important;
}

.aslr-design-list .aslr-review-photos,
.aslr-design-compact .aslr-review-photos {
    grid-column: 1 / -1;
}

.aslr-design-dark .aslr-review-country {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.14);
    color: #ffd98a !important;
}

.aslr-design-dark .aslr-review-form select.aslr-country-select,
.aslr-design-dark .aslr-review-form input[type="file"] {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
    color: #fff;
}

.aslr-design-dark .aslr-review-form select.aslr-country-select option {
    color: #222;
}

@media (max-width: 640px) {
    .aslr-review-photos,
    .aslr-design-minimal .aslr-review-photos,
    #tab-aslr_reviews .aslr-design-minimal .aslr-review-photos,
    .woocommerce-tabs .aslr-design-minimal .aslr-review-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Version 2.1 - full world country list with searchable flag picker */
.aslr-country-field {
    position: relative;
}

.aslr-country-field .aslr-form-note {
    display: block;
    margin-top: 7px;
    color: var(--aslr-muted);
    font-size: 12px;
    line-height: 1.45;
}

.aslr-country-enhanced-active select.aslr-country-select {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.aslr-country-picker {
    position: relative;
    width: 100%;
}

.aslr-country-button {
    width: 100%;
    border: 1px solid var(--aslr-border);
    border-radius: 14px;
    padding: 13px 44px 13px 14px;
    background: #fff;
    color: var(--aslr-text);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 8px 18px rgba(0,0,0,.035);
    position: relative;
}

.aslr-country-button:after {
    content: "⌄";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--aslr-muted);
    font-size: 18px;
}

.aslr-country-button:hover,
.aslr-country-button:focus {
    outline: none;
    border-color: var(--aslr-orange);
    box-shadow: 0 0 0 3px rgba(196,106,43,.12), 0 8px 18px rgba(0,0,0,.035);
}

.aslr-country-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 9999;
    padding: 10px;
    border: 1px solid var(--aslr-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
}

.aslr-country-search {
    width: 100%;
    margin: 0 0 9px !important;
    border: 1px solid var(--aslr-border) !important;
    border-radius: 12px !important;
    padding: 11px 13px !important;
    box-sizing: border-box;
    font-size: 14px !important;
}

.aslr-country-list {
    max-height: 290px;
    overflow: auto;
    padding-right: 4px;
}

.aslr-country-group-title {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 8px 0 5px;
    padding: 7px 9px;
    border-radius: 10px;
    background: #faf7f2;
    color: #8a4b12;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.aslr-country-option {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 10px 11px;
    background: transparent;
    color: var(--aslr-text);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.aslr-country-option:hover,
.aslr-country-option:focus,
.aslr-country-option.is-selected {
    outline: none;
    background: #fff3df;
    color: #8a4b12;
}

.aslr-design-dark .aslr-country-button,
.aslr-design-dark .aslr-country-panel,
.aslr-design-dark .aslr-country-search,
.aslr-design-dark .aslr-country-option {
    background: #171717;
    color: #f7efe6;
    border-color: rgba(255,255,255,.16) !important;
}

.aslr-design-dark .aslr-country-group-title,
.aslr-design-dark .aslr-country-option:hover,
.aslr-design-dark .aslr-country-option:focus,
.aslr-design-dark .aslr-country-option.is-selected {
    background: rgba(255,184,0,.12);
    color: #ffdf8b;
}


/* Version 2.2 - country card chooser, no dropdown */
.aslr-country-card-enhanced .aslr-form-note {
    margin-top: 10px;
}

.aslr-country-card-picker {
    margin-top: 9px;
    padding: 16px;
    border: 1px solid var(--aslr-border);
    border-radius: 22px;
    background: linear-gradient(180deg, #fffdf9 0%, #faf7f2 100%);
    box-shadow: 0 14px 34px rgba(0,0,0,.06);
    box-sizing: border-box;
}

.aslr-country-selected-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border: 1px solid rgba(196,106,43,.18);
    border-radius: 18px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.aslr-country-selected-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 999px;
    background: #fff3df;
    font-size: 24px;
}

.aslr-country-selected-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.aslr-country-selected-text strong {
    color: var(--aslr-text);
    font-size: 15px;
    line-height: 1.25;
}

.aslr-country-selected-text small {
    color: var(--aslr-muted);
    font-size: 12px;
    line-height: 1.35;
    margin-top: 2px;
}

.aslr-country-search-wrap {
    margin: 13px 0 12px;
}

.aslr-review-form input.aslr-country-card-search,
.aslr-country-card-search {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid var(--aslr-border) !important;
    border-radius: 999px !important;
    background: #fff !important;
    padding: 12px 16px !important;
    color: var(--aslr-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.035) !important;
}

.aslr-review-form input.aslr-country-card-search:focus,
.aslr-country-card-search:focus {
    outline: none !important;
    border-color: var(--aslr-orange) !important;
    box-shadow: 0 0 0 4px rgba(196,106,43,.12), 0 8px 18px rgba(0,0,0,.035) !important;
}

.aslr-country-card-title {
    margin: 11px 0 8px;
    color: #8a4b12;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.aslr-country-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aslr-country-chip,
.aslr-country-card-option {
    border: 1px solid var(--aslr-border);
    background: #fff;
    color: var(--aslr-text);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
    box-sizing: border-box;
}

.aslr-country-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
}

.aslr-country-card-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-height: 230px;
    overflow: auto;
    padding: 2px 4px 2px 0;
    scrollbar-width: thin;
}

.aslr-country-card-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    border-radius: 14px;
    padding: 10px 11px;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
}

.aslr-country-option-flag {
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
}

.aslr-country-option-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aslr-country-chip:hover,
.aslr-country-chip:focus,
.aslr-country-card-option:hover,
.aslr-country-card-option:focus,
.aslr-country-chip.is-selected,
.aslr-country-card-option.is-selected {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(196,106,43,.38);
    background: #fff3df;
    color: #8a4b12;
    box-shadow: 0 8px 18px rgba(196,106,43,.12);
}

.aslr-country-chip.is-selected,
.aslr-country-card-option.is-selected {
    border-color: var(--aslr-orange);
    box-shadow: 0 0 0 3px rgba(196,106,43,.12);
}

.aslr-design-dark .aslr-country-card-picker {
    background: linear-gradient(180deg, #151515 0%, #101010 100%);
    border-color: rgba(255,255,255,.14);
}

.aslr-design-dark .aslr-country-selected-card,
.aslr-design-dark .aslr-country-chip,
.aslr-design-dark .aslr-country-card-option,
.aslr-design-dark .aslr-country-card-search {
    background: #171717 !important;
    color: #f7efe6 !important;
    border-color: rgba(255,255,255,.16) !important;
}

.aslr-design-dark .aslr-country-selected-flag {
    background: rgba(255,184,0,.12);
}

.aslr-design-dark .aslr-country-card-title,
.aslr-design-dark .aslr-country-chip:hover,
.aslr-design-dark .aslr-country-chip:focus,
.aslr-design-dark .aslr-country-card-option:hover,
.aslr-design-dark .aslr-country-card-option:focus,
.aslr-design-dark .aslr-country-chip.is-selected,
.aslr-design-dark .aslr-country-card-option.is-selected {
    color: #ffdf8b !important;
}

.aslr-design-dark .aslr-country-chip:hover,
.aslr-design-dark .aslr-country-chip:focus,
.aslr-design-dark .aslr-country-card-option:hover,
.aslr-design-dark .aslr-country-card-option:focus,
.aslr-design-dark .aslr-country-chip.is-selected,
.aslr-design-dark .aslr-country-card-option.is-selected {
    background: rgba(255,184,0,.12) !important;
    border-color: rgba(255,184,0,.35) !important;
}

@media (max-width: 900px) {
    .aslr-country-card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .aslr-country-card-picker {
        padding: 13px;
        border-radius: 18px;
    }

    .aslr-country-card-list {
        grid-template-columns: 1fr;
        max-height: 250px;
    }

    .aslr-country-selected-flag {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 21px;
    }
}

/* Version 2.3 - Elegant compact country modal chooser */
.aslr-country-modal-enhanced .aslr-form-note {
    margin-top: 9px;
}

.aslr-country-modal-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    margin-top: 8px;
    border: 1px solid var(--aslr-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
    color: var(--aslr-text);
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.aslr-country-modal-button:hover,
.aslr-country-modal-button:focus {
    outline: none;
    border-color: rgba(196,106,43,.46);
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(196,106,43,.10), 0 14px 28px rgba(0,0,0,.07);
}

.aslr-country-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #fff3df;
    font-size: 23px;
    box-shadow: inset 0 0 0 1px rgba(196,106,43,.08);
}

.aslr-country-modal-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.aslr-country-modal-text strong {
    color: var(--aslr-text);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
}

.aslr-country-modal-text small {
    margin-top: 2px;
    color: var(--aslr-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.aslr-country-modal-change {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 7px 10px;
    background: #faf7f2;
    color: #9f4f1c;
    font-size: 12px;
    font-weight: 900;
}

.aslr-country-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
}

.aslr-country-modal.is-open {
    display: flex;
}

.aslr-country-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 14, 8, .48);
    backdrop-filter: blur(5px);
}

.aslr-country-modal-sheet {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(720px, 88vh);
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 26px;
    background: #fffdf9;
    box-shadow: 0 32px 90px rgba(0,0,0,.30);
    box-sizing: border-box;
    overflow: hidden;
}

.aslr-country-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.aslr-country-modal-head strong {
    display: block;
    color: var(--aslr-text);
    font-size: 19px;
    line-height: 1.2;
    font-weight: 950;
}

.aslr-country-modal-head small {
    display: block;
    margin-top: 3px;
    color: var(--aslr-muted);
    font-size: 13px;
    line-height: 1.35;
}

.aslr-country-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--aslr-border);
    border-radius: 50%;
    background: #fff;
    color: var(--aslr-text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.aslr-country-modal-close:hover,
.aslr-country-modal-close:focus {
    outline: none;
    background: #fff3df;
    border-color: rgba(196,106,43,.38);
}

.aslr-country-modal-search-wrap {
    margin-bottom: 12px;
}

.aslr-review-form input.aslr-country-modal-search,
.aslr-country-modal-search {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid var(--aslr-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: var(--aslr-text) !important;
    padding: 13px 15px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.035) !important;
}

.aslr-review-form input.aslr-country-modal-search:focus,
.aslr-country-modal-search:focus {
    outline: none !important;
    border-color: var(--aslr-orange) !important;
    box-shadow: 0 0 0 4px rgba(196,106,43,.12), 0 8px 18px rgba(0,0,0,.035) !important;
}

.aslr-country-modal-popular-title,
.aslr-country-modal-count {
    margin: 8px 0;
    color: #8a4b12;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.aslr-country-modal-popular {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.aslr-country-modal-chip,
.aslr-country-modal-row {
    border: 1px solid var(--aslr-border);
    background: #fff;
    color: var(--aslr-text);
    cursor: pointer;
    box-sizing: border-box;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.aslr-country-modal-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 13px;
    font-weight: 850;
}

.aslr-country-modal-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 360px;
    overflow: auto;
    padding: 2px 4px 2px 0;
    scrollbar-width: thin;
}

.aslr-country-modal-row {
    width: 100%;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 9px;
    border-radius: 15px;
    padding: 10px 11px;
    font-size: 14px;
    font-weight: 850;
    text-align: left;
}

.aslr-country-modal-flag {
    font-size: 20px;
    line-height: 1;
}

.aslr-country-modal-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aslr-country-modal-tick {
    color: transparent;
    font-weight: 950;
    text-align: right;
}

.aslr-country-modal-chip:hover,
.aslr-country-modal-chip:focus,
.aslr-country-modal-row:hover,
.aslr-country-modal-row:focus,
.aslr-country-modal-chip.is-selected,
.aslr-country-modal-row.is-selected {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(196,106,43,.45);
    background: #fff3df;
    color: #8a4b12;
    box-shadow: 0 9px 20px rgba(196,106,43,.12);
}

.aslr-country-modal-chip.is-selected,
.aslr-country-modal-row.is-selected {
    border-color: var(--aslr-orange);
    box-shadow: 0 0 0 3px rgba(196,106,43,.12);
}

.aslr-country-modal-chip.is-selected .aslr-country-modal-tick,
.aslr-country-modal-row.is-selected .aslr-country-modal-tick {
    color: #9f4f1c;
}

.aslr-country-modal-open {
    overflow: hidden;
}

.aslr-design-dark .aslr-country-modal-button,
.aslr-design-dark .aslr-country-modal-sheet,
.aslr-design-dark .aslr-country-modal-close,
.aslr-design-dark .aslr-country-modal-search,
.aslr-design-dark .aslr-country-modal-chip,
.aslr-design-dark .aslr-country-modal-row {
    background: #171717 !important;
    color: #f7efe6 !important;
    border-color: rgba(255,255,255,.16) !important;
}

.aslr-design-dark .aslr-country-modal-icon,
.aslr-design-dark .aslr-country-modal-change {
    background: rgba(255,184,0,.12);
    color: #ffdf8b;
}

.aslr-design-dark .aslr-country-modal-text strong,
.aslr-design-dark .aslr-country-modal-head strong {
    color: #f7efe6;
}

.aslr-design-dark .aslr-country-modal-popular-title,
.aslr-design-dark .aslr-country-modal-count,
.aslr-design-dark .aslr-country-modal-chip:hover,
.aslr-design-dark .aslr-country-modal-chip:focus,
.aslr-design-dark .aslr-country-modal-row:hover,
.aslr-design-dark .aslr-country-modal-row:focus,
.aslr-design-dark .aslr-country-modal-chip.is-selected,
.aslr-design-dark .aslr-country-modal-row.is-selected {
    color: #ffdf8b !important;
}

.aslr-design-dark .aslr-country-modal-chip:hover,
.aslr-design-dark .aslr-country-modal-chip:focus,
.aslr-design-dark .aslr-country-modal-row:hover,
.aslr-design-dark .aslr-country-modal-row:focus,
.aslr-design-dark .aslr-country-modal-chip.is-selected,
.aslr-design-dark .aslr-country-modal-row.is-selected {
    background: rgba(255,184,0,.12) !important;
    border-color: rgba(255,184,0,.35) !important;
}

@media (max-width: 560px) {
    .aslr-country-modal {
        align-items: flex-end;
        padding: 0;
    }
    .aslr-country-modal-sheet {
        width: 100%;
        max-height: 86vh;
        border-radius: 26px 26px 0 0;
        padding: 16px;
    }
    .aslr-country-modal-list {
        max-height: 48vh;
    }
    .aslr-country-modal-button {
        padding: 12px;
        border-radius: 16px;
    }
    .aslr-country-modal-change {
        display: none;
    }
}

/* Version 2.4 - fixed country chooser layout against aggressive theme button styles */
.aslr-review-form .aslr-country-field {
    display: block !important;
    margin: 0 0 18px !important;
}

.aslr-review-form .aslr-country-field > span {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 850 !important;
    color: var(--aslr-text) !important;
}

/* Reset only our country picker buttons so theme/global button styles cannot stretch them */
.aslr-review-form .aslr-country-modal-button,
.aslr-country-modal .aslr-country-modal-close,
.aslr-country-modal .aslr-country-modal-chip,
.aslr-country-modal .aslr-country-modal-row {
    all: unset !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.aslr-review-form .aslr-country-modal-button {
    width: 100% !important;
    min-height: 68px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 13px !important;
    margin-top: 8px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(196,106,43,.22) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%) !important;
    color: var(--aslr-text) !important;
    text-align: left !important;
    box-shadow: 0 8px 20px rgba(76, 45, 18, .055) !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.aslr-review-form .aslr-country-modal-button:hover,
.aslr-review-form .aslr-country-modal-button:focus {
    outline: none !important;
    transform: translateY(-1px) !important;
    border-color: rgba(196,106,43,.52) !important;
    box-shadow: 0 0 0 4px rgba(196,106,43,.10), 0 12px 24px rgba(76, 45, 18, .07) !important;
}

.aslr-review-form .aslr-country-modal-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex: 0 0 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #fff3df !important;
    font-size: 22px !important;
    line-height: 1 !important;
    box-shadow: inset 0 0 0 1px rgba(196,106,43,.10) !important;
}

.aslr-review-form .aslr-country-modal-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    line-height: 1.25 !important;
}

.aslr-review-form .aslr-country-modal-text strong {
    display: block !important;
    margin: 0 !important;
    color: var(--aslr-text) !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
}

.aslr-review-form .aslr-country-modal-text small {
    display: block !important;
    margin: 0 !important;
    color: var(--aslr-muted) !important;
    font-size: 12.5px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}

.aslr-review-form .aslr-country-modal-change {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 13px !important;
    border-radius: 999px !important;
    background: #faf7f2 !important;
    color: #9f4f1c !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

.aslr-review-form .aslr-country-modal-enhanced .aslr-form-note {
    display: block !important;
    margin-top: 8px !important;
    color: var(--aslr-muted) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.aslr-country-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.aslr-country-modal.is-open {
    display: flex !important;
}

.aslr-country-modal .aslr-country-modal-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(20,14,8,.48) !important;
    backdrop-filter: blur(4px) !important;
}

.aslr-country-modal .aslr-country-modal-sheet {
    position: relative !important;
    z-index: 1 !important;
    width: min(720px, 96vw) !important;
    max-height: 88vh !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    border-radius: 26px !important;
    background: #fffdf9 !important;
    box-shadow: 0 32px 90px rgba(0,0,0,.30) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.aslr-country-modal .aslr-country-modal-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
}

.aslr-country-modal .aslr-country-modal-head strong {
    display: block !important;
    color: var(--aslr-text) !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    line-height: 1.15 !important;
}

.aslr-country-modal .aslr-country-modal-head small {
    display: block !important;
    margin-top: 4px !important;
    color: var(--aslr-muted) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
}

.aslr-country-modal .aslr-country-modal-close {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    flex: 0 0 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(196,106,43,.20) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: var(--aslr-text) !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 34px !important;
    text-align: center !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.04) !important;
}

.aslr-country-modal .aslr-country-modal-close:hover,
.aslr-country-modal .aslr-country-modal-close:focus {
    outline: none !important;
    background: #fff3df !important;
    border-color: rgba(196,106,43,.45) !important;
}

.aslr-country-modal .aslr-country-modal-search-wrap {
    margin: 0 0 12px !important;
}

.aslr-country-modal .aslr-country-modal-search,
.aslr-country-modal input.aslr-country-modal-search {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(196,106,43,.20) !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: var(--aslr-text) !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 54px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.035) !important;
}

.aslr-country-modal .aslr-country-modal-search:focus {
    outline: none !important;
    border-color: var(--aslr-orange) !important;
    box-shadow: 0 0 0 4px rgba(196,106,43,.12), 0 8px 18px rgba(0,0,0,.035) !important;
}

.aslr-country-modal .aslr-country-modal-popular-title,
.aslr-country-modal .aslr-country-modal-count {
    display: block !important;
    margin: 8px 0 9px !important;
    color: #8a4b12 !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}

.aslr-country-modal .aslr-country-modal-popular {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
}

.aslr-country-modal .aslr-country-modal-chip,
.aslr-country-modal .aslr-country-modal-row {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    border: 1px solid rgba(196,106,43,.18) !important;
    background: #ffffff !important;
    color: var(--aslr-text) !important;
    text-align: left !important;
    box-shadow: none !important;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease !important;
}

.aslr-country-modal .aslr-country-modal-chip {
    min-height: 48px !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
}

.aslr-country-modal .aslr-country-modal-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    max-height: 310px !important;
    overflow: auto !important;
    padding: 2px 5px 2px 0 !important;
    scrollbar-width: thin !important;
}

.aslr-country-modal .aslr-country-modal-row {
    min-height: 44px !important;
    width: 100% !important;
    padding: 9px 11px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.aslr-country-modal .aslr-country-modal-flag {
    display: inline-flex !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

.aslr-country-modal .aslr-country-modal-name {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: inherit !important;
}

.aslr-country-modal .aslr-country-modal-tick {
    display: inline-flex !important;
    flex: 0 0 18px !important;
    align-items: center !important;
    justify-content: center !important;
    color: transparent !important;
    font-weight: 950 !important;
}

.aslr-country-modal .aslr-country-modal-chip:hover,
.aslr-country-modal .aslr-country-modal-chip:focus,
.aslr-country-modal .aslr-country-modal-row:hover,
.aslr-country-modal .aslr-country-modal-row:focus,
.aslr-country-modal .aslr-country-modal-chip.is-selected,
.aslr-country-modal .aslr-country-modal-row.is-selected {
    outline: none !important;
    transform: translateY(-1px) !important;
    border-color: rgba(196,106,43,.45) !important;
    background: #fff3df !important;
    color: #8a4b12 !important;
    box-shadow: 0 7px 16px rgba(196,106,43,.11) !important;
}

.aslr-country-modal .aslr-country-modal-chip.is-selected,
.aslr-country-modal .aslr-country-modal-row.is-selected {
    border-color: var(--aslr-orange) !important;
    box-shadow: 0 0 0 3px rgba(196,106,43,.12) !important;
}

.aslr-country-modal .aslr-country-modal-chip.is-selected .aslr-country-modal-tick,
.aslr-country-modal .aslr-country-modal-row.is-selected .aslr-country-modal-tick {
    color: #9f4f1c !important;
}

.aslr-design-dark .aslr-review-form .aslr-country-modal-button,
.aslr-design-dark .aslr-country-modal .aslr-country-modal-sheet,
.aslr-design-dark .aslr-country-modal .aslr-country-modal-close,
.aslr-design-dark .aslr-country-modal .aslr-country-modal-search,
.aslr-design-dark .aslr-country-modal .aslr-country-modal-chip,
.aslr-design-dark .aslr-country-modal .aslr-country-modal-row {
    background: #171717 !important;
    color: #f7efe6 !important;
    border-color: rgba(255,255,255,.16) !important;
}

@media (max-width: 680px) {
    .aslr-country-modal {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .aslr-country-modal .aslr-country-modal-sheet {
        width: 100% !important;
        max-height: 88vh !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 16px !important;
    }

    .aslr-country-modal .aslr-country-modal-popular,
    .aslr-country-modal .aslr-country-modal-list {
        grid-template-columns: 1fr !important;
    }

    .aslr-country-modal .aslr-country-modal-list {
        max-height: 42vh !important;
    }

    .aslr-review-form .aslr-country-modal-button {
        min-height: 64px !important;
        padding: 10px 12px !important;
        gap: 10px !important;
    }

    .aslr-review-form .aslr-country-modal-change {
        padding: 7px 10px !important;
        font-size: 11px !important;
    }
}

/* ================================
   V2.6 All Shop Reviews Popup
================================ */
.aslr-shop-reviews-fab {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 99980 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 58px !important;
    padding: 10px 16px 10px 12px !important;
    border: 1px solid rgba(196,106,43,.28) !important;
    border-radius: 999px !important;
    background: #fffaf3 !important;
    color: var(--aslr-text) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.16), 0 0 0 5px rgba(196,106,43,.08) !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transform: translateZ(0) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.aslr-shop-reviews-fab:hover,
.aslr-shop-reviews-fab:focus {
    outline: none !important;
    transform: translateY(-2px) !important;
    background: #ffffff !important;
    box-shadow: 0 20px 48px rgba(0,0,0,.2), 0 0 0 6px rgba(255,184,0,.16) !important;
}

.aslr-shop-fab-star {
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: var(--aslr-gold) !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(255,184,0,.28) !important;
}

.aslr-shop-fab-text {
    display: grid !important;
    gap: 1px !important;
    text-align: left !important;
    line-height: 1.1 !important;
}

.aslr-shop-fab-text strong {
    font-size: 14px !important;
    font-weight: 950 !important;
    color: var(--aslr-text) !important;
}

.aslr-shop-fab-text small {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: var(--aslr-muted) !important;
}

.aslr-shop-popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99990 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    font-family: inherit !important;
}

.aslr-shop-popup.is-open {
    display: flex !important;
}

.aslr-shop-popup-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(25, 18, 15, .62) !important;
    backdrop-filter: blur(2px) !important;
}

.aslr-shop-popup-sheet {
    position: relative !important;
    z-index: 1 !important;
    width: min(980px, 100%) !important;
    max-height: min(88vh, 880px) !important;
    overflow: auto !important;
    background: #fffdf9 !important;
    border: 1px solid rgba(232,224,214,.85) !important;
    border-radius: 28px !important;
    padding: 42px 50px !important;
    box-shadow: 0 34px 90px rgba(0,0,0,.28) !important;
    scrollbar-width: thin !important;
}

.aslr-shop-popup-close {
    position: sticky !important;
    top: 0 !important;
    float: right !important;
    z-index: 5 !important;
    display: grid !important;
    place-items: center !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: var(--aslr-text) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.13) !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    cursor: pointer !important;
}

.aslr-shop-popup-close:hover,
.aslr-shop-popup-close:focus {
    outline: none !important;
    background: #fff4e5 !important;
    color: var(--aslr-brown) !important;
}

.aslr-shop-popup-head h2 {
    margin: 0 70px 26px 0 !important;
    color: var(--aslr-text) !important;
    font-size: clamp(24px, 2.4vw, 34px) !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
}

.aslr-shop-popup-summary {
    display: grid !important;
    grid-template-columns: minmax(230px, .85fr) minmax(320px, 1.15fr) !important;
    gap: 42px !important;
    align-items: center !important;
    margin-bottom: 34px !important;
}

.aslr-shop-score-box {
    display: grid !important;
    place-items: center !important;
    min-height: 160px !important;
}

.aslr-shop-big-score {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    color: var(--aslr-text) !important;
}

.aslr-shop-big-score span {
    color: var(--aslr-gold) !important;
    font-size: 56px !important;
    line-height: 1 !important;
}

.aslr-shop-big-score strong {
    font-size: clamp(52px, 6vw, 72px) !important;
    line-height: .95 !important;
    font-weight: 500 !important;
    letter-spacing: -.05em !important;
}

.aslr-shop-score-box button {
    margin-top: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px dashed rgba(0,0,0,.4) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #6f6660 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: default !important;
}

.aslr-shop-bars {
    display: grid !important;
    gap: 14px !important;
}

.aslr-shop-bar-row {
    display: grid !important;
    grid-template-columns: 58px 1fr 52px !important;
    align-items: center !important;
    gap: 14px !important;
    color: #39322e !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.aslr-shop-bar {
    height: 11px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #ede7e1 !important;
}

.aslr-shop-bar i {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: var(--aslr-gold) !important;
}

.aslr-shop-bar-row b {
    color: #706760 !important;
    text-align: left !important;
    font-weight: 800 !important;
}

.aslr-shop-popup-controls {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    align-items: center !important;
    margin: 0 0 22px !important;
}

.aslr-shop-popup-controls label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--aslr-text) !important;
    font-size: 16px !important;
    font-weight: 850 !important;
}

.aslr-shop-popup-controls select {
    min-height: 38px !important;
    padding: 7px 32px 7px 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background-color: #fff7ed !important;
    color: var(--aslr-text) !important;
    font-weight: 850 !important;
    box-shadow: 0 0 0 1px rgba(196,106,43,.18) inset !important;
}

.aslr-shop-photo-strip {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 128px !important;
    gap: 14px !important;
    overflow-x: auto !important;
    padding: 4px 2px 20px !important;
    margin-bottom: 22px !important;
    scrollbar-width: thin !important;
}

.aslr-shop-photo-strip a {
    position: relative !important;
    display: block !important;
    width: 128px !important;
    height: 140px !important;
    overflow: hidden !important;
    border-radius: 13px !important;
    background: #f2ece4 !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.08) !important;
}

.aslr-shop-photo-strip img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.aslr-shop-review-list {
    display: grid !important;
    gap: 0 !important;
}

.aslr-shop-review-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 22px !important;
    padding: 26px 0 !important;
    border-top: 1px solid rgba(232,224,214,.95) !important;
    color: var(--aslr-text) !important;
}

.aslr-shop-review-item[hidden] {
    display: none !important;
}

.aslr-shop-review-author-row {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.aslr-shop-avatar {
    display: grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: #f1e7da !important;
    color: var(--aslr-brown) !important;
    font-size: 22px !important;
    font-weight: 950 !important;
}

.aslr-shop-author-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 7px 10px !important;
    min-width: 0 !important;
}

.aslr-shop-author-meta strong {
    color: var(--aslr-text) !important;
    font-size: 17px !important;
    font-weight: 950 !important;
}

.aslr-shop-author-meta > span:not(.aslr-review-country) {
    color: #706760 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.aslr-shop-recommends {
    color: #3d7b23 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
}

.aslr-shop-review-stars {
    margin: 0 0 10px !important;
}

.aslr-shop-review-stars .aslr-star {
    font-size: 20px !important;
}

.aslr-shop-badge-row {
    margin: 0 0 8px !important;
}

.aslr-shop-purchased-item {
    margin: 4px 0 12px !important;
    color: #6f6660 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.aslr-shop-purchased-item strong {
    color: #6f6660 !important;
    font-weight: 950 !important;
}

.aslr-shop-purchased-item a {
    color: #5c514c !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.aslr-shop-review-item h3 {
    margin: 8px 0 8px !important;
    color: var(--aslr-text) !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
    font-weight: 950 !important;
}

.aslr-shop-review-text {
    max-width: 690px !important;
    color: #34302d !important;
    font-size: 17px !important;
    line-height: 1.48 !important;
    font-weight: 500 !important;
}

.aslr-shop-review-text p {
    margin: 0 0 8px !important;
}

.aslr-shop-review-photos-wrap {
    align-self: end !important;
    width: 126px !important;
}

.aslr-shop-review-photos-wrap .aslr-review-photos {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    margin: 0 !important;
}

.aslr-shop-review-photos-wrap .aslr-review-photo {
    width: 126px !important;
    height: 126px !important;
    border-radius: 12px !important;
}

html.aslr-shop-popup-open,
html.aslr-shop-popup-open body {
    overflow: hidden !important;
}

@media (max-width: 780px) {
    .aslr-shop-reviews-fab {
        right: 14px !important;
        bottom: 14px !important;
        min-height: 54px !important;
        padding: 9px 13px 9px 10px !important;
    }

    .aslr-shop-fab-text strong {
        font-size: 13px !important;
    }

    .aslr-shop-fab-text small {
        font-size: 11px !important;
    }

    .aslr-shop-popup {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .aslr-shop-popup-sheet {
        width: 100% !important;
        max-height: 90vh !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 24px 18px !important;
    }

    .aslr-shop-popup-summary {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        margin-bottom: 24px !important;
    }

    .aslr-shop-score-box {
        min-height: auto !important;
        place-items: start !important;
    }

    .aslr-shop-big-score strong {
        font-size: 56px !important;
    }

    .aslr-shop-review-item {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .aslr-shop-review-author-row {
        grid-template-columns: 42px minmax(0,1fr) !important;
    }

    .aslr-shop-recommends {
        grid-column: 2 !important;
    }

    .aslr-shop-review-photos-wrap,
    .aslr-shop-review-photos-wrap .aslr-review-photo {
        width: 100% !important;
    }

    .aslr-shop-review-photos-wrap .aslr-review-photos {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)) !important;
    }

    .aslr-shop-review-photos-wrap .aslr-review-photo {
        height: 120px !important;
    }
}


/* Version 2.7 - product page Load More reviews */
.aslr-product-load-more-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin: 30px auto 4px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(232, 224, 214, 0.85) !important;
}

.aslr-product-load-more {
    appearance: none !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #c46a2b !important;
    color: #fff !important;
    padding: 13px 26px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 12px 26px rgba(196, 106, 43, 0.22) !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.aslr-product-load-more:hover,
.aslr-product-load-more:focus {
    background: #a95520 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 16px 32px rgba(196, 106, 43, 0.28) !important;
}

.aslr-product-load-more-count {
    color: #7c7f88 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.aslr-product-load-more-count strong {
    color: #22252d !important;
}

.aslr-product-load-more-wrap.is-complete .aslr-product-load-more-count::after {
    content: " • All reviews loaded";
    color: #0b7a3b;
}

@media (max-width: 640px) {
    .aslr-product-load-more-wrap {
        gap: 10px !important;
        margin-top: 22px !important;
    }

    .aslr-product-load-more {
        width: 100% !important;
        padding: 14px 20px !important;
    }
}

/* Review reactions: like, love, dislike */
.aslr-review-reactions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(232, 224, 214, 0.8);
}

.aslr-reaction-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a8178;
    margin-right: 2px;
}

.aslr-review-reactions .aslr-reaction-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #eadfd3 !important;
    background: #fffaf4 !important;
    color: #27272a !important;
    border-radius: 999px !important;
    padding: 7px 10px !important;
    min-height: 34px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.aslr-review-reactions .aslr-reaction-btn:hover {
    transform: translateY(-1px);
    border-color: #c66a2b !important;
    background: #fff3e8 !important;
}

.aslr-review-reactions .aslr-reaction-btn.is-active {
    background: #c66a2b !important;
    border-color: #c66a2b !important;
    color: #fff !important;
}

.aslr-review-reactions .aslr-love-btn.is-active {
    background: #d93663 !important;
    border-color: #d93663 !important;
}

.aslr-review-reactions .aslr-dislike-btn.is-active {
    background: #4b5563 !important;
    border-color: #4b5563 !important;
}

.aslr-reaction-icon {
    font-size: 14px;
    line-height: 1;
}

.aslr-reaction-name {
    display: inline-block;
}

.aslr-review-reactions .aslr-reaction-btn strong {
    min-width: 16px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(0,0,0,0.06);
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.aslr-review-reactions .aslr-reaction-btn.is-active strong {
    background: rgba(255,255,255,0.22);
}

.aslr-review-reactions.is-loading {
    opacity: 0.72;
}

.aslr-review-reactions .aslr-reaction-btn:disabled {
    cursor: wait;
    transform: none;
}


/* v2.9: Product image inside the all-shop floating reviews popup */
.aslr-shop-purchased-card {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    max-width: 760px !important;
    margin: 8px 0 14px !important;
}

.aslr-shop-product-thumb {
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f3ece3 !important;
    border: 1px solid rgba(232,224,214,.95) !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.06) !important;
    display: block !important;
}

.aslr-shop-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.aslr-shop-purchased-card .aslr-shop-purchased-item {
    margin: 0 !important;
}

.aslr-shop-review-product-image {
    position: relative !important;
    display: block !important;
    width: 126px !important;
    height: 126px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #f2ece4 !important;
    border: 1px solid rgba(232,224,214,.95) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.08) !important;
    text-decoration: none !important;
}

.aslr-shop-review-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.aslr-shop-review-product-image span {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.92) !important;
    color: var(--aslr-brown) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.08) !important;
}

@media (max-width: 720px) {
    .aslr-shop-purchased-card {
        align-items: flex-start !important;
    }

    .aslr-shop-product-thumb {
        flex-basis: 48px !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 11px !important;
    }

    .aslr-shop-product-image-wrap {
        width: 100% !important;
    }

    .aslr-shop-review-product-image {
        width: 112px !important;
        height: 112px !important;
    }
}

.aslr-shop-review-item .aslr-review-reactions {
    max-width: 100%;
    margin-top: 16px;
}

.aslr-design-minimal .aslr-review-reactions {
    border-top-color: #eee5dc;
    gap: 7px;
}

@media (max-width: 600px) {
    .aslr-review-reactions {
        gap: 7px;
    }
    .aslr-reaction-label {
        width: 100%;
    }
    .aslr-reaction-name {
        display: none;
    }
    .aslr-review-reactions .aslr-reaction-btn {
        padding: 8px 10px !important;
    }
}


/* Version 3.0 - Mobile floating reviews button fix
   Keeps the Reviews button above mobile bottom navigation bars instead of covering Home/Shop/Cart/Account. */
@media (max-width: 780px) {
    .aslr-shop-reviews-fab {
        left: 50% !important;
        right: auto !important;
        bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
        transform: translateX(-50%) translateZ(0) !important;
        width: auto !important;
        max-width: calc(100vw - 32px) !important;
        min-height: 50px !important;
        padding: 8px 14px 8px 9px !important;
        gap: 9px !important;
        box-shadow: 0 14px 32px rgba(0,0,0,.18), 0 0 0 4px rgba(255,184,0,.14) !important;
    }

    .aslr-shop-reviews-fab:hover,
    .aslr-shop-reviews-fab:focus {
        transform: translateX(-50%) translateY(-2px) translateZ(0) !important;
    }

    .aslr-shop-fab-star {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 20px !important;
    }

    .aslr-shop-fab-text strong {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .aslr-shop-fab-text small {
        font-size: 11px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 380px) {
    .aslr-shop-reviews-fab {
        bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important;
        padding-right: 12px !important;
    }

    .aslr-shop-fab-text strong {
        font-size: 12px !important;
    }

    .aslr-shop-fab-text small {
        font-size: 10px !important;
    }
}

/* Version 3.3 - Review translation button */
.aslr-translation-actions {
    margin-top: 12px !important;
    margin-bottom: 6px !important;
}

.aslr-translate-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    border: 1px solid #eadfd3 !important;
    background: #fffaf4 !important;
    color: #965219 !important;
    border-radius: 999px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(150, 82, 25, .06) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.aslr-translate-btn:hover,
.aslr-translate-btn:focus {
    background: #fff3e4 !important;
    box-shadow: 0 8px 18px rgba(150, 82, 25, .10) !important;
    transform: translateY(-1px) !important;
}

.aslr-translate-btn:disabled,
.aslr-translate-btn.is-loading {
    opacity: .65 !important;
    cursor: wait !important;
    transform: none !important;
}

.aslr-translation-box {
    margin-top: 10px !important;
    padding: 14px 16px !important;
    border: 1px dashed #e2d5c7 !important;
    border-radius: 16px !important;
    background: #fffdf9 !important;
    color: #222 !important;
}

.aslr-translation-kicker {
    display: inline-block !important;
    margin-bottom: 7px !important;
    color: #965219 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}

.aslr-translation-box h4 {
    margin: 0 0 7px !important;
    color: #151922 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
}

.aslr-translation-body p,
.aslr-translation-box p {
    margin: 0 0 8px !important;
    color: #343946 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.aslr-translation-body p:last-child,
.aslr-translation-box p:last-child {
    margin-bottom: 0 !important;
}

.aslr-translation-error {
    border-color: #f0c7bd !important;
    background: #fff7f5 !important;
}

.aslr-translation-error a {
    color: #965219 !important;
    font-weight: 800 !important;
}

.aslr-shop-review-item .aslr-translation-actions {
    margin-top: 10px !important;
}

@media (max-width: 600px) {
    .aslr-translate-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 12px !important;
    }
}

/* Etsy-style product information + reviews layout */
.aslr-etsy-product-layout {
    clear: both;
    width: 100%;
    max-width: 1500px;
    margin: 70px auto 60px;
    padding: 0 16px;
    box-sizing: border-box;
}

.aslr-etsy-layout-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(32px, 6vw, 90px);
    align-items: start;
}

.aslr-etsy-reviews-panel,
.aslr-etsy-info-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.aslr-etsy-reviews-head h2 {
    margin: 0 0 18px;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 900;
    line-height: 1.15;
    color: #1f232b;
}

.aslr-etsy-review-summary-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 22px;
    margin: 0 0 26px;
}

.aslr-etsy-big-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f232b;
}

.aslr-etsy-big-rating strong {
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.aslr-etsy-big-rating .aslr-stars {
    font-size: 30px;
}

.aslr-etsy-item-average {
    display: inline-flex;
    flex-direction: column;
    color: #30313a;
    font-weight: 700;
    text-decoration: underline;
    line-height: 1.1;
}

.aslr-etsy-item-average span {
    color: #6c7280;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
}

.aslr-etsy-score-pills {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
}

.aslr-etsy-score-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2f3239;
    font-weight: 700;
    font-size: 15px;
}

.aslr-etsy-score-pills b {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 2px solid var(--aslr-gold);
    border-radius: 50%;
    color: #1f232b;
    background: #fffaf0;
    font-size: 15px;
    font-weight: 900;
}

.aslr-etsy-review-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.aslr-etsy-review-card.aslr-review-card {
    border-radius: 18px;
    border-color: #e6e2da;
    padding: 18px;
    box-shadow: none;
}

.aslr-etsy-review-card.aslr-review-card:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(31, 35, 43, 0.06);
}

.aslr-etsy-muted {
    color: #6c7280;
    font-weight: 600;
}

.aslr-etsy-load-more {
    margin-top: 22px;
}

.aslr-etsy-info-col {
    position: sticky;
    top: 24px;
}

.aslr-etsy-info-panel {
    color: #2f3239;
}

.aslr-etsy-details {
    border-bottom: 1px solid #e8e3da;
    padding: 0;
}

.aslr-etsy-details:first-child {
    border-top: 1px solid #e8e3da;
}

.aslr-etsy-details summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
    color: #24262d;
    font-size: 18px;
    font-weight: 900;
}

.aslr-etsy-details summary::-webkit-details-marker {
    display: none;
}

.aslr-etsy-details summary::after {
    content: '⌄';
    font-size: 22px;
    color: #20242b;
    transition: transform .2s ease;
}

.aslr-etsy-details[open] summary::after {
    transform: rotate(180deg);
}

.aslr-etsy-details-body {
    padding: 0 0 24px;
}

.aslr-etsy-details-body h3 {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 900;
    color: #20242b;
}

.aslr-etsy-highlights {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aslr-etsy-highlights li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #343740;
    font-size: 16px;
    line-height: 1.45;
}

.aslr-etsy-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #3d68ff;
    font-size: 18px;
    line-height: 1;
}

.aslr-etsy-learn-more {
    margin-top: 20px;
}

.aslr-etsy-learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #2f3239;
    font-size: 15px;
    font-weight: 900;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 0;
}

.aslr-etsy-learn-more-content {
    margin-top: 14px;
    padding: 18px;
    border: 1px solid #e6e2da;
    border-radius: 18px;
    background: #fffdf9;
    color: #343740;
    font-size: 15px;
    line-height: 1.65;
    max-height: 520px;
    overflow: auto;
}

.aslr-etsy-learn-more-content p:first-child {
    margin-top: 0;
}

.aslr-etsy-learn-more-content p:last-child {
    margin-bottom: 0;
}

.aslr-etsy-policies li {
    font-weight: 700;
}

.aslr-etsy-protection {
    color: #3b3f49;
    font-size: 15px;
    line-height: 1.55;
}

.aslr-etsy-protection strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 900;
}

.aslr-etsy-protection p {
    margin: 0;
}

/* When the Etsy layout is enabled, keep the old review tab/widget from adding extra boxed spacing if a theme still calls it. */
.aslr-etsy-product-layout + .woocommerce-tabs:empty,
.woocommerce-tabs .panel:empty {
    display: none !important;
}

@media (max-width: 991px) {
    .aslr-etsy-layout-inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .aslr-etsy-info-col {
        position: static;
    }
}

@media (max-width: 640px) {
    .aslr-etsy-product-layout {
        margin: 45px auto 35px;
        padding: 0 12px;
    }

    .aslr-etsy-review-summary-row {
        gap: 14px;
    }

    .aslr-etsy-score-pills {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .aslr-etsy-details summary {
        font-size: 16px;
        padding: 18px 0;
    }
}

/* V3.6 Professional product information layout
   Reviews are intentionally rendered only once, in the clean Version 4 Minimal Elegant section below. */
.aslr-pro-product-layout {
    width: min(1340px, calc(100% - 32px));
    margin: 56px auto 28px;
    color: #1f2430;
}

.aslr-pro-layout-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 34px;
    align-items: start;
}

.aslr-pro-panel {
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.055);
    padding: 30px;
}

.aslr-pro-about-panel {
    min-height: 100%;
}

.aslr-pro-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aslr-pro-panel h2,
.aslr-pro-panel h3 {
    margin: 0 0 18px;
    color: #1e2430;
    line-height: 1.15;
    font-weight: 900;
}

.aslr-pro-panel h2 {
    font-size: clamp(26px, 3vw, 40px);
}

.aslr-pro-panel h3 {
    font-size: 20px;
}

.aslr-pro-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 26px;
}

.aslr-pro-highlight-card {
    border: 1px solid #eef1f5;
    border-radius: 18px;
    background: #fbfcfe;
    padding: 16px 18px;
}

.aslr-pro-highlight-card span {
    display: block;
    margin-bottom: 5px;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.aslr-pro-highlight-card strong {
    display: block;
    color: #252b36;
    font-size: 15px;
    line-height: 1.45;
}

.aslr-pro-description-intro {
    max-height: 190px;
    overflow: hidden;
    position: relative;
    color: #343b49;
    font-size: 16px;
    line-height: 1.75;
}

.aslr-pro-description-intro:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
    pointer-events: none;
}

.aslr-pro-description-intro p:first-child,
.aslr-pro-full-description p:first-child {
    margin-top: 0;
}

.aslr-pro-description-intro p:last-child,
.aslr-pro-full-description p:last-child {
    margin-bottom: 0;
}

.aslr-pro-learn-more {
    margin-top: 18px;
}

.aslr-pro-learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid #1f2430;
    border-radius: 999px;
    background: #1f2430;
    color: #fff;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.aslr-pro-learn-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(31, 36, 48, .18);
}

.aslr-pro-full-description.aslr-etsy-learn-more-content {
    margin-top: 18px;
    border: 1px solid #edf0f4;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: none;
    max-height: 620px;
}

.aslr-pro-side-col {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 24px;
}

.aslr-pro-list {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aslr-pro-list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: #343b49;
    line-height: 1.45;
}

.aslr-pro-list li span {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    background: #f3f6fb;
    color: #1f2430;
    font-size: 14px;
    font-weight: 900;
}

.aslr-pro-list li strong {
    font-size: 15px;
    font-weight: 800;
}

.aslr-pro-note-panel p {
    margin: 0;
    color: #5d6678;
    font-size: 15px;
    line-height: 1.65;
}

.aslr-pro-reviews-area {
    width: min(1340px, calc(100% - 32px));
    margin: 20px auto 70px;
}

.aslr-pro-reviews-area .lt-block-reviews {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.aslr-pro-reviews-area .aslr-widget-minimal {
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.aslr-pro-reviews-area .aslr-widget-minimal .aslr-review-card {
    background: #ffffff;
}

.aslr-pro-reviews-area .aslr-widget-header {
    margin-bottom: 26px;
}

/* Hide empty Woo tab shells from themes after the professional layout is enabled. */
.aslr-pro-product-layout + .woocommerce-tabs:empty,
.aslr-pro-reviews-area + .woocommerce-tabs:empty,
.woocommerce-tabs .panel:empty {
    display: none !important;
}

@media (max-width: 991px) {
    .aslr-pro-layout-inner {
        grid-template-columns: 1fr;
    }

    .aslr-pro-side-col {
        position: static;
    }
}

@media (max-width: 640px) {
    .aslr-pro-product-layout,
    .aslr-pro-reviews-area {
        width: calc(100% - 22px);
    }

    .aslr-pro-product-layout {
        margin-top: 38px;
    }

    .aslr-pro-panel {
        padding: 22px;
        border-radius: 20px;
    }

    .aslr-pro-highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* V3.7 Etsy-inspired clean layout
   Product info sits in a right column, description stays hidden until "Learn more about this item",
   and full Version 4 Minimal Elegant reviews are rendered once below the description area. */
.aslr-etsy2-product-layout {
    width: min(1340px, calc(100% - 32px));
    margin: 64px auto 34px;
    color: #20232d;
}

.aslr-etsy2-layout-inner {
    display: grid;
    grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.05fr);
    gap: clamp(42px, 8vw, 120px);
    align-items: start;
}

.aslr-etsy2-reviews-snapshot,
.aslr-etsy2-info-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.aslr-etsy2-reviews-snapshot {
    padding-top: 6px;
}

.aslr-etsy2-reviews-snapshot h2,
.aslr-etsy2-info-head h2,
.aslr-etsy2-info-body h3,
.aslr-etsy2-description h3 {
    margin: 0;
    color: #20232d;
    font-weight: 900;
    line-height: 1.18;
}

.aslr-etsy2-reviews-snapshot h2,
.aslr-etsy2-info-head h2 {
    font-size: clamp(22px, 2.2vw, 30px);
}

.aslr-etsy2-buyer-words {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    align-items: center;
    margin: 24px 0 26px;
    color: #20232d;
    font-size: 16px;
    line-height: 1.35;
}

.aslr-etsy2-buyer-words strong {
    font-weight: 900;
}

.aslr-etsy2-buyer-words span {
    font-weight: 800;
}

.aslr-etsy2-rating-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    align-items: center;
}

.aslr-etsy2-big-rating {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.aslr-etsy2-big-rating strong {
    color: #20232d;
    font-size: clamp(44px, 5vw, 60px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.04em;
}

.aslr-etsy2-big-rating .aslr-stars {
    color: #f5a000;
    font-size: 28px;
    letter-spacing: 0;
}

.aslr-etsy2-average-link {
    display: grid;
    gap: 2px;
    color: #20232d;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.aslr-etsy2-average-link span {
    color: #687080;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.aslr-etsy2-score-pill {
    display: grid;
    grid-template-columns: 54px auto;
    gap: 12px;
    align-items: center;
}

.aslr-etsy2-score-pill b {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 2px solid #f5a000;
    border-radius: 999px;
    color: #20232d;
    font-size: 15px;
    font-weight: 900;
}

.aslr-etsy2-score-pill span {
    color: #20232d;
    font-size: 15px;
    font-weight: 800;
}

.aslr-etsy2-muted {
    margin: 20px 0 0;
    color: #687080;
    font-weight: 700;
}

.aslr-etsy2-info-panel {
    padding-top: 0;
}

.aslr-etsy2-info-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 22px;
}

.aslr-etsy2-info-head span {
    color: #20232d;
    font-size: 18px;
    font-weight: 900;
}

.aslr-etsy2-info-body {
    padding: 2px 0 34px;
}

.aslr-etsy2-info-body h3,
.aslr-etsy2-description h3 {
    margin-bottom: 20px;
    font-size: clamp(20px, 1.8vw, 24px);
}

.aslr-etsy2-highlights {
    display: grid;
    gap: 16px;
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
}

.aslr-etsy2-highlights li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    color: #333744;
    font-size: 17px;
    line-height: 1.45;
}

.aslr-etsy2-highlights strong {
    color: #20232d;
    font-weight: 900;
}

.aslr-etsy2-icon {
    display: inline-grid;
    place-items: center;
    color: #332b3c;
    font-size: 17px;
    line-height: 1.45;
}

.aslr-etsy2-learn-more {
    text-align: center;
    margin-top: 8px;
}

.aslr-etsy2-learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #20232d;
    padding: 0 8px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}

.aslr-etsy2-learn-more-btn:hover,
.aslr-etsy2-learn-more-btn:focus {
    text-decoration: underline;
    text-underline-offset: 4px;
    outline: none;
}

.aslr-etsy2-description.aslr-etsy-learn-more-content {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #e4e6eb;
    background: transparent;
    color: #282d38;
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
    max-height: none;
    overflow: visible;
    box-shadow: none;
}

.aslr-etsy2-description p:first-child { margin-top: 0; }
.aslr-etsy2-description p:last-child { margin-bottom: 0; }

.aslr-etsy2-policy-stack {
    display: grid;
    border: 1px solid #e8ebf0;
    background: #fff;
    margin-top: 8px;
}

.aslr-etsy2-policy-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 54px;
    padding: 0 22px;
    border-bottom: 1px solid #edf0f4;
    color: #7a8291;
    font-size: 14px;
}

.aslr-etsy2-policy-row:last-child {
    border-bottom: 0;
}

.aslr-etsy2-policy-row strong {
    color: #7a8291;
    font-weight: 900;
}

.aslr-etsy2-policy-row em {
    color: #7a8291;
    font-style: normal;
    font-size: 13px;
    font-weight: 900;
}

.aslr-etsy2-full-reviews-area {
    width: min(1340px, calc(100% - 32px));
    margin: 26px auto 80px;
    clear: both;
}

.aslr-etsy2-full-reviews-area .lt-block-reviews {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.aslr-etsy2-full-reviews-area .aslr-widget-minimal {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.aslr-etsy2-full-reviews-area .aslr-widget-header {
    margin-bottom: 28px;
}

.aslr-etsy2-product-layout + .woocommerce-tabs:empty,
.aslr-etsy2-full-reviews-area + .woocommerce-tabs:empty,
.woocommerce-tabs .panel:empty {
    display: none !important;
}

@media (max-width: 991px) {
    .aslr-etsy2-layout-inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 640px) {
    .aslr-etsy2-product-layout,
    .aslr-etsy2-full-reviews-area {
        width: calc(100% - 22px);
    }

    .aslr-etsy2-product-layout {
        margin-top: 42px;
    }

    .aslr-etsy2-rating-row,
    .aslr-etsy2-buyer-words {
        gap: 14px 18px;
    }

    .aslr-etsy2-policy-row {
        grid-template-columns: 24px minmax(0, 1fr);
        padding: 12px 16px;
    }

    .aslr-etsy2-policy-row em {
        display: none;
    }
}

/* v3.8: premium Etsy-inspired details + reviews layout matching the requested reference */
.aslr-showcase-layout {
    width: min(1240px, calc(100% - 32px));
    margin: 34px auto 80px;
    clear: both;
    color: #2a211c;
}

.aslr-showcase-inner {
    width: 100%;
}

.aslr-showcase-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.aslr-showcase-card,
.aslr-showcase-review-summary {
    background: linear-gradient(180deg, #fffdfb 0%, #fffaf4 100%);
    border: 1px solid #ecd8c6;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(119, 74, 36, 0.055);
}

.aslr-showcase-card {
    padding: 25px 30px;
    min-height: 275px;
}

.aslr-showcase-card h2,
.aslr-showcase-review-summary h2,
.aslr-showcase-customer-head h2 {
    margin: 0 0 18px;
    font-family: inherit;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 850;
    color: #2a211c;
}

.aslr-showcase-highlight-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.aslr-showcase-highlight-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.45;
    color: #322923;
}

.aslr-showcase-highlight-list strong {
    color: #2a211c;
    font-weight: 850;
}

.aslr-showcase-check {
    color: #b96c37;
    font-size: 17px;
    line-height: 1.2;
    text-align: center;
}

.aslr-showcase-more {
    margin: 18px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b15f2b;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.aslr-showcase-more:hover,
.aslr-showcase-more:focus {
    color: #8b431a;
    text-decoration: underline;
}

.aslr-showcase-hidden-description {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(185, 108, 55, 0.18);
    max-height: 360px;
    overflow: auto;
    font-size: 14px;
    line-height: 1.7;
}

.aslr-showcase-about-copy {
    font-size: 15px;
    line-height: 1.78;
    color: #332822;
    max-width: 94%;
}

.aslr-showcase-about-copy p {
    margin: 0 0 18px;
}

.aslr-showcase-about-copy p:last-child {
    margin-bottom: 0;
}

.aslr-showcase-trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: center;
    padding: 24px 34px;
}

.aslr-showcase-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.aslr-showcase-trust-item > span {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b96c37;
    border: 1px solid rgba(185, 108, 55, 0.22);
    background: #fffaf4;
    font-size: 18px;
    flex: 0 0 auto;
}

.aslr-showcase-trust-item strong,
.aslr-showcase-trust-item small {
    display: block;
    line-height: 1.25;
}

.aslr-showcase-trust-item strong {
    font-size: 13px;
    font-weight: 850;
    color: #2d231e;
}

.aslr-showcase-trust-item small {
    margin-top: 2px;
    font-size: 12px;
    color: #6e625b;
}

.aslr-showcase-review-summary {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
    gap: 34px;
    padding: 25px 30px;
    margin-top: 4px;
    align-items: center;
}

.aslr-showcase-review-left h2 {
    margin-bottom: 15px;
}

.aslr-showcase-buyer-words {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    font-size: 14px;
    color: #2c231d;
}

.aslr-showcase-buyer-words strong {
    font-weight: 850;
}

.aslr-showcase-buyer-words span {
    font-weight: 700;
}

.aslr-showcase-score-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.aslr-showcase-score {
    display: flex;
    align-items: center;
    gap: 14px;
}

.aslr-showcase-score strong {
    font-size: clamp(44px, 6vw, 68px);
    line-height: .85;
    letter-spacing: -0.05em;
    color: #221914;
}

.aslr-showcase-score .aslr-stars {
    font-size: 25px;
    letter-spacing: 2px;
    color: #f5a000;
}

.aslr-showcase-average {
    display: inline-flex;
    flex-direction: column;
    color: #211914;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
}

.aslr-showcase-average strong {
    font-weight: 850;
}

.aslr-showcase-average span {
    color: #6f625b;
    text-decoration: none;
}

.aslr-showcase-review-write .aslr-write-review {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

.aslr-showcase-review-write .aslr-write-review summary {
    min-height: 88px;
    padding: 22px 28px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    list-style: none;
    cursor: pointer;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.aslr-showcase-review-write .aslr-write-review summary::-webkit-details-marker {
    display: none;
}

.aslr-showcase-review-write .aslr-write-review summary span {
    font-size: 24px;
    font-weight: 850;
    color: #2b211c;
}

.aslr-showcase-review-write .aslr-write-review summary small {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: #6f625b;
    grid-column: 1;
}

.aslr-showcase-review-write .aslr-write-review summary::after {
    content: '+';
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #c9672b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    grid-row: 1 / span 2;
    grid-column: 2;
}

.aslr-showcase-review-write .aslr-write-review[open] summary::after {
    content: '−';
}

.aslr-showcase-review-write .aslr-review-form {
    padding: 0 28px 24px !important;
}

.aslr-showcase-customer-reviews {
    margin: 26px 0 0;
    padding: 0 22px 0;
}

.aslr-showcase-customer-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin: 0 0 18px;
    padding: 0 2px;
}

.aslr-showcase-customer-head h2 {
    margin-bottom: 4px;
}

.aslr-showcase-customer-head p {
    margin: 0;
    color: #796d66;
    font-size: 13px;
}

.aslr-showcase-head-rating {
    text-align: right;
    display: grid;
    gap: 3px;
    justify-items: end;
    min-width: 120px;
}

.aslr-showcase-head-rating strong {
    font-size: 22px;
    color: #211914;
}

.aslr-showcase-head-rating .aslr-stars {
    font-size: 15px;
    color: #f5a000;
    letter-spacing: 1px;
}

.aslr-showcase-head-rating span {
    color: #6f625b;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aslr-showcase-review-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.aslr-showcase-review-card.aslr-review-card {
    border: 1px solid #ecd8c6 !important;
    border-radius: 9px !important;
    background: #fffdfb !important;
    box-shadow: 0 10px 28px rgba(119, 74, 36, 0.045) !important;
    padding: 18px 18px 14px !important;
    min-height: 238px;
}

.aslr-showcase-review-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(119, 74, 36, 0.08) !important;
}

.aslr-showcase-reviewer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.aslr-showcase-review-card .aslr-avatar {
    background: #f7eee6 !important;
    color: #9a5628 !important;
    width: 42px !important;
    height: 42px !important;
}

.aslr-showcase-review-card .aslr-review-stars {
    color: #f5a000 !important;
    font-size: 15px !important;
    margin-bottom: 4px;
}

.aslr-showcase-review-card .aslr-reviewer-badge {
    margin: 0 0 8px;
}

.aslr-showcase-review-card .aslr-review-title {
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 850 !important;
    margin: 7px 0 6px !important;
}

.aslr-showcase-review-card .aslr-review-text,
.aslr-showcase-review-card .aslr-review-text p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #3b302a !important;
}

.aslr-showcase-review-card .aslr-review-reactions {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(185, 108, 55, 0.12);
}

.aslr-showcase-load-more {
    margin-top: 24px !important;
    justify-content: center;
}

.aslr-showcase-load-more .aslr-product-load-more {
    min-width: 220px;
    border-radius: 999px !important;
    border-color: #ecd8c6 !important;
    background: #fffaf4 !important;
    color: #3a2b24 !important;
}

.aslr-showcase-muted {
    color: #73655f;
}

@media (max-width: 1100px) {
    .aslr-showcase-review-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .aslr-showcase-top-grid,
    .aslr-showcase-review-summary {
        grid-template-columns: 1fr;
    }
    .aslr-showcase-trust-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .aslr-showcase-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .aslr-showcase-layout {
        width: calc(100% - 20px);
        margin-top: 26px;
    }
    .aslr-showcase-card,
    .aslr-showcase-review-summary {
        padding: 20px 18px;
    }
    .aslr-showcase-trust-row,
    .aslr-showcase-review-grid {
        grid-template-columns: 1fr;
    }
    .aslr-showcase-customer-reviews {
        padding: 0;
    }
    .aslr-showcase-customer-head {
        display: block;
    }
    .aslr-showcase-head-rating {
        justify-items: start;
        text-align: left;
        margin-top: 10px;
    }
}

/* v3.9: remove premium wrapped boxes and restore original Version 4 Minimal Elegant reviews */
.aslr-showcase-card,
.aslr-showcase-review-summary {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.aslr-showcase-card {
    padding: 8px 0 18px !important;
    min-height: 0 !important;
}

.aslr-showcase-review-summary {
    padding: 22px 0 0 !important;
    margin-top: 20px !important;
}

.aslr-showcase-top-grid {
    gap: clamp(34px, 5vw, 78px) !important;
}

.aslr-showcase-trust-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.aslr-showcase-trust-item > span {
    border: 0 !important;
    background: transparent !important;
}

.aslr-showcase-layout .lt-block-reviews.aslr-reviews-section.aslr-design-minimal {
    width: 100% !important;
    max-width: none !important;
    margin: 46px 0 0 !important;
    padding: 0 !important;
}

.aslr-showcase-layout .aslr-design-minimal .aslr-widget.ryviu-widget {
    padding: 8px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.aslr-showcase-layout .aslr-design-minimal .aslr-review-card {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--aslr-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.aslr-showcase-layout .aslr-design-minimal .aslr-review-card:hover {
    transform: none !important;
    box-shadow: none !important;
}


/* v3.9.1: keep Learn More normal on hover, remove description wrapper border, and keep only the top review form */
.aslr-showcase-layout .aslr-showcase-more,
.aslr-showcase-layout .aslr-showcase-more:hover,
.aslr-showcase-layout .aslr-showcase-more:focus,
.aslr-showcase-layout .aslr-showcase-more:active {
    background: transparent !important;
    background-color: transparent !important;
    color: #b15f2b !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    transform: none !important;
}

.aslr-showcase-layout .aslr-showcase-more span {
    color: inherit !important;
}

.aslr-showcase-layout .aslr-showcase-hidden-description,
.aslr-showcase-layout .aslr-etsy-learn-more-content.aslr-showcase-hidden-description {
    margin-top: 18px !important;
    padding: 16px 0 0 !important;
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
}

/* v3.9.2: replace About this piece with the most liked review card */
.aslr-showcase-top-review-box {
    max-width: 94%;
}

.aslr-showcase-top-review-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.aslr-showcase-top-review-head .aslr-avatar {
    width: 42px !important;
    height: 42px !important;
    background: #fff3e7 !important;
    color: #b15f2b !important;
    flex: 0 0 auto;
}

.aslr-showcase-top-review-head strong,
.aslr-showcase-top-review-head .aslr-review-date {
    display: block;
}

.aslr-showcase-top-review-head strong {
    font-size: 14px;
    font-weight: 850;
    color: #2a211c;
}

.aslr-showcase-top-review-head .aslr-review-date {
    margin-top: 1px;
    font-size: 12px;
    color: #71635b;
}

.aslr-showcase-top-review-stars .aslr-stars {
    color: #f5a000 !important;
    font-size: 18px !important;
    letter-spacing: 2px;
    margin: 8px 0 7px;
}

.aslr-showcase-top-review-title {
    margin: 10px 0 7px !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 850 !important;
    color: #2a211c !important;
}

.aslr-showcase-top-review-text,
.aslr-showcase-top-review-empty p {
    margin: 10px 0 0 !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
    color: #332822 !important;
}

.aslr-showcase-top-review-liked {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff7ef;
    color: #6d4b35;
    font-size: 12px;
    font-weight: 750;
}

.aslr-showcase-top-review-liked strong {
    color: #2a211c;
    font-weight: 850;
}


/* v3.9.5: style Loyal patron badge with distinct color and loyalty icon */
.aslr-reviewer-badges {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 10px !important;
    vertical-align: top !important;
}

.aslr-reviewer-badges .aslr-reviewer-badge {
    margin: 0 !important;
}

.aslr-reviewer-badge.aslr-loyal {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #6f3cc3 !important;
    background: #f3edff !important;
    border: 1px solid #dfd0ff !important;
    box-shadow: 0 2px 10px rgba(111, 60, 195, 0.10) !important;
}

.aslr-reviewer-badge.aslr-loyal .aslr-badge-icon.aslr-loyal-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #8e65f8 0%, #6f3cc3 100%) !important;
    color: #ffffff !important;
    flex: 0 0 18px !important;
}

.aslr-reviewer-badge.aslr-loyal .aslr-loyal-icon svg {
    display: block !important;
    width: 11px !important;
    height: 11px !important;
    fill: currentColor !important;
}

.aslr-reviewer-badge.aslr-loyal .aslr-badge-label {
    line-height: 1 !important;
}

.aslr-design-minimal .aslr-reviewer-badges,
#tab-aslr_reviews .aslr-design-minimal .aslr-reviewer-badges,
.woocommerce-tabs .aslr-design-minimal .aslr-reviewer-badges {
    margin: 0 0 20px !important;
}

.aslr-design-minimal .aslr-reviewer-badges .aslr-reviewer-badge,
#tab-aslr_reviews .aslr-design-minimal .aslr-reviewer-badges .aslr-reviewer-badge,
.woocommerce-tabs .aslr-design-minimal .aslr-reviewer-badges .aslr-reviewer-badge {
    margin: 0 !important;
}

.aslr-shop-badge-row .aslr-reviewer-badges,
.aslr-showcase-top-review-box .aslr-reviewer-badges {
    margin-bottom: 8px !important;
}

/* Version 3.12.0 - Chatwoot-inspired floating shop reviews popup */
:root {
    --aslr-chat-accent: #A14923;
    --aslr-chat-accent-dark: #6F3217;
    --aslr-chat-gold: #D4A879;
    --aslr-chat-sand: #F7E9D8;
    --aslr-chat-cream: #FFF9F2;
    --aslr-chat-ink: #241C18;
}

.aslr-shop-reviews-fab {
    position: fixed !important;
    left: auto !important;
    right: 18px !important;
    bottom: 22px !important;
    z-index: 999998 !important;
    border: 1px solid rgba(92,39,14,.13) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--aslr-chat-accent-dark), var(--aslr-chat-accent)) !important;
    color: #fff !important;
    padding: 7px 15px 7px 7px !important;
    min-width: 0 !important;
    min-height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 14px 32px rgba(55,32,21,.24) !important;
    cursor: pointer !important;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease !important;
}

.aslr-shop-reviews-fab:hover,
.aslr-shop-reviews-fab:focus {
    outline: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 38px rgba(55,32,21,.29) !important;
    background: linear-gradient(135deg, var(--aslr-chat-accent-dark), var(--aslr-chat-accent)) !important;
}

.aslr-shop-fab-icon {
    position: relative !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--aslr-chat-accent-dark) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.10) !important;
}

.aslr-shop-fab-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

.aslr-shop-fab-icon::after {
    content: '' !important;
    position: absolute !important;
    right: 1px !important;
    bottom: 1px !important;
    width: 9px !important;
    height: 9px !important;
    background: #41c979 !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
}

.aslr-shop-fab-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.08 !important;
}

.aslr-shop-fab-text strong {
    font-size: 14px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    color: #fff !important;
}

.aslr-shop-fab-text small {
    font-size: 10px !important;
    font-weight: 600 !important;
    opacity: .84 !important;
    margin-top: 4px !important;
    white-space: nowrap !important;
    color: #fff !important;
}

.aslr-shop-popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: block !important;
    padding: 0 !important;
    font-family: inherit !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.aslr-shop-popup.is-open {
    opacity: 1 !important;
    visibility: visible !important;
}

.aslr-shop-popup-backdrop {
    display: none !important;
}

.aslr-shop-popup-sheet {
    position: fixed !important;
    left: auto !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 1 !important;
    width: 500px !important;
    max-width: calc(100vw - 36px) !important;
    height: 650px !important;
    max-height: calc(100vh - 36px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid #dec9b7 !important;
    border-radius: 25px !important;
    background: var(--aslr-chat-cream) !important;
    box-shadow: 0 28px 75px rgba(45,27,17,.26) !important;
    transform: translateY(15px) scale(.985) !important;
    transform-origin: bottom right !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    pointer-events: auto !important;
}

.aslr-shop-popup.is-open .aslr-shop-popup-sheet {
    transform: none !important;
}

.aslr-shop-popup-hero {
    position: relative !important;
    min-height: 112px !important;
    padding: 22px 56px 18px 82px !important;
    color: #fff !important;
    background: radial-gradient(circle at 92% 15%, rgba(212,168,121,.21), transparent 24%), linear-gradient(135deg, var(--aslr-chat-accent-dark), var(--aslr-chat-accent)) !important;
    overflow: hidden !important;
}

.aslr-shop-popup-hero::before {
    content: '' !important;
    position: absolute !important;
    width: 160px !important;
    height: 160px !important;
    right: -80px !important;
    top: -78px !important;
    border: 1px solid rgba(255,235,214,.18) !important;
    transform: rotate(45deg) !important;
    box-shadow: 0 0 0 15px rgba(255,255,255,.025), 0 0 0 32px rgba(255,255,255,.02) !important;
}

.aslr-shop-popup-mark {
    position: absolute !important;
    left: 20px !important;
    top: 22px !important;
    width: 48px !important;
    height: 48px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255,240,225,.45) !important;
    border-radius: 15px !important;
    color: var(--aslr-chat-gold) !important;
    background: rgba(66,28,11,.2) !important;
    backdrop-filter: blur(2px) !important;
}

.aslr-shop-popup-mark svg,
.aslr-shop-popup-welcome-symbol svg {
    width: 34px !important;
    height: 34px !important;
    display: block !important;
}

.aslr-shop-popup-copy {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.12 !important;
}

.aslr-shop-popup-copy strong {
    font-size: 19px !important;
    font-weight: 850 !important;
    letter-spacing: .01em !important;
    color: #fff !important;
}

.aslr-shop-popup-copy > span {
    margin-top: 4px !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    opacity: .92 !important;
    color: #fff !important;
}

.aslr-shop-popup-copy small {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    opacity: .8 !important;
    color: #fff !important;
}

.aslr-shop-popup-copy small i {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #e7c78e !important;
    box-shadow: 0 0 0 3px rgba(231,199,142,.14) !important;
}

.aslr-shop-popup-motif {
    position: absolute !important;
    left: 82px !important;
    right: 54px !important;
    bottom: 8px !important;
    height: 9px !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    opacity: .5 !important;
}

.aslr-shop-popup-motif span {
    width: 7px !important;
    height: 7px !important;
    border: 1px solid var(--aslr-chat-gold) !important;
    transform: rotate(45deg) !important;
}

.aslr-shop-popup-close {
    position: absolute !important;
    right: 12px !important;
    top: 12px !important;
    z-index: 3 !important;
    display: grid !important;
    place-items: center !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

.aslr-shop-popup-close:hover,
.aslr-shop-popup-close:focus {
    background: rgba(255,255,255,.16) !important;
    outline: none !important;
}

.aslr-shop-popup-close span {
    display: block !important;
    width: 10px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 2px !important;
    background: currentColor !important;
}

.aslr-shop-popup-band {
    height: 24px !important;
    flex: 0 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-bottom: 1px solid #ead7c7 !important;
    background: linear-gradient(90deg, #f7eadc, #fff9f2, #f7eadc) !important;
    color: var(--aslr-chat-accent) !important;
    font-size: 8px !important;
}

.aslr-shop-popup-band i {
    width: 20px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, var(--aslr-chat-gold), transparent) !important;
}

.aslr-shop-popup-body {
    position: relative !important;
    flex: 1 !important;
    min-height: 0 !important;
    overflow: auto !important;
    padding: 18px 17px 12px !important;
    background: linear-gradient(135deg, rgba(212,168,121,.08) 25%, transparent 25%) 0 0/28px 28px, linear-gradient(225deg, rgba(212,168,121,.06) 25%, transparent 25%) 14px 14px/28px 28px, #fffdf9 !important;
    scrollbar-width: thin !important;
    scrollbar-color: #d9b99d transparent !important;
}

.aslr-shop-popup-body::-webkit-scrollbar {
    width: 6px !important;
}

.aslr-shop-popup-body::-webkit-scrollbar-thumb {
    background: #d9b99d !important;
    border-radius: 999px !important;
}

.aslr-shop-popup-welcome {
    display: flex !important;
    gap: 12px !important;
    padding: 13px 14px !important;
    margin-bottom: 15px !important;
    border: 1px solid #ead9ca !important;
    border-radius: 17px !important;
    background: rgba(255,250,244,.93) !important;
    box-shadow: 0 4px 14px rgba(70,38,20,.05) !important;
}

.aslr-shop-popup-welcome-symbol {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 13px !important;
    color: var(--aslr-chat-accent) !important;
    background: var(--aslr-chat-sand) !important;
}

.aslr-shop-popup-welcome strong {
    font-size: 14px !important;
    color: var(--aslr-chat-ink) !important;
}

.aslr-shop-popup-welcome p {
    margin: 4px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
    color: #65544a !important;
}

.aslr-shop-popup-summary {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
}

.aslr-shop-score-box {
    display: grid !important;
    place-items: center !important;
    min-height: 0 !important;
    padding: 14px 16px !important;
    border: 1px solid #ead9ca !important;
    border-radius: 18px !important;
    background: rgba(255,250,244,.93) !important;
}

.aslr-shop-big-score {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    color: var(--aslr-chat-ink) !important;
}

.aslr-shop-big-score span {
    color: var(--aslr-chat-gold) !important;
    font-size: 40px !important;
}

.aslr-shop-big-score strong {
    font-size: 44px !important;
    line-height: .95 !important;
    font-weight: 700 !important;
    letter-spacing: -.04em !important;
}

.aslr-shop-score-box button {
    margin-top: 4px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #6f6660 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: default !important;
}

.aslr-shop-bars {
    display: grid !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    border: 1px solid #ead9ca !important;
    border-radius: 18px !important;
    background: rgba(255,250,244,.93) !important;
}

.aslr-shop-bar-row {
    display: grid !important;
    grid-template-columns: 46px 1fr 38px !important;
    gap: 10px !important;
    align-items: center !important;
    color: #39322e !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.aslr-shop-bar {
    height: 9px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #ede7e1 !important;
}

.aslr-shop-bar i {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: var(--aslr-chat-gold) !important;
}

.aslr-shop-bar-row b {
    color: #706760 !important;
    text-align: left !important;
    font-weight: 800 !important;
    font-size: 11px !important;
}

.aslr-shop-popup-controls {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 0 0 14px !important;
}

.aslr-shop-popup-controls label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: var(--aslr-chat-ink) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.aslr-shop-popup-controls select {
    min-height: 34px !important;
    padding: 7px 30px 7px 12px !important;
    border: 1px solid #ddcabb !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    color: var(--aslr-chat-ink) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.aslr-shop-photo-strip {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 86px !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding: 2px 1px 14px !important;
    margin-bottom: 8px !important;
}

.aslr-shop-photo-strip a {
    display: block !important;
    width: 86px !important;
    height: 96px !important;
    overflow: hidden !important;
    border-radius: 13px !important;
    background: #f2ece4 !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.08) !important;
}

.aslr-shop-photo-strip img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.aslr-shop-review-list {
    display: grid !important;
    gap: 10px !important;
}

.aslr-shop-review-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 14px !important;
    border: 1px solid #ead9ca !important;
    border-radius: 18px !important;
    background: rgba(255,250,244,.95) !important;
    color: var(--aslr-chat-ink) !important;
}

.aslr-shop-review-main {
    min-width: 0 !important;
}

.aslr-shop-review-author-row {
    display: grid !important;
    grid-template-columns: 40px minmax(0,1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}

.aslr-shop-avatar {
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #f1e7da !important;
    color: var(--aslr-chat-accent) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.aslr-shop-author-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px 8px !important;
}

.aslr-shop-author-meta strong {
    color: var(--aslr-chat-ink) !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

.aslr-shop-author-meta > span:not(.aslr-review-country) {
    color: #706760 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.aslr-shop-recommends {
    color: #3d7b23 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.aslr-shop-review-stars {
    margin: 0 0 8px !important;
}

.aslr-shop-review-stars .aslr-star {
    font-size: 18px !important;
}

.aslr-shop-badge-row {
    margin: 0 0 8px !important;
}

.aslr-shop-purchased-card {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    max-width: none !important;
    margin: 8px 0 12px !important;
}

.aslr-shop-product-thumb {
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #ead9ca !important;
    background: #fff !important;
}

.aslr-shop-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.aslr-shop-purchased-item {
    margin: 0 !important;
    color: #6f6660 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.aslr-shop-purchased-item strong {
    color: #6f6660 !important;
    font-weight: 900 !important;
}

.aslr-shop-purchased-item a {
    color: #5c514c !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.aslr-shop-review-item h3 {
    margin: 6px 0 8px !important;
    color: var(--aslr-chat-ink) !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
}

.aslr-shop-review-text {
    max-width: none !important;
    color: #3d352f !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}

.aslr-shop-review-text p {
    margin: 0 0 8px !important;
}

.aslr-shop-review-photos-wrap {
    width: 100% !important;
    align-self: stretch !important;
}

.aslr-shop-review-photos-wrap .aslr-review-photos {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
}

.aslr-shop-review-photos-wrap .aslr-review-photo,
.aslr-shop-review-product-image {
    width: 100% !important;
    height: 100px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: block !important;
    background: #f4ede5 !important;
}

.aslr-shop-review-product-image img,
.aslr-shop-review-photos-wrap .aslr-review-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.aslr-shop-review-product-image span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 6px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--aslr-chat-accent) !important;
}

.aslr-shop-popup-privacy {
    height: 30px !important;
    flex: 0 0 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 12px !important;
    border-top: 1px solid #eadbcd !important;
    background: #fffaf4 !important;
    color: #8a786d !important;
    font-size: 9.5px !important;
    text-align: center !important;
}

.aslr-shop-popup-privacy span {
    color: var(--aslr-chat-gold) !important;
}

.aslr-translation-actions {
    margin-top: 12px !important;
    margin-bottom: 6px !important;
}

.aslr-translate-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 1px solid #ddcabb !important;
    background: #fff !important;
    color: var(--aslr-chat-accent-dark) !important;
    border-radius: 999px !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(111,50,23,.06) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.aslr-translate-btn:hover,
.aslr-translate-btn:focus {
    background: #fff3e8 !important;
    box-shadow: 0 8px 16px rgba(111,50,23,.12) !important;
    transform: translateY(-1px) !important;
}

.aslr-translate-btn:disabled,
.aslr-translate-btn.is-loading {
    opacity: .65 !important;
    cursor: wait !important;
    transform: none !important;
}

.aslr-translation-box {
    margin-top: 10px !important;
    padding: 14px 16px !important;
    border: 1px solid #ead9ca !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.92) !important;
    color: var(--aslr-chat-ink) !important;
}

.aslr-translation-kicker {
    display: inline-block !important;
    margin-bottom: 7px !important;
    color: var(--aslr-chat-accent) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}

.aslr-translation-box h4 {
    margin: 0 0 7px !important;
    color: var(--aslr-chat-ink) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
}

.aslr-translation-body p,
.aslr-translation-box p {
    margin: 0 0 8px !important;
    color: #4a403a !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.aslr-translation-error {
    border-color: #f0c7bd !important;
    background: #fff7f5 !important;
}

.aslr-translation-error a {
    color: var(--aslr-chat-accent) !important;
    font-weight: 800 !important;
}

@media (max-width: 780px) {
    .aslr-shop-reviews-fab {
        left: auto !important;
        right: 14px !important;
        bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
        min-height: 52px !important;
        padding: 8px 13px 8px 8px !important;
    }

    .aslr-shop-popup-sheet {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        width: auto !important;
        max-width: none !important;
        height: min(650px, calc(100vh - 20px)) !important;
        max-height: calc(100vh - 20px) !important;
        border-radius: 24px !important;
    }

    .aslr-shop-popup-hero {
        padding-left: 76px !important;
        padding-right: 48px !important;
    }

    .aslr-shop-popup-mark {
        left: 16px !important;
    }

    .aslr-shop-popup-motif {
        left: 76px !important;
        right: 42px !important;
    }

    .aslr-shop-review-photos-wrap .aslr-review-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* Version 3.12.2 - polished compact review panel matching Amazigh Live Chat */
.aslr-shop-popup-sheet {
    width: 500px !important;
    height: 650px !important;
    border-radius: 25px !important;
}

.aslr-shop-popup-hero {
    min-height: 104px !important;
    padding: 18px 48px 16px 76px !important;
}

.aslr-shop-popup-mark {
    left: 18px !important;
    top: 18px !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
}

.aslr-shop-popup-mark svg {
    width: 31px !important;
    height: 31px !important;
}

.aslr-shop-popup-copy strong {
    display: block !important;
    max-width: 250px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 18px !important;
    line-height: 1.05 !important;
}

.aslr-shop-popup-copy > span {
    margin-top: 4px !important;
    font-size: 12.5px !important;
    line-height: 1.1 !important;
}

.aslr-shop-popup-copy small {
    margin-top: 7px !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
}

.aslr-shop-popup-motif {
    left: 76px !important;
    right: 46px !important;
    bottom: 7px !important;
}

.aslr-shop-popup-close {
    right: 10px !important;
    top: 10px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}

.aslr-shop-popup-body {
    padding: 14px 13px 10px !important;
}

.aslr-shop-popup-welcome {
    align-items: center !important;
    padding: 11px 12px !important;
    margin-bottom: 11px !important;
    border-radius: 16px !important;
}

.aslr-shop-popup-welcome-symbol {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    border-radius: 12px !important;
}

.aslr-shop-popup-welcome-symbol svg {
    width: 27px !important;
    height: 27px !important;
}

.aslr-shop-popup-welcome strong {
    display: block !important;
    font-size: 13.5px !important;
    line-height: 1.2 !important;
}

.aslr-shop-popup-welcome p {
    margin-top: 3px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

/* Compact shop summary: score left, distribution right. */
.aslr-shop-popup-summary {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 9px !important;
    margin-bottom: 10px !important;
}

.aslr-shop-score-box,
.aslr-shop-bars {
    min-width: 0 !important;
    border-radius: 15px !important;
    padding: 10px !important;
}

.aslr-shop-big-score {
    gap: 5px !important;
}

.aslr-shop-big-score span {
    font-size: 25px !important;
}

.aslr-shop-big-score strong {
    font-size: 29px !important;
}

.aslr-shop-score-box button {
    margin-top: 3px !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
}

.aslr-shop-bars {
    gap: 5px !important;
}

.aslr-shop-bar-row {
    grid-template-columns: 38px minmax(0,1fr) 31px !important;
    gap: 6px !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
}

.aslr-shop-bar {
    height: 6px !important;
}

.aslr-shop-bar-row b {
    font-size: 9px !important;
}

/* Filters feel like chat controls, not a form block. */
.aslr-shop-popup-controls {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.aslr-shop-popup-controls label {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: block !important;
    font-size: 9.5px !important;
    color: #806f64 !important;
}

.aslr-shop-popup-controls select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 32px !important;
    margin-top: 4px !important;
    padding: 6px 25px 6px 9px !important;
    border-radius: 10px !important;
    font-size: 10.5px !important;
}

/* Keep the photo preview subtle and horizontal. */
.aslr-shop-photo-strip {
    grid-auto-columns: 58px !important;
    gap: 7px !important;
    padding: 0 1px 9px !important;
    margin-bottom: 2px !important;
}

.aslr-shop-photo-strip a {
    width: 58px !important;
    height: 58px !important;
    border-radius: 11px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,.07) !important;
}

/* Compact review cards. */
.aslr-shop-review-list {
    gap: 9px !important;
}

.aslr-shop-review-item {
    gap: 8px !important;
    padding: 12px !important;
    border-radius: 16px !important;
    box-shadow: 0 3px 12px rgba(67,38,22,.035) !important;
}

.aslr-shop-review-author-row {
    grid-template-columns: 38px minmax(0,1fr) !important;
    gap: 9px !important;
    margin-bottom: 6px !important;
}

.aslr-shop-avatar {
    width: 38px !important;
    height: 38px !important;
    font-size: 15px !important;
}

.aslr-shop-author-meta {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 2px 7px !important;
    align-items: center !important;
}

.aslr-shop-author-meta strong {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 13.5px !important;
    line-height: 1.2 !important;
}

.aslr-shop-author-meta > span:not(.aslr-review-country) {
    grid-row: 2 !important;
    grid-column: 1 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
}

.aslr-shop-author-meta .aslr-review-country {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    margin: 0 !important;
    transform: scale(.88) !important;
    transform-origin: right center !important;
}

.aslr-shop-recommends {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-top: 2px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
}

.aslr-shop-review-stars {
    margin: 0 0 5px 47px !important;
    line-height: 1 !important;
}

.aslr-shop-review-stars .aslr-star,
.aslr-shop-review-stars .aslr-stars {
    font-size: 14px !important;
}

.aslr-shop-badge-row {
    margin: 0 0 7px 47px !important;
}

.aslr-shop-badge-row .aslr-reviewer-badges {
    gap: 5px !important;
    margin: 0 !important;
}

.aslr-shop-badge-row .aslr-reviewer-badge {
    padding: 5px 8px !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    line-height: 1 !important;
}

.aslr-shop-purchased-card {
    gap: 8px !important;
    margin: 7px 0 8px !important;
    padding: 7px !important;
    border: 1px solid #eee0d4 !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.7) !important;
}

.aslr-shop-product-thumb {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    border-radius: 9px !important;
}

.aslr-shop-purchased-item {
    min-width: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
}

.aslr-shop-purchased-item a {
    display: inline !important;
    overflow-wrap: anywhere !important;
}

.aslr-shop-review-item h3 {
    margin: 5px 0 6px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}

.aslr-shop-review-text {
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.aslr-shop-review-text p {
    margin-bottom: 6px !important;
}

/* The product thumbnail is already shown inline; remove the duplicate giant product image. */
.aslr-shop-popup .aslr-shop-product-image-wrap {
    display: none !important;
}

/* Actual reviewer photos remain, but compact. */
.aslr-shop-review-photos-wrap:not(.aslr-shop-product-image-wrap) .aslr-review-photos {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 6px !important;
}

.aslr-shop-review-photos-wrap:not(.aslr-shop-product-image-wrap) .aslr-review-photo {
    height: 62px !important;
    border-radius: 9px !important;
}

.aslr-translation-actions {
    margin: 8px 0 2px !important;
}

.aslr-translate-btn {
    padding: 7px 10px !important;
    font-size: 10.5px !important;
    box-shadow: none !important;
}

.aslr-translation-box {
    margin-top: 7px !important;
    padding: 10px 11px !important;
    border-radius: 12px !important;
}

.aslr-translation-kicker {
    margin-bottom: 4px !important;
    font-size: 9px !important;
}

.aslr-translation-box h4 {
    margin-bottom: 5px !important;
    font-size: 12px !important;
}

.aslr-translation-body p,
.aslr-translation-box p {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
}

.aslr-shop-popup-privacy {
    font-size: 9px !important;
}

@media (max-width: 780px) {
    .aslr-shop-popup-sheet {
        right: 8px !important;
        left: 8px !important;
        width: auto !important;
        height: calc(100dvh - 90px) !important;
        max-height: 740px !important;
        bottom: 76px !important;
        border-radius: 22px !important;
    }

    .aslr-shop-popup-hero {
        min-height: 98px !important;
        padding: 17px 44px 15px 70px !important;
    }

    .aslr-shop-popup-mark {
        left: 15px !important;
        top: 16px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .aslr-shop-popup-copy strong {
        font-size: 17px !important;
    }

    .aslr-shop-popup-motif {
        left: 70px !important;
    }

    .aslr-shop-popup-body {
        padding: 12px 11px 9px !important;
    }

    .aslr-shop-popup-summary {
        grid-template-columns: 96px minmax(0,1fr) !important;
    }
}

/* Version 3.12.3 - exact shell parity with Amazigh Live Chat + Chatwoot v2.1.1 */
.aslr-shop-popup-sheet {
    width: 500px !important;
    max-width: calc(100vw - 36px) !important;
    height: 650px !important;
    max-height: calc(100vh - 36px) !important;
    border: 1px solid #dec9b7 !important;
    border-radius: 25px !important;
    background: var(--aslr-chat-cream) !important;
    box-shadow: 0 28px 75px rgba(45,27,17,.26) !important;
}

.aslr-shop-popup-hero {
    min-height: 112px !important;
    padding: 22px 56px 18px 82px !important;
}

.aslr-shop-popup-mark {
    left: 20px !important;
    top: 22px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 15px !important;
}

.aslr-shop-popup-mark svg,
.aslr-shop-popup-welcome-symbol svg {
    width: 34px !important;
    height: 34px !important;
}

.aslr-shop-popup-copy strong {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: 19px !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
}

.aslr-shop-popup-copy > span {
    margin-top: 4px !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.12 !important;
}

.aslr-shop-popup-copy small {
    margin-top: 8px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.aslr-shop-popup-motif {
    left: 82px !important;
    right: 54px !important;
    bottom: 8px !important;
}

.aslr-shop-popup-close {
    right: 12px !important;
    top: 12px !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    border-radius: 6px !important;
}

.aslr-shop-popup-body {
    padding: 18px 17px 12px !important;
}

.aslr-shop-popup-welcome {
    gap: 12px !important;
    padding: 13px 14px !important;
    margin-bottom: 15px !important;
    border-radius: 17px !important;
}

.aslr-shop-popup-welcome-symbol {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 13px !important;
}

.aslr-shop-popup-welcome strong {
    font-size: 14px !important;
    line-height: 1.25 !important;
}

.aslr-shop-popup-welcome p {
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
}

.aslr-shop-popup-summary {
    display: grid !important;
    grid-template-columns: 128px minmax(0,1fr) !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}

.aslr-shop-score-box,
.aslr-shop-bars {
    padding: 14px !important;
    border-radius: 16px !important;
}

.aslr-shop-big-score {
    gap: 6px !important;
}

.aslr-shop-big-score span {
    font-size: 28px !important;
}

.aslr-shop-big-score strong {
    font-size: 32px !important;
}

.aslr-shop-score-box button {
    margin-top: 6px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
}

.aslr-shop-bars {
    gap: 6px !important;
}

.aslr-shop-bar-row {
    grid-template-columns: 44px minmax(0,1fr) 34px !important;
    gap: 8px !important;
    font-size: 10.5px !important;
}

.aslr-shop-bar {
    height: 6px !important;
}

.aslr-shop-popup-controls {
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.aslr-shop-popup-controls label {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #7a695e !important;
}

.aslr-shop-popup-controls select {
    min-height: 38px !important;
    margin-top: 5px !important;
    padding: 8px 30px 8px 11px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    background: #fff !important;
}

.aslr-shop-photo-strip {
    grid-auto-columns: 62px !important;
    gap: 8px !important;
    padding: 0 1px 10px !important;
    margin-bottom: 4px !important;
}

.aslr-shop-photo-strip a {
    width: 62px !important;
    height: 62px !important;
    border-radius: 12px !important;
}

.aslr-shop-review-list {
    gap: 10px !important;
}

.aslr-shop-review-item {
    gap: 8px !important;
    padding: 14px !important;
    border: 1px solid #ead9ca !important;
    border-radius: 17px !important;
    background: rgba(255,250,244,.94) !important;
    box-shadow: 0 4px 14px rgba(70,38,20,.05) !important;
}

.aslr-shop-review-author-row {
    grid-template-columns: 42px minmax(0,1fr) !important;
    gap: 10px !important;
    margin-bottom: 6px !important;
}

.aslr-shop-avatar {
    width: 42px !important;
    height: 42px !important;
    font-size: 16px !important;
}

.aslr-shop-author-meta {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 3px 8px !important;
    align-items: start !important;
}

.aslr-shop-author-meta strong {
    font-size: 14px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.aslr-shop-author-meta > span:not(.aslr-review-country) {
    grid-column: 1 !important;
    grid-row: 2 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
}

.aslr-shop-author-meta .aslr-review-country {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    margin: 0 !important;
    transform: scale(.92) !important;
    transform-origin: right center !important;
}

.aslr-shop-recommends {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-top: 3px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.aslr-shop-review-stars {
    margin: 0 0 6px 52px !important;
}

.aslr-shop-review-stars .aslr-star,
.aslr-shop-review-stars .aslr-stars {
    font-size: 15px !important;
}

.aslr-shop-badge-row {
    margin: 0 0 8px 52px !important;
}

.aslr-shop-badge-row .aslr-reviewer-badges {
    gap: 6px !important;
}

.aslr-shop-badge-row .aslr-reviewer-badge {
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    line-height: 1 !important;
}

.aslr-shop-purchased-card {
    gap: 8px !important;
    margin: 8px 0 10px !important;
    padding: 8px !important;
    border-radius: 13px !important;
}

.aslr-shop-product-thumb {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    border-radius: 10px !important;
}

.aslr-shop-purchased-item {
    font-size: 11.5px !important;
    line-height: 1.42 !important;
}

.aslr-shop-review-item h3 {
    margin: 6px 0 7px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.aslr-shop-review-text {
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.aslr-shop-review-text p {
    margin-bottom: 7px !important;
}

.aslr-shop-review-photos-wrap:not(.aslr-shop-product-image-wrap) .aslr-review-photos {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 8px !important;
}

.aslr-shop-review-photos-wrap:not(.aslr-shop-product-image-wrap) .aslr-review-photo {
    height: 78px !important;
    border-radius: 10px !important;
}

.aslr-shop-popup .aslr-shop-product-image-wrap {
    display: none !important;
}

.aslr-translate-btn {
    padding: 8px 12px !important;
    font-size: 11.5px !important;
}

.aslr-translation-box {
    margin-top: 8px !important;
    padding: 12px 13px !important;
    border-radius: 14px !important;
}

.aslr-translation-kicker {
    font-size: 9.5px !important;
}

.aslr-translation-box h4 {
    font-size: 13px !important;
}

.aslr-translation-body p,
.aslr-translation-box p {
    font-size: 12px !important;
    line-height: 1.55 !important;
}

.aslr-shop-popup-privacy {
    font-size: 9.5px !important;
}

@media (max-width: 780px) {
    .aslr-shop-popup-sheet {
        left: 10px !important;
        right: 10px !important;
        bottom: 76px !important;
        width: auto !important;
        max-width: none !important;
        height: min(650px, calc(100dvh - 86px)) !important;
        max-height: calc(100dvh - 86px) !important;
        border-radius: 24px !important;
    }

    .aslr-shop-popup-hero {
        padding-left: 76px !important;
        padding-right: 48px !important;
    }

    .aslr-shop-popup-mark {
        left: 16px !important;
        top: 20px !important;
    }

    .aslr-shop-popup-motif {
        left: 76px !important;
        right: 42px !important;
    }

    .aslr-shop-popup-summary {
        grid-template-columns: 112px minmax(0,1fr) !important;
    }

    .aslr-shop-review-photos-wrap:not(.aslr-shop-product-image-wrap) .aslr-review-photos {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }
}

/* Version 3.12.4 - force full-box Chatwoot-style popup positioning and fill */
.aslr-shop-popup{
    inset: 0 !important;
}

.aslr-shop-popup-sheet{
    inset: auto 18px 18px auto !important;
    left: auto !important;
    right: 18px !important;
    top: auto !important;
    bottom: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aslr-shop-popup-sheet,
.aslr-shop-popup-hero,
.aslr-shop-popup-band,
.aslr-shop-popup-body,
.aslr-shop-popup-privacy{
    width: 100% !important;
    max-width: 100% !important;
}

.aslr-shop-popup-body{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

.aslr-shop-popup-body > *{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.aslr-shop-popup-welcome,
.aslr-shop-popup-summary,
.aslr-shop-popup-controls,
.aslr-shop-photo-strip,
.aslr-shop-review-list{
    align-self: stretch !important;
}

.aslr-shop-popup-summary{
    grid-template-columns: 118px minmax(0,1fr) !important;
}

.aslr-shop-popup-controls{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
}

.aslr-shop-popup-controls label{
    width: 100% !important;
}

.aslr-shop-review-list{
    overflow: visible !important;
}

.aslr-shop-popup-privacy{
    flex: 0 0 30px !important;
}

/* Use the same nearly-full mobile/tablet shell behavior as the live chat popup */
@media (max-width: 1024px){
    .aslr-shop-popup-sheet{
        inset: auto 10px 76px 10px !important;
        left: 10px !important;
        right: 10px !important;
        bottom: 76px !important;
        width: auto !important;
        max-width: none !important;
        height: min(650px, calc(100dvh - 86px)) !important;
        max-height: calc(100dvh - 86px) !important;
        border-radius: 24px !important;
        transform-origin: bottom right !important;
    }
}

@media (max-width: 640px){
    .aslr-shop-popup-controls{
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .aslr-shop-popup-copy strong{
        white-space: normal !important;
    }
}

/* Version 3.12.6 - wider desktop size: same floating shell style, now 500x650 */
@media (min-width: 768px) {
    .aslr-shop-popup-sheet {
        position: fixed !important;
        inset: auto 18px 18px auto !important;
        left: auto !important;
        right: 18px !important;
        top: auto !important;
        bottom: 18px !important;
        width: 500px !important;
        min-width: 0 !important;
        max-width: calc(100vw - 36px) !important;
        height: 650px !important;
        min-height: 0 !important;
        max-height: calc(100vh - 36px) !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 25px !important;
        transform-origin: bottom right !important;
    }

    .aslr-shop-popup-hero,
    .aslr-shop-popup-band,
    .aslr-shop-popup-body,
    .aslr-shop-popup-privacy {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Exact mobile shell behavior from the live-chat plugin. */
@media (max-width: 767px) {
    .aslr-shop-popup-sheet {
        position: fixed !important;
        inset: auto auto 76px 8px !important;
        left: 8px !important;
        right: auto !important;
        top: auto !important;
        bottom: 76px !important;
        width: calc(100vw - 16px) !important;
        min-width: 0 !important;
        max-width: none !important;
        height: calc(100dvh - 90px) !important;
        min-height: 0 !important;
        max-height: 740px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 22px !important;
        transform-origin: bottom right !important;
    }

    .aslr-shop-popup-hero,
    .aslr-shop-popup-band,
    .aslr-shop-popup-body,
    .aslr-shop-popup-privacy {
        width: 100% !important;
        max-width: none !important;
    }
}


/* Version 3.12.7 — compact rating summary + smaller sort/rating controls */
.aslr-shop-popup-summary{
    grid-template-columns:132px minmax(0,1fr) !important;
    gap:10px !important;
    align-items:stretch !important;
}

.aslr-shop-score-box{
    box-sizing:border-box !important;
    width:132px !important;
    min-width:132px !important;
    max-width:132px !important;
    padding:10px 8px !important;
    overflow:hidden !important;
}

.aslr-shop-big-score{
    width:100% !important;
    min-width:0 !important;
    gap:4px !important;
    justify-content:center !important;
    white-space:nowrap !important;
}

.aslr-shop-big-score span{
    flex:0 0 auto !important;
    font-size:24px !important;
    line-height:1 !important;
}

.aslr-shop-big-score strong{
    flex:0 0 auto !important;
    font-size:30px !important;
    line-height:1 !important;
    letter-spacing:-.035em !important;
}

.aslr-shop-score-box button{
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:0 !important;
    height:auto !important;
    margin:6px auto 0 !important;
    padding:0 !important;
    white-space:nowrap !important;
    font-size:9.5px !important;
    line-height:1.2 !important;
}

.aslr-shop-bars{
    min-width:0 !important;
    padding:10px 12px !important;
}

.aslr-shop-bar-row{
    grid-template-columns:39px minmax(0,1fr) 30px !important;
    gap:6px !important;
    font-size:10px !important;
}

.aslr-shop-popup-controls{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    align-items:end !important;
    margin:0 0 10px !important;
}

.aslr-shop-popup-controls label{
    display:flex !important;
    flex-direction:column !important;
    gap:4px !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    font-size:9.5px !important;
    line-height:1.1 !important;
    font-weight:700 !important;
    color:#7a695e !important;
}

.aslr-shop-popup-controls select{
    box-sizing:border-box !important;
    appearance:auto !important;
    -webkit-appearance:auto !important;
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:36px !important;
    min-height:36px !important;
    max-height:36px !important;
    margin:0 !important;
    padding:0 28px 0 10px !important;
    border:1px solid #ddcabb !important;
    border-radius:11px !important;
    background-color:#fff !important;
    color:var(--aslr-chat-ink) !important;
    box-shadow:none !important;
    font:inherit !important;
    font-size:11.5px !important;
    font-weight:700 !important;
    line-height:34px !important;
}

.aslr-shop-popup-controls select:focus{
    outline:none !important;
    border-color:var(--aslr-chat-accent) !important;
    box-shadow:0 0 0 2px rgba(161,73,35,.08) !important;
}

@media (max-width:767px){
    .aslr-shop-popup-summary{
        grid-template-columns:116px minmax(0,1fr) !important;
        gap:8px !important;
    }

    .aslr-shop-score-box{
        width:116px !important;
        min-width:116px !important;
        max-width:116px !important;
        padding:9px 6px !important;
    }

    .aslr-shop-big-score span{font-size:22px !important}
    .aslr-shop-big-score strong{font-size:27px !important}
    .aslr-shop-score-box button{font-size:9px !important}

    .aslr-shop-popup-controls{
        gap:7px !important;
    }

    .aslr-shop-popup-controls label{
        font-size:9px !important;
    }

    .aslr-shop-popup-controls select{
        height:34px !important;
        min-height:34px !important;
        max-height:34px !important;
        padding-left:9px !important;
        font-size:11px !important;
        line-height:32px !important;
    }
}


/* 3.12.8 — shop popup infinite-scroll loader */
.aslr-shop-infinite-status{
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    padding:10px 6px!important;
    color:#8a786d!important;
    font-size:10px!important;
    font-weight:650!important;
}
.aslr-shop-infinite-status[hidden]{display:none!important}
.aslr-shop-infinite-status span{
    width:6px!important;height:6px!important;border-radius:50%!important;
    background:var(--aslr-chat-accent)!important;
    animation:aslr-shop-dot 1s ease-in-out infinite!important;
}
.aslr-shop-infinite-status span:nth-child(2){animation-delay:.12s!important}
.aslr-shop-infinite-status span:nth-child(3){animation-delay:.24s!important}
.aslr-shop-infinite-status em{margin-left:5px!important;font-style:normal!important}
.aslr-shop-infinite-status.is-error{color:#9a3e2b!important}
@keyframes aslr-shop-dot{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
