/* ==========================================================================
   opaz-ui.css — storefront UI layer (24.10.2026)
   Loaded after main.css. Everything new is namespaced "op-"; the few overrides of
   legacy selectors are grouped at the end of each section and commented.
   ========================================================================== */

:root {
    --op-ink: #24212b;
    --op-muted: #6b6774;
    --op-line: #ebe7ee;
    --op-bg-soft: #f7f5f8;
    --op-wine: #5d2648;
    --op-red: #e3262f;
    --op-red-dark: #c41b23;
    --op-green: #2e9e3e;
    --op-green-dark: #23802f;
    --op-green-soft: #eaf7ec;
    --op-rose: #e0567a;
    --op-rose-soft: #fdeaf0;
    --op-sun: #e9940f;
    --op-sun-soft: #fff4e0;
    --op-lilac: #7d58c9;
    --op-lilac-soft: #f1ecfb;
    --op-water: #2f86c8;
    --op-water-soft: #eaf4fd;
    --op-radius: 16px;
    --op-radius-sm: 10px;
    --op-shadow: 0 2px 10px rgba(36, 33, 43, .07);
    --op-shadow-hover: 0 8px 24px rgba(36, 33, 43, .13);
}

/* ---------- base / a11y ---------- */
.op-skip {
    position: absolute; left: -9999px; top: 8px; z-index: 10000;
    background: #fff; color: var(--op-ink); padding: 8px 14px; border-radius: 8px; box-shadow: var(--op-shadow);
}
.op-skip:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid rgba(46, 158, 62, .55); outline-offset: 2px;
}
body { -webkit-text-size-adjust: 100%; }
#content { display: block; }

