.blog-list-head {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 1.35rem 1.15rem 1.15rem;
    margin-bottom: 2rem;
}

.blog-list-head__copy h1 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.35;
    font-weight: 800;
    color: #111827;
}

.blog-list-head__copy p {
    margin: 0.4rem 0 0;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.75;
}

.blog-list-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.15rem;
    min-height: 3.05rem;
    padding: 0.35rem 0.9rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
}

.blog-list-search:focus-within {
    background: #fff;
    border-color: #c7d2fe;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.blog-list-search__icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    color: #9ca3af;
}

.blog-list-search input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.45rem 0;
    font-size: 0.95rem;
    color: #111827;
    outline: none;
}

.blog-list-search input::placeholder {
    color: #9ca3af;
}

.blog-list-search__clear {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
}

.blog-list-search__clear:hover {
    color: #111827;
}

.blog-cat-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.blog-cat-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #c4b5fd;
    background: #fff;
    color: #6d28d9;
    font-size: 0.84rem;
    line-height: 1.45;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.blog-cat-pill:hover {
    background: #f5f3ff;
    text-decoration: none;
}

@media (min-width: 768px) {
    .blog-list-head {
        padding: 1.7rem 1.7rem 1.3rem;
    }

    .blog-list-head__copy h1 {
        font-size: 1.85rem;
    }
}

