:root {
    --pink: #e8577a;
    --pink-dark: #c23f60;
    --dark: #281f1f;
    --muted: #7a7070;
    --bg: #ffffff;
    --border: #ece4e4;
    --panel: #faf7f7;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--dark);
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.6;
    font-size: 14px;
}

a { color: var(--pink-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; background: var(--panel); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: 'PT Sans Narrow', Arial, sans-serif; color: var(--dark); margin: 0 0 12px; }

.uk-container, .uk-container-center { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Сетка UIkit (минимально необходимое) ---- */
.uk-grid { display: flex; flex-wrap: wrap; margin-left: -12px; }
.uk-grid > * { padding-left: 12px; }
.uk-width-1-1 { width: 100%; }
.uk-width-medium-1-2 { width: 50%; }
.uk-width-large-3-5 { width: 60%; }
.uk-width-large-2-5 { width: 40%; }
[class*="uk-width-1-"], [class*="uk-width-medium"], [class*="uk-width-large"] { flex: 0 0 auto; }
.uk-clearfix:after { content: ""; display: table; clear: both; }
.uk-float-left { float: left; }
.uk-float-right { float: right; }
.uk-text-center { text-align: center; }
.uk-text-large { font-size: 17px; font-weight: 700; color: var(--pink-dark); }
.uk-margin-top { margin-top: 10px; }
.uk-margin-bottom { margin-bottom: 16px; }
.uk-margin-small-bottom { margin-bottom: 6px; }
.uk-margin-remove { margin: 0; }
.uk-position-relative { position: relative; }
.uk-link-reset a, a.uk-link-reset { color: var(--dark); text-decoration: none; }

/* ---- Шапка ---- */
.uk-navbar { background: #fff; border-bottom: 1px solid var(--border); }
.bh-logo, .bh-logo-small { font-size: 26px; font-weight: 700; letter-spacing: .04em; color: var(--dark); }
.bh-logo .uk-text-primary, .bh-logo-small .uk-text-primary { color: var(--pink); }
.uk-navbar-nav { display: flex; flex-wrap: wrap; justify-content: center; }
.uk-navbar-nav li a {
    display: block; padding: 16px 14px; color: var(--dark); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .03em;
}
.uk-navbar-nav li a:hover { color: var(--pink-dark); text-decoration: none; }
.uk-navbar-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; color: var(--dark);
}
.uk-icon-shopping-cart { font-style: normal; }
.uk-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 9px; background: var(--pink); color: #fff; font-size: 11px;
}

/* ---- Панели / товарные карточки ---- */
.uk-panel { margin-bottom: 26px; }
.uk-panel-box { background: var(--panel); border-radius: 8px; padding: 20px; }
.uk-article-title { font-size: 20px; margin-bottom: 14px; }

.bh-product-overlay { position: relative; overflow: hidden; border-radius: 8px; background: var(--panel); aspect-ratio: 3 / 4; }
.bh-product-overlay a { position: absolute; inset: 0; z-index: 3; }
.bh-product-overlay-img, .bh-product-overlay-img-hover {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.bh-product-overlay-img-hover { opacity: 0; transition: opacity .25s; }
.bh-product-overlay:hover .bh-product-overlay-img-hover { opacity: 1; }
.bh-product-overlay-content {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px; opacity: 0; transition: opacity .2s; z-index: 4;
    background: linear-gradient(to top, rgba(40,31,31,.75), transparent);
}
.bh-product-overlay:hover .bh-product-overlay-content { opacity: 1; }

.uk-button-group { display: flex; }
.uk-button {
    display: inline-block; padding: 9px 16px; border-radius: 5px;
    background: #fff; color: var(--dark); font-weight: 600; font-size: 13px; text-align: center;
    border: none; cursor: pointer; text-decoration: none !important;
}
.uk-button:hover { background: var(--pink); color: #fff; }
.uk-button-large { padding: 11px 18px; }
.bh-button-secondary { background: var(--pink); color: #fff; }
.bh-button-secondary:hover { background: var(--pink-dark); }

.currency { color: var(--muted); font-size: 13px; }

/* ---- Оверлей-баннеры (uk-overlay) ---- */
.uk-overlay-area { position: relative; overflow: hidden; border-radius: 8px; }
.uk-overlay { position: relative; }
.uk-overlay-area-content {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 24px;
    background: linear-gradient(to top, rgba(40,31,31,.7), transparent);
    color: #fff;
}
.uk-overlay-area-content a { color: #fff; }
.uk-text-contrast { color: #fff; }
.bh-img-height-1-1 img { width: 100%; height: 100%; object-fit: cover; }
.bh-grid-img-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* ---- Оффканвас-меню ---- */
.uk-offcanvas { position: fixed; inset: 0; background: rgba(40,31,31,.6); z-index: 1000; display: none; }
.uk-offcanvas.uk-active { display: block; }
.uk-offcanvas-bar {
    position: absolute; top: 0; bottom: 0; left: 0; width: 300px; max-width: 85vw;
    background: #fff; padding: 24px 20px; overflow-y: auto;
}
.uk-offcanvas-bar-flip { left: auto; right: 0; }
.uk-search-field { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 16px; }
.uk-nav-offcanvas li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); font-weight: 600; }
.bh-offcanvas-shopping-cart { width: 100%; border-collapse: collapse; }
.bh-offcanvas-shopping-cart td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }

/* ---- Футер ---- */
.bh-footer {
    background: var(--dark); color: #e8dede;
    padding: 20px 0; margin-top: 40px; font-size: 13px;
}
.bh-topscroller {
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--pink); color: #fff;
    display: flex; align-items: center; justify-content: center;
}

/* ---- Адаптив ---- */
@media (max-width: 900px) {
    .uk-width-medium-1-2 { width: 100%; }
    .uk-navbar-nav { display: none; }
}
@media (max-width: 600px) {
    .uk-width-large-3-5, .uk-width-large-2-5 { width: 100%; }
}
