* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #090b0a;
    color: white;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

/* Horní menu */
header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    border-bottom: 1px solid #202421;
}

.logo {
    color: #39e58c;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: #aeb5b0;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

nav a:hover {
    color: #39e58c;
}

/* Hlavní část */
main {
    text-align: center;
    padding: 140px 20px;
}

h1 {
    font-size: 64px;
    margin-bottom: 20px;
}

main p {
    color: #929a95;
    font-size: 19px;
}.search-box {
    max-width: 700px;
    margin: 40px auto 0;
    display: flex;
    background: #151816;
    border: 1px solid #2b302d;
    border-radius: 16px;
    padding: 7px;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 16px;
    padding: 15px 18px;
}

.search-box input::placeholder {
    color: #69706c;
}

.search-box button {
    background: #39e58c;
    color: #07100b;
    border: none;
    border-radius: 11px;
    padding: 0 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.search-box button:hover {
    opacity: 0.85;
}/* Nabídky */
.offers {
    max-width: 1100px;
    margin: 100px auto 0;
    text-align: left;
}

.offers-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.offers-title h2 {
    font-size: 28px;
}

.offers-title a {
    color: #39e58c;
    text-decoration: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: #121513;
    border: 1px solid #252a27;
    border-radius: 20px;
    padding: 25px;
    transition: 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #39e58c;
}

.badge {
    display: inline-block;
    background: rgba(57, 229, 140, 0.12);
    color: #39e58c;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.product-card .storage {
    text-align: left;
    margin: 0 0 30px;
    color: #777f7a;
    font-size: 14px;
}

.product-card .from {
    text-align: left;
    margin: 0 0 5px;
    color: #777f7a;
    font-size: 13px;
}

.price {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-card button {
    width: 100%;
    background: #39e58c;
    color: #07100b;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-weight: bold;
    cursor: pointer;
}

.product-card button:hover {
    opacity: 0.85;
}

/* Mobil */
@media (max-width: 750px) {
    nav {
        display: none;
    }

    h1 {
        font-size: 42px;
    }

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

    .offers {
        margin-top: 70px;
    }
}.product-image {
    height: 180px;
    background: #0d100e;
    border-radius: 14px;
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image span {
    font-size: 85px;
}.product-image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}/* =========================
   DETAIL PRODUKTU
========================= */

.product-page {
    max-width: 1200px;
    margin: auto;
    padding: 60px 30px 100px;
    text-align: left;
}

.back-link {
    display: inline-block;
    color: #8d9690;
    text-decoration: none;
    margin-bottom: 40px;
}

.back-link:hover {
    color: #39e58c;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.detail-image {
    min-height: 500px;
    background: #111412;
    border: 1px solid #252a27;
    border-radius: 28px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image span {
    font-size: 180px;
}

.detail-info h1 {
    text-align: left;
    margin: 10px 0 15px;
    font-size: 52px;
}

.detail-label {
    color: #39e58c;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.detail-description {
    text-align: left;
    margin: 0 0 40px;
    color: #8d9690;
    font-size: 17px;
    line-height: 1.6;
}

.option-section {
    margin-bottom: 30px;
}

.option-section h3 {
    margin-bottom: 14px;
    font-size: 16px;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-button {
    background: #151816;
    color: #b8c0bb;
    border: 1px solid #303632;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
}

.option-button:hover {
    border-color: #39e58c;
}

.option-button.active {
    background: rgba(57, 229, 140, 0.12);
    border-color: #39e58c;
    color: #39e58c;
}

.compare-button {
    width: 100%;
    margin-top: 15px;
    padding: 17px;

    background: #39e58c;
    color: #07100b;

    border: none;
    border-radius: 12px;

    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.compare-button:hover {
    opacity: 0.88;
}


/* NABÍDKY OBCHODŮ */

.shop-offers {
    margin-top: 100px;
}

.shop-offers h2 {
    font-size: 30px;
    margin-bottom: 25px;
}

.empty-offers {
    background: #111412;
    border: 1px solid #252a27;
    border-radius: 16px;

    padding: 30px;
    color: #808984;
}

.selected-variant {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;

    margin-bottom: 20px;
}

.selected-variant span {
    background: #151816;
    border: 1px solid #303632;
    border-radius: 8px;

    padding: 8px 12px;
    color: #aab2ad;
}


/* MOBIL */

@media (max-width: 800px) {

    .product-detail {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .detail-image {
        min-height: 320px;
    }

    .detail-image span {
        font-size: 120px;
    }

    .detail-info h1 {
        font-size: 38px;
    }

    .product-page {
        padding: 40px 20px 70px;
    }
}.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-button {
    background: #151816;
    color: #b8c0bb;
    border: 1px solid #303632;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
}

.color-button:hover {
    border-color: #39e58c;
}

.color-button.active {
    background: rgba(57, 229, 140, 0.12);
    border-color: #39e58c;
    color: #39e58c;
}/* ==================================================
   NABÍDKY OBCHODŮ
================================================== */

.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 25px;
}

.offers-count {
    color: #8b948e;
    font-size: 14px;
}

.shop-offers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-offer {
    background: #111412;
    border: 1px solid #252a27;
    border-radius: 16px;

    padding: 22px;

    display: grid;
    grid-template-columns: 1fr auto 180px;

    gap: 30px;
    align-items: center;

    transition: 0.2s;
}

.shop-offer:hover {
    border-color: #39e58c;
    transform: translateY(-2px);
}

.shop-info h3 {
    font-size: 19px;
    margin: 7px 0;
}

.best-offer {
    display: inline-block;

    background: rgba(57, 229, 140, 0.12);
    color: #39e58c;

    padding: 6px 9px;
    border-radius: 7px;

    font-size: 11px;
    font-weight: bold;
}

.delivery {
    color: #8b948e;
    font-size: 13px;
}

.offer-price {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 5px;
}

.product-price {
    font-size: 21px;
    font-weight: bold;
}

.shipping {
    color: #8b948e;
    font-size: 12px;
}

.offer-price strong {
    color: #39e58c;
    font-size: 13px;
}

.shop-button {
    display: block;

    background: #39e58c;
    color: #07100b;

    text-decoration: none;
    text-align: center;

    padding: 14px 20px;
    border-radius: 10px;

    font-weight: bold;

    transition: 0.2s;
}

.shop-button:hover {
    opacity: 0.88;
}


/* ==================================================
   NABÍDKY - MOBIL
================================================== */

@media (max-width: 800px) {

    .shop-offer {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offer-price {
        text-align: left;
    }

    .offers-header {
        flex-direction: column;
    }

    .shop-button {
        width: 100%;
    }
}/* =====================================================
   CENLY - NOVÉ NABÍDKY OBCHODŮ
===================================================== */

.offers-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.offers-heading h2 {
    margin-bottom: 5px;
}

.offers-count {
    margin: 0;
    color: #8b938e;
    font-size: 14px;
}

.lowest-price-box {
    background: #121a16;
    border: 1px solid rgba(57, 229, 140, 0.25);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    text-align: right;
}

.lowest-price-box span {
    color: #8b938e;
    font-size: 12px;
}

.lowest-price-box strong {
    color: #39e58c;
    font-size: 22px;
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-offer-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
    align-items: center;
    gap: 20px;

    background: #121513;
    border: 1px solid #222824;
    border-radius: 18px;

    padding: 22px;
}

.shop-offer-card:hover {
    border-color: #39433d;
}

.shop-offer-card.cheapest-offer {
    border-color: rgba(57, 229, 140, 0.55);
    background: #111915;
}

.offer-shop {
    position: relative;
}

.offer-shop h3 {
    margin: 4px 0;
    font-size: 18px;
}

.best-offer-badge {
    display: inline-block;
    color: #39e58c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.availability {
    color: #39e58c;
    font-size: 13px;
}

.offer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offer-small-label {
    color: #7d8680;
    font-size: 12px;
}

.offer-price {
    font-size: 17px;
}

.offer-total {
    color: #39e58c;
    font-size: 18px;
}

.offer-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.shop-button {
    display: inline-block;
    text-decoration: none;
    background: #39e58c;
    color: #07100b;
    font-weight: 800;

    padding: 11px 17px;
    border-radius: 10px;

    transition: transform 0.15s ease,
                opacity 0.15s ease;
}

.shop-button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.offer-updated {
    color: #68706b;
    font-size: 10px;
    text-align: right;
}

.price-notice {
    margin-top: 18px;
    color: #707873;
    font-size: 12px;
}


/* MOBIL */

@media (max-width: 850px) {

    .offers-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .lowest-price-box {
        text-align: left;
    }

    .shop-offer-card {
        grid-template-columns: 1fr 1fr;
    }

    .offer-shop {
        grid-column: 1 / -1;
    }

    .offer-action {
        grid-column: 1 / -1;
        align-items: stretch;
    }

    .shop-button {
        text-align: center;
    }

    .offer-updated {
        text-align: center;
    }
}


@media (max-width: 520px) {

    .shop-offer-card {
        grid-template-columns: 1fr;
    }

    .offer-shop,
    .offer-action {
        grid-column: auto;
    }

}/* =====================================================
   CENLY HOMEPAGE
===================================================== */

.home-hero {
    max-width: 1000px;
    margin: 0 auto;
    padding: 110px 25px 80px;
    text-align: center;
}

.hero-badge,
.section-label {
    color: #39e58c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.home-hero h1 {
    max-width: 850px;
    margin: 18px auto;
    font-size: clamp(45px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -3px;
}

.home-hero h1 span {
    color: #39e58c;
}

.hero-text {
    max-width: 650px;
    margin: 0 auto;
    color: #8b938e;
    font-size: 17px;
    line-height: 1.7;
}

.home-search {
    max-width: 700px;
    margin: 38px auto 0;
    padding: 7px;

    display: flex;

    background: #121513;
    border: 1px solid #252b27;
    border-radius: 17px;
}

.home-search:focus-within {
    border-color: rgba(57, 229, 140, 0.55);
}

.home-search input {
    flex: 1;
    min-width: 0;

    padding: 15px;

    color: #ffffff;
    background: transparent;
    border: none;
    outline: none;

    font-size: 15px;
}

.home-search button {
    padding: 0 25px;

    background: #39e58c;
    color: #07100b;

    border: none;
    border-radius: 11px;

    font-weight: 800;
    cursor: pointer;
}

.home-search-results {
    display: none;

    max-width: 700px;
    margin: 8px auto 0;

    background: #121513;
    border: 1px solid #252b27;
    border-radius: 16px;

    overflow: hidden;
    text-align: left;
}

.home-search-results.visible {
    display: block;
}

.search-result-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;

    padding: 15px;

    color: white;
    text-decoration: none;

    border-bottom: 1px solid #202522;
}

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

.search-result-item:hover {
    background: #171c19;
}

.search-result-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: #1b211d;
    border-radius: 10px;
}

.search-result-item strong,
.search-result-item span {
    display: block;
}

.search-result-item div span {
    margin-top: 4px;
    color: #777f7a;
    font-size: 11px;
}

.search-arrow {
    color: #39e58c;
}

.search-no-result,
.home-loading {
    padding: 25px;
    color: #858d88;
}

.hero-stats {
    max-width: 650px;
    margin: 45px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #202522;
    padding-top: 25px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 20px;
}

.hero-stats span {
    margin-top: 5px;
    color: #737b76;
    font-size: 11px;
}


/* SECTIONS */

.home-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 25px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;

    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 7px 0;
    font-size: 35px;
}

.section-heading p {
    margin: 0;
    color: #7f8782;
}

.section-link {
    color: #39e58c;
    text-decoration: none;
    font-weight: 700;
}


/* BEST OFFERS */

.best-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.best-offer-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 22px;

    background: #121513;
    border: 1px solid #222824;
    border-radius: 20px;
}

.best-offer-card:hover {
    border-color: #38423c;
}

.best-card-top {
    min-height: 22px;
}

.home-best-badge {
    color: #39e58c;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.home-shop-name {
    color: #737b76;
    font-size: 11px;
}

.best-phone-icon {
    height: 120px;

    display: grid;
    place-items: center;

    font-size: 65px;
}

.best-product-shop {
    color: #39e58c;
    font-size: 11px;
    font-weight: 700;
}

.best-offer-card h3 {
    margin: 6px 0;
    font-size: 21px;
}

.best-variant {
    min-height: 34px;
    color: #7c847f;
    font-size: 12px;
}

.best-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;

    margin-top: auto;
    padding-top: 18px;

    border-top: 1px solid #222824;
}

.best-price-row div {
    display: flex;
    flex-direction: column;
}

.best-price-row div span {
    color: #747c77;
    font-size: 11px;
}

.best-price-row strong {
    margin-top: 3px;
    color: #39e58c;
    font-size: 22px;
}

.best-shipping {
    color: #8b938e;
    font-size: 11px;
}

.best-compare-button {
    margin-top: 18px;
    padding: 12px;

    background: #1a211d;
    color: white;

    border: 1px solid #2b342e;
    border-radius: 10px;

    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.best-compare-button:hover {
    background: #39e58c;
    color: #07100b;
}


/* POPULAR PRODUCTS */

.popular-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.popular-product-card {
    padding: 22px;

    color: white;
    text-decoration: none;

    background: #121513;
    border: 1px solid #222824;
    border-radius: 20px;
}

.popular-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(57, 229, 140, 0.4);
}

.popular-phone-icon {
    height: 100px;

    display: grid;
    place-items: center;

    font-size: 55px;
}

.popular-label {
    color: #39e58c;
    font-size: 10px;
    font-weight: 800;
}

.popular-product-card h3 {
    margin: 6px 0;
}

.popular-product-card p {
    min-height: 32px;
    color: #737b76;
    font-size: 11px;
}

.popular-open {
    color: #39e58c;
    font-size: 13px;
    font-weight: 700;
}


/* HOW IT WORKS */

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.how-card {
    padding: 25px;

    background: #101311;
    border: 1px solid #202522;
    border-radius: 18px;
}

.how-number {
    color: #39e58c;
    font-size: 12px;
    font-weight: 800;
}

.how-card h3 {
    margin: 30px 0 8px;
}

.how-card p {
    color: #777f7a;
    font-size: 13px;
    line-height: 1.6;
}


/* FOOTER */

.home-footer {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 35px 25px 50px;

    border-top: 1px solid #202522;
}

.home-footer p {
    color: #8a928d;
}

.home-footer > span {
    color: #5f6662;
    font-size: 11px;
}


/* TABLET */

@media (max-width: 900px) {

    .best-offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .popular-products-grid,
    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .home-hero {
        padding-top: 70px;
    }

    .home-hero h1 {
        letter-spacing: -2px;
    }

    .home-search {
        flex-direction: column;
    }

    .home-search button {
        padding: 14px;
    }

    .hero-stats {
        gap: 10px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .best-offers-grid,
    .popular-products-grid,
    .how-grid {
        grid-template-columns: 1fr;
    }

}/* =====================================================
   CENLY - IPHONE KATALOG
===================================================== */

.catalog-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 25px;
}

.catalog-hero {
    max-width: 700px;
    margin-bottom: 45px;
}

.catalog-hero h1 {
    margin: 10px 0;
    font-size: clamp(40px, 6vw, 65px);
    letter-spacing: -2px;
}

.catalog-hero p {
    max-width: 600px;
    color: #838b86;
    line-height: 1.7;
}


/* FILTRY */

.catalog-controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 10px;

    padding: 10px;

    background: #101311;
    border: 1px solid #222824;
    border-radius: 17px;
}

.catalog-search-box input,
.catalog-controls select {
    width: 100%;
    height: 48px;

    box-sizing: border-box;

    padding: 0 14px;

    background: #171b18;
    color: white;

    border: 1px solid #292f2b;
    border-radius: 10px;

    outline: none;
}

.catalog-search-box input:focus,
.catalog-controls select:focus {
    border-color: #39e58c;
}

.catalog-controls select {
    cursor: pointer;
}


/* INFO */

.catalog-info {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 2px;
}

#catalogCount {
    color: #818984;
    font-size: 13px;
}

#resetFilters {
    color: #39e58c;
    background: transparent;

    border: none;

    cursor: pointer;
    font-weight: 700;
}