.op-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 22px; border: 0; border-radius: 999px;
    background: var(--op-red); color: #fff !important; font-size: 15px; font-weight: 600; letter-spacing: .02em;
    text-decoration: none !important; cursor: pointer; transition: background-color .2s, transform .1s;
}
.op-btn:hover { background: var(--op-red-dark); }
.op-btn:active { transform: translateY(1px); }
.op-btn--sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.op-btn--ghost { background: #fff; color: var(--op-ink) !important; box-shadow: inset 0 0 0 1.5px var(--op-line); }
.op-btn--ghost:hover { background: var(--op-bg-soft); }
.op-btn--green { background: var(--op-green); }
.op-btn--green:hover { background: var(--op-green-dark); }

.op-pill-link {
    display: inline-flex; align-items: center; min-height: 38px; padding: 8px 18px; border-radius: 999px;
    border: 1.5px solid var(--op-line); color: var(--op-ink) !important; font-size: 14px; background: #fff;
    text-decoration: none !important; white-space: nowrap; transition: border-color .2s, background-color .2s;
}
.op-pill-link:hover { border-color: #cfc8d4; background: var(--op-bg-soft); }

/* ==========================================================================
   Header: phone + hours, search
   ========================================================================== */
.h-phone-phone { padding-top: 10px; line-height: 1.15; }
.h-phone-hours { display: block; font-size: 11px; color: var(--op-muted); margin-top: 3px; letter-spacing: .01em; }

.op-search-wrap { margin: 16px 0 0 18px; }
.op-search {
    position: relative; display: flex; align-items: center;
    background: #fff; border: 1.5px solid #d9d4dd; border-radius: 999px; overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.op-search:focus-within { border-color: var(--op-green); box-shadow: 0 0 0 3px rgba(46, 158, 62, .15); }
.op-search__icon { position: absolute; left: 13px; color: var(--op-muted); pointer-events: none; }
.op-search__input {
    width: 300px; height: 38px; border: 0; outline: none !important; background: transparent;
    padding: 0 8px 0 38px; font-size: 14px; color: var(--op-ink); -webkit-appearance: none; appearance: none;
}
.op-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.op-search__btn {
    height: 38px; border: 0; padding: 0 16px; background: var(--op-green); color: #fff; font-size: 14px; font-weight: 600;
}
.op-search__btn:hover { background: var(--op-green-dark); }
@media (max-width: 1199px) { .op-search__input { width: 220px; } }
@media (max-width: 991px)  { .op-search__input { width: 150px; } .op-search__btn { padding: 0 12px; } .op-search-wrap { margin-left: 10px; } }
@media (max-width: 860px)  { .h-phone-hours { display: none; } }

/* mobile header icons (search / cart) */
.op-hicons { position: absolute; right: 12px; top: 14px; display: none; gap: 8px; }
@media (max-width: 767px) { .op-hicons { display: flex; } }
.op-hicon {
    position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: #fff; border: 1.5px solid var(--op-line); color: var(--op-ink) !important;
}
.op-hicon__count {
    position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
    background: var(--op-red); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700;
}
@media (max-width: 767px) { #shopping-cart-widget { display: none; } }
/* the white bar must stay one row: on phones "Оптовикам" sits left of the round icons,
   on tablets the hours and the cart caption go (the cart icon with its badge still links to /cart) */
@media (min-width: 431px) and (max-width: 767px) { .nav-opt { right: 104px; } }
@media (min-width: 768px) and (max-width: 1199px) {
    .h-phone-hours { display: none; }
    .h-phone { padding-left: 0; padding-right: 10px; }
    .header-cart { margin-left: 14px; }
    .header-cart__text-wrap { display: none; }
}

/* ==========================================================================
   Dark navbar + mega-menu
   ========================================================================== */
.op-nav .op-nav__list > li > a { line-height: 20px; }
.op-nav__catalog { position: relative; }
.op-catalog-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 26px; margin: 0 6px 0 0; padding: 0 12px;
    border: 0; border-radius: 6px; background: var(--op-red); color: #fff; font-size: 14px; font-weight: 600;
    line-height: 26px; letter-spacing: .02em;
}
.op-catalog-btn:hover, .op-catalog-btn.is-open { background: var(--op-red-dark); }
.op-burger { display: inline-flex; flex-direction: column; gap: 3px; width: 14px; }
.op-burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.op-catalog-btn.is-open .op-burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.op-catalog-btn.is-open .op-burger i:nth-child(2) { opacity: 0; }
.op-catalog-btn.is-open .op-burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 768px) {
    /* the legacy "|" separator must not sit next to the button */
    .op-nav .navbar-nav > li.op-nav__catalog + li:after { content: none; }
    .op-nav .navbar-nav > li { display: flex; align-items: center; min-height: 30px; }
    .op-nav .navbar-nav > li:not(:first-child):after { margin-top: 0; order: -1; }
}

.op-mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 1000;
    background: #fff; color: var(--op-ink); border-top: 3px solid var(--op-red);
    box-shadow: 0 18px 40px rgba(20, 16, 26, .18);
    animation: op-drop .16s ease-out;
}
.op-mega[hidden] { display: none; }
@keyframes op-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.op-mega__grid { display: flex; gap: 24px; padding: 26px 0 30px; }
.op-mega__col { flex: 1 1 0; min-width: 0; }
.op-mega__aside { flex: 0 0 230px; }
.op-mega__title { font-family: 'GothaProBol', Arial, sans-serif; font-size: 15px; margin-bottom: 10px; color: var(--op-wine); text-transform: uppercase; letter-spacing: .04em; }
.op-mega ul { list-style: none; margin: 0; padding: 0; }
.op-mega li a { display: block; padding: 5px 0; color: var(--op-ink); font-size: 15px; text-decoration: none; }
.op-mega li a:hover { color: var(--op-red); }
.op-mega li a.is-hot, .op-mnav a.is-hot { color: var(--op-red); font-weight: 600; }
.op-mega__aside { background: var(--op-bg-soft); border-radius: var(--op-radius); padding: 18px 20px; align-self: start; }
.op-mega__aside p { color: var(--op-muted); font-size: 14px; margin: 0 0 12px; }
.op-mega__all { display: block; margin-top: 14px; color: var(--op-green-dark) !important; font-weight: 600; font-size: 14px; }

/* legacy .s-m-wrap has z-index:0, which trapped the mega-menu under the page content */
.s-m-wrap { z-index: 50; }

/* mobile menu */
.op-search--mobile { display: none; }
@media (max-width: 767px) { .op-search--mobile { display: flex; } }
.op-search--mobile { margin: 10px 4px 6px; border-color: transparent; }
.op-search--mobile .op-search__btn { flex-shrink: 0; }
.op-search--mobile .op-search__input { width: 100%; flex: 1; padding-left: 16px; font-size: 16px; }
.op-mnav { padding: 0 4px 14px; }
.op-mnav__all { display: block; padding: 12px 6px; color: #fff !important; font-weight: 600; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.op-mnav__group { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.op-mnav__group summary {
    list-style: none; cursor: pointer; padding: 12px 6px; color: #fff; font-size: 16px; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center;
}
.op-mnav__group summary::-webkit-details-marker { display: none; }
.op-mnav__group summary:after { content: ""; width: 8px; height: 8px; border-right: 2px solid #bbb; border-bottom: 2px solid #bbb; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.op-mnav__group[open] summary:after { transform: rotate(-135deg); }
.op-mnav ul { list-style: none; margin: 0; padding: 0 0 8px; }
.op-mnav__group li a { display: flex; justify-content: space-between; padding: 9px 12px; color: #e8e8e8 !important; font-size: 15px; }
.op-mnav__group li a small { color: #999; font-size: 12px; }
.op-mnav__info { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 2px !important; }
.op-mnav__info a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #ddd !important; font-size: 14px; }
.op-mnav__call { display: block; margin: 6px 2px 0; padding: 12px; border-radius: 999px; background: var(--op-green); color: #fff !important; text-align: center; font-weight: 600; }
@media (max-width: 767px) {
    .op-nav .navbar-collapse { max-height: calc(100vh - 60px); overflow-y: auto; }
}

/* ==========================================================================
   Product grid + card
   ========================================================================== */
.op-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
    margin: 0; padding: 0;
}
.op-grid > .op-card { min-width: 0; }
@media (max-width: 1199px) { .op-grid { gap: 16px; } }
@media (max-width: 991px)  { .op-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .op-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* homepage shelves scroll sideways on phones instead of becoming very tall */
@media (max-width: 767px) {
    .op-grid--shelf {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px;
        margin: 0; padding: 2px 2px 12px; scrollbar-width: none;
    }
    .op-grid--shelf::-webkit-scrollbar { display: none; }
    .op-grid--shelf > .op-card { flex: 0 0 46%; scroll-snap-align: start; }
}

.op-card {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border-radius: var(--op-radius); box-shadow: var(--op-shadow); overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.op-card:hover { box-shadow: var(--op-shadow-hover); transform: translateY(-2px); }
.op-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--op-bg-soft); overflow: hidden; }
.op-card__media img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .35s; max-width: none !important; }
.op-card:hover .op-card__media img { transform: scale(1.03); }
.op-card__badges { position: absolute; left: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.op-badge {
    display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; line-height: 1.3;
    background: rgba(36, 33, 43, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.op-badge--hit:before { content: "★"; color: #ffc93c; font-size: 12px; }
.op-badge--sale { background: var(--op-red); }
.op-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; border-top: 3px solid var(--op-green-soft); }
.op-card__title {
    color: var(--op-ink) !important; font-size: 14px; line-height: 1.35; text-decoration: none !important;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em;
}
.op-card__title:hover { color: var(--op-red) !important; }
.op-card__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.op-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.15; }
.op-card__price b { font-family: 'GothaProBol', Arial, sans-serif; font-size: 19px; color: var(--op-ink); white-space: nowrap; }
.op-card__price s { color: #9a95a0; font-size: 13px; white-space: nowrap; }
.op-card__ask { font-size: 14px; font-weight: 600; color: var(--op-wine); }
.op-card__media img { color: transparent; }
.op-card__from, .op-card__unit { color: var(--op-muted); font-size: 13px; }
.op-card__unit { margin-left: -6px; }
.op-card__cart {
    flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--op-green); color: #fff; transition: background-color .2s, transform .15s;
}
.op-card__cart:hover { background: var(--op-green-dark); transform: scale(1.06); }
.op-card__cart.is-added { background: var(--op-wine); }
@media (max-width: 767px) {
    .op-card { border-radius: 12px; }
    .op-card__body { padding: 10px 10px 12px; }
    .op-card__title { font-size: 13px; }
    .op-card__price b { font-size: 16px; }
    .op-card__cart { width: 38px; height: 38px; }
    .op-card__badges { left: 6px; bottom: 6px; }
    .op-badge { font-size: 10px; padding: 3px 8px; }
}

/* pager (TbListView) */
.op-listing .pagination, .op-listing .pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 30px 0 10px; padding: 0; }
.op-listing .pagination > li > a, .op-listing .pagination > li > span {
    float: none; display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; margin: 0;
    border: 1.5px solid var(--op-line); border-radius: 999px !important; color: var(--op-ink); background: #fff;
}
.op-listing .pagination > .active > a, .op-listing .pagination > .active > span { background: var(--op-ink); border-color: var(--op-ink); color: #fff; }
.op-listing .pagination > .disabled > a, .op-listing .pagination > .disabled > span { opacity: .45; }
.op-listing .list-view { padding-top: 0; }
.op-listing .list-view .items { margin: 0; }
.op-listing .list-view-loading { background: none; opacity: .5; }
.op-listing .empty { padding: 30px 0; color: var(--op-muted); }

/* the database copy of the homepage text still has its own <h1>; keep it section-sized */
.op-seo__body h1 { font-family: 'GothaProBol', Arial, sans-serif; font-size: 22px; color: var(--op-ink); margin: 0 0 10px; }

/* ==========================================================================
   Homepage
   ========================================================================== */
.op-hero { margin-bottom: 0; }
.op-home { padding-bottom: 30px; }
.op-intro { text-align: center; max-width: 860px; margin: 30px auto 6px; }
.op-intro__title {
    font-family: 'GothaProBol', Arial, sans-serif; color: var(--op-wine); font-size: 30px; line-height: 1.2; margin: 0 0 10px;
}
.op-intro__lead { color: var(--op-muted); font-size: 16px; line-height: 1.55; margin: 0; }
@media (max-width: 767px) {
    .op-intro { margin-top: 20px; text-align: left; }
    .op-intro__title { font-size: 22px; }
    .op-intro__lead { font-size: 14px; }
}

.op-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 26px 0 10px; padding: 0; }
.op-benefit { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--op-radius); background: var(--op-bg-soft); }
.op-benefit__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0; }
.op-benefit__text { font-size: 13px; color: var(--op-muted); line-height: 1.4; }
.op-benefit__text b { display: block; color: var(--op-ink); font-size: 15px; margin-bottom: 2px; font-family: 'GothaProBol', Arial, sans-serif; font-weight: normal; }
.op-ico--green { background: var(--op-green-soft); color: var(--op-green); }
.op-ico--rose  { background: var(--op-rose-soft);  color: var(--op-rose); }
.op-ico--sun   { background: var(--op-sun-soft);   color: var(--op-sun); }
.op-ico--lilac { background: var(--op-lilac-soft); color: var(--op-lilac); }
.op-ico--water { background: var(--op-water-soft); color: var(--op-water); }
@media (max-width: 991px) { .op-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
    .op-benefits { gap: 8px; }
    .op-benefit { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
    .op-benefit__icon { width: 44px; height: 44px; border-radius: 12px; }
    .op-benefit__icon svg { width: 24px; height: 24px; }
    .op-benefit__text b { font-size: 14px; }
    .op-benefit__text { font-size: 12px; }
}

.op-section { margin: 42px 0 0; }
.op-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.op-section__title { font-family: 'GothaProBol', Arial, sans-serif; font-size: 26px; color: var(--op-ink); margin: 0; }
@media (max-width: 767px) {
    .op-section { margin-top: 30px; }
    .op-section__title { font-size: 20px; }
    .op-section__head { margin-bottom: 12px; }
    .op-section__head .op-pill-link { min-height: 32px; padding: 5px 12px; font-size: 13px; }
}

.op-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.op-tile {
    position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--op-radius); overflow: hidden;
    background: var(--op-bg-soft); text-decoration: none !important; box-shadow: var(--op-shadow);
}
.op-tile img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .35s; max-width: none !important; }
.op-tile:hover img { transform: scale(1.05); }
.op-tile:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(20, 12, 18, .72) 100%); }
.op-tile__name {
    position: absolute; left: 12px; right: 10px; bottom: 10px; z-index: 1;
    color: #fff; font-family: 'GothaProBol', Arial, sans-serif; font-size: 15px; line-height: 1.2; text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.op-tile__name em { display: inline-block; font-style: normal; font-size: 11px; background: var(--op-red); border-radius: 999px; padding: 2px 7px; vertical-align: 2px; margin-left: 2px; }
.op-tiles--hub { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; max-width: 900px; }
@media (max-width: 767px) { .op-tiles--hub { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.op-tiles > li.op-tiles__hot { grid-column: span 2; grid-row: span 2; }
.op-tile--hot { height: 100%; }
.op-tile--hot .op-tile__name { font-size: 22px; left: 18px; bottom: 16px; }
.op-tile--hot .op-tile__name em { font-size: 13px; padding: 3px 9px; }
.op-tile__sub { display: block; font-family: Arial, sans-serif; font-size: 13px; opacity: .9; margin-top: 4px; }
@media (max-width: 991px)  { .op-tiles { gap: 10px; } }
@media (max-width: 767px)  {
    .op-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .op-tile { border-radius: 12px; }
    .op-tile__name { font-size: 12px; left: 8px; bottom: 7px; }
    .op-tile--hot .op-tile__name { font-size: 17px; left: 12px; bottom: 10px; }
}

.op-info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 42px; }
.op-info__card { padding: 24px 26px; border-radius: var(--op-radius); background: var(--op-bg-soft); }
.op-info__title { font-family: 'GothaProBol', Arial, sans-serif; color: var(--op-red); font-size: 22px; margin: 0 0 14px; }
.op-info__list { list-style: none; margin: 0 0 16px; padding: 0; }
.op-info__list li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: 14px; color: var(--op-muted); line-height: 1.4; }
.op-info__list li svg { flex-shrink: 0; color: var(--op-green); margin-top: 1px; }
.op-info__list b { display: block; color: var(--op-ink); font-size: 15px; }
.op-info__list b a { color: var(--op-ink); }
@media (max-width: 767px) { .op-info { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; } .op-info__card { padding: 18px; } }

.op-promos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.op-promo {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--op-radius);
    color: var(--op-muted) !important; font-size: 13px; line-height: 1.4; text-decoration: none !important;
    border: 1.5px solid var(--op-line); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.op-promo:hover { box-shadow: var(--op-shadow-hover); border-color: transparent; }
.op-promo b { display: block; color: var(--op-ink); font-size: 15px; margin-bottom: 2px; }
.op-promo__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; }
.op-promo--rose .op-promo__icon { background: var(--op-rose-soft); color: var(--op-rose); }
.op-promo--green .op-promo__icon { background: var(--op-green-soft); color: var(--op-green); }
.op-promo--lilac .op-promo__icon { background: var(--op-lilac-soft); color: var(--op-lilac); }
.op-promo--sun .op-promo__icon { background: var(--op-sun-soft); color: var(--op-sun); }
@media (max-width: 991px) { .op-promos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .op-promos { grid-template-columns: 1fr; gap: 8px; margin-top: 30px; } .op-promo { padding: 12px 14px; } }

