/**
 * 2026 Antigravity
 *
 * Modernized side column reviews block styling
 */

/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); */

.hp-reviews-block {
    margin-bottom: 2rem;
    background: #ffffff;
    border: 1px solid #f3f3f3;
    /* Decreased top/bottom padding, matching the site */
    padding: 12px 15px; 
    /* Small border-radius matching the plac pozniej banner below */
    border-radius: 4px; 
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    font-family: 'Poppins', sans-serif, inherit;
    transition: box-shadow 0.3s ease;
}

.hp-reviews-block:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Remove grey background and bottom border under title */
.hp-reviews-block .tvleft-right-title-wrapper {
    background: transparent !important;
    border-bottom: none !important;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Hide empty titles or content blocks completely */
.hp-review-title:empty,
.hp-review-content:empty {
    display: none !important;
}

.hp-reviews-block .tvleft-right-title {
    background: transparent !important;
    font-family: 'Poppins', sans-serif, inherit;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #222222;
    text-transform: uppercase;
}

.hp-reviews-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
}

.hp-reviews-slides {
    position: relative;
    min-height: 250px;
    width: 100%;
}

.hp-review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hp-review-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Enlarge Product Image, remove border & background */
.hp-review-product-image {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hp-review-product-image:hover {
    transform: scale(1.08);
}

.hp-review-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: transparent !important;
}

/* Stars */
.hp-review-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.hp-star-icon {
    fill: #e5e5e5;
    transition: fill 0.3s ease, transform 0.3s ease;
}

.hp-star-icon.star-active {
    fill: #ffb800; /* Rich gold color */
    filter: drop-shadow(0 1px 2px rgba(255, 184, 0, 0.2));
}

/* Review text styling */
.hp-review-title {
    font-family: 'Poppins', sans-serif, inherit;
    font-weight: 600;
    font-size: 14px;
    color: #222222;
    margin-bottom: 8px;
    line-height: 1.4;
}

.hp-review-content {
    font-family: 'Poppins', sans-serif, inherit;
    font-size: 13px;
    font-weight: 300;
    color: #555555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 14px;
    padding: 0 5px;
    word-break: break-word;
}

.hp-review-author-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11.5px;
    margin-bottom: 12px;
}

.hp-review-author {
    font-weight: 600;
    color: #e31e24; /* Theme pink/red color */
}

.hp-review-separator {
    color: #dddddd;
}

.hp-review-date {
    color: #888888;
}

/* Product link wrapping to 2 lines */
.hp-review-product-link {
    margin-top: 5px;
    width: 100%;
    border-top: 1px solid #f3f3f3;
    padding-top: 12px;
}

.hp-product-name {
    font-family: 'Poppins', sans-serif, inherit;
    font-size: 12px;
    font-weight: 500;
    color: #004b6c; /* Theme blue color */
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Allow wrap to 2 lines */
    line-height: 1.4;
    transition: color 0.2s ease;
}

.hp-product-name:hover {
    color: #e31e24; /* Hover to accent red */
    text-decoration: none;
}

/* Product Price Styling - Clean Centered Pill Badge */
.hp-review-product-price-wrapper {
    margin-top: 10px;
    margin-bottom: 2px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hp-review-product-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 5px 18px;
    background: #f5f8fa;
    border: 1px solid #e1e8ed;
    border-radius: 20px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.hp-review-product-price:hover {
    background: #edf3f7;
    border-color: #004b6c;
    box-shadow: 0 3px 10px rgba(0, 75, 108, 0.12);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.hp-price {
    font-family: 'Poppins', sans-serif, inherit;
    font-size: 16px;
    font-weight: 700;
    color: #004b6c; /* Theme primary blue */
    letter-spacing: -0.2px;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.hp-review-product-price:hover .hp-price {
    color: #e31e24; /* Theme accent red on hover */
}

.hp-price.hp-price-discounted {
    color: #e31e24 !important; /* Theme accent red for sale price */
}

.hp-regular-price {
    font-family: 'Poppins', sans-serif, inherit;
    font-size: 12px;
    font-weight: 400;
    color: #8c9ba5;
    text-decoration: line-through;
    line-height: 1.2;
}

/* Modern Minimalist Navigation controls */
.hp-reviews-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.hp-reviews-prev,
.hp-reviews-next {
    background: #fcfcfc;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}

.hp-reviews-prev:hover,
.hp-reviews-next:hover {
    background: #e31e24;
    border-color: #e31e24;
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.2);
}

.hp-reviews-prev:hover svg,
.hp-reviews-next:hover svg {
    fill: #ffffff;
}

.hp-reviews-prev svg,
.hp-reviews-next svg {
    fill: #888888;
    transition: fill 0.2s ease;
}