/* GRID */

.iphone-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}


/* CARD */

.iphone-catalog-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 22px;

    background: #121513;

    border: 1px solid #222824;
    border-radius: 20px;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease;
}

.iphone-catalog-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(57, 229, 140, 0.4);
}

.catalog-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-apple-label {
    color: #39e58c;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.catalog-generation {
    color: #666e69;
    font-size: 10px;
}


/* PHONE */

.catalog-phone-image {
    height: 155px;

    display: grid;
    place-items: center;

    font-size: 78px;
}

.iphone-catalog-card h2 {
    margin: 5px 0;

    font-size: 21px;
}

.catalog-storage {
    min-height: 34px;

    margin: 3px 0 18px;

    color: #767e79;

    font-size: 11px;
    line-height: 1.5;
}


/* PRICE */

.catalog-price-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;

    margin-top: auto;

    padding-top: 18px;

    border-top: 1px solid #222824;
}

.catalog-price-wrapper {
    display: flex;
    flex-direction: column;
}

.catalog-price-label {
    color: #717974;
    font-size: 10px;
}

.catalog-price {
    margin-top: 2px;

    color: #39e58c;

    font-size: 22px;
}

.catalog-no-price {
    color: #777f7a;
    font-size: 12px;
}

.catalog-offer-count {
    color: #777f7a;
    font-size: 11px;
}


