.hmob-products {
    --hmob-accent: #69944f;
    --hmob-accent-dark: #54793f;
    --hmob-text: #262c30;
    --hmob-muted: #8a8a8a;
    --hmob-border: #dddddd;
    --hmob-card-bg: #f7f7f7;
    --hmob-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
    position: relative;
}

.hmob-notice {
    padding: 16px 18px;
    border: 1px solid var(--hmob-border);
    border-radius: 10px;
    background: #fafafa;
    color: var(--hmob-text);
}

.hmob-editor-preview {
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid #d6e1d4;
    border-radius: 14px;
    background: #f8fbf7;
    box-shadow: 0 8px 18px rgba(25, 57, 24, 0.06);
}

.hmob-editor-preview__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.hmob-editor-preview__title {
    font-size: 16px;
}

.hmob-editor-preview__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #edf5e9;
    color: #31522a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hmob-editor-preview__text,
.hmob-editor-preview__hint {
    margin: 0 0 6px;
    color: #435144;
}

.hmob-editor-preview__hint {
    font-size: 13px;
    color: #667468;
}

.hmob-track-wrap {
    width: 100%;
}

.hmob-track {
    display: grid;
    gap: 18px;
}

.hmob-layout-single .hmob-track {
    grid-template-columns: minmax(0, 280px);
    justify-content: center;
}

.hmob-layout-grid .hmob-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hmob-layout-grid.hmob-grid-cols-1 .hmob-track {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.hmob-layout-grid.hmob-grid-cols-2 .hmob-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hmob-layout-grid.hmob-grid-cols-3 .hmob-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hmob-layout-grid.hmob-grid-cols-4 .hmob-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hmob-layout-slider .hmob-track-wrap {
    overflow-x: auto;
    padding: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hmob-layout-slider .hmob-track-wrap::-webkit-scrollbar {
    display: none;
}

.hmob-layout-slider .hmob-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 280px);
    align-items: stretch;
}

.hmob-layout-slider .hmob-card {
    scroll-snap-align: start;
}

.hmob-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    color: #fff;
    background: rgba(84, 121, 63, 0.95);
    box-shadow: 0 10px 24px rgba(33, 54, 24, 0.22);
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.hmob-slider-nav__icon {
    display: block;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    transform: translateY(-1px);
}

.hmob-slider-nav:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.04);
}

.hmob-slider-nav:disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default;
}

.hmob-slider-nav-prev {
    left: -14px;
}

.hmob-slider-nav-next {
    right: -14px;
}

.hmob-card {
    width: 100%;
    min-height: 100%;
    background: var(--hmob-card-bg);
    border: 1px solid var(--hmob-border);
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--hmob-shadow);
}

.hmob-card__media {
    position: relative;
    min-height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 8px 0;
    margin-bottom: 6px;
    box-sizing: border-box;
    background: transparent;
}

.hmob-card__image {
    width: 100%;
    max-width: 172px;
    height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: transparent;
}

.hmob-card__badge-slot {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.hmob-card__badge {
    display: block;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.hmob-card__badge--text {
    padding: 8px 10px;
    min-width: 58px;
    text-align: center;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    background: var(--hmob-accent-dark);
}

.hmob-card__regional {
    position: absolute;
    top: 4px;
    left: 0;
    z-index: 2;
    color: #4a6150;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.hmob-card__regional--empty,
.hmob-card__origin--empty,
.hmob-card__subtitle--empty,
.hmob-card__meta--empty {
    display: none;
}

.hmob-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    flex: 1 1 auto;
    padding: 0 6px;
}

.hmob-card__origin {
    width: 100%;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    color: #30383a;
}

.hmob-card__subtitle {
    width: 100%;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--hmob-muted);
}

.hmob-card__title {
    margin: 2px 0 0;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.04;
    font-weight: 800;
    color: var(--hmob-text);
    word-break: break-word;
}

.hmob-card__price {
    margin-top: 2px;
    font-size: clamp(1.85rem, 3vw, 2.15rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--hmob-text);
}

.hmob-card__meta {
    width: 100%;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
    color: #7b7b7b;
}

.hmob-card__actions {
    margin-top: 12px;
    width: 100%;
}

.hmob-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-radius: 8px;
    background: var(--hmob-accent);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 10px 14px;
    box-sizing: border-box;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hmob-card__button:hover {
    color: #fff;
    opacity: 0.95;
    transform: translateY(-1px);
}

.hmob-loading-state {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid #dfe9dd;
    border-radius: 12px;
    background: #f8fbf7;
    box-shadow: 0 10px 22px rgba(25, 57, 24, 0.06);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hmob-loading-state--done {
    opacity: 0;
    transform: translateY(-6px);
}

.hmob-loading-state__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.hmob-loading-state__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf4e6;
    color: #355d2e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hmob-loading-state__text {
    color: #4f5f50;
    font-size: 14px;
    font-weight: 600;
}

.hmob-progress {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e2ece0;
    overflow: hidden;
}

.hmob-progress__bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hmob-accent) 0%, #86b86e 100%);
    transition: width 0.28s ease;
}

