/* ============================================
   WEBSHOP - MODERN BEM DESIGN
   Complete refactor with BEM naming conventions
   ============================================ */

/* =========================
   CSS VARIABLES
   ========================= */
:root {
    /* --primary-shop-color: #1F1562; */
    /* --primary-shop-color-secondary: #16104A; */
    --accent-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border-light: #E1E8ED;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* =========================
   BASE STYLES
   ========================= */
.webshop *:not([class^="fa-"]):not([class*=" fa-"]) {
    font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.webshop,
.webshop_front-page {
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: #F8F9FA;
}

/* =========================
   HEADER UI BLOCK
   ========================= */
.webshop__header {
    background-color: white;
    border-bottom: 1px solid #E1E8ED;
}

.webshop__header__inner {
    max-width: 100%;
}

/* Top row: Logo + Title */
.webshop__header__top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 20px 24px 10px;
}

.webshop__header__logo_area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.webshop__header__logo {
    display: block;
    text-decoration: none;
    flex-shrink: 0;
    margin: 0;
}

.webshop__header__logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.webshop__header__top h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.2px;
    padding-left: 16px;
}

/* Bottom row: Breadcrumb */
.webshop__header__nav {
    padding: 10px 24px;
    border-top: 1px solid #E1E8ED;
    box-shadow: var(--shadow-sm);
}