/* BUTTON */

.catalog-compare-button {
    margin-top: 17px;
    padding: 12px;

    text-align: center;
    text-decoration: none;

    background: #1a211d;
    color: white;

    border: 1px solid #2b342e;
    border-radius: 10px;

    font-weight: 700;
}

.catalog-compare-button:hover {
    background: #39e58c;
    color: #07100b;
}


/* EMPTY / LOADING */

.catalog-loading,
.catalog-empty {
    grid-column: 1 / -1;

    padding: 60px 20px;

    text-align: center;

    color: #7d8580;

    background: #101311;

    border: 1px solid #202522;
    border-radius: 18px;
}

.catalog-empty h3 {
    color: white;
}


/* TABLET */

@media (max-width: 950px) {

    .catalog-controls {
        grid-template-columns:
            1fr 1fr;
    }

    .iphone-catalog-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* MOBIL */

@media (max-width: 600px) {

    .catalog-page {
        padding-top: 55px;
    }

    .catalog-controls {
        grid-template-columns: 1fr;
    }

    .iphone-catalog-grid {
        grid-template-columns: 1fr;
    }

}/* =====================================================
   CENLY - EMPTY PRODUCT STATE
===================================================== */

.cenly-no-offers {
    padding: 55px 25px;
    text-align: center;

    background: #101311;
    border: 1px solid #202622;
    border-radius: 20px;
}

.no-offers-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 18px;

    display: grid;
    place-items: center;

    background: #171d19;
    color: #39e58c;

    border-radius: 50%;

    font-size: 30px;
}