.hmob-card--skeleton {
    pointer-events: none;
}

.hmob-skeleton {
    border-radius: 8px;
    background: linear-gradient(90deg, #edf2ea 0%, #f7faf5 50%, #edf2ea 100%);
    background-size: 200% 100%;
    animation: hmob-skeleton 1.4s ease-in-out infinite;
}

.hmob-skeleton--image {
    width: 100%;
    height: 160px;
}

.hmob-skeleton--pill {
    width: 62%;
    height: 20px;
}

.hmob-skeleton--title {
    width: 88%;
    height: 22px;
}

.hmob-skeleton--price {
    width: 48%;
    height: 34px;
}

.hmob-skeleton--meta {
    width: 78%;
    height: 14px;
}

.hmob-skeleton--meta-short {
    width: 58%;
}

.hmob-skeleton--button {
    width: 100%;
    height: 42px;
    border-radius: 8px;
}

@keyframes hmob-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hmob-card--enter {
    animation: hmob-card-enter 0.35s ease both;
}

@keyframes hmob-card-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1280px) {
    .hmob-layout-grid.hmob-grid-cols-4 .hmob-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hmob-layout-grid .hmob-track,
    .hmob-layout-grid.hmob-grid-cols-3 .hmob-track,
    .hmob-layout-grid.hmob-grid-cols-4 .hmob-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hmob-card__title { font-size: 1.3rem; }
    .hmob-card__price { font-size: 2rem; }
}

@media (max-width: 640px) {
    .hmob-layout-grid .hmob-track,
    .hmob-layout-grid.hmob-grid-cols-2 .hmob-track,
    .hmob-layout-grid.hmob-grid-cols-3 .hmob-track,
    .hmob-layout-grid.hmob-grid-cols-4 .hmob-track {
        grid-template-columns: 1fr;
    }

    .hmob-layout-single .hmob-track,
    .hmob-layout-grid .hmob-track {
        justify-items: center;
    }

    .hmob-slider-nav { display: none; }

    .hmob-card { max-width: 280px; margin: 0 auto; }
    .hmob-card__regional { font-size: 13px; }
    .hmob-card__origin { font-size: 13px; }
    .hmob-card__subtitle,
    .hmob-card__meta { font-size: 12px; }
}

.hmob-editor-stage {
    margin-top: 18px;
}

.hmob-editor-live .hmob-card__button {
    pointer-events: none;
}

.hmob-editor-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 4px;
    color: #435144;
}

.hmob-editor-empty {
    padding: 10px 2px;
}

.hmob-card__discount-slot {
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 3;
    min-height: 1px;
}

.hmob-card__discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 14px;
    background: #476555;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(20, 34, 24, 0.2);
}

.hmob-card__price-slot {
    width: 100%;
}

.hmob-card__price-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hmob-card__price-old {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    line-height: 1;
    font-weight: 700;
    color: #bd4c3d;
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: currentColor;
}

.hmob-card__overlay {
    display: none;
}

.hmob-card__overlay-origin,
.hmob-card__overlay-note,
.hmob-card__overlay-title {
    margin: 0;
}

.hmob-card__overlay-origin {
    font-size: 0.86rem;
    line-height: 1.2;
    font-weight: 700;
    color: #2d4732;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hmob-card__overlay-note {
    margin-top: 4px;
    font-size: 0.74rem;
    line-height: 1.25;
    font-weight: 600;
    color: #5a6b5b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hmob-card__overlay-title {
    margin-top: 6px;
    font-size: clamp(1rem, 1.7vw, 1.24rem);
    line-height: 1.08;
    font-weight: 800;
    color: #1c2620;
    text-shadow: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hmob-editor-preview__hint--small {
    margin-top: 12px;
    font-size: 12px;
}

.hmob-design-bildfokus .hmob-card {
    position: relative;
    padding: 0;
    min-height: 330px;
    background: linear-gradient(160deg, #eef5e7 0%, #dcebd7 100%);
    overflow: hidden;
}

.hmob-design-bildfokus .hmob-card__media {
    position: absolute;
    inset: 0;
    min-height: 100%;
    height: 100%;
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #eef5e7 0%, #dcebd7 100%);
}

.hmob-design-bildfokus .hmob-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(246, 250, 243, 0.04) 0%, rgba(246, 250, 243, 0.10) 36%, rgba(244, 248, 239, 0.30) 55%, rgba(236, 243, 231, 0.78) 76%, rgba(231, 239, 225, 0.96) 100%);
    pointer-events: none;
}

.hmob-design-bildfokus .hmob-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.hmob-design-bildfokus .hmob-card__regional {
    top: 14px;
    left: 14px;
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 2px rgba(29, 46, 31, 0.35);
}

