/* ============================================================
   Art By Michelle — Client Reviews CSS
   ============================================================ */

/* 3-column grid */
.abm-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 2rem 0;
}

@media (max-width: 900px) {
    .abm-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .abm-reviews-grid { grid-template-columns: 1fr; }
}

/* Card — fixed height everywhere */
.abm-review-card {
    background: #f2ede6;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    height: 380px;
    flex-shrink: 0;
}

.abm-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26,22,18,0.08);
}

.abm-review-card::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 5rem;
    color: #8b5e3c;
    opacity: 0.15;
    position: absolute;
    top: 8px;
    left: 16px;
    line-height: 1;
    pointer-events: none;
}

/* Stars */
.abm-review-stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.abm-star-filled { color: #d4a853; font-size: 1rem; }
.abm-star-empty  { color: #ddd5c8; font-size: 1rem; }

/* Review text — scrollable */
.abm-review-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.75;
    color: #1a1612;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
    min-height: 0;
}

.abm-review-text p {
    margin: 0;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Scrollbar */
.abm-review-text::-webkit-scrollbar { width: 3px; }
.abm-review-text::-webkit-scrollbar-track { background: transparent; }
.abm-review-text::-webkit-scrollbar-thumb {
    background: #ddd5c8;
    border-radius: 2px;
}
.abm-review-text::-webkit-scrollbar-thumb:hover { background: #8b5e3c; }

/* Author row */
.abm-review-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd5c8;
    margin-top: auto;
    flex-shrink: 0;
}

.abm-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #8b5e3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    flex-shrink: 0;
}

.abm-review-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.abm-review-name {
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1612;
    margin: 0 0 2px;
}

.abm-review-artwork {
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: #8b5e3c;
    margin: 0;
    text-transform: uppercase;
}

/* ============================================================
   REVIEW SUBMISSION FORM
   ============================================================ */

.abm-review-form-wrap {
    max-width: 620px;
    margin: 3rem auto;
    padding: 2.5rem 3rem;
    background: #faf8f5;
    border: 0.5px solid rgba(26,22,18,0.12);
    box-shadow: 0 4px 24px rgba(26,22,18,0.06);
}

.abm-review-form-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    color: #1a1612;
    margin: 0 0 0.4rem;
    letter-spacing: 0.02em;
}

.abm-review-form-note {
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    color: #6b5f53;
    margin: 0 0 2rem;
}

.abm-review-form-wrap .abm-form-row,
.abm-review-form-wrap .abm-form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem;
    margin-bottom: 1.1rem !important;
}

.abm-review-form-wrap label {
    font-family: 'Jost', sans-serif !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    color: #6b5f53 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.abm-review-form-wrap input[type="text"],
.abm-review-form-wrap input[type="email"],
.abm-review-form-wrap textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #ddd5c8 !important;
    border-radius: 0 !important;
    padding: 0.7rem 0.9rem !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.9rem !important;
    color: #1a1612 !important;
    outline: none !important;
    transition: border-color 0.2s;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.abm-review-form-wrap input[type="text"]:focus,
.abm-review-form-wrap input[type="email"]:focus,
.abm-review-form-wrap textarea:focus {
    border-color: #8b5e3c !important;
    background: #faf8f5 !important;
}

.abm-review-form-wrap textarea {
    min-height: 60px !important;
    height: 60px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

.abm-star-rating {
    display: flex;
    gap: 6px;
    cursor: pointer;
    margin-top: 6px;
}

.abm-star-rating .abm-star {
    font-size: 2rem;
    color: #ddd5c8;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
    line-height: 1;
}

.abm-star-rating .abm-star:hover,
.abm-star-rating .abm-star.abm-star-hover,
.abm-star-rating .abm-star.abm-star-selected {
    color: #d4a853;
    transform: scale(1.15);
}

.abm-review-form-wrap input[type="submit"],
.abm-review-form-wrap button[type="submit"],
.abm-review-form-wrap .abm-submit-btn {
    display: inline-block !important;
    margin-top: 0.5rem !important;
    padding: 0.75rem 2.5rem !important;
    background: #1a1612 !important;
    color: #fff !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 160px !important;
}

.abm-review-form-wrap input[type="submit"]:hover,
.abm-review-form-wrap button[type="submit"]:hover,
.abm-review-form-wrap .abm-submit-btn:hover {
    background: #e8450a !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232,69,10,0.3) !important;
}

.abm-form-required-note {
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    color: #6b5f53;
    margin-top: 1.2rem;
}

@media (max-width: 680px) {
    .abm-review-form-wrap {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }
}

/* ============================================================
   SLIDER
   ============================================================ */

.abm-reviews-slider-wrap {
    margin: 3rem 0 0;
}

.abm-slider-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: #1a1612;
    letter-spacing: 0.04em;
    margin: 0 0 1.5rem;
}

.abm-reviews-slider {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.abm-slider-track-wrap {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.abm-slider-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s ease;
}

/* ✅ Slide — fixed height same as card */
.abm-slider-slide {
    flex: 0 0 calc(33.333% - 16px);
    width: calc(33.333% - 16px);
    margin-right: 24px;
    box-sizing: border-box;
    height: 380px;
    flex-shrink: 0;
}

.abm-slider-slide:last-child {
    margin-right: 0;
}

/* ✅ Card inside slider — force same height, no flex stretching */
.abm-slider-slide .abm-review-card {
    height: 380px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .abm-slider-slide {
        flex: 0 0 calc(50% - 12px);
        width: calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .abm-slider-slide {
        flex: 0 0 100%;
        width: 100%;
        margin-right: 0;
    }
}

.abm-slider-btn {
    background: none;
    border: 1px solid #ddd5c8;
    color: #8b5e3c;
    font-size: 1.2rem;
    width: 44px;
    min-width: 44px;
    height: 380px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.abm-slider-btn:hover {
    background: #f2ede6;
    border-color: #8b5e3c;
}

.abm-slider-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.abm-slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 1.2rem;
}

.abm-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd5c8;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.abm-slider-dot.active {
    background: #8b5e3c;
}