.cenly-no-offers h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.cenly-no-offers p {
    max-width: 450px;
    margin: 0 auto 20px;

    color: #7c847f;
    line-height: 1.6;
}

.cenly-no-offers a {
    color: #39e58c;
    text-decoration: none;
    font-weight: 700;
}

.disabled-shop-button {
    opacity: 0.45;
    cursor: default;
}/* =====================================================
   CENLY - PRODUCT IMAGES
===================================================== */

.catalog-product-image,
.home-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.catalog-product-image {
    max-width: 180px;
    max-height: 145px;
}

.home-product-image {
    max-width: 150px;
    max-height: 110px;
}

.catalog-phone-image,
.popular-phone-icon,
.best-phone-icon {
    position: relative;
}

.catalog-phone-image img,
.popular-phone-icon img,
.best-phone-icon img {
    margin: auto;
}

.product-image-fallback {
    width: 100%;
    height: 100%;

    display: none;
    place-items: center;

    font-size: 60px;
}/* =====================================================
   CENLY - PRODUCT DETAIL IMAGE
===================================================== */

.product-detail-image-box {
    width: 100%;
    height: 330px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    background:
        radial-gradient(
            circle,
            rgba(57, 229, 140, 0.07),
            transparent 65%
        );

    border-radius: 25px;
}