.op-pricepick {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
    margin-top: 28px; padding: 18px 24px; border-radius: var(--op-radius);
    background: linear-gradient(120deg, #fff0f4, #f1faf4);
}
.op-pricepick__text { font-size: 16px; color: var(--op-ink); }
.op-pricepick .price-filter { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.op-pricepick .price-filter__label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: normal; }
.op-pricepick .price-filter__select { width: auto; min-width: 92px; border-radius: 999px; height: 40px; }
.op-pricepick .price-filter__btn { border-radius: 999px; min-height: 40px; padding: 8px 22px; }

.op-seo { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--op-line); }
.op-seo__body { position: relative; max-height: 340px; overflow: hidden; color: #4a4652; font-size: 15px; line-height: 1.65; }
.op-seo__body:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.op-seo__body.is-open { max-height: none; }
.op-seo__body.is-open:after { display: none; }
.op-seo__body h2 { font-family: 'GothaProBol', Arial, sans-serif; font-size: 22px; color: var(--op-ink); margin: 26px 0 10px; }
.op-seo__body h2:first-child { margin-top: 0; }
.op-seo__body img { display: block; max-width: 100%; height: auto; border-radius: var(--op-radius); margin: 16px 0; }
.op-seo__more { margin-top: 12px; border: 0; background: none; color: var(--op-green-dark); font-weight: 600; padding: 6px 0; }

/* ==========================================================================
   Category / catalog pages
   ========================================================================== */
.op-cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 10px 0 14px; }
.op-cat-head h1 { font-family: 'GothaProBol', Arial, sans-serif; color: var(--op-wine); font-size: 30px; margin: 0; }
.op-cat-head__count { color: var(--op-muted); font-size: 14px; }
@media (max-width: 767px) { .op-cat-head h1 { font-size: 23px; } }

