.glasmoblocks-section {
    position: relative;
    padding: 20px 0;
}

.glasmoblocks-heading {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    text-align: center;
    color: #000;
}

/* ── Category Slider ── */

.glasmoblocks-catslider .glasmoblocks-swiper {
    padding-bottom: 40px;
}

.glasmoblocks-cat-item {
    display: block;
    text-decoration: none;
    color: #000;
    text-align: center;
    transition: opacity 0.2s ease;
}

.glasmoblocks-cat-item:hover {
    opacity: 0.85;
}

.glasmoblocks-cat-img {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
}

.glasmoblocks-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.glasmoblocks-cat-title {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
}

/* ── Product Slider ── */

.glasmoblocks-prodslider .glasmoblocks-swiper {
    padding-bottom: 40px;
}

.glasmoblocks-product-item {
    display: block;
    text-decoration: none;
    color: #000;
    text-align: center;
    transition: opacity 0.2s ease;
}

.glasmoblocks-product-item:hover {
    opacity: 0.85;
}

.glasmoblocks-product-img {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
    margin-bottom: 10px;
}

.glasmoblocks-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.glasmoblocks-product-info {
    padding: 0 4px;
}

.glasmoblocks-product-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #000;
}

.glasmoblocks-product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
}

.glasmoblocks-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.glasmoblocks-price-current {
    font-weight: 700;
    color: #000;
}

.glasmoblocks-price-discount {
    color: #e63946;
}

/* ── Image Banner ── */

.glasmoblocks-banner-link {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a.glasmoblocks-banner-link:hover {
    opacity: 0.9;
}

.glasmoblocks-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Text Block ── */

.glasmoblocks-text-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.glasmoblocks-text-content img {
    max-width: 100%;
    height: auto;
}

/* ── Swiper Navigation ── */

.glasmoblocks-section .swiper-button-prev,
.glasmoblocks-section .swiper-button-next {
    color: #000;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    top: calc(50% - 20px);
}

.glasmoblocks-section .swiper-button-prev::after,
.glasmoblocks-section .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}

.glasmoblocks-section .swiper-button-prev:hover,
.glasmoblocks-section .swiper-button-next:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.glasmoblocks-section .swiper-pagination-bullet {
    background: #000;
    opacity: 0.25;
}

.glasmoblocks-section .swiper-pagination-bullet-active {
    opacity: 1;
}

/* ── Responsive ── */

@media (max-width: 767px) {
    .glasmoblocks-heading {
        font-size: 17px;
    }

    .glasmoblocks-cat-title,
    .glasmoblocks-product-name {
        font-size: 13px;
    }

    .glasmoblocks-section .swiper-button-prev,
    .glasmoblocks-section .swiper-button-next {
        display: none;
    }
}

/* ── Dark Mode ── */

@media (prefers-color-scheme: dark) {
    .glasmoblocks-heading,
    .glasmoblocks-cat-item,
    .glasmoblocks-cat-title,
    .glasmoblocks-product-item,
    .glasmoblocks-product-name,
    .glasmoblocks-price-current {
        color: #eee;
    }

    .glasmoblocks-cat-img,
    .glasmoblocks-product-img {
        background: #222;
    }

    .glasmoblocks-text-content {
        color: #ccc;
    }

    .glasmoblocks-section .swiper-button-prev,
    .glasmoblocks-section .swiper-button-next {
        color: #eee;
        background: #222;
        border-color: #444;
    }

    .glasmoblocks-section .swiper-button-prev:hover,
    .glasmoblocks-section .swiper-button-next:hover {
        background: #eee;
        color: #111;
        border-color: #eee;
    }

    .glasmoblocks-section .swiper-pagination-bullet {
        background: #eee;
    }
}

[data-theme="dark"] .glasmoblocks-heading,
[data-theme="dark"] .glasmoblocks-cat-item,
[data-theme="dark"] .glasmoblocks-cat-title,
[data-theme="dark"] .glasmoblocks-product-item,
[data-theme="dark"] .glasmoblocks-product-name,
[data-theme="dark"] .glasmoblocks-price-current {
    color: #eee;
}

[data-theme="dark"] .glasmoblocks-cat-img,
[data-theme="dark"] .glasmoblocks-product-img {
    background: #222;
}

[data-theme="dark"] .glasmoblocks-text-content {
    color: #ccc;
}

[data-theme="dark"] .glasmoblocks-section .swiper-button-prev,
[data-theme="dark"] .glasmoblocks-section .swiper-button-next {
    color: #eee;
    background: #222;
    border-color: #444;
}

[data-theme="dark"] .glasmoblocks-section .swiper-button-prev:hover,
[data-theme="dark"] .glasmoblocks-section .swiper-button-next:hover {
    background: #eee;
    color: #111;
    border-color: #eee;
}

[data-theme="dark"] .glasmoblocks-section .swiper-pagination-bullet {
    background: #eee;
}