.blog-cat-pills--sub {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.blog-archive-row {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid #f1f5f9;
}

.blog-archive-row__label {
    margin: 0 0 0.55rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #6b7280;
}

.blog-cat-pill.is-active {
    background: #6d28d9;
    border-color: #6d28d9;
    color: #fff;
}

.blog-cat-pill--1 { border-color: #7dd3fc; color: #0369a1; }
.blog-cat-pill--1:hover { background: #f0f9ff; }
.blog-cat-pill--1.is-active { background: #0284c7; border-color: #0284c7; color: #fff; }

.blog-cat-pill--2 { border-color: #5eead4; color: #0f766e; }
.blog-cat-pill--2:hover { background: #f0fdfa; }
.blog-cat-pill--2.is-active { background: #0f766e; border-color: #0f766e; color: #fff; }

.blog-cat-pill--3 { border-color: #86efac; color: #15803d; }
.blog-cat-pill--3:hover { background: #f0fdf4; }
.blog-cat-pill--3.is-active { background: #16a34a; border-color: #16a34a; color: #fff; }

.blog-cat-pill--4 { border-color: #fcd34d; color: #b45309; }
.blog-cat-pill--4:hover { background: #fffbeb; }
.blog-cat-pill--4.is-active { background: #d97706; border-color: #d97706; color: #fff; }

.blog-cat-pill--5 { border-color: #fda4af; color: #be123c; }
.blog-cat-pill--5:hover { background: #fff1f2; }
.blog-cat-pill--5.is-active { background: #e11d48; border-color: #e11d48; color: #fff; }

.blog-cat-pill--6 { border-color: #a5b4fc; color: #4338ca; }
.blog-cat-pill--6:hover { background: #eef2ff; }
.blog-cat-pill--6.is-active { background: #4f46e5; border-color: #4f46e5; color: #fff; }

.blog-cat-pill--7 { border-color: #fdba74; color: #c2410c; }
.blog-cat-pill--7:hover { background: #fff7ed; }
.blog-cat-pill--7.is-active { background: #ea580c; border-color: #ea580c; color: #fff; }

.blog-focus {
    direction: ltr;
    display: grid;
    width: 100%;
    max-width: 58rem;
    margin-inline: auto;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    column-gap: 1.75rem;
    align-items: start;
}

.blog-focus__rail {
    align-self: stretch;
    direction: ltr;
}

.blog-focus__main {
    direction: rtl;
    min-width: 0;
}

.blog-float-rail {
    position: sticky;
    top: 8.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.blog-float-btn {
    width: 2.75rem;
    min-height: 2.75rem;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.35rem 0.2rem;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.blog-float-btn:hover {
    color: #111827;
    border-color: #d1d5db;
    background: #f9fafb;
}

.blog-float-btn.is-active {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.blog-float-btn--save.is-active {
    color: #4f46e5;
    border-color: #c7d2fe;
    background: #eef2ff;
}

.blog-float-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

.blog-float-count {
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 700;
}

.blog-float-label {
    display: none;
}

.blog-share {
    position: relative;
}

.blog-share-pop {
    position: absolute;
    top: 0;
    left: calc(100% + 0.55rem);
    z-index: 30;
    width: 15.5rem;
    padding: 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    direction: rtl;
}

.blog-share-pop[hidden] {
    display: none;
}

.blog-share-pop__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-share-pop__links a,
.blog-share-pop__copy {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.blog-share-pop__copy {
    width: auto;
    padding: 0 0.7rem;
    background: #111827;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-float-dock {
    display: none;
}

.blog-follow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 1.15rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.blog-follow__text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.6;
}
.blog-follow__links {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}
.blog-follow__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.blog-follow__link:hover {
    border-color: var(--color-primary-hex, #047857);
    color: var(--color-primary-hex, #047857);
}
.blog-focus__main .product-page-banner,
.blog-focus__main .product-banner-slot,
main .product-page-banner {
    width: 100%;
}
.product-page-banner {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    background: #f9fafb;
}
.product-page-banner img {
    display: block;
    width: 100%;
    height: auto;
}
.product-banner-slider {
    position: relative;
    direction: ltr;
    border-radius: 1rem;
    outline: none;
    touch-action: pan-y;
}
.product-banner-slider__viewport { position: relative; overflow: hidden; border-radius: 1rem; }
.product-banner-slider__track { display: flex; align-items: flex-start; transition: transform 0.45s ease; }
.product-banner-slider__slide { flex: 0 0 100%; min-width: 0; }
.product-banner-slider__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-top: -1.125rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
    cursor: pointer;
}
.product-banner-slider__nav svg { width: 1.15rem; height: 1.15rem; }
.product-banner-slider__nav--prev { right: 0.65rem; }
.product-banner-slider__nav--next { left: 0.65rem; }
.product-banner-slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 0.65rem; }
.product-banner-slider__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d1d5db;
    cursor: pointer;
}
.product-banner-slider__dot.is-active { width: 18px; background: rgb(var(--color-primary)); }
@media (max-width: 640px) {
    .blog-follow { flex-direction: column; text-align: center; }
    .blog-follow__links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .product-banner-slider__track { transition: none; }
}

.blog-related {
    margin-top: 2rem;
}

.blog-related__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}

@media (max-width: 1023px) {
    .blog-focus {
        display: block;
        direction: rtl;
    }

    .blog-focus__rail {
        display: none;
    }

    .blog-focus-page {
        padding-bottom: 6.5rem;
    }

    .blog-float-dock {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10020;
        justify-content: space-around;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.4rem 0.65rem calc(0.4rem + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    }

    body:has(.blog-float-dock) .scroll-top,
    body:has(.blog-float-dock) .floating-widgets-slot[data-position^="bottom"],
    body:has(.blog-float-dock) .welcome-coupon-banner {
        bottom: calc(4.6rem + env(safe-area-inset-bottom));
    }

    .blog-float-dock > form,
    .blog-float-dock > .blog-share {
        flex: 1 1 0;
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    .blog-float-dock > .blog-float-btn {
        flex: 1 1 0;
    }

    .blog-float-dock .blog-float-btn {
        width: auto;
        min-width: 3.6rem;
        min-height: 3.1rem;
        box-shadow: none;
        border-color: transparent;
        background: transparent;
        display: grid;
        grid-template-rows: 1.2rem 0.75rem auto;
        justify-items: center;
        align-items: center;
        align-content: center;
        gap: 0.12rem;
    }

    .blog-float-dock .blog-float-btn > svg {
        grid-row: 1;
    }

    .blog-float-dock .blog-float-count {
        grid-row: 2;
    }

    .blog-float-dock .blog-float-label {
        display: block;
        grid-row: 3;
        font-size: 0.65rem;
        line-height: 1;
        font-weight: 700;
    }

    .blog-float-dock .blog-share-pop {
        top: auto;
        bottom: calc(100% + 0.45rem);
        left: 50%;
        transform: translateX(-50%);
    }
}