.op-chips { display: flex; gap: 8px; margin: 0 0 16px; padding: 2px 0 8px; overflow-x: auto; scrollbar-width: none; }
.op-chips::-webkit-scrollbar { display: none; }
.op-chip {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
    background: var(--op-bg-soft); color: var(--op-ink) !important; font-size: 14px; text-decoration: none !important; white-space: nowrap;
    border: 1.5px solid transparent; transition: background-color .2s, border-color .2s;
}
.op-chip:hover { border-color: #d5cfda; }
.op-chip.is-active { background: var(--op-ink); color: #fff !important; }
.op-chip small { color: var(--op-muted); font-size: 12px; }
.op-chip.is-active small { color: #ccc; }

.op-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 18px; }
.op-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--op-muted); }
.op-sort a { padding: 6px 12px; border-radius: 999px; color: var(--op-ink) !important; text-decoration: none !important; }
.op-sort a:hover { background: var(--op-bg-soft); }
@media (max-width: 767px) {
    .op-sort { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
    .op-sort > span { display: none; }
    .op-sort a { flex-shrink: 0; background: var(--op-bg-soft); }
}
.op-sort a.is-active { background: var(--op-green-soft); color: var(--op-green-dark) !important; font-weight: 600; }

.category-empty { padding: 26px; border-radius: var(--op-radius); background: var(--op-bg-soft); font-size: 16px; }
.op-cat-desc { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--op-line); color: #4a4652; font-size: 15px; line-height: 1.65; max-width: 900px; }
.op-cat-desc h2, .op-cat-desc h3 { font-family: 'GothaProBol', Arial, sans-serif; color: var(--op-ink); }
.op-cat-desc img { max-width: 100%; height: auto !important; border-radius: var(--op-radius); }
/* Landing lead under the H1 (category short_description) */
.op-cat-lead { margin: -4px 0 16px; color: #4a4652; font-size: 15px; line-height: 1.55; max-width: 820px; }
@media (max-width: 767px) { .op-cat-lead { font-size: 14px; } }
/* FAQ block in category / page texts: <div class="op-faq"><details><summary>…</summary><div>…</div></details></div> */
.op-faq { margin: 18px 0 6px; }
.op-faq details { border: 1px solid var(--op-line); border-radius: var(--op-radius-sm); background: #fff; margin-bottom: 8px; }
.op-faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative; font-weight: 700; color: var(--op-ink); }
.op-faq summary::-webkit-details-marker { display: none; }
.op-faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; color: var(--op-wine); }
.op-faq details[open] summary::after { content: '−'; }
.op-faq details > div { padding: 0 16px 14px; }
.op-faq details > div p:last-child { margin-bottom: 0; }

/* search / catalog filter column */
.op-filter { padding: 18px; border-radius: var(--op-radius); background: var(--op-bg-soft); margin-bottom: 20px; }
.op-filter h3, .op-filter .filter-block-title { font-size: 15px; font-family: 'GothaProBol', Arial, sans-serif; margin: 0 0 10px; }
.op-filter .checkbox { margin: 4px 0; }
.op-filter .btn { width: 100%; border-radius: 999px; }
.op-search-big { display: flex; gap: 8px; margin: 0 0 20px; }
.op-search-big input { flex: 1; height: 46px; border-radius: 999px; border: 1.5px solid #d9d4dd; padding: 0 18px; font-size: 16px; }
.op-search-big input:focus { border-color: var(--op-green); outline: none; box-shadow: 0 0 0 3px rgba(46, 158, 62, .15); }
.op-search-big button { height: 46px; }

/* ==========================================================================
   Product page
   ========================================================================== */
.op-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; margin: 10px 0 0; align-items: start; }
.op-gallery__main {
    position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: var(--op-bg-soft);
}
.op-gallery__main img { width: 100%; height: 100% !important; object-fit: cover; display: block; max-width: none !important; }
.op-gallery__main .op-card__badges { left: 14px; bottom: 14px; }
.op-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.op-gallery__thumbs a { flex: 0 0 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--op-bg-soft); }
.op-gallery__thumbs a.is-active, .op-gallery__thumbs a:hover { border-color: var(--op-green); }
.op-gallery__thumbs img { width: 100%; height: 100% !important; object-fit: cover; }

.op-buy__title { font-family: 'GothaProBol', Arial, sans-serif; color: var(--op-wine); font-size: 28px; line-height: 1.22; margin: 0 0 8px; }
.op-buy__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--op-muted); font-size: 13px; margin-bottom: 18px; }
.op-stock { display: inline-flex; align-items: center; gap: 6px; color: var(--op-green-dark); font-weight: 600; }
.op-stock:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--op-green); box-shadow: 0 0 0 3px var(--op-green-soft); }
.op-stock--out { color: var(--op-muted); }
.op-stock--out:before { background: #bbb; box-shadow: none; }

.op-buy__box { padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 2px 18px rgba(36, 33, 43, .08); border: 1px solid var(--op-line); }
.op-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 16px; }
.op-buy__price .op-buy__total { font-family: 'GothaProBol', Arial, sans-serif; font-size: 34px; color: var(--op-ink); line-height: 1; }
.op-buy__price small { color: var(--op-muted); font-size: 14px; }

