@charset "UTF-8";

/* ==========================================
   BANNER
   ========================================== */
.rw-mower-guide-banner {
    max-width: 800px;
    margin: 0 auto 20px;
    background: #ffffff;
    border: 1px dotted #c7c7c8;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: inset 0 3px 46px rgba(237,238,243,0.35), 0px 2px 3px 0px rgba(166,193,208,0.42), 0px 2px 11px 0px rgba(166,193,208,0.35);
}

.rw-mower-guide-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #5fbb2e;
}

.rw-mower-guide-banner::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(95, 187, 46, 0.02) 100%);
    pointer-events: none;
}

.rw-mower-guide-banner__content {
    display: flex;
    align-items: center;
    padding: 14px 0;
    gap: 17px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rw-mower-guide-banner__logo {
    flex-shrink: 0;
    padding-left: 32px;
}

.rw-mower-guide-banner__logo img {
    height: 74px;
    width: auto;
    display: block;
}

.rw-mower-guide-banner__text {
    flex: 1;
    min-width: 0;
    padding-right: 12px;
}

.rw-mower-guide-banner__text strong {
    display: block;
    font-size: 17px;
    font-weight: 500;
    color: #000;
    margin-bottom: 4px;
    letter-spacing: 0.005em;
    line-height: 1.35;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.rw-mower-guide-banner__text span {
    font-size: 13px;
    color: #000;
    line-height: 1.45;
    font-weight: 300;
}

.rw-mower-guide-banner__btn-wrapper {
    padding-right: 32px;
}

.rw-mower-guide-banner__btn {
    position: relative;
    padding: 12px 25px;
    background: #5fbb2e;
    color: #fff !important;
    border: 1px solid #55a829;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: none !important;
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0px -2px 0px rgba(0,0,0,0.15) inset, 0px 3px 0px rgba(255,255,255,0.1) inset, 0px 3px 6px rgba(0,0,0,0.15), 0px 1px 2px rgba(0,0,0,0.1);
    text-align: center;
    line-height: 24px;
}

.rw-mower-guide-banner__btn:hover {
    opacity: 0.9;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.rw-mower-guide-banner__btn:active {
    opacity: 0.85;
    color: #fff !important;
}

.rw-mower-guide-banner__btn:visited,
.rw-mower-guide-banner__btn:focus {
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none;
}

/* ==========================================
   GUIDE CONTAINER
   ========================================== */
.mg-guide-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.mg-header {
    text-align: center;
    margin-bottom: 40px;
}

.mg-main-title {
    font-size: 34px;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 0.005em;
    line-height: 42px;
    font-weight: 400;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.mg-main-subtitle {
    font-size: 14px;
    color: #000;
    font-weight: 300;
    line-height: 1.714;
}

/* ==========================================
   PROGRESS BAR
   ========================================== */
.mg-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 45px;
}

.mg-progress-track {
    flex: 1;
    height: 6px;
    background: #eef5f9;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #cedee7;
}

.mg-progress-fill {
    height: 100%;
    background: #5fbb2e;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.mg-progress-text {
    font-size: 14px;
    color: #000;
    font-weight: 500;
    white-space: nowrap;
    min-width: 36px;
    text-align: center;
}

.mg-progress-divider {
    margin: 0 2px;
    color: #c7c7c8;
}

/* ==========================================
   QUESTION STEPS
   ========================================== */
.mg-step {
    display: none;
}

.mg-step.active {
    display: block;
}

.mg-step.active .mg-question-title,
.mg-step.active .mg-question-hint,
.mg-step.active .mg-cards-grid {
    animation: mgFadeIn 0.4s ease forwards;
}

@keyframes mgFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mg-question-title {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.005em;
    line-height: 32px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.mg-question-hint {
    font-size: 14px;
    color: #000;
    text-align: center;
    margin-bottom: 28px;
    font-weight: 300;
    transition: all 0.3s ease;
}

/* ==========================================
   CARDS GRID
   ========================================== */
.mg-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 0 auto;
}

.mg-cards-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

/* ==========================================
   CARD – IMAGE BACKGROUND + OVERLAY
   ========================================== */
.mg-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    min-height: 250px;
    background-color: #3a6b24;
    background-size: cover;
    background-position: center;
    transition: all 0.2s ease;
    box-shadow: 0px 2px 3px 0px rgba(166,193,208,0.42), 0px 2px 11px 0px rgba(166,193,208,0.35);
}

.mg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 2px 10px 0px rgba(166,193,208,0.75), 0px 2px 3px 0px rgba(166,193,208,0.82);
}

.mg-card.selected {
    box-shadow: 0 4px 16px rgba(95, 187, 46, 0.3);
}

.mg-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.65) 100%
    );
    transition: all 0.2s ease;
    z-index: 1;
}

.mg-card:hover .mg-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.04) 0%,
        rgba(0, 0, 0, 0.18) 40%,
        rgba(0, 0, 0, 0.58) 100%
    );
}

.mg-card.selected .mg-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.04) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

/* ==========================================
   CHECKMARK CIRCLE
   ========================================== */