.product-detail-image {
    display: none;

    width: 100%;
    height: 100%;

    max-width: 300px;
    max-height: 300px;

    object-fit: contain;
}

.product-detail-image-fallback {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    font-size: 120px;
}


/* MOBIL */

@media (max-width: 600px) {

    .product-detail-image-box {
        height: 250px;
    }

    .product-detail-image {
        max-width: 220px;
        max-height: 220px;
    }

    .product-detail-image-fallback {
        font-size: 90px;
    }

}/* =====================================================
   CENLY - O CENLY
===================================================== */

.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px 100px;
}


/* HERO */

.about-hero {
    max-width: 850px;
    padding: 70px 0 100px;
}

.about-badge {
    display: inline-block;

    padding: 8px 14px;
    margin-bottom: 25px;

    border: 1px solid rgba(57, 229, 140, 0.25);
    border-radius: 100px;

    background: rgba(57, 229, 140, 0.07);

    color: #39e58c;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.about-hero h1 {
    margin: 0 0 25px;

    font-size: clamp(48px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -4px;
}

.about-hero h1 span {
    color: #39e58c;
}

.about-hero p {
    max-width: 650px;

    margin: 0;

    color: #8c9690;

    font-size: 19px;
    line-height: 1.7;
}


/* SEKCE */

.about-section {
    padding: 70px 0;

    border-top: 1px solid #202622;
}

.about-section-heading {
    display: flex;
    gap: 25px;

    margin-bottom: 40px;
}

.about-section-heading > span {
    color: #39e58c;

    font-size: 13px;
    font-weight: 800;
}

.about-section-heading h2 {
    margin: 0 0 8px;

    font-size: 32px;
    letter-spacing: -1px;
}

.about-section-heading p {
    margin: 0;

    color: #7c847f;
}


/* HLAVNÍ KARTA */

.about-big-card {
    padding: 45px;

    background: #101311;

    border: 1px solid #202622;
    border-radius: 25px;
}

.about-big-card h3 {
    margin: 0 0 22px;

    font-size: 27px;
}

.about-big-card p {
    max-width: 750px;

    color: #8c9690;

    font-size: 16px;
    line-height: 1.8;
}


/* KROKY */

.about-steps {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.about-step {
    min-height: 220px;

    padding: 28px;

    background: #101311;

    border: 1px solid #202622;
    border-radius: 20px;
}

.about-step-number {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    margin-bottom: 35px;

    border-radius: 50%;

    background: rgba(57, 229, 140, 0.1);

    color: #39e58c;

    font-size: 13px;
    font-weight: 800;
}

.about-step h3 {
    margin: 0 0 12px;

    font-size: 18px;
}

.about-step p {
    margin: 0;

    color: #7c847f;

    font-size: 14px;
    line-height: 1.6;
}


/* INFORMACE */

.about-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.about-info-card {
    padding: 30px;

    background: #101311;

    border: 1px solid #202622;
    border-radius: 20px;
}

.about-info-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    background: #171d19;

    border-radius: 12px;

    color: #39e58c;

    font-weight: 800;
}

.about-info-card h3 {
    margin: 0 0 12px;

    font-size: 18px;
}

.about-info-card p {
    margin: 0;

    color: #7c847f;

    font-size: 14px;
    line-height: 1.7;
}


/* CTA */

.about-cta {
    margin-top: 70px;
    padding: 70px 30px;

    text-align: center;

    background:
        radial-gradient(
            circle at top,
            rgba(57, 229, 140, 0.12),
            transparent 60%
        ),
        #101311;

    border: 1px solid #202622;
    border-radius: 30px;
}

.about-cta > span {
    color: #39e58c;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.about-cta h2 {
    margin: 15px 0;

    font-size: 42px;
    letter-spacing: -2px;
}

.about-cta p {
    margin: 0 auto 30px;

    color: #7c847f;
}

.about-cta-button {
    display: inline-block;

    padding: 15px 23px;

    background: #39e58c;

    border-radius: 12px;

    color: #07100b;

    text-decoration: none;

    font-weight: 800;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.about-cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* MOBIL */

@media (max-width: 850px) {

    .about-steps {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-info-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .about-page {
        padding:
            30px 18px 70px;
    }

    .about-hero {
        padding:
            45px 0 70px;
    }

    .about-hero h1 {
        letter-spacing: -2px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-section {
        padding: 50px 0;
    }

    .about-section-heading {
        gap: 15px;
    }

    .about-section-heading h2 {
        font-size: 26px;
    }

    .about-big-card {
        padding: 28px;
    }

    .about-steps {
        grid-template-columns: 1fr;
    }

    .about-cta {
        padding:
            50px 20px;
    }

    .about-cta h2 {
        font-size: 34px;
    }

}/* =========================================================
   CENLY 2026
   FINÁLNÍ RESPONZIVNÍ ÚPRAVY
   Tento blok nech úplně na konci style.css
========================================================= */


/* =========================================================
   OBECNÁ OCHRANA PROTI PŘETÉKÁNÍ
========================================================= */

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}


/* =========================================================
   HEADER - DESKTOP
========================================================= */

header {
    width: 100%;
    min-height: 80px;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 20px 6%;

    border-bottom: 1px solid #202421;
}

header .logo {
    flex-shrink: 0;
}

header nav {
    display: flex;

    align-items: center;

    gap: 30px;
}

header nav a {
    white-space: nowrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    /* HEADER */

    header {
        padding:
            18px 25px;

        gap: 20px;
    }

    header nav {
        display: flex;

        gap: 18px;
    }

    header nav a {
        font-size: 13px;
    }


    /* HOMEPAGE */

    .home-hero {
        padding:
            85px 25px
            65px;
    }

    .home-section {
        padding:
            55px 25px;
    }

    .best-offers-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .popular-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .how-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* KATALOG */

    .catalog-page {
        padding:
            65px 25px;
    }

    .catalog-controls {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .iphone-catalog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* DETAIL PRODUKTU */

    .product-detail {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .detail-image {
        min-height: 380px;
    }


    /* NABÍDKY */

    .shop-offer-card {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .offer-shop {
        grid-column: 1 / -1;
    }

    .offer-action {
        grid-column: 1 / -1;

        align-items: stretch;
    }

    .offer-action .shop-button {
        width: 100%;

        text-align: center;
    }

}


/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 650px) {


    /* =====================================================
       HEADER
    ===================================================== */

    header {
        min-height: auto;

        flex-direction: column;

        align-items: stretch;

        gap: 16px;

        padding:
            18px 18px
            14px;
    }

    header .logo {
        align-self: flex-start;

        font-size: 25px;
    }

    header nav {
        width: 100%;

        display: flex;

        gap: 8px;

        overflow-x: auto;

        padding-bottom: 4px;

        scrollbar-width: none;
    }

    header nav::-webkit-scrollbar {
        display: none;
    }

    header nav a {
        flex-shrink: 0;

        padding:
            9px 12px;

        background: #101311;

        border:
            1px solid #202622;

        border-radius: 9px;

        color: #8e9791;

        font-size: 12px;
    }

    header nav a.active-nav {
        color: #39e58c;

        border-color:
            rgba(57, 229, 140, 0.35);

        background:
            rgba(57, 229, 140, 0.07);
    }


    /* =====================================================
       HOMEPAGE HERO
    ===================================================== */

    .home-hero {
        padding:
            65px 18px
            50px;
    }

    .hero-badge {
        font-size: 10px;

        letter-spacing: 1.5px;
    }

    .home-hero h1 {
        margin:
            16px auto
            20px;

        font-size:
            clamp(
                42px,
                13vw,
                58px
            );

        line-height: 1;

        letter-spacing: -2.5px;
    }

    .hero-text {
        font-size: 15px;

        line-height: 1.65;
    }


    /* =====================================================
       HOMEPAGE SEARCH
    ===================================================== */

    .home-search {
        width: 100%;

        margin-top: 30px;

        display: flex;

        flex-direction: column;

        gap: 7px;

        padding: 7px;
    }

    .home-search input {
        width: 100%;

        min-height: 50px;

        padding:
            0 14px;
    }

    .home-search button {
        width: 100%;

        min-height: 48px;

        padding: 12px;
    }

    .home-search-results {
        width: 100%;
    }

    .search-result-item {
        grid-template-columns:
            auto minmax(0, 1fr) auto;
    }


    /* =====================================================
       HOMEPAGE STATISTIKY
    ===================================================== */

    .hero-stats {
        width: 100%;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 5px;

        margin-top: 35px;

        padding-top: 22px;
    }

    .hero-stats strong {
        font-size: 17px;
    }

    .hero-stats span {
        font-size: 9px;

        line-height: 1.4;
    }


    /* =====================================================
       HOMEPAGE SEKCE
    ===================================================== */

    .home-section {
        padding:
            48px 18px;
    }

    .section-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 14px;

        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .section-heading p {
        font-size: 14px;

        line-height: 1.6;
    }

    .section-link {
        font-size: 13px;
    }


    /* =====================================================
       NEJLEPŠÍ NABÍDKY
    ===================================================== */

    .best-offers-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .best-offer-card {
        padding: 20px;
    }

    .best-phone-icon {
        height: 115px;
    }

    .best-offer-card h3 {
        font-size: 20px;
    }

    .best-price-row strong {
        font-size: 21px;
    }


    /* =====================================================
       POPULÁRNÍ IPHONY
    ===================================================== */

    .popular-products-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .popular-product-card {
        padding: 20px;
    }

    .popular-phone-icon {
        height: 115px;
    }


    /* =====================================================
       JAK CENLY FUNGUJE
    ===================================================== */

    .how-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .how-card {
        padding: 22px;
    }

    .how-card h3 {
        margin-top: 22px;
    }


    /* =====================================================
       KATALOG
    ===================================================== */

    .catalog-page {
        padding:
            50px 18px
            70px;
    }

    .catalog-hero {
        margin-bottom: 32px;
    }

    .catalog-hero h1 {
        font-size:
            clamp(
                38px,
                12vw,
                52px
            );

        line-height: 1.03;

        letter-spacing: -2px;
    }

    .catalog-hero p {
        font-size: 14px;
    }


    /* =====================================================
       FILTRY
    ===================================================== */

    .catalog-controls {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 8px;

        padding: 8px;
    }

    .catalog-search-box input,
    .catalog-controls select {
        height: 50px;

        font-size: 14px;
    }

    .catalog-info {
        gap: 15px;

        padding:
            18px 2px;
    }

    #catalogCount {
        font-size: 12px;
    }

    #resetFilters {
        flex-shrink: 0;

        font-size: 12px;
    }


    /* =====================================================
       KATALOG KARTY
    ===================================================== */

    .iphone-catalog-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .iphone-catalog-card {
        padding: 20px;
    }

    .catalog-phone-image {
        height: 180px;
    }

    .catalog-product-image {
        max-width: 190px;

        max-height: 170px;
    }

    .iphone-catalog-card h2 {
        font-size: 21px;
    }

    .catalog-price-area {
        gap: 10px;
    }

    .catalog-price {
        font-size: 21px;
    }

    .catalog-compare-button {
        min-height: 45px;

        display: grid;

        place-items: center;
    }


    /* =====================================================
       DETAIL PRODUKTU
    ===================================================== */

    .product-page {
        width: 100%;

        padding:
            35px 18px
            70px;
    }

    .back-link {
        margin-bottom: 25px;

        font-size: 13px;
    }

    .product-detail {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .detail-image {
        width: 100%;

        min-height: 280px;

        border-radius: 20px;
    }

    .product-detail-image-box {
        width: 100%;

        height: 270px;

        margin-bottom: 0;
    }

    .product-detail-image {
        max-width: 230px;

        max-height: 240px;
    }

    .product-detail-image-fallback {
        font-size: 85px;
    }

    .detail-info h1 {
        margin:
            8px 0
            12px;

        font-size:
            clamp(
                34px,
                10vw,
                45px
            );

        line-height: 1.05;
    }

    .detail-description {
        margin-bottom: 30px;

        font-size: 15px;
    }


    /* =====================================================
       VOLBY PRODUKTU
    ===================================================== */

    .option-section {
        margin-bottom: 25px;
    }

    .option-buttons,
    .color-options {
        gap: 8px;
    }

    .option-button,
    .color-button {
        min-height: 44px;

        padding:
            11px 14px;

        font-size: 13px;
    }

    .compare-button {
        min-height: 52px;

        margin-top: 10px;
    }


    /* =====================================================
       NABÍDKY OBCHODŮ
    ===================================================== */

    .shop-offers {
        margin-top: 65px;
    }

    .shop-offers h2 {
        font-size: 27px;
    }

    .offers-heading {
        flex-direction: column;

        align-items: stretch;

        gap: 15px;
    }

    .lowest-price-box {
        width: 100%;

        text-align: left;
    }

    .shop-offer-card {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 18px;

        padding: 20px;
    }

    .offer-shop,
    .offer-action {
        grid-column: auto;
    }

    .offer-info {
        padding-bottom: 12px;

        border-bottom:
            1px solid #222824;
    }

    .offer-action {
        width: 100%;

        align-items: stretch;
    }

    .shop-button {
        width: 100%;

        min-height: 46px;

        display: grid;

        place-items: center;

        text-align: center;
    }

    .offer-updated {
        text-align: center;
    }

    .cenly-no-offers {
        padding:
            40px 20px;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .home-footer {
        margin-top: 30px;

        padding:
            30px 18px
            40px;
    }

    .home-footer .logo {
        font-size: 23px;
    }

    .home-footer p {
        font-size: 13px;

        line-height: 1.6;
    }

    .home-footer > span {
        display: block;

        line-height: 1.5;
    }

}


/* =========================================================
   EXTRA MALÉ TELEFONY
========================================================= */

@media (max-width: 390px) {

    header {
        padding-left: 14px;
        padding-right: 14px;
    }

    header nav a {
        padding:
            8px 10px;

        font-size: 11px;
    }

    .home-hero,
    .home-section,
    .catalog-page,
    .product-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-hero h1 {
        font-size: 40px;
    }

    .hero-stats strong {
        font-size: 15px;
    }

    .hero-stats span {
        font-size: 8px;
    }

    .shop-offer-card,
    .iphone-catalog-card,
    .best-offer-card,
    .popular-product-card {
        padding: 17px;
    }

}/* =====================================================
   CENLY - NOVÉ LOGO
===================================================== */

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.cenly-logo-image {
    display: block;
    width: auto;
    height: 48px;
    object-fit: contain;
}


/* HEADER */

header .cenly-logo-image {
    height: 48px;
}


/* FOOTER */

.home-footer .cenly-logo-image {
    height: 52px;
    margin-bottom: 15px;
}


/* MOBIL */

@media (max-width: 600px) {

    header .cenly-logo-image {
        height: 40px;
    }

    .home-footer .cenly-logo-image {
        height: 44px;
    }

}