.op-calc { width: 100%; margin: 0 0 4px; border-collapse: collapse; }
.op-calc td { padding: 8px 0; vertical-align: middle; font-size: 14px; color: var(--op-muted); border-top: 1px dashed var(--op-line); }
.op-calc tr:first-child td { border-top: 0; }
.op-calc td + td { text-align: right; color: var(--op-ink); }
.op-calc .input-group { width: 150px; margin-left: auto; }
.op-calc .input-group .btn { height: 40px; width: 40px; border-color: var(--op-line); background: var(--op-bg-soft); }
/* both buttons are the first child of their .input-group-btn, so target them by class, not :first-child */
.op-calc .input-group .product-quantity-decrease { border-radius: 999px 0 0 999px !important; margin-right: -1px; }
.op-calc .input-group .product-quantity-increase { border-radius: 0 999px 999px 0 !important; margin-left: -1px; }
.op-calc #product-quantity { height: 40px; font-size: 16px; font-weight: 600; border-color: var(--op-line); }
.op-calc select.form-control { display: inline-block; width: auto; min-width: 120px; border-radius: 999px 0 0 999px; height: 40px; }
.op-calc .input-group-addon { border-radius: 0 999px 999px 0; }
.op-calc .price-panel-static { background: var(--op-sun-soft); color: var(--op-ink); font-size: 16px; padding: 4px 10px; border-radius: 8px; }
.op-calc .product-old-price { text-decoration: line-through; color: #9a95a0; font-size: 13px; }
.op-calc #discount-bar td + td { color: var(--op-red); font-weight: 600; }
.op-calc .op-calc__total td { border-top: 1px solid var(--op-line); padding-top: 12px; color: var(--op-ink); font-weight: 600; font-size: 15px; }
.op-calc .entry__subtotal, .op-calc .product-total { background: none !important; padding: 0 !important; }
.op-calc .product-total { font-family: 'GothaProBol', Arial, sans-serif; font-size: 24px; color: var(--op-green-dark); }
.op-buy__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.op-buy__actions .op-btn { flex: 1 1 200px; min-height: 52px; font-size: 16px; }
.op-buy__messengers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--op-muted); }
.op-buy__messengers a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--op-bg-soft); color: var(--op-ink) !important; text-decoration: none !important; font-size: 13px; }
.op-buy__messengers a:hover { background: #ece8ef; }

.op-perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.op-perks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--op-bg-soft); font-size: 13px; color: var(--op-muted); line-height: 1.35; }
.op-perks li b { display: block; color: var(--op-ink); font-size: 14px; }
.op-perks li svg { flex-shrink: 0; }