.webshop__header__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.webshop__header__nav li {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.webshop__header__nav li:not(:last-child)::after {
    content: '/';
    margin: 0 6px;
    color: #999;
    font-weight: 300;
}

.webshop__header__nav a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.webshop__header__nav a:hover {
    color: var(--primary-shop-color);
    background-color: rgba(0, 0, 0, 0.03);
}

.webshop__header__nav li:last-child a {
    color: var(--primary-shop-color);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .webshop__header {
        padding: 16px 20px;
        margin-bottom: 20px;
    }

    .webshop__header__top {
        gap: 12px;
        margin-bottom: 10px;
    }

    .webshop__header__logo img {
        height: 32px;
    }

    .webshop__header__top h2 {
        font-size: 16px;
    }

    .webshop__header__nav li {
        font-size: 12px;
    }
}

/* =========================
   WEBSHOP PAGE LAYOUT
   ========================= */
.webshop-page {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

/* =========================
   SIDEBAR (Purple Navigation)
   ========================= */
.webshop__sidebar {
    width: 300px;
    min-width: 300px;
    background: linear-gradient(180deg, var(--primary-shop-color) 0%, var(--primary-shop-color-secondary) 100%);
    color: var(--accent-white);
    padding: 40px 30px;
    position: relative;
}

/* Sidebar Content */
.webshop__sidebar .button-back {
    margin-bottom: 30px;
}

.sidebar-content {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.6;
}

/* Legend */
.legend {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legend__title {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-white);
}

.legend__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legend__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.legend__item:last-child {
    margin-bottom: 0;
}

.legend__color {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.legend__name {
    flex: 1;
}

/* =========================
   MAIN CONTENT AREA
   ========================= */
.webshop__content--wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.webshop__content {
    flex: 1;
    padding: 40px;
    background-color: #F8F9FA;
    position: relative;
}

/* =========================
   CART BUTTON (Floating)
   ========================= */
.cart-button {
    position: absolute;
    top: 40px;
    right: 60px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.cart-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cart-button i {
    color: var(--primary-shop-color);
    font-size: 24px;
}

.cart-button__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    background-color: #FF6B6B;
    color: var(--accent-white);
    border: 2px solid var(--accent-white);
}

.cart-button__badge--empty {
    background-color: #BDC3C7;
}

/* =========================
   SEARCH BAR
   ========================= */
.search-bar {
    margin-bottom: 40px;
    position: relative;
    max-width: 400px;
}

.search-bar__input {
    background-color: white;
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 1px solid #999;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    outline: none;
    color: var(--text-dark);
}

.search-bar__input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-bar__input:focus {
    border-color: var(--primary-shop-color);
    background-color: var(--accent-white);
    box-shadow: 0 0 0 3px rgba(31, 21, 98, 0.08);
}

.search-bar__icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none;
}

/* =========================
   PRODUCTS CONTAINER
   ========================= */
.webshop__products {
    max-width: 100%;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 16px;
}

/* =========================
   PRODUCT GRID
   ========================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =========================
   PRODUCT CARD
   ========================= */
.product-card {
    width: 100%;
    background-color: var(--accent-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Product Image (inset with padding, rounded) */
.product-card__image-wrap {
    position: relative;
    padding: 16px 16px 0;
}

.product-card__image {
    position: relative;
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #EAF1FB;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Action Button (Info/Check) */
.product-card__action {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.product-card__action i {
    color: var(--primary-shop-color);
    font-size: 16px;
    font-weight: 900;
}

.product-card__action:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.product-card__action--checked {
    background-color: #10B981;
}

.product-card__action--checked i {
    color: var(--accent-white);
}

/* Product Content */
.product-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Product Title */
.product-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

/* Hidden filter data */
.product-card__filter-data {
    display: none !important;
}

/* =========================
   PRODUCT CARD — COURSE REDESIGN
   Whole card is one link; CTA is styled as a button.
   ========================= */
.product-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-card__link:focus-visible {
    outline: 3px solid var(--primary-shop-color);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}

/* Status badge on the image */
.product-card__badge {
    position: absolute;
    top: 26px;
    right: 26px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    pointer-events: none;
}

.product-card__badge--status {
    background-color: #10B981;
    color: var(--accent-white);
}

/* Compact info rows */
.product-card__rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.product-card__row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.product-card__row i {
    width: 16px;
    text-align: center;
    color: var(--primary-shop-color);
}

.product-card__row--split {
    gap: 20px;
}

.product-card__row--split span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Price (bottom of card) */
.product-card__price {
    display: block;
    margin-top: auto;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

.product-card__price-old {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
    margin-right: 6px;
}

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

/* Tablet */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }

    .webshop__content {
        padding: 30px 40px;
    }
}

/* Mobile Landscape */
@media (max-width: 992px) {
    .webshop-page {
        flex-direction: column;
    }

    .webshop__sidebar {
        width: 100%;
        min-width: unset;
        padding: 30px;
    }

    .webshop__content {
        padding: 30px;
        margin-bottom: 60px;
    }


    .cart-button {
        top: 20px;
        right: 30px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

/* Mobile Portrait */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }

    .product-card__image {
        height: 180px;
    }

    .cart-button {
        width: 50px;
        height: 50px;
    }

    .cart-button i {
        font-size: 20px;
    }

    .search-bar__group {
        max-width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .webshop__sidebar,
    .webshop__content {
        padding: 20px;
    }

    .search-bar {
        margin-top: 70px;
        /* Space for cart button */
    }

    .product-card__image {
        height: 220px;
    }
}

/* =========================
   LEGACY COMPATIBILITY
   (Keep old class names working)
   ========================= */

/* Old classes that might still be referenced */
.col-l {
    /* Redirect to new class */
    width: 300px;
    min-width: 300px;
}

.col-r {
    flex: 1;
}

#olo_aanbod_wrapper {
    max-width: 100%;
}

.webshop_aanbod_ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter_content {
    /* Alias for product-card */
}

/* =========================
   UTILITY CLASSES
   ========================= */
.border-r {
    border: 1px dotted red;
}

.border-g {
    border: 1px dotted green;
}

.border-b {
    border: 1px dotted blue;
}

/* =========================
   PRODUCT DETAIL PAGE
   ========================= */
.product-detail {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 30px;
    margin: 0 auto;
    background-color: var(--accent-white);
    overflow: hidden;
}

.product-detail__image {
    width: auto;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #E5E5E5;
}

.product-detail__discount {
    background-color: #C33;
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.product-detail__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-detail__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.product-detail__badges {
    margin-bottom: 8px;
}

.product-detail__description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.product-detail__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.product-detail__info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.product-detail__info-item i {
    width: 20px;
    color: var(--primary-shop-color);
    font-size: 18px;
}

.product-detail__actions {
    margin-top: auto;
}

.product-detail__add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: var(--primary-shop-color);
    color: var(--accent-white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.product-detail__add-button:hover {
    background-color: var(--primary-shop-color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.product-detail__add-button i {
    font-size: 18px;
}

.product-detail__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
}

.product-detail__status--owned {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.product-detail__status--in-cart {
    background-color: #E3F2FD;
    color: #1976D2;
}

.product-detail__status i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 968px) {
    .product-detail {
        flex-direction: column;
        gap: 15px;
    }

    .product-detail__image {
        width: 100%;
        height: 200px;
    }

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

    .product-detail__content {
        gap: 10px;
    }
}

/* =========================
   CART CONFIRMATION (Float Panel Content)
   ========================= */
.cart-confirmation {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.cart-confirmation__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #E8F5E9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.cart-confirmation__icon i {
    font-size: 40px;
    color: #2E7D32;
}

.cart-confirmation__title {
    margin: 0 0 24px 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-confirmation__product {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background-color: #F8F9FA;
    border-radius: var(--radius-sm);
    margin-bottom: 32px;
    text-align: left;
    width: 100%;
}

.cart-confirmation__product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.cart-confirmation__type {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-confirmation__name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-confirmation__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-white) !important;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateX(-3px);
    cursor: pointer;
}

.button i {
    font-size: 16px;
}

.button--primary {
    background-color: var(--primary-shop-color);
    color: var(--accent-white);
}

.button--primary:hover {
    background-color: var(--primary-shop-color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button--secondary {
    background-color: var(--primary-shop-color-secondary);
    color: var(--primary-shop-color);
    border: 2px solid var(--primary-shop-color);
}

.button--secondary:hover {
    background-color: var(--primary-shop-color);
    color: var(--accent-white);
}

/* =========================
   CART (Float Panel Content)
   ========================= */
.cart {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Empty Cart */
.cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    flex: 1;
}

.cart__empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.cart__empty-icon i {
    font-size: 48px;
    color: #CCC;
}

.cart__empty-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.cart__empty-text {
    margin: 0 0 32px 0;
    color: var(--text-light);
    font-size: 15px;
}

/* Cart Items */
.cart__items {
    flex: 1;
    overflow-y: auto;
    padding: 0 0 20px 0;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-item__image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #E5E5E5;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item__type {
    margin: 0;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item__title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.cart-item__actions {
    margin-top: auto;
}

.cart-item__remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: transparent;
    color: #DC3545;
    border: 1px solid #DC3545;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-item__remove:hover {
    background-color: #DC3545;
    color: var(--accent-white);
}

.cart-item__remove i {
    font-size: 14px;
}

.cart-item__price {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cart-item__price-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Cart Summary */
.cart__summary {
    padding: 20px 0;
    border-top: 2px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cart__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.cart__summary-row--total {
    padding: 12px 0;
}

.cart__summary-label {
    font-size: 15px;
    color: var(--text-dark);
}

.cart__summary-row--total .cart__summary-label {
    font-size: 18px;
    font-weight: 700;
}

.cart__summary-label small {
    font-size: 12px;
    color: var(--text-light);
}

.cart__summary-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.cart__summary-row--total .cart__summary-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-shop-color);
}

/* Cart Actions */
.cart__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0 0 0;
}

.cart__actions .button {
    width: 100%;
    justify-content: center;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
    /* Ensure wrapping on very small screens */
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }

    .form-row .form-group {
        width: 100%;
        min-width: unset;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-shop-color);
}

.form-group small {
    font-size: 13px;
    color: var(--text-light);
}

.form-group .form-group__info {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

.form-group__separator {
    width: 100%;
    height: 1px;
    border: 1px dashed var(--border-light);
    margin: 0;
}

.form-group__asterisk {
    color: #DC3545;
}

.mb-3 {
    margin-bottom: 16px !important;
}

.invoice-details-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =========================
   PAYMENT SUCCESS
   ========================= */
.payment-success {
    max-width: 700px;
    margin: 60px auto;
    background: var(--accent-white);
    border-radius: var(--radius-md);
    padding: 60px 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.payment-success__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background-color: #E8F5E9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-success__icon i {
    font-size: 56px;
    color: #2E7D32;
}

.payment-success__title {
    margin: 0 0 24px 0;
    font-size: 32px;
    color: var(--text-dark);
}

.payment-success__message {
    margin-bottom: 32px;
}

.payment-success__message p {
    margin: 0;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.payment-success__credentials {
    margin: 32px 0;
    text-align: left;
}

.payment-success__credentials h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    color: var(--text-dark);
    text-align: center;
}

.credentials-box {
    background-color: #F8F9FA;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 16px;
}

.credentials-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.credentials-item:last-child {
    border-bottom: none;
}

.credentials-item label {
    font-weight: 600;
    color: var(--text-dark);
}

.credentials-item span {
    font-family: monospace;
    font-size: 16px;
    color: var(--primary-shop-color);
}

.credentials-item .password {
    background-color: var(--accent-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.credentials-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background-color: #FFF9E6;
    border: 1px solid #FFE8A1;
    border-radius: var(--radius-sm);
    margin: 0;
    font-size: 14px;
    color: var(--text-dark);
}

.credentials-note i {
    color: #F59E0B;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.payment-success__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.payment-success__actions .button {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .payment-success {
        padding: 40px 24px;
    }

    .payment-success__title {
        font-size: 24px;
    }
}

/* =========================
   BUTTON LOADING STATES
   ========================= */

/* Loading spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Button loading state */
.button--loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    cursor: not-allowed;
}

.button--loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

.button--loading i {
    opacity: 0;
}

/* Success state */
.button--success {
    background-color: #2E7D32 !important;
    border-color: #2E7D32 !important;
}

.button--success i {
    animation: successPulse 0.4s ease;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Click ripple effect */
.button {
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.button.ripple::before {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Disabled state */
.button:disabled,
.button--disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Product card action button states */
.product-card__action--loading {
    pointer-events: none;
}

.product-card__action--loading i {
    animation: spin 0.6s linear infinite;
}

.product-card__action--success {
    background-color: #2E7D32 !important;
}

.product-card__action--success i {
    animation: successPulse 0.4s ease;
}

/* =========================
   ALERTS / NOTIFICATIONS
   ========================= */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-danger {
    background-color: #FEE;
    border: 1px solid #FCC;
    color: #C33;
}

.alert i {
    font-size: 16px;
    flex-shrink: 0;
}

/* Add ripple effect to product detail button */
.product-detail__add-button {
    position: relative;
    overflow: hidden;
}

.product-detail__add-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.product-detail__add-button.ripple::before {
    animation: ripple 0.6s ease-out;
}

/* =========================
   INVOICE / REVIEW PAGE
   ========================= */
.invoice-review {
    max-width: 1200px;
    margin: 0 auto;
}

.invoice-review__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 500px;
    align-items: start;
}

/* Panels */
.panel {
    overflow: hidden;
    /* height: 100%; */
    background-color: white;
    border: 1px solid var(--border-light);
}

.panel.invoice-review__items {
    border-left: 1px solid #e5e7eb;
}

.panel__header {
    display: flex;
    align-items: center;
    padding: 30px 30px 15px;
}

.panel__header i {
    font-size: 24px;
    color: var(--primary-shop-color);
    margin-right: 10px;
}

.panel__header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--text-dark);
}

.panel__header p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.panel__content {
    padding: 30px;
}

/* Customer Details */
.customer-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.customer-details__row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-size: 15px;
}

.customer-details__row i {
    width: 20px;
    color: var(--text-light);
    text-align: center;
}

.customer-details__badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: #FFF3E0;
    color: #E65100;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    align-self: flex-start;
    margin-top: 5px;
}

.customer-details__badge--member {
    display: inline-block;
    padding: 4px 10px;
    background-color: #E8F5E9;
    color: #2E7D32;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    align-self: flex-start;
    margin-top: 5px;
}

/* Invoice Table */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-table th {
    text-align: left;
    padding: 10px 0;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
}

.invoice-table td {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.text-right {
    text-align: right;
}

.font-weight-bold {
    font-weight: 700;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-info__image img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.item-info__cat {
    font-size: 12px;
    color: var(--text-light);
}

.item-info__name {
    font-weight: 600;
    color: var(--text-dark);
}

.total-row td {
    border-top: 2px solid var(--text-dark);
    border-bottom: none;
    padding-top: 20px;
    font-size: 18px;
    color: var(--text-dark);
}

/* Secure msg */
.secure-checkout-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: #2E7D32;
    font-size: 13px;
    font-weight: 500;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    color: var(--primary-shop-color);
}

.button-invoice--checkout,
.button-invoice--back,
.cart-confirmation__actions .button {
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
    .invoice-review__grid {
        grid-template-columns: 1fr;
    }

    .invoice-review__sidebar {
        order: 2;
    }
}

/* =========================
   COURSE DETAIL PAGE (full page)
   Hero card (image | summary), tab bar, tab panels
   with an "Inbegrepen" box.
   ========================= */
.course-detail {
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 72px;
}

/* One white card holding hero + tabs + panels */
.course-detail__card {
    background-color: var(--accent-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

.course-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-shop-color);
    text-decoration: none;
}

.course-detail__back:hover {
    text-decoration: underline;
}

/* Hero: image left, summary right */
.course-detail__hero {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 36px;
    align-items: start;
}

.course-detail__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #E8EAED;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.course-detail__summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.course-detail__kicker {
    align-self: flex-start;
    padding: 4px 12px;
    background-color: color-mix(in srgb, var(--primary-shop-color) 10%, white);
    color: var(--primary-shop-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 20px;
}

.course-detail__title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

.course-detail__meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 0;
    margin: 0;
}

.course-detail__meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.course-detail__meta i {
    color: var(--primary-shop-color);
}

.course-detail__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.course-detail__price-old {
    font-size: 17px;
    color: #999;
    text-decoration: line-through;
}

.course-detail__price-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.course-detail__price-vat {
    font-size: 14px;
    color: var(--text-light);
}

.course-detail__discount-badge {
    background-color: #C33;
    color: var(--accent-white);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
}

.course-detail__cta {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 14px 20px;
}

.course-detail__trust {
    margin: 0;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

.course-detail__trust i {
    color: #2E7D32;
}

/* Tab bar */
.course-detail__tabs {
    display: flex;
    gap: 8px;
    margin-top: 28px;
    box-shadow: inset 0 -2px 0 var(--border-light);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.course-detail__tabs::-webkit-scrollbar {
    display: none;
}

.course-detail__tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.course-detail__tab:hover {
    color: var(--text-dark);
}

.course-detail__tab.is-active {
    color: var(--primary-shop-color);
    border-bottom-color: var(--primary-shop-color);
}

.course-detail__tab:focus-visible {
    outline: 2px solid var(--primary-shop-color);
    outline-offset: -2px;
}

/* Tab panels */
.course-detail__panel {
    display: none;
    padding: 28px 4px 8px;
}

.course-detail__panel.is-active {
    display: block;
}

/* Rich text content (CKEditor output) rendered as course info.
   Applies to dedicated richtext blocks and to the Introductie text in
   the description column — a bullet list typed in the editor becomes
   a green checkmark list. */
.course-detail__richtext p,
.course-detail__description p {
    margin: 0 0 12px;
    line-height: 1.65;
    color: var(--text-dark);
}

.course-detail__richtext ul,
.course-detail__description ul:not(.course-detail__checklist) {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.course-detail__richtext ul li,
.course-detail__description ul:not(.course-detail__checklist) li {
    position: relative;
    padding-left: 26px;
    line-height: 1.5;
    color: var(--text-dark);
}

.course-detail__richtext ul li::before,
.course-detail__description ul:not(.course-detail__checklist) li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #2E7D32;
}

.course-detail__richtext ol,
.course-detail__description ol {
    padding-left: 20px;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Compact variant inside the Inbegrepen box */
.included-box .course-detail__richtext,
.included-box .course-detail__richtext p,
.included-box .course-detail__richtext ul li {
    font-size: 14px;
}

.included-box .course-detail__richtext p {
    margin-bottom: 8px;
}

.included-box .course-detail__richtext ul {
    gap: 8px;
}

.course-detail__panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}

.course-detail__description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-wrap: break-word;
}

.course-detail__description img {
    max-width: 100%;
    height: auto;
}

/* "Inbegrepen" box */
.included-box {
    background-color: color-mix(in srgb, var(--primary-shop-color) 6%, white);
    border: 1px solid color-mix(in srgb, var(--primary-shop-color) 15%, white);
    border-radius: var(--radius-md);
    padding: 22px 24px;
}

.included-box__title {
    display: block;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.included-box__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.included-box__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.included-box__list i {
    color: #2E7D32;
    font-weight: 700;
}

/* Panel titles + green checklist */
.course-detail__panel-title {
    margin: 0 0 18px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.course-detail__checklist {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-detail__panel-title + .course-detail__checklist {
    margin-top: 0;
}

.course-detail__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
}

.course-detail__checklist i {
    color: #2E7D32;
    font-weight: 700;
    margin-top: 3px;
}

/* "Hoe werkt het" steps */
.course-detail__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 640px;
}

.course-detail__steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.course-detail__steps p {
    margin: 2px 0 0 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.course-detail__step-nr {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-shop-color);
    color: var(--accent-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* Mobile sticky bottom CTA */
.course-detail__mobile-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background-color: var(--accent-white);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.course-detail__mobile-cta-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.course-detail__mobile-cta-price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
}

/* Responsive: detail page */
@media (max-width: 992px) {
    .course-detail__card {
        padding: 24px;
    }

    .course-detail__hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .course-detail__media {
        aspect-ratio: 16 / 9;
    }

    .course-detail__title {
        font-size: 26px;
    }

    .course-detail__panel-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* "Inbegrepen" box above the description on smaller screens */
    .included-box {
        order: -1;
    }
}

@media (max-width: 768px) {
    .course-detail__mobile-cta {
        display: flex;
    }

    /* Keep content clear of the fixed bottom bar */
    body.webshop_product-page .webshop__content {
        padding-bottom: 90px;
    }

    .course-detail__card {
        padding: 18px;
    }

    .course-detail__price-value {
        font-size: 26px;
    }
}

/* ============================================
   WEBSHOP CARDS EMBEDDED IN LANDING PAGES
   Landing pages (www/<domain>/) ship their own global CSS that overrides
   the card styles (headings, links, lists, typography). This block forces
   the webshop card look inside .content-section--webshop with !important,
   scoped so the webshop app itself is untouched.
   ============================================ */
.content-section--webshop .product-card,
.content-section--webshop .product-card * {
    box-sizing: border-box !important;
}

.content-section--webshop .product-card {
    width: 100% !important;
    margin: 0 !important;
    background-color: var(--accent-white) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    text-align: left !important;
}

.content-section--webshop .product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.content-section--webshop .product-card__link {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    border-bottom: none !important;
    color: inherit !important;
}

.content-section--webshop .product-card__link:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.content-section--webshop .product-card__image-wrap {
    position: relative !important;
    padding: 16px 16px 0 !important;
    margin: 0 !important;
}

.content-section--webshop .product-card__image {
    position: relative !important;
    width: 100% !important;
    height: 180px !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: #EAF1FB !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
}

.content-section--webshop .product-card__badge {
    position: absolute !important;
    top: 26px !important;
    right: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-sm) !important;
    pointer-events: none !important;
}

.content-section--webshop .product-card__badge--status {
    background-color: #10B981 !important;
    color: var(--accent-white) !important;
}

.content-section--webshop .product-card__content {
    padding: 20px !important;
    margin: 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.content-section--webshop .product-card__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Lato', sans-serif !important;
    text-transform: none !important;
}

.content-section--webshop .product-card__rows {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.content-section--webshop .product-card__row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--text-dark) !important;
}

.content-section--webshop .product-card__row i {
    width: 16px !important;
    text-align: center !important;
    color: var(--primary-shop-color) !important;
}

.content-section--webshop .product-card__row--split {
    gap: 20px !important;
}

.content-section--webshop .product-card__row--split span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.content-section--webshop .product-card__price {
    display: block !important;
    margin: auto 0 0 !important;
    padding: 16px 0 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--text-dark) !important;
}

.content-section--webshop .product-card__price-old {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #999 !important;
    text-decoration: line-through !important;
    margin-right: 6px !important;
}

/* Rating row (product cards + detail meta) */
.product-card__row--rating i,
.course-detail__meta--rating i {
    color: #F5B301;
}

.content-section--webshop .product-card__row--rating i {
    color: #F5B301 !important;
}

/* Reviews tab on the product detail page */
.review-summary-card {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFDF6 100%);
    border: 1px solid #F3E3B3;
    border-radius: var(--radius-md);
}

.review-summary-card__score {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.review-summary-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-summary-card__stars {
    color: #F5B301;
    font-size: 16px;
    letter-spacing: 2px;
}

.review-summary-card__count {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-item {
    padding: 12px 14px;
    background-color: var(--accent-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.review-item__header {
    display: flex;
    align-items: center;
    gap: 9px;
}

.review-item__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--primary-shop-color);
    color: var(--accent-white);
    font-size: 13px;
    font-weight: 700;
}

.review-item__who {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.review-item__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

.review-item__date {
    font-size: 11px;
    line-height: 1.25;
    color: var(--text-light);
}

.review-item__stars {
    margin-left: auto;
    color: #F5B301;
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
}

.review-item__text {
    margin: 8px 0 0;
    padding-left: 39px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dark);
}

@media (max-width: 600px) {
    .review-item__text {
        padding-left: 0;
    }

    .review-summary-card__score {
        font-size: 32px;
    }
}
