.arim-v4-categories,
.arim-v4-hero,
.arim-v4-coupons,
.arim-v4-slider-section,
.arim-v4-mosaic,
.arim-v4-showcase,
.arim-v4-mixed-showcase,
.arim-v5-extra-showcase,
.arim-home-seo-text {
    padding: 10px 0;
}

/* CATEGORY STRIP */
.arim-v4-categories-strong {
    padding-top: 10px;
    padding-bottom: 8px;
}

.arim-v4-categories-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 8px;
    scrollbar-width: thin;
}

.arim-v4-category-item {
    min-width: 78px;
    text-align: center;
    flex: 0 0 auto;
    color: #333;
    transition: .2s ease;
}

.arim-v4-category-item:hover {
    transform: translateY(-1px);
}

.arim-v4-category-image {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 7px;
    background: linear-gradient(180deg, #fff6ed 0%, #fff 100%);
    border: 1px solid #f1dfcf;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.arim-v4-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arim-v4-category-text {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    color: #444;
}

/* HERO */
.arim-v4-hero-polished {
    padding-top: 4px;
    padding-bottom: 12px;
}

.arim-v4-hero-grid {
    display: grid;
    grid-template-columns: 1.85fr 0.8fr;
    gap: 14px;
}

.arim-v4-hero-main {
    min-height: 300px;
    border-radius: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 30px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(242, 122, 26, 0.16);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.arim-v4-hero-main.is-media-visual {
    min-height: 340px;
}

.arim-v4-hero-main.is-media-visual .arim-v4-hero-surface-glow {
    display: none !important;
}

.arim-v4-hero-main.is-media-visual .arim-v4-hero-main-content {
    background: rgba(16,16,16,0.30);
    backdrop-filter: blur(8px);
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
    max-width: 520px;
}

.arim-v4-hero-main.is-media-visual .arim-v4-hero-floating-card {
    background: rgba(14,14,14,0.28);
    border-color: rgba(255,255,255,0.14);
}

.arim-v4-hero-surface-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.arim-v4-hero-surface-glow.one {
    width: 240px;
    height: 240px;
    right: -30px;
    top: -20px;
    background: rgba(255,255,255,0.08);
}

.arim-v4-hero-surface-glow.two {
    width: 160px;
    height: 160px;
    right: 80px;
    bottom: -20px;
    background: rgba(255,255,255,0.12);
}

.arim-v4-hero-surface-glow.three {
    width: 90px;
    height: 90px;
    right: 220px;
    top: 40px;
    background: rgba(255,255,255,0.08);
}

.arim-v4-hero-main-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.arim-v4-hero-badge {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
}

.arim-v4-hero-main h1 {
    margin: 0 0 12px;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.4px;
    max-width: 560px;
}

.arim-v4-hero-main p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
    max-width: 500px;
}

.arim-v4-hero-mini-points {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.arim-v4-hero-mini-points span {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.arim-v4-hero-floating-card {
    position: absolute;
    z-index: 2;
    min-width: 170px;
    max-width: 210px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
    color: #fff;
}

.arim-v4-hero-floating-card.card-one {
    right: 34px;
    top: 34px;
}

.arim-v4-hero-floating-card.card-two {
    right: 42px;
    bottom: 34px;
}

.arim-v4-hero-floating-card .label {
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255,255,255,0.16);
    padding: 5px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.arim-v4-hero-floating-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.arim-v4-hero-floating-card small {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
}

.arim-v4-hero-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.arim-v4-hero-small {
    min-height: 143px;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #ececec;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.arim-v4-hero-promo-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    right: -26px;
    top: -26px;
    background: rgba(255,255,255,0.20);
}

.arim-v4-hero-promo-card::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 999px;
    right: 30px;
    bottom: -18px;
    background: rgba(255,255,255,0.18);
}

.arim-v4-hero-small span,
.arim-v4-hero-small strong,
.arim-v4-hero-small em {
    position: relative;
    z-index: 2;
}

.arim-v4-hero-small span {
    display: inline-flex;
    width: fit-content;
    font-size: 11px;
    font-weight: 700;
    color: #f27a1a;
    background: #fff1e4;
    padding: 6px 9px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.arim-v4-hero-small strong {
    font-size: 24px;
    line-height: 1.18;
    color: #222;
    margin-bottom: 6px;
}

.arim-v4-hero-small em {
    font-style: normal;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* HERO CHIP BAR */
.arim-v5-hero-chip-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.arim-v5-hero-chip {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #ececec;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: .2s ease;
}

.arim-v5-hero-chip:hover {
    color: #f27a1a;
    transform: translateY(-1px);
}

/* SECTION HEAD */
.arim-v4-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.arim-v4-section-head h2 {
    margin: 0;
    font-size: 22px;
    color: #222;
    letter-spacing: -0.2px;
}

.arim-v4-section-head a {
    color: #333;
    font-size: 13px;
    font-weight: 700;
}

.arim-v4-section-head.light h2,
.arim-v4-section-head.light a {
    color: #fff;
}

/* COUPONS */
.arim-v4-coupon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.arim-v4-coupon {
    min-height: 82px;
    border-radius: 14px;
    padding: 14px 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
}

.arim-v4-coupon strong {
    font-size: 25px;
    line-height: 1;
    margin-bottom: 4px;
}

.arim-v4-coupon span {
    font-size: 12px;
    line-height: 1.4;
}

.arim-v4-coupon.orange { background: linear-gradient(135deg, #ff9342, #ff7e2f); }
.arim-v4-coupon.green { background: linear-gradient(135deg, #43c06b, #24a758); }
.arim-v4-coupon.blue { background: linear-gradient(135deg, #4da3ff, #2f7cff); }
.arim-v4-coupon.red { background: linear-gradient(135deg, #ff6f88, #ff4d6d); }

/* SLIDER */
.arim-widget-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.arim-widget-track-wrap {
    overflow: hidden;
    width: 100%;
}

.arim-widget-track {
    display: flex;
    gap: 12px;
    transition: transform .35s ease;
    will-change: transform;
}

.arim-slider-card {
    flex: 0 0 calc((100% - 60px) / 6);
    min-width: calc((100% - 60px) / 6);
}

.arim-widget-arrow {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.98);
    color: #333;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    cursor: pointer;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: .2s ease;
}

.arim-widget-arrow:hover {
    background: #f27a1a;
    color: #fff;
}

/* PRODUCT CARD V5 */
.arim-v5-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ececec;
    transition: .2s ease;
    position: relative;
    min-width: 0;
}

.arim-v5-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.06);
}

.arim-v5-product-link {
    display: block;
}

.arim-v5-product-image-wrap {
    position: relative;
    aspect-ratio: 0.82;
    background: #fff;
    overflow: hidden;
}

.arim-v5-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: #fff;
}

.arim-v5-product-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    background: #f27a1a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 999px;
    line-height: 1;
    z-index: 2;
}

.arim-v5-product-micro-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: rgba(34,34,34,0.84);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 999px;
    line-height: 1;
    z-index: 2;
}

.arim-v5-product-content {
    padding: 10px 10px 12px;
}

.arim-v5-product-store {
    font-size: 10.5px;
    font-weight: 700;
    color: #777;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.arim-v5-product-title {
    margin: 0 0 7px;
    font-size: 11.5px;
    line-height: 1.42;
    color: #333;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arim-v5-product-title strong {
    display: inline;
    color: #111;
    margin-right: 4px;
    font-size: 11.5px;
    font-weight: 700;
}

.arim-v5-product-title span {
    color: #444;
}

.arim-v5-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    margin-bottom: 7px;
    color: #666;
    flex-wrap: wrap;
}

.arim-v5-product-rating-empty {
    opacity: 0.82;
}

.arim-v5-product-price {
    color: #f27a1a;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.15;
    margin-bottom: 7px;
}

.arim-v5-product-price ins {
    text-decoration: none;
    color: #f27a1a;
}

.arim-v5-product-price del {
    color: #999;
    font-weight: 500;
    font-size: 11px;
    margin-right: 5px;
}

.arim-v5-product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.arim-v5-product-meta-row span {
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.arim-v5-product-meta-row .shipping {
    background: #e8f5e9;
    color: #2e7d32;
}

.arim-v5-product-meta-row .basket-discount {
    background: #fff3e0;
    color: #ef6c00;
}

/* MOSAIC */
.arim-v4-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.arim-v4-mosaic-card {
    min-height: 102px;
    border-radius: 16px;
    padding: 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 8px 18px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.arim-v4-mosaic-card.large {
    grid-column: span 2;
    min-height: 118px;
}

.arim-v4-mosaic-card.coral { background: linear-gradient(135deg, #ff7e5f, #feb47b); }
.arim-v4-mosaic-card.pink { background: linear-gradient(135deg, #ff758c, #ff7eb3); }
.arim-v4-mosaic-card.yellow { background: linear-gradient(135deg, #f7971e, #ffd200); color: #222; }
.arim-v4-mosaic-card.purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.arim-v4-mosaic-card.orange { background: linear-gradient(135deg, #ff9342, #ff7e2f); }
.arim-v4-mosaic-card.blue { background: linear-gradient(135deg, #36d1dc, #5b86e5); }

.arim-v4-mosaic-card.is-media-visual.yellow {
    color: #fff;
}

.arim-v4-mosaic-card span,
.arim-v4-mosaic-card strong {
    position: relative;
    z-index: 2;
}

.arim-v4-mosaic-card span {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.arim-v4-mosaic-card strong {
    font-size: 19px;
    line-height: 1.22;
}

/* SHOWCASE 1 PRESETS */
.arim-v4-showcase.arim-showcase-preset-1-orange .arim-container {
    background: linear-gradient(180deg, #ff8b68 0%, #ff7c56 100%);
    border-radius: 18px;
    padding: 16px;
}

.arim-v4-showcase.arim-showcase-preset-1-light .arim-container {
    background: #fff7f1;
    border: 1px solid #f5d9c6;
    border-radius: 18px;
    padding: 16px;
}

.arim-v4-showcase.arim-showcase-preset-1-light .arim-v4-section-head.light h2,
.arim-v4-showcase.arim-showcase-preset-1-light .arim-v4-section-head.light a,
.arim-v4-showcase.arim-showcase-preset-1-clean .arim-v4-section-head.light h2,
.arim-v4-showcase.arim-showcase-preset-1-clean .arim-v4-section-head.light a {
    color: #222;
}

.arim-v4-showcase.arim-showcase-preset-1-clean .arim-container {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.03);
}

/* SHOWCASE 2 PRESETS */
.arim-v4-mixed-showcase.arim-showcase-preset-2-pink .arim-container {
    background: linear-gradient(180deg, #ff6ca8 0%, #ff7f9f 100%);
    border-radius: 18px;
    padding: 16px;
}

.arim-v4-mixed-showcase.arim-showcase-preset-2-purple .arim-container {
    background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
    border-radius: 18px;
    padding: 16px;
}

.arim-v4-mixed-showcase.arim-showcase-preset-2-dark .arim-container {
    background: linear-gradient(180deg, #2b2b2b 0%, #171717 100%);
    border-radius: 18px;
    padding: 16px;
}

/* SHOWCASE 3 */
.arim-v5-extra-showcase-box {
    border-radius: 18px;
    padding: 16px;
    border: 1px solid #ececec;
    box-shadow: 0 8px 18px rgba(0,0,0,0.03);
}

.arim-v5-extra-showcase.arim-showcase-preset-3-clean .arim-v5-extra-showcase-box {
    background: #fff;
}

.arim-v5-extra-showcase.arim-showcase-preset-3-gray .arim-v5-extra-showcase-box {
    background: #f6f7f8;
    border-color: #e5e7eb;
}

.arim-v5-extra-showcase.arim-showcase-preset-3-soft-orange .arim-v5-extra-showcase-box {
    background: linear-gradient(180deg, #fff7ef 0%, #fff 100%);
    border-color: #f1dfcf;
}

.arim-v5-extra-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

/* SHARED GRIDS */
.arim-v4-showcase-grid,
.arim-v4-mixed-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

/* MIXED PROMO */
.arim-v4-mixed-promo-card {
    border-radius: 14px;
    padding: 18px;
    color: #fff;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 10px 18px rgba(0,0,0,0.05);
}

.arim-v4-mixed-promo-card.large {
    min-height: 180px;
}

.arim-v4-mixed-promo-card span {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.arim-v4-mixed-promo-card strong {
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.arim-v4-mixed-promo-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
}

.arim-v4-mixed-promo-card.promo-coral {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.arim-v4-mixed-promo-card.promo-purple {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

/* SEO */
.arim-home-seo-box {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 24px;
}

.arim-home-seo-box h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #222;
}

.arim-home-seo-box p {
    margin: 0 0 12px;
    color: #666;
    line-height: 1.85;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .arim-v4-coupon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .arim-v4-showcase-grid,
    .arim-v4-mixed-showcase-grid,
    .arim-v5-extra-showcase-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .arim-slider-card {
        flex: 0 0 calc((100% - 36px) / 4);
        min-width: calc((100% - 36px) / 4);
    }
}

@media (max-width: 992px) {
    .arim-v4-hero-grid {
        grid-template-columns: 1fr;
    }

    .arim-v4-mosaic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arim-v4-mosaic-card.large {
        grid-column: span 2;
    }

    .arim-v4-showcase-grid,
    .arim-v4-mixed-showcase-grid,
    .arim-v5-extra-showcase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .arim-slider-card {
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: calc((100% - 24px) / 3);
    }

    .arim-v4-hero-floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .arim-v4-coupon-grid,
    .arim-v4-showcase-grid,
    .arim-v4-mosaic-grid,
    .arim-v4-mixed-showcase-grid,
    .arim-v5-extra-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arim-v4-hero-main {
        min-height: 240px;
        padding: 24px 20px;
    }

    .arim-v4-hero-main h1 {
        font-size: 28px;
    }

    .arim-v4-hero-small strong {
        font-size: 19px;
    }

    .arim-slider-card {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: calc((100% - 12px) / 2);
    }

    .arim-v4-category-image {
        width: 60px;
        height: 60px;
    }

    .arim-v4-mixed-promo-card.large {
        min-height: 140px;
    }

    .arim-v5-hero-chip-bar {
        gap: 8px;
    }

    .arim-v5-hero-chip {
        font-size: 11px;
        min-height: 34px;
        padding: 0 12px;
    }
}

@media (max-width: 520px) {
    .arim-widget-arrow {
        display: none;
    }

    .arim-widget-track-wrap {
        overflow-x: auto;
    }

    .arim-widget-track {
        width: max-content;
        min-width: 100%;
    }

    .arim-v4-coupon-grid,
    .arim-v4-mosaic-grid,
    .arim-v4-showcase-grid,
    .arim-v4-mixed-showcase-grid,
    .arim-v5-extra-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arim-slider-card {
        flex: 0 0 168px;
        min-width: 168px;
    }

    .arim-v4-hero-mini-points {
        gap: 8px;
    }

    .arim-v4-hero-mini-points span {
        font-size: 10px;
        padding: 0 10px;
    }
}