.hmob-design-bildfokus .hmob-card__discount-slot {
    top: 46px;
    left: 14px;
}

.hmob-design-bildfokus .hmob-card__badge-slot {
    top: 14px;
    right: 14px;
}

.hmob-design-bildfokus .hmob-card__overlay {
    display: block;
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 112px;
    z-index: 2;
    padding: 10px 12px 8px;
    border-radius: 14px;
    text-align: center;
    color: #1f2c22;
    background: rgba(248, 251, 246, 0.84);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 22px rgba(43, 66, 40, 0.14);
}

.hmob-design-bildfokus .hmob-card__content {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 56px;
    z-index: 2;
    align-items: center;
    text-align: center;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(248, 251, 246, 0.90);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 22px rgba(43, 66, 40, 0.12);
}

.hmob-design-bildfokus .hmob-card__origin,
.hmob-design-bildfokus .hmob-card__subtitle,
.hmob-design-bildfokus .hmob-card__title {
    display: none;
}

.hmob-design-bildfokus .hmob-card__price-wrap,
.hmob-design-bildfokus .hmob-card__meta {
    justify-content: center;
    text-align: center;
    color: #324835;
}

.hmob-design-bildfokus .hmob-card__price {
    font-size: clamp(1.45rem, 2.1vw, 1.8rem);
    color: #1b2420;
}

.hmob-design-bildfokus .hmob-card__price-old {
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    color: #b64a3f;
}

.hmob-design-bildfokus .hmob-card__meta {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.18;
    color: #5a6d5e;
}

.hmob-design-bildfokus .hmob-card__actions {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 0;
}

.hmob-design-bildfokus .hmob-card__button {
    width: auto;
    min-width: 132px;
    max-width: 176px;
    min-height: 34px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(105, 148, 79, 0.96);
    color: #ffffff;
    font-size: 13px;
    box-shadow: 0 8px 16px rgba(55, 84, 43, 0.18);
}

.hmob-design-bildfokus .hmob-card__button:hover {
    color: #ffffff;
}

.hmob-design-magazin .hmob-card {
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border-color: #e5ece1;
}

.hmob-design-magazin .hmob-card__media {
    min-height: 200px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 14px;
    background: #eef5ea;
}

.hmob-design-magazin .hmob-card__image {
    width: 100%;
    max-width: none;
    height: 200px;
    object-fit: cover;
}

.hmob-design-magazin .hmob-card__content {
    align-items: flex-start;
    text-align: left;
    padding: 0 2px;
    gap: 5px;
}

.hmob-design-magazin .hmob-card__origin {
    font-size: 13px;
    color: #5a675d;
}

.hmob-design-magazin .hmob-card__subtitle {
    font-size: 12px;
    color: #7e8a80;
}

.hmob-design-magazin .hmob-card__title {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hmob-design-magazin .hmob-card__price-wrap,
.hmob-design-magazin .hmob-card__meta {
    justify-content: flex-start;
    text-align: left;
}

.hmob-design-magazin .hmob-card__regional {
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    color: #284332;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
}

.hmob-design-magazin .hmob-card__discount-slot {
    top: 44px;
    left: 10px;
}

.hmob-design-magazin .hmob-card__discount {
    min-width: 52px;
    min-height: 36px;
    font-size: 0.92rem;
    border-radius: 999px;
}

.hmob-design-magazin .hmob-card__badge-slot {
    top: 10px;
    right: 10px;
}

.hmob-design-magazin .hmob-card__button {
    border-radius: 999px;
}

.hmob-card--has-discount .hmob-card__price {
    color: #161b1a;
}

@media (max-width: 640px) {
    .hmob-card__discount-slot {
        top: 52px;
    }

    .hmob-card__discount {
        min-width: 56px;
        min-height: 40px;
        font-size: 1rem;
    }

    .hmob-card__price-old {
        font-size: 1.35rem;
    }

    .hmob-design-bildfokus .hmob-card {
        min-height: 292px;
    }

    .hmob-design-bildfokus .hmob-card__media,
    .hmob-design-bildfokus .hmob-card__image {
        min-height: 100%;
        height: 100%;
    }

    .hmob-design-bildfokus .hmob-card__overlay {
        left: 10px;
        right: 10px;
        bottom: 106px;
        padding: 9px 10px 7px;
    }

    .hmob-design-bildfokus .hmob-card__content {
        left: 10px;
        right: 10px;
        bottom: 52px;
        padding: 8px 10px;
    }

    .hmob-design-bildfokus .hmob-card__button {
        min-width: 124px;
        max-width: 164px;
        min-height: 32px;
        font-size: 12px;
        padding: 8px 14px;
    }

    .hmob-design-magazin .hmob-card__media,
    .hmob-design-magazin .hmob-card__image {
        min-height: 180px;
        height: 180px;
    }
}