.op-product__desc { margin-top: 36px; max-width: 900px; font-size: 15px; line-height: 1.65; color: #4a4652; }
.op-product__desc:empty { display: none; }
.op-addons { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; }
.op-addons a { display: block; text-align: center; color: var(--op-ink) !important; text-decoration: none !important; font-size: 13px; }
.op-addons img { width: 100%; aspect-ratio: 1 / 1; height: auto !important; object-fit: cover; border-radius: 14px; margin-bottom: 6px; background: var(--op-bg-soft); }
.op-addons a:hover img { box-shadow: var(--op-shadow-hover); }
@media (max-width: 991px) {
    .op-product { grid-template-columns: 1fr; gap: 20px; }
    .op-addons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .op-buy__title { font-size: 21px; }
    .op-buy__box { padding: 16px; border-radius: 16px; }
    .op-buy__price .op-buy__total { font-size: 28px; }
    .op-perks { grid-template-columns: 1fr; }
    .op-gallery__main { border-radius: 14px; }
    /* sticky buy bar: the "В корзину" button stays reachable while scrolling the calculator */
    .op-calc .input-group { width: 132px; }
    .op-calc .input-group .btn { width: 36px; }
}

/* ==========================================================================
   Content pages ("Уход за цветами" style): .op-page
   ========================================================================== */
.op-page { max-width: 860px; margin: 0 auto; padding: 4px 0 30px; color: var(--op-ink); font-size: 16px; line-height: 1.65; }
.op-page h1 { font-family: 'GothaProBol', Arial, sans-serif; color: var(--op-wine); font-size: 30px; line-height: 1.2; margin: 6px 0 18px; }
.op-page h2 { font-family: 'GothaProBol', Arial, sans-serif; font-size: 22px; line-height: 1.3; margin: 34px 0 12px; }
.op-page h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.op-page p { margin: 8px 0; }
.op-page svg { display: block; flex-shrink: 0; }
.op-page a { color: var(--op-green-dark); }
.op-page .op-page { padding: 0; max-width: none; }
.op-page img { max-width: 100%; height: auto; }
.op-lead { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 20px; background: linear-gradient(120deg, #fff0f4, #f1faf4); font-size: 17px; margin-bottom: 24px; }
.op-lead p { margin: 0; }
.op-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; }
.op-cardlet { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--op-radius); background: var(--op-bg-soft); }
.op-cardlet p { margin: 2px 0 0; font-size: 14px; color: var(--op-muted); line-height: 1.5; }
.op-cardlet .op-price-tag { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; color: var(--op-ink); }
.op-iconbox { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; }
.op-steps { counter-reset: op-step; list-style: none; margin: 14px 0; padding: 0; }
.op-steps > li { counter-increment: op-step; position: relative; display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--op-line); }
.op-steps > li:first-child { border-top: 0; }
.op-steps > li:before {
    content: counter(op-step); flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: var(--op-green-soft); color: var(--op-green-dark); font-weight: 700; font-size: 17px;
}
.op-checks { list-style: none; margin: 8px 0; padding: 0; }
.op-checks li { position: relative; padding: 4px 0 4px 30px; }
.op-checks li:before {
    content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--op-green-soft);
}
.op-checks li:after {
    content: ""; position: absolute; left: 6px; top: 12px; width: 7px; height: 4px; border-left: 2px solid var(--op-green); border-bottom: 2px solid var(--op-green); transform: rotate(-45deg);
}
.op-checks--warn li:before { background: #fdeeee; }
.op-checks--warn li:after { border: 0; left: 5px; top: 8px; width: auto; height: auto; content: "!"; color: var(--op-red); font-weight: 700; font-size: 13px; transform: none; }
.op-note { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; padding: 14px 16px; border-radius: 14px; background: var(--op-sun-soft); font-size: 15px; }
.op-note--blue { background: var(--op-water-soft); }
.op-note--rose { background: var(--op-rose-soft); }
.op-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--op-line); border-radius: 14px; overflow: hidden; margin: 12px 0; font-size: 15px; }
.op-table th, .op-table td { padding: 12px 14px; border-top: 1px solid var(--op-line); text-align: left; }
.op-table thead th { border-top: 0; background: var(--op-bg-soft); font-weight: 600; }
.op-table td b { white-space: nowrap; }
.op-contact-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding: 20px 22px; border-radius: 20px; background: var(--op-ink); color: #fff; }
.op-contact-cta b { font-size: 18px; }
.op-contact-cta .op-btn { min-height: 44px; }
.op-requisites { margin-top: 24px; padding: 16px 18px; border-radius: 14px; border: 1px dashed #d6d0db; font-size: 14px; color: var(--op-muted); }
@media (max-width: 600px) {
    .op-page { font-size: 15px; }
    .op-page h1 { font-size: 23px; }
    .op-page h2 { font-size: 19px; }
    .op-lead { flex-direction: column; align-items: flex-start; font-size: 16px; }
    .op-table th, .op-table td { padding: 9px 10px; font-size: 14px; }
}

/* ==========================================================================
   Legacy overrides
   ========================================================================== */
/* breadcrumbs: lighter, scrollable on phones */
#carouselContainer > .breadcrumb { background: none; padding: 12px 0 4px; margin: 0; font-size: 13px; }
#carouselContainer > .breadcrumb a { color: var(--op-muted); text-decoration: none; }
#carouselContainer > .breadcrumb a:hover { color: var(--op-red); }
@media (max-width: 767px) {
    #carouselContainer > .breadcrumb { white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
}
/* headings inside generic content never overflow narrow screens */
#content h1, #content h2 { overflow-wrap: anywhere; }

/* floating contact widget: one "Связаться" button on phones, the full stack on desktop */
#cw .cw-toggle { display: none; }
@media (max-width: 767px) {
    #cw { right: 14px; bottom: 14px; }
    #cw .cw-toggle {
        display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%;
        background: var(--op-green); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
    }
    #cw .cw-toggle svg { width: 26px; height: 26px; fill: currentColor; }
    #cw .cw-toggle__close { display: none; }
    #cw.is-open .cw-toggle__open { display: none; }
    #cw.is-open .cw-toggle__close { display: block; }
    #cw .cw-list { display: none; position: absolute; right: 3px; bottom: 66px; }
    #cw.is-open .cw-list { display: block; }
    #cw .cw-item { width: 48px; height: 48px; }
    #cw .cw-label { opacity: 1 !important; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
body { padding-bottom: 0 !important; }
#bg { padding-bottom: 0; }
footer.op-footer {
    position: static; height: auto; margin-top: 60px; padding: 44px 0 0; box-shadow: none;
    background: #2a2630; color: #c9c4cf; font-size: 14px; line-height: 1.55;
}
.op-footer a { color: #e6e2ea; text-decoration: none; }
.op-footer a:hover { color: #fff; text-decoration: underline; }
.op-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; }
.op-footer__logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.op-footer__logo img { border-radius: 50%; background: #fff; }
.op-footer__logo span { color: #c9c4cf; font-size: 13px; line-height: 1.35; }
.op-footer__logo b { display: block; color: #fff; font-family: 'GothaProBol', Arial, sans-serif; font-size: 20px; font-weight: normal; }
.op-footer__note { margin: 16px 0; font-size: 13px; color: #a9a3b0; }
.op-footer__social { display: flex; gap: 10px; }
.op-soc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; transition: transform .15s, filter .15s; }
.op-soc:hover { transform: scale(1.08); filter: brightness(1.1); text-decoration: none !important; }
.op-soc svg { width: 22px; height: 22px; fill: #fff; }
.op-soc--tel { background: #43a047; }
.op-soc--tg { background: #2aabee; }
.op-soc--max { background: #7b4dff; }
.op-soc--vk { background: #0077ff; }
.op-footer__title { color: #fff; font-family: 'GothaProBol', Arial, sans-serif; font-size: 15px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.op-footer__col ul { list-style: none; margin: 0; padding: 0; }
.op-footer__col li { padding: 3px 0; }
.op-footer__phone { font-family: 'GothaProBol', Arial, sans-serif; font-size: 18px; color: #fff !important; }
.op-footer__legal { margin-top: 14px; font-size: 12px; color: #8f8996; }
.op-footer__pay { display: block; max-width: 100%; height: auto; margin-top: 12px; background: #fff; border-radius: 8px; padding: 4px 8px; }
.op-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 36px; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: #8f8996; }
.op-footer__bottom a { color: #b9b3c0; }
@media (max-width: 991px) { .op-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
    footer.op-footer { margin-top: 40px; padding-top: 30px; padding-bottom: 70px; }
    .op-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .op-footer__brand, .op-footer__contacts { grid-column: 1 / -1; }
    .op-footer__bottom { flex-direction: column; }
}

/* quick contacts inside the mobile menu */
.op-mnav__social { display: flex; gap: 10px; justify-content: center; margin: 12px 0 4px; }

/* empty cart */
.op-cart-empty { text-align: center; padding: 40px 10px 20px; }
.op-cart-empty svg { margin: 0 auto 10px; }
.op-cart-empty h1 { font-family: 'GothaProBol', Arial, sans-serif; color: var(--op-wine); margin: 0 0 8px; }
.op-cart-empty p { color: var(--op-muted); margin-bottom: 18px; }
.op-cart-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* short pages: whatever is below the footer has the footer colour, not black/white gaps */
html { background: #2a2630; }
body { background: #fff; }

/* generic content headings on phones (legacy h1 is 36px+) */
@media (max-width: 767px) {
    #content h1:not([class]) { font-size: 26px; line-height: 1.2; }
    #content h2:not([class]) { font-size: 21px; }
}

/* ==========================================================================
   Cart + checkout (/cart): .op-co
   ========================================================================== */
.op-raw { display: none !important; }
.op-co-wrap { color: var(--op-ink); }
.op-co-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin: 4px 0 18px; }
.op-co-head h1 { font-family: 'GothaProBol', Arial, sans-serif; color: var(--op-wine); font-size: 30px; line-height: 1.2; margin: 0; }
.op-co-head__more { color: var(--op-muted) !important; font-size: 14px; }
.op-co { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.op-co__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.op-co-card { padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--op-line); }
.op-co-card__title { display: flex; align-items: center; gap: 10px; font-family: 'GothaProBol', Arial, sans-serif; font-size: 20px; line-height: 1.25; margin: 0 0 14px; color: var(--op-ink); }
.op-co-card__title small { font-family: inherit; font-size: 14px; color: var(--op-muted); font-weight: normal; }
.op-co-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--op-green-soft); color: var(--op-green-dark); font-size: 15px; flex-shrink: 0; }

/* items */
.op-co .cart-list { margin: 0 !important; }
.op-co .cart-list__item { border-top: 1px solid var(--op-line); }
.op-co .cart-list__item:first-child { border-top: 0; }
.op-co .cart-item { border: 0 !important; margin: 0 !important; min-height: 0; background: none; }
.op-co .cart-list__item { margin: 0 !important; padding: 0 !important; border-bottom: 0 !important; }
.op-co .cart-item:after { display: none !important; }
.op-ci { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 110px 36px; grid-template-areas: "img info qty sum del"; align-items: center; gap: 8px 16px; padding: 14px 0; position: static !important; }
.op-ci__img { grid-area: img; display: block; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--op-bg-soft); }
.op-ci__img img { width: 100%; height: 100% !important; object-fit: cover; }
.op-ci__info { grid-area: info; min-width: 0; line-height: 1.35; }
.op-ci__cat { font-size: 12px; color: var(--op-muted); margin-bottom: 2px; }
.op-ci__name { display: block; font-weight: 600; font-size: 15px; color: var(--op-ink) !important; overflow-wrap: anywhere; }
.op-ci__name:hover { color: var(--op-red) !important; }
.op-ci__variant { font-size: 13px; color: var(--op-muted); margin-top: 2px; }
.op-ci__unit { font-size: 13px; color: var(--op-muted); margin-top: 4px; }
.op-ci__qty { grid-area: qty; }
.op-ci__sum { grid-area: sum; text-align: right; font-family: 'GothaProBol', Arial, sans-serif; font-size: 18px; white-space: nowrap; }
.op-ci__del { grid-area: del; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #a39dab !important; cursor: pointer; }
.op-ci__del:hover { background: #fdeeee; color: var(--op-red) !important; }
.op-stepper { display: inline-flex; align-items: center; border: 1px solid var(--op-line); border-radius: 999px; background: var(--op-bg-soft); }
.op-stepper button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--op-ink); cursor: pointer; }
.op-stepper button:hover { background: #fff; color: var(--op-green-dark); }
.op-stepper input { width: 44px; height: 36px; border: 0; background: none; text-align: center; font-weight: 700; font-size: 15px; color: var(--op-ink); padding: 0; }
.op-stepper > div { display: none; }

/* delivery */
.op-dlv { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.op-dlv__item { position: relative; margin: 0 !important; padding: 0 !important; display: block !important; }
.op-dlv__item .rich-radio__input { position: absolute; opacity: 0; top: 14px; left: 14px; margin: 0; }
.op-dlv__label { display: flex !important; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; height: 100%; max-width: none !important; margin: 0; padding: 14px; border-radius: 14px; border: 1.5px solid var(--op-line); background: #fff; cursor: pointer; font-weight: normal; transition: border-color .15s, background .15s; }
.op-dlv__label:hover { border-color: #cfc8d6; }
.op-dlv__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--op-bg-soft); color: var(--op-muted); flex-shrink: 0; }
.op-dlv__text { flex: 1 1 120px; min-width: 0; line-height: 1.3; }
.op-dlv__text b { display: block; font-size: 15px; font-weight: 600; color: var(--op-ink); }
.op-dlv__text small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--op-muted); }
.op-dlv__price { width: 100%; padding-left: 48px; font-weight: 700; font-size: 15px; }
.rich-radio__input:checked + .op-dlv__label { border-color: var(--op-green); background: var(--op-green-soft); box-shadow: 0 0 0 1px var(--op-green) inset; }
.rich-radio__input:checked + .op-dlv__label .op-dlv__icon { background: var(--op-green); color: #fff; }
.rich-radio__input:focus-visible + .op-dlv__label { outline: 3px solid rgba(46, 158, 62, .55); outline-offset: 2px; }
.rich-radio__input:disabled + .op-dlv__label { opacity: .45; cursor: not-allowed; }
.op-co-map { margin-top: 12px; font-size: 14px; }
.op-co-map summary { display: inline-flex; color: var(--op-green-dark); cursor: pointer; font-weight: 600; }
.op-co-map img { display: block; width: 100%; height: auto; margin-top: 10px; border-radius: 14px; }
.op-co-sub { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--op-line); }
.op-co-sub__title { font-size: 16px; font-weight: 700; margin: 0 0 12px; }

/* fields */
.op-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.op-field { display: flex; flex-direction: column; min-width: 0; }
.op-field--wide { grid-column: 1 / -1; }
.op-field label { display: block; max-width: none; margin: 0 0 5px; font-size: 13.5px; font-weight: 600; color: var(--op-ink); }
.op-field label, .op-field label.required, .op-field label.error { color: var(--op-ink) !important; }
.op-field label span.required { color: var(--op-red); }
.op-co .op-field .input, .op-co .op-field select, .op-co .op-field textarea {
    width: 100% !important; max-width: none; height: auto; min-height: 46px; margin: 0; padding: 11px 14px; border: 1.5px solid var(--op-line); border-radius: 12px;
    background: #fff; font-size: 16px; line-height: 1.35; color: var(--op-ink); box-shadow: none; transition: border-color .15s;
}
.op-co .op-field textarea { resize: vertical; }
.op-co .op-field .input:focus, .op-co .op-field select:focus, .op-co .op-field textarea:focus { border-color: var(--op-green); outline: 0; box-shadow: 0 0 0 3px rgba(46, 158, 62, .15); }
.op-co .op-field .error, .op-co .op-field.error .input { border-color: var(--op-red); }
.op-co .errorMessage { margin-top: 4px; color: var(--op-red); font-size: 13px; }
.op-field__help { margin-top: 5px; font-size: 12.5px; color: var(--op-muted); }

/* summary */
.op-co__side { position: sticky; top: 16px; }
.op-sum { padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--op-line); box-shadow: 0 2px 18px rgba(36, 33, 43, .08); }
.op-sum__title { font-family: 'GothaProBol', Arial, sans-serif; font-size: 20px; margin-bottom: 10px; }
.op-sum__rows { margin: 0; font-size: 14.5px; }
.op-sum__rows > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.op-sum__rows dt { font-weight: normal; color: var(--op-muted); }
.op-sum__rows dd { margin: 0; font-weight: 600; white-space: nowrap; }
.op-sum__discount dd { color: var(--op-red); }
.op-coupon { margin: 8px 0 4px; padding-top: 10px; border-top: 1px dashed var(--op-line); font-size: 14px; }
.op-coupon__box summary { color: var(--op-green-dark); cursor: pointer; font-weight: 600; }
.op-coupon__row { display: flex; gap: 8px; margin-top: 10px; }
.op-coupon__row .input { flex: 1; min-width: 0; width: auto !important; height: 38px; margin: 0 !important; padding: 6px 12px; border: 1.5px solid var(--op-line); border-radius: 999px; font-size: 15px; }
.op-coupon__list .coupon { margin-bottom: 6px; }
.op-coupon__tag { display: inline-flex !important; align-items: center; gap: 6px; padding: 5px 6px 5px 12px !important; border-radius: 999px; background: var(--op-green-soft) !important; color: var(--op-green-dark) !important; font-size: 13px !important; }
.op-coupon__tag .close { float: none; font-size: 18px; line-height: 1; opacity: .6; }
.op-sum__total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 12px 0 14px; padding-top: 12px; border-top: 1px solid var(--op-line); }
.op-sum__total span { font-weight: 600; }
.op-sum__total b { font-family: 'GothaProBol', Arial, sans-serif; font-weight: normal; font-size: 28px; color: var(--op-ink); white-space: nowrap; }
.op-sum__submit { width: 100%; min-height: 54px; font-size: 17px; }
.op-sum__note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--op-muted); }
.op-sum__note a { color: var(--op-ink); white-space: nowrap; }
.op-co-bar { display: none; }

@media (max-width: 991px) {
    .op-co { grid-template-columns: minmax(0, 1fr); }
    .op-co__side { position: static; }
}
@media (max-width: 767px) {
    .op-co-head h1 { font-size: 24px; }
    .op-co-card { padding: 16px 14px; border-radius: 16px; }
    .op-co-card__title { font-size: 18px; }
    .op-ci { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info del" "img qty sum"; gap: 8px 12px; }
    .op-ci__del { justify-self: end; }
    .op-ci__img { width: 72px; height: 72px; }
    .op-ci__sum { font-size: 17px; }
    .op-ci__del { width: 32px; height: 32px; align-self: start; }
    .op-ci__qty { justify-self: start; }
    .op-fields { grid-template-columns: 1fr; }
    .op-field--half { grid-column: auto; }
    .op-co .op-sum__submit { display: none; }
    /* fixed bottom bar with the total + submit; leaves room for the #cw bubble on the right */
    .op-co-bar {
        display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
        padding: 10px 84px 10px 14px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--op-line); box-shadow: 0 -6px 20px rgba(36, 33, 43, .08);
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
    .op-co-bar__sum { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
    .op-co-bar__sum small { font-size: 12px; color: var(--op-muted); }
    .op-co-bar__sum b { font-family: 'GothaProBol', Arial, sans-serif; font-weight: normal; font-size: 20px; }
    .op-co-bar .op-btn { flex: 1; min-height: 46px; padding: 8px 12px; }
    body.op-has-cobar #cw { bottom: 8px; }
    body.op-has-cobar footer.op-footer { padding-bottom: 90px; }
}
@media (max-width: 360px) {
    .op-co-bar { padding-right: 76px; }
    .op-co-bar .op-btn { font-size: 14px; }
}

/* ==========================================================================
   Floating cart pill (all pages except /cart): appears when the header cart is out of view,
   pulses after "add to cart". Phones: bottom-left (the #cw bubble owns bottom-right).
   ========================================================================== */
.op-fcart {
    position: fixed; z-index: 950; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
    background: var(--op-ink); color: #fff !important; text-decoration: none !important; box-shadow: 0 10px 28px rgba(36, 33, 43, .3);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .2s, transform .2s, visibility .2s;
    top: 14px; right: 18px;
}
.op-fcart.is-visible { opacity: 1; visibility: visible; transform: none; }
.op-fcart:hover { background: #3a3542; }
.op-fcart__icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--op-green); }
.op-fcart__icon svg { width: 20px; height: 20px; fill: #fff; }
.op-fcart__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--op-red); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.op-fcart__text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.op-fcart__text small { font-size: 11.5px; color: #c9c4cf; }
.op-fcart__text b { font-size: 15px; }
.op-fcart__go { margin-left: 4px; font-weight: 700; font-size: 14px; color: #9fe3a9; }
.op-fcart.is-bump .op-fcart__icon { animation: op-bump .6s ease; }
.op-fcart.is-bump { box-shadow: 0 0 0 4px rgba(46, 158, 62, .35), 0 10px 28px rgba(36, 33, 43, .3); }
@keyframes op-bump { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }
@media (max-width: 767px) {
    .op-fcart { top: auto; right: auto; left: 12px; bottom: 14px; max-width: calc(100% - 96px); transform: translateY(12px); }
    .op-fcart__go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .op-fcart, .op-fcart.is-bump .op-fcart__icon { transition: none; animation: none; }
}

/* ==========================================================================
   Contacts (/contacts)
   ========================================================================== */
.op-contacts { max-width: 960px; }
.op-contacts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.op-ccard { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--op-radius); background: #fff; border: 1px solid var(--op-line); color: var(--op-ink) !important; text-decoration: none !important; transition: box-shadow .15s, border-color .15s; }
a.op-ccard:hover { border-color: #d9d3de; box-shadow: var(--op-shadow-hover); }
.op-ccard > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.op-ccard small { font-size: 13px; color: var(--op-muted); }
.op-ccard b { font-family: 'GothaProBol', Arial, sans-serif; font-weight: normal; font-size: 19px; margin: 2px 0; overflow-wrap: anywhere; }
.op-ccard em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--op-green-dark); }
.op-ccard__sub { font-size: 13.5px; color: var(--op-muted); }
.op-contacts__msg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.op-msg { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--op-radius); background: var(--op-bg-soft); color: var(--op-ink) !important; text-decoration: none !important; transition: background .15s; }
.op-msg:hover { background: #efebf2; }
.op-msg > span:last-child { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.op-msg b { font-size: 15px; }
.op-msg small { font-size: 12.5px; color: var(--op-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-msg .op-soc { flex-shrink: 0; }
.op-contacts__map { border-radius: 20px; overflow: hidden; border: 1px solid var(--op-line); background: var(--op-bg-soft); }
.op-contacts__map iframe { display: block; border: 0; }
.op-contacts__route { margin-top: 10px !important; }
.op-contacts__route .op-btn { color: var(--op-ink) !important; }
.op-contacts .op-note p { margin: 0; }
.op-contacts .op-cardlet { color: var(--op-ink) !important; text-decoration: none !important; transition: background .15s; }
.op-contacts .op-cardlet:hover { background: #efebf2; }
@media (max-width: 767px) {
    .op-contacts__grid, .op-contacts__msg { grid-template-columns: 1fr; }
    .op-ccard { padding: 14px; }
    .op-ccard b { font-size: 17px; }
    .op-contacts__map iframe { height: 300px; }
}

/* store.js toast (showNotify): same look as the floating cart pill */
#notifications > div {
    background: var(--op-ink) !important; color: #fff !important; border-radius: 14px !important; padding: 12px 18px !important;
    font-size: 15px !important; line-height: 1.35; box-shadow: 0 10px 28px rgba(36, 33, 43, .3); max-width: 320px;
}