.mg-card-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.15);
    z-index: 3;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.mg-card:hover .mg-card-check {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.25);
}

.mg-card.selected .mg-card-check {
    background: #5fbb2e;
    border-color: #5fbb2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.mg-card-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: translate(-50%, -58%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mg-card.selected .mg-card-check::after {
    opacity: 1;
}

/* ==========================================
   CARD CONTENT
   ========================================== */
.mg-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px;
    z-index: 2;
}

.mg-card-title {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: 0.005em;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.mg-card-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* ==========================================
   NAVIGATION BUTTONS
   ========================================== */
.mg-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 30px;
}

.mg-btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 400;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    letter-spacing: 0.01em;
    min-width: 140px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    line-height: 24px;
    text-align: center;
}

.mg-btn-back {
    background: #bfc5c9;
    color: #fff;
    border: 1px solid #8d8d8d;
    box-shadow: 0px -2px 0px rgba(0,0,0,0.15) inset, 0px 3px 0px rgba(255,255,255,0.1) inset, 0px 3px 6px rgba(0,0,0,0.15), 0px 1px 2px rgba(0,0,0,0.1);
}

.mg-btn-back:hover {
    opacity: 0.9;
}

.mg-btn-next {
    background: #5fbb2e;
    color: white;
    border: 1px solid #55a829;
    box-shadow: 0px -2px 0px rgba(0,0,0,0.15) inset, 0px 3px 0px rgba(255,255,255,0.1) inset, 0px 3px 6px rgba(0,0,0,0.15), 0px 1px 2px rgba(0,0,0,0.1);
}

.mg-btn-next:hover {
    opacity: 0.9;
}

.mg-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================
   RESULTS SECTION
   ========================================== */
.mg-results-section {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   BRAND FILTER
   ========================================== */
.rw-brand-filter-section {
    max-width: 1260px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.rw-brand-filter-title {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.005em;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.rw-brand-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.rw-brand-filter-item {
    background: #ffffff;
    border: 1px dotted #c7c7c8;
    border-radius: 2px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.rw-brand-filter-item:hover {
    border-color: #5fbb2e;
    color: #5fbb2e;
    box-shadow: inset 0 0 0 1px #5fbb2e;
}

.rw-brand-filter-item.active {
    background: #5fbb2e;
    color: white;
    border-color: #55a829;
    border-style: solid;
    box-shadow: 0px -2px 0px rgba(0,0,0,0.15) inset;
}

/* ==========================================
   PRODUCT CONTAINER
   ========================================== */
.rw-product-set-container {
    position: relative;
    min-height: 400px;
    margin: 30px 0;
    max-width: 1260px;
}

.rw-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.rw-loading-spinner::after {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid #eef5f9;
    border-top: 5px solid #4386fc;
    border-radius: 50%;
    animation: rw-spinner-rotate 1s linear infinite;
}

.rw-loading-text {
    color: #000;
    font-size: 14px;
    text-align: center;
    font-weight: 300;
}

@keyframes rw-spinner-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rw-productContainer {
    display: flex;
    flex-wrap: wrap;
    opacity: 0;
    transition: opacity 0.5s ease-in;
    width: 100%;
}

.rw-productContainer.loaded {
    opacity: 1;
}

.rw-productContainer > div {
    width: 33.333%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-out;
}

.rw-productContainer.loaded > div {
    opacity: 1;
    transform: translateY(0);
}

.rw-productContainer .c-products__item {
    width: 100% !important;
    max-width: none !important;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.rw-productContainer .c-products__inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rw-productContainer .c-products__info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rw-productContainer .c-products__bottom {
    margin-top: auto;
    border-top: 1px dotted #c7c7c8;
    padding-top: 10px;
}

.rw-productContainer .c-products__name {
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    font-weight: 400;
}

.rw-productContainer .c-products__description {
    flex-grow: 1;
    overflow: visible;
}

/* ==========================================
   PAGINATION
   ========================================== */
.rw-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 8px;
}

.rw-pagination-button {
    padding: 8px 13px;
    background-color: #f5f6f9;
    border: 1px solid #c7c7c8;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    color: #000;
    text-decoration: none;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.rw-pagination-button:hover {
    background-color: #eef5f9;
    border-color: #cedee7;
}

.rw-pagination-button.active {
    background-color: #4386fc;
    color: white;
    border-color: #3c78e2;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.rw-pagination-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================
   NO RESULTS & SMART SUGGESTIONS
   ========================================== */
.mg-no-results {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 44px 24px;
}

.mg-no-results__icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.mg-no-results__title {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin: 0 0 6px;
    line-height: 1.4;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.mg-no-results__desc {
    font-size: 14px;
    color: #000;
    font-weight: 300;
    margin: 0 0 28px;
    line-height: 1.714;
}

.mg-no-results__restart {
    margin-top: 28px;
}

.mg-no-results__restart button {
    background: none;
    border: none;
    color: #4386fc;
    cursor: pointer;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dotted;
    padding: 8px 16px;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.mg-no-results__restart button:hover {
    color: #000;
}

.mg-suggest-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #000;
    font-size: 13px;
    font-weight: 300;
    padding: 16px 0;
}

.mg-suggest-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #eef5f9;
    border-top-color: #4386fc;
    border-radius: 50%;
    animation: rw-spinner-rotate 0.8s linear infinite;
}

.mg-suggest-text {
    font-size: 14px;
    color: #000;
    font-weight: 300;
    margin: 0 0 18px;
    line-height: 1.714;
}

.mg-suggest-link {
    background: none;
    border: none;
    color: #4386fc;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    font-weight: 500;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s ease;
}

.mg-suggest-link:hover {
    color: #000;
}

.mg-suggest-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
}

.mg-suggest-btn {
    position: relative;
    padding: 12px 25px;
    border: 1px dotted #c7c7c8;
    border-radius: 2px;
    background: #fff;
    color: #000;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.714;
}

.mg-suggest-btn:hover {
    border-color: #5fbb2e;
    border-style: solid;
    color: #5fbb2e;
    box-shadow: inset 0 0 0 1px #5fbb2e;
}

.mg-suggest-btn--recommended {
    border-color: #5fbb2e;
    border-style: solid;
    background: #fff;
    color: #000;
    font-weight: 500;
    padding-top: 24px;
    box-shadow: inset 0 0 0 1px #5fbb2e;
}

.mg-suggest-btn--recommended:hover {
    background: #eef5f9;
}

.mg-suggest-badge {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: #5fbb2e;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 2px;
    white-space: nowrap;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    border: 1px solid #55a829;
}

.mg-suggest-btn--all {
    border-color: transparent;
    background: none;
    color: #4386fc;
    text-decoration: underline;
    padding: 8px 14px;
    margin-top: 4px;
    font-weight: 500;
    box-shadow: none;
}

.mg-suggest-btn--all:hover {
    color: #000;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1320px) {
    .rw-productContainer > div {
        width: 33.333%;
    }
}

@media (max-width: 999px) {
    .mg-cards-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 999px) {
    .rw-productContainer > div {
        width: 50%;
    }
    .rw-brand-filter-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 820px) {
    .rw-mower-guide-banner {
        margin: 0 10px 20px;
    }
}

@media (max-width: 749px) {
    .rw-mower-guide-banner__content {
        flex-direction: column;
        padding: 18px 28px;
        gap: 14px;
        text-align: center;
    }

    .rw-mower-guide-banner__logo {
        padding-left: 0;
    }

    .rw-mower-guide-banner__logo img {
        height: 50px;
    }

    .rw-mower-guide-banner__text {
        padding-right: 0;
    }

    .rw-mower-guide-banner__btn-wrapper {
        padding-right: 0;
        width: auto;
        display: flex;
        justify-content: center;
    }

    .rw-mower-guide-banner__btn {
        width: auto;
        padding: 13px 32px;
        text-align: center;
    }

    .rw-mower-guide-banner__text strong {
        font-size: 16px;
    }

    .rw-mower-guide-banner__text span {
        font-size: 12px;
    }

    .mg-main-title {
        font-size: 24px;
        line-height: 32px;
    }

    .mg-question-title {
        font-size: 20px;
        line-height: 30px;
    }

    .mg-cards-grid {
        grid-template-columns: 1fr;
    }

    .mg-cards-grid--3col {
        grid-template-columns: 1fr;
    }

    .mg-card {
        min-height: 180px;
    }

    .mg-nav-buttons {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .rw-brand-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mg-suggest-buttons {
        flex-direction: column;
        align-items: center;
    }

    .mg-suggest-btn {
        width: 100%;
        max-width: 280px;
    }

    .mg-no-results {
        padding: 32px 16px;
    }

    .mg-no-results__title {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .rw-productContainer > div {
        width: 100%;
    }
}

@media (max-width: 479px) {
    .rw-mower-guide-banner {
        margin: 0 5px 20px;
    }

    .rw-mower-guide-banner__content {
        padding: 16px 24px;
    }

    .rw-mower-guide-banner__logo img {
        height: 46px;
    }

    .rw-mower-guide-banner__text strong {
        font-size: 15px;
    }

    .rw-mower-guide-banner__text span {
        font-size: 11px;
    }

    .mg-card {
        min-height: 160px;
    }

    .mg-card-title {
        font-size: 15px;
    }

    .mg-card-desc {
        font-size: 12px;
    }

    .mg-card-content {
        padding: 16px 14px;
    }
}

/* ==========================================
   NAV STRIP OVERRIDES
   ========================================== */
.rw-nav-strip-viewport {
    overflow-x: visible !important;
    -webkit-overflow-scrolling: auto !important;
    scrollbar-width: auto !important;
    -ms-overflow-style: auto !important;
    width: 100%;
    margin: 0 auto;
}

.rw-nav-strip-viewport::-webkit-scrollbar {
    display: block !important;
}

.rw-nav-strip-scroll {
    display: grid !important;
    gap: 16px !important;
    padding: 20px 0 !important;
    justify-items: center !important;
    grid-template-columns: repeat(var(--max-cols, 4), minmax(180px, 250px)) !important;
}

.rw-nav-strip-scroll .rw-nav-item {
    width: 80% !important;
    margin: 0 !important;
    border-radius: 2px !important;
    box-shadow: inset 0 3px 46px rgba(237,238,243,0.35), 0px 2px 3px 0px rgba(166,193,208,0.42), 0px 2px 11px 0px rgba(166,193,208,0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.rw-nav-strip-scroll .rw-nav-item:hover {
    transform: scale(1.03) !important;
    box-shadow: 0px 2px 10px 0px rgba(166,193,208,0.75), 0px 2px 3px 0px rgba(166,193,208,0.82) !important;
}

.rw-nav-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #afb6bb;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 4px;
    border: none;
    padding: 0;
}

.rw-nav-dot.active {
    background: #4386fc;
}

.rw-nav-dot:hover {
    background: #4386fc;
}

@media (max-width: 1320px) {
    .rw-nav-strip-scroll {
        grid-template-columns: repeat(auto-fit, minmax(180px, 250px)) !important;
    }
}

@media (max-width: 749px) {
    .rw-nav-strip-scroll {
        grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
    }
}

@media (max-width: 479px) {
    .rw-nav-strip-scroll {
        grid-template-columns: repeat(1, minmax(140px, 1fr)) !important;
    }
}

/* Základní cena bez slevy */
.rw-product-price {
    font-size: 24px;
    font-weight: 500;
    color: #f02020;
}

.rw-product-price-box {
    margin-top: 16px;
}

.rw-price-original {
    font-size: 14px;
    color: #000;
    text-decoration: line-through;
    font-weight: 300;
}

/* Dostupnost */
.rw-product-availability {
    font-size: 14px;
    color: #000;
    font-weight: 300;
}

.rw-product-category-title {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0;
    padding: 0;
}

.rw-product-title {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
}

.rw-product-category-title + .rw-product-title {
    margin-top: 0;
}

.rw-product-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rw-product-info .rw-product-category-title {
    margin-bottom: -18px;
}

/* ===== SHOWCASE KATEGORIÍ ===== */
.rw-showcase-category {
    max-width: 1260px;
    margin: 40px auto;
    box-shadow: inset 0 3px 46px rgba(237,238,243,0.35), 0px 2px 3px 0px rgba(166,193,208,0.42), 0px 2px 11px 0px rgba(166,193,208,0.35);
    border-radius: 2px;
    overflow: hidden;
}

.rw-showcase-header {
    padding: 40px 25px;
    background: #eef5f9;
    border-bottom: 1px solid #cedee7;
    position: relative;
    text-align: center;
    box-shadow: 0px 5px 0px 0px #e2eef7 inset;
}

.rw-showcase-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: #000;
    font-weight: 400;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    line-height: 32px;
}

.rw-showcase-header p {
    margin: 0 0 15px 0;
    color: #000;
    font-size: 14px;
    font-weight: 300;
}

.rw-showcase-button {
    background-color: #4386fc;
    color: white;
    border: 1px solid #3c78e2;
    padding: 12px 25px;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    box-shadow: 0px -2px 0px rgba(0,0,0,0.15) inset, 0px 3px 0px rgba(255,255,255,0.1) inset, 0px 3px 6px rgba(0,0,0,0.15), 0px 1px 2px rgba(0,0,0,0.1);
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    line-height: 24px;
}

.rw-showcase-button:hover {
    opacity: 0.9;
}

.rw-showcase-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: #cedee7;
}

.rw-showcase-item {
    background-color: #fff;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.rw-showcase-item:hover {
    z-index: 1;
    box-shadow: 0px 2px 10px 0px rgba(166,193,208,0.75), 0px 2px 3px 0px rgba(166,193,208,0.82);
}

.rw-showcase-item-image {
    text-align: center;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.rw-showcase-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.rw-showcase-item:hover .rw-showcase-item-image img {
    transform: scale(1.05);
}

.rw-showcase-item-info {
    text-align: center;
}

.rw-showcase-item-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #000;
    line-height: 1.4;
    font-weight: 400;
}

.rw-showcase-item-spec {
    display: block;
    font-size: 12px;
    color: #000;
    margin-bottom: 8px;
    font-weight: 300;
}

.rw-showcase-item-price {
    display: block;
    font-weight: 500;
    color: #f02020;
    font-size: 18px;
    margin-top: 5px;
}

.rw-showcase-item-price.has-discount {
    color: #f02020;
}

/* ===== ROZŠÍŘENÉ ZOBRAZENÍ PRODUKTU ===== */
.rw-expanded-product-view {
    margin: 0 auto 40px;
    position: relative;
    padding: 0 60px;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
}

.rw-expanded-container {
    overflow: hidden;
    touch-action: pan-y;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    box-sizing: border-box;
}

.rw-expanded-product {
    background-color: #fff;
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
    display: none;
    box-shadow: inset 0 3px 46px rgba(237,238,243,0.35), 0px 2px 3px 0px rgba(166,193,208,0.42), 0px 2px 11px 0px rgba(166,193,208,0.35);
}

.rw-expanded-product.active {
    display: block;
    animation: slideInProduct 0.5s ease;
}

@keyframes slideInProduct {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== KARUSEL NAVIGAČNÍCH KARET ===== */
.rw-product-nav-strip {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 12px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
}

.rw-nav-strip-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.rw-nav-strip-scroll {
    display: flex;
    gap: 1px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-top: 15px;
    padding-bottom: 15px;
}

.rw-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    flex-shrink: 0;
    padding: 18px 16px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.rw-nav-item:hover {
    z-index: 1;
    box-shadow: 0px 2px 10px 0px rgba(166,193,208,0.75), 0px 2px 3px 0px rgba(166,193,208,0.82);
}

.rw-nav-item.active {
    background: #eef5f9;
    box-shadow: inset 0 5px 0 #e2eef7;
}

.rw-nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #4386fc;
}

.rw-nav-item-image {
    text-align: center;
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.rw-nav-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.rw-nav-item:hover .rw-nav-item-image img {
    transform: scale(1.05);
}

.rw-nav-item-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    text-align: center;
}

.rw-nav-item-name {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rw-nav-item.active .rw-nav-item-name {
    color: #4386fc;
    font-weight: 500;
}

.rw-nav-item-spec {
    font-size: 12px;
    color: #000;
    font-weight: 300;
    line-height: 1.3;
}

.rw-nav-item-price {
    font-size: 16px;
    font-weight: 500;
    color: #f02020;
    margin-top: 4px;
}

.rw-nav-arrow {
    display: none;
}

.rw-nav-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 24px 0 24px 0;
}

/* ===== HLAVIČKA PRODUKTU ===== */
.rw-product-header {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 30px;
    padding: 35px;
    background: #eef5f9;
    align-items: start;
    border-bottom: 1px solid #cedee7;
    padding-top: 80px;
    padding-bottom: 80px;
    box-shadow: 0px 5px 0px 0px #e2eef7 inset;
}

.rw-product-left-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rw-product-image-container {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    border: 1px dotted #c7c7c8;
    transition: all 0.2s ease;
}

.rw-product-image-container:hover {
    box-shadow: 0px 2px 10px 0px rgba(166,193,208,0.75);
}

.rw-product-image {
    width: 100%;
    height: auto;
    display: block;
}

.rw-product-image-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background-color 0.2s ease;
}

.rw-product-image-content:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.rw-youtube-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rw-youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rw-youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rw-youtube-play-button svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}

.rw-product-image-content:hover .rw-youtube-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(255, 0, 0, 1);
}

/* ===== BOXÍK S CENOU ===== */
.rw-product-price-box {
    background: #fff;
    border-radius: 2px;
    padding: 20px;
    border-left: 4px solid #5fbb2e;
    box-shadow: inset 0 3px 46px rgba(237,238,243,0.35), 0px 2px 3px 0px rgba(166,193,208,0.42), 0px 2px 11px 0px rgba(166,193,208,0.35);
}

.rw-product-price-container {
    display: flex;
    flex-direction: column;
}

.rw-product-price-discount {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.rw-price-action {
    font-size: 24px;
    font-weight: 500;
    color: #f02020;
}

.rw-product-availability {
    font-size: 12px;
    color: #5fbb2e;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.rw-product-availability::before {
    content: "?";
    color: #fff;
    background-color: #5fbb2e;
    margin-right: 8px;
    font-weight: bold;
    font-size: 11px;
    width: 20px;
    height: 19px;
    line-height: 19px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
}

/* ===== INFORMACE O PRODUKTU ===== */
.rw-product-title {
    font-size: 34px;
    margin: 0;
    font-weight: 400;
    color: #000;
    line-height: 42px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.rw-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rw-stars {
    color: #FFD700;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 300;
}

.rw-reviews {
    color: #000;
    font-size: 14px;
    font-weight: 300;
}

.rw-product-key-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rw-key-spec {
    background-color: #eef5f9;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    color: #000;
    white-space: nowrap;
    font-weight: 400;
    border: 1px solid #cedee7;
    transition: all 0.2s ease;
}

.rw-key-spec:hover {
    background-color: #e2eef7;
    border-color: #4386fc;
    color: #4386fc;
}

.rw-buy-button {
    align-self: flex-start;
    background-color: #5fbb2e;
    color: white;
    padding: 14px 28px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: opacity 0.2s ease;
    display: inline-block;
    margin-top: 10px;
    border: 1px solid #55a829;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 24px;
    box-shadow: 0px -2px 0px rgba(0,0,0,0.15) inset, 0px 3px 0px rgba(255,255,255,0.1) inset, 0px 3px 6px rgba(0,0,0,0.15), 0px 1px 2px rgba(0,0,0,0.1);
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.rw-buy-button:hover {
    opacity: 0.9;
}

/* ===== TĚLO PRODUKTU ===== */
.rw-product-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    padding: 35px;
    background-color: #fff;
}

.rw-product-description {
    padding-right: 25px;
}

.rw-product-description h4 {
    margin-top: 0;
    color: #000;
    font-size: 20px;
    margin-bottom: 18px;
    font-weight: 400;
    border-bottom: 1px dotted #c7c7c8;
    padding-bottom: 10px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    line-height: 30px;
}

.rw-product-description p {
    line-height: 1.714;
    margin-bottom: 18px;
    color: #000;
    font-size: 14px;
    font-weight: 300;
}

.rw-product-features {
    margin-top: 30px;
    background: #eef5f9;
    padding: 25px;
    border-radius: 2px;
    border-left: 4px solid #4386fc;
    border: 1px solid #cedee7;
    border-left: 4px solid #4386fc;
    box-shadow: 0px 5px 0px 0px #e2eef7 inset;
}

.rw-product-features h5 {
    margin: 0 0 18px 0;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.rw-product-features ul {
    padding-left: 22px;
    margin: 0;
}

.rw-product-features li {
    margin-bottom: 12px;
    line-height: 1.714;
    color: #000;
    font-size: 14px;
    font-weight: 300;
}

.rw-product-features li::marker {
    color: #4386fc;
}

/* ===== RECENZE PRODUKTU ===== */
.rw-product-reviews {
    background: #fff;
    padding: 25px;
    border-radius: 2px;
    align-self: start;
    border: 1px dotted #c7c7c8;
    box-shadow: inset 0 3px 46px rgba(237,238,243,0.35);
}

.rw-product-reviews h5 {
    margin: 0 0 22px 0;
    font-size: 16px;
    color: #000;
    font-weight: 500;
    border-bottom: 1px dotted #c7c7c8;
    padding-bottom: 10px;
    line-height: 24px;
}

.rw-review {
    border-bottom: 1px dotted #c7c7c8;
    padding-bottom: 22px;
    margin-bottom: 22px;
    background-color: #fff;
    padding: 18px;
    border-radius: 2px;
}

.rw-review:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rw-review-rating {
    color: #FFD700;
    font-size: 17px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
}

.rw-review-score {
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

.rw-review-text {
    font-size: 14px;
    line-height: 1.714;
    color: #000;
    margin-bottom: 14px;
    font-weight: 300;
}

.rw-review-pros-cons {
    margin-top: 14px;
}

.rw-review-pros h6,
.rw-review-cons h6 {
    font-size: 14px;
    margin: 10px 0 6px 0;
    color: #000;
    font-weight: 500;
}

.rw-review-pros ul,
.rw-review-cons ul {
    margin: 0;
    padding-left: 22px;
    font-size: 14px;
}

.rw-review-pros li {
    color: #5fbb2e;
    margin-bottom: 5px;
    font-weight: 300;
}

.rw-review-cons li {
    color: #f02020;
    margin-bottom: 5px;
    font-weight: 300;
}

.tip-box {
    background-color: #f5ebdc;
    border-left: 4px solid #cf9700;
    padding: 18px;
    margin: 22px 0;
    border-radius: 2px;
}

.tip-box p {
    margin: 0;
    color: #000;
    font-size: 14px;
    line-height: 1.714;
    font-weight: 300;
}

/* ===== TLAČÍTKO ZOBRAZIT DETAILY NA MOBILU ===== */
.rw-show-details-button {
    display: none;
    background-color: #eef5f9;
    color: #4386fc;
    border: 1px solid #cedee7;
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.rw-show-details-button:hover {
    background-color: #4386fc;
    color: white;
    border-color: #3c78e2;
}

.rw-show-details-button::after {
    font-size: 12px;
    margin-left: 5px;
}

/* ===== NAVIGAČNÍ ŠIPKY PRODUKTŮ ===== */
.rw-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 29px;
    height: 98px;
    background-color: #fff;
    border: 1px solid #c7c7c8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 400;
    color: #4386fc;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s ease;
    line-height: 1;
    padding: 0;
    text-decoration: none;
    text-align: center;
}

.rw-slider-nav:hover {
    opacity: 0.8;
}

.rw-slider-nav:active {
    opacity: 0.7;
}

.rw-slider-prev {
    left: 10px;
    border-radius: 0 2px 2px 0;
    border-left-width: 0;
}

.rw-slider-next {
    right: 10px;
    border-radius: 2px 0 0 2px;
    border-right-width: 0;
}

/* ===== PAGINACE ===== */
.rw-pagination {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #000;
    font-weight: 300;
}

/* ===== SPINNER ===== */
.rw-product-loading-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid #4386fc;
    border-radius: 50%;
    animation: rwSpin 1s linear infinite;
}

@keyframes rwSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== VIDEO MODAL ===== */
.rw-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.35);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.rw-modal-content {
    position: relative;
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    animation: slideIn 0.4s;
}

@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.rw-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 75%);
    padding: 10px;
}

.rw-modal-close:hover {
    color: #4386fc;
}

#rw-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 2px;
}

#rw-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===================================================================
   RESPONSIVNÍ DESIGN
   =================================================================== */

/* ===== TABLET (do 999px) ===== */
@media (max-width: 999px) {
    .rw-product-header {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 25px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .rw-product-body {
        grid-template-columns: 1fr;
    }

    .rw-product-description {
        padding-right: 0;
    }

    .rw-product-reviews {
        max-width: 100%;
    }

    .rw-nav-item-image {
        height: 90px;
    }

    .rw-nav-item-name {
        font-size: 13px;
    }

    .rw-nav-item-price {
        font-size: 15px;
    }
}

/* ===== MOBIL (do 749px) ===== */
@media (max-width: 749px) {
    .rw-showcase-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .rw-expanded-product-view {
        padding: 0 8px;
        margin-top: 60px;
    }

    .rw-expanded-container {
        padding-left: 0;
        padding-right: 0;
    }

    .rw-expanded-product {
        border-radius: 2px;
        margin-bottom: 20px;
    }

    .rw-slider-nav {
        position: static;
        transform: none;
        width: 40px;
        height: 40px;
        font-size: 20px;
        border-radius: 2px;
        background-color: #fff;
        border: 1px solid #4386fc;
        color: #4386fc;
        flex-shrink: 0;
    }

    .rw-slider-nav:hover,
    .rw-slider-nav:active {
        background-color: #4386fc;
        color: #fff;
        transform: none;
    }

    .rw-expanded-product-view {
        display: flex;
        flex-direction: column;
    }

    .rw-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 16px;
        margin-bottom: 16px;
        font-size: 14px;
        order: 10;
    }

    .rw-slider-prev {
        left: auto;
        order: -1;
    }

    .rw-slider-next {
        right: auto;
        order: 1;
    }

    .rw-product-header {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 14px 20px 14px;
    }

    .rw-product-left-section {
        gap: 12px;
    }

    .rw-product-image-container {
        border-radius: 2px;
        max-height: 220px;
        overflow: hidden;
    }

    .rw-product-image {
        max-height: 220px;
        object-fit: contain;
    }

    .rw-youtube-play-button {
        width: 50px;
        height: 50px;
    }

    .rw-youtube-play-button svg {
        width: 22px;
        height: 22px;
    }

    .rw-product-price-box {
        padding: 12px 14px;
        border-radius: 2px;
        border-left-width: 4px;
    }

    .rw-price-action {
        font-size: 20px;
    }

    .rw-price-original {
        font-size: 14px;
    }

    .rw-product-price {
        font-size: 20px;
    }

    .rw-product-availability {
        font-size: 12px;
        margin-top: 4px;
    }

    .rw-product-availability::before {
        font-size: 10px;
        margin-right: 5px;
        width: 16px;
        height: 16px;
        line-height: 16px;
    }

    .rw-product-info {
        gap: 10px;
    }

    .rw-product-info .rw-product-category-title {
        margin-bottom: -10px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .rw-product-title {
        font-size: 20px;
        line-height: 30px;
    }

    .rw-product-rating {
        gap: 6px;
    }

    .rw-stars {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .rw-reviews {
        font-size: 12px;
    }

    .rw-product-key-specs {
        gap: 6px;
    }

    .rw-key-spec {
        padding: 5px 10px;
        font-size: 12px;
        border-radius: 2px;
    }

    .rw-buy-button {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 2px;
        margin-top: 6px;
        align-self: stretch;
        text-align: center;
    }

    .rw-show-details-button {
        display: block;
        padding: 10px 16px;
        font-size: 14px;
        margin-top: 0;
    }

    .rw-product-body {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 14px;
    }

    .rw-product-body:not(.expanded) .rw-product-description,
    .rw-product-body:not(.expanded) .rw-product-reviews {
        display: none;
    }

    .rw-product-body.expanded .rw-product-description {
        margin-top: 16px;
    }

    .rw-product-body.expanded .rw-product-reviews {
        margin-top: 16px;
    }

    .rw-product-description h4 {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        line-height: 26px;
    }

    .rw-product-description p {
        font-size: 14px;
        line-height: 1.714;
        margin-bottom: 12px;
    }

    .rw-product-features {
        padding: 16px;
        margin-top: 20px;
    }

    .rw-product-features h5 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .rw-product-features li {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .rw-product-reviews {
        padding: 16px;
    }

    .rw-product-reviews h5 {
        font-size: 16px;
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

    .rw-review {
        padding: 12px;
    }

    .rw-review-rating {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .rw-review-score {
        font-size: 13px;
    }

    .rw-review-text {
        font-size: 13px;
        line-height: 1.714;
        margin-bottom: 10px;
    }

    .rw-review-pros h6,
    .rw-review-cons h6 {
        font-size: 12px;
    }

    .rw-review-pros ul,
    .rw-review-cons ul {
        font-size: 12px;
    }

    .rw-product-nav-strip {
        padding-left: 0;
        padding-right: 0;
        gap: 6px;
    }

    .rw-nav-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        min-width: 30px;
        background-color: #fff;
        border: 1px solid #c7c7c8;
        border-radius: 2px;
        font-size: 12px;
        color: #4386fc;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.2s ease;
        padding: 0;
        line-height: 1;
        z-index: 2;
    }

    .rw-nav-arrow:active {
        background-color: #4386fc;
        border-color: #3c78e2;
        color: #fff;
    }

    .rw-nav-item {
        padding: 10px 10px;
    }

    .rw-nav-item-image {
        height: 70px;
        margin-bottom: 8px;
    }

    .rw-nav-item-name {
        font-size: 12px;
    }

    .rw-nav-item-spec {
        font-size: 10px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .rw-nav-item-price {
        font-size: 13px;
    }

    .rw-nav-dots {
        gap: 6px;
        padding: 14px 0;
    }

    .rw-nav-dot {
        width: 8px;
        height: 8px;
    }
}

/* ===== MALÝ MOBIL (do 479px) ===== */
@media (max-width: 479px) {
    .rw-showcase-items {
        grid-template-columns: 1fr;
    }

    .rw-showcase-item-image {
        height: 120px;
    }

    .rw-showcase-header {
        padding: 24px 16px;
    }

    .rw-showcase-header h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .rw-showcase-header p {
        font-size: 13px;
    }

    .rw-expanded-product-view {
        padding: 0 4px;
        margin-top: 40px;
    }

    .rw-expanded-product {
        border-radius: 2px;
        margin-bottom: 14px;
    }

    .rw-product-header {
        gap: 12px;
        padding: 12px 10px 16px 10px;
    }

    .rw-product-left-section {
        gap: 10px;
    }

    .rw-product-image-container {
        max-height: 180px;
    }

    .rw-product-image {
        max-height: 180px;
    }

    .rw-youtube-play-button {
        width: 44px;
        height: 44px;
    }

    .rw-youtube-play-button svg {
        width: 18px;
        height: 18px;
    }

    .rw-product-price-box {
        padding: 10px 12px;
    }

    .rw-price-action {
        font-size: 18px;
    }

    .rw-price-original {
        font-size: 13px;
    }

    .rw-product-price {
        font-size: 18px;
    }

    .rw-product-availability {
        font-size: 11px;
    }

    .rw-product-info {
        gap: 8px;
    }

    .rw-product-info .rw-product-category-title {
        margin-bottom: -8px;
        font-size: 10px;
    }

    .rw-product-title {
        font-size: 18px;
        line-height: 26px;
    }

    .rw-stars {
        font-size: 14px;
    }

    .rw-reviews {
        font-size: 12px;
    }

    .rw-product-key-specs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

    .rw-key-spec {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 2px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .rw-buy-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .rw-product-body {
        padding: 10px;
    }

    .rw-show-details-button {
        padding: 9px 12px;
        font-size: 13px;
    }

    .rw-product-description h4 {
        font-size: 16px;
        line-height: 24px;
    }

    .rw-product-description p {
        font-size: 13px;
        line-height: 1.714;
    }

    .rw-product-features {
        padding: 12px;
        margin-top: 14px;
    }

    .rw-product-features h5 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .rw-product-features li {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .rw-product-reviews {
        padding: 12px;
    }

    .rw-product-reviews h5 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .rw-review {
        padding: 10px;
    }

    .rw-review-text {
        font-size: 12px;
    }

    .rw-review-pros ul,
    .rw-review-cons ul {
        font-size: 11px;
        padding-left: 18px;
    }

    .rw-nav-item {
        padding: 8px 6px;
    }

    .rw-nav-item-image {
        height: 55px;
        margin-bottom: 6px;
    }

    .rw-nav-item-name {
        font-size: 11px;
    }

    .rw-nav-item-spec {
        font-size: 9px;
    }

    .rw-nav-item-price {
        font-size: 12px;
    }

    .rw-nav-arrow {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 12px;
    }

    .rw-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .rw-pagination {
        gap: 14px;
        font-size: 13px;
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .rw-nav-dots {
        gap: 5px;
        padding: 10px 0;
    }

    .rw-nav-dot {
        width: 6px;
        height: 6px;
    }

    .rw-modal-content {
        margin: 20% auto;
        width: 95%;
    }

    .rw-modal-close {
        top: -40px;
        font-size: 20px;
    }
}

/* ===== TLAČÍTKO ZOBRAZIT V NAV ITEMU ===== */
.rw-nav-view-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 20px;
    background-color: #4386fc;
    color: #fff;
    border: 1px solid #3c78e2;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: opacity 0.2s ease;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 20px;
    box-shadow: 0px -2px 0px rgba(0,0,0,0.15) inset, 0px 3px 0px rgba(255,255,255,0.1) inset;
}

.rw-nav-view-btn:hover {
    opacity: 0.9;
}

.rw-nav-view-btn:active {
    opacity: 0.85;
}

.rw-nav-item.active .rw-nav-view-btn {
    background-color: #3c78e2;
    border-color: #2c6beb;
}

@media (max-width: 749px) {
    .rw-nav-view-btn {
        padding: 5px 14px;
        font-size: 11px;
        margin-top: 8px;
    }
}

@media (max-width: 479px) {
    .rw-nav-view-btn {
        padding: 4px 12px;
        font-size: 10px;
        margin-top: 6px;
    }
}