/*
 * Mitov Home — storefront skin.
 * Loaded after the Bagisto build CSS from components/layouts/index.blade.php.
 * Palette matches the 3D hero slider: warm ink, cream, bamboo wood and leaf green.
 */

:root {
    --mh-ink: #2b2118;
    --mh-ink-soft: #5c4a3a;
    --mh-cream: #f7f2ea;
    --mh-paper: #faf8f4;
    --mh-sand: #efe6d8;
    --mh-wood: #a8743f;
    --mh-leaf: #5b7a3c;
    --mh-line: rgba(43, 33, 24, .12);
    --mh-serif: "Playfair Display", Georgia, serif;
    --mh-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

::selection { background: var(--mh-leaf); color: #fff; }

/* ---------- Typography ---------- */

h1, h2, h3,
.font-dmserif,
.inline-col-title,
.home-offer h1 {
    font-family: var(--mh-serif) !important;
    color: var(--mh-ink);
    letter-spacing: -.01em;
}

/* Admin-written CSS still points at fonts without Cyrillic (Poppins, Geneva) */
.inline-col-description,
.inline-col-wrapper p { font-family: var(--mh-sans) !important; }

/* ---------- Buttons ---------- */

.primary-button,
.secondary-button {
    border-radius: 999px !important;
    font-weight: 700;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.primary-button:hover {
    opacity: 1;
    background-color: var(--mh-leaf);
    border-color: var(--mh-leaf);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -10px rgba(91, 122, 60, .7);
}

.secondary-button:hover { background-color: var(--mh-ink); color: var(--mh-cream); }

/* ---------- Header ---------- */

header { position: relative; z-index: 20; }

header a:hover,
header .group:hover > a { color: var(--mh-wood); }

/* ---------- Product cards ---------- */

.group .bg-zinc-100 { background-color: var(--mh-sand); }

.group > .relative.overflow-hidden,
.group .max-h-\[300px\] { border-radius: 18px; }

/* ---------- Services strip ---------- */

.icon-product,
.icon-support,
.icon-dollar-sign,
.icon-truck,
.icon-calendar,
[class^="icon-"].rounded-full {
    border-color: var(--mh-line) !important;
    background-color: var(--mh-cream) !important;
    color: var(--mh-wood) !important;
}

/* ---------- Footer ---------- */

footer.bg-lightOrange { background-color: var(--mh-cream); border-top: 1px solid var(--mh-line); }

footer .bg-\[\#F1EADF\] { background-color: var(--mh-sand); }

footer a { transition: color .2s ease; }
footer a:hover { color: var(--mh-wood); }

footer p.italic {
    font-family: var(--mh-serif);
    font-style: normal;
    font-weight: 600;
    color: var(--mh-ink);
}

footer input[type="email"] { border-radius: 999px; }
footer button[type="submit"] { border-radius: 999px !important; background: var(--mh-ink) !important; color: var(--mh-cream) !important; }
footer button[type="submit"]:hover { background: var(--mh-leaf) !important; }

/* ---------- Cookie banner ---------- */

.js-cookie-consent { background: rgba(43, 33, 24, .96) !important; border-radius: 18px !important; }
.js-cookie-consent .bg-blue-500 { background-color: var(--mh-cream) !important; color: var(--mh-ink) !important; border-radius: 999px !important; }
.js-cookie-consent .bg-blue-500:hover { background-color: var(--mh-leaf) !important; color: #fff !important; }
.js-cookie-consent a { color: #e9d9b8; }

/* ---------- "Hikari" static block ---------- */

.inline-col-wrapper .inline-col-content-wrapper .inline-col-title {
    font-weight: 600;
    color: var(--mh-ink);
}

.inline-col-wrapper .inline-col-content-wrapper .inline-col-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--mh-ink-soft);
}

.inline-col-wrapper .inline-col-image-wrapper img {
    border-radius: 24px;
    box-shadow: 0 30px 60px -25px rgba(43, 33, 24, .5);
}

/* ======================================================================
   Home page sections
   ====================================================================== */

.mh-section { padding: 96px 0; }
.mh-section--paper { background: var(--mh-paper); }

.mh-wrap { width: min(1240px, 100% - 48px); margin: 0 auto; }

.mh-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.mh-head--left { margin-left: 0; text-align: left; }

.mh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mh-wood);
}

.mh-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.mh-h2 {
    margin: 0;
    font-family: var(--mh-serif);
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 600;
    line-height: 1.12;
    color: var(--mh-ink);
}

.mh-lead { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--mh-ink-soft); }

.mh-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--mh-ink);
    transition: gap .25s ease, color .25s ease;
}

.mh-link:hover { gap: 14px; color: var(--mh-wood); }

.mh-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    background: var(--mh-ink);
    color: var(--mh-cream);
    font-weight: 700;
    transition: background .25s ease, gap .25s ease, transform .25s ease;
}

.mh-pill:hover { background: var(--mh-leaf); gap: 14px; transform: translateY(-1px); }
.mh-pill--light { background: var(--mh-cream); color: var(--mh-ink); }
.mh-pill--light:hover { background: var(--mh-leaf); color: #fff; }

/* ---------- Perks strip ---------- */

.mh-perks { padding: 8px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--mh-paper) 100%); }

.mh-perks__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--mh-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 40px -30px rgba(43, 33, 24, .35);
}

.mh-perk { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.mh-perk + .mh-perk { border-left: 1px solid var(--mh-line); }

.mh-perk__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--mh-cream);
    color: var(--mh-leaf);
}

.mh-perk__icon svg { width: 26px; height: 26px; }
.mh-perk__title { margin: 0; font-size: 15px; font-weight: 800; color: var(--mh-ink); }
.mh-perk__text { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--mh-ink-soft); }

/* ---------- Rooms ---------- */

.mh-rooms__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    perspective: 1400px;
}

.mh-room {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    overflow: hidden;
    background: var(--mh-sand);
    box-shadow: 0 30px 50px -30px rgba(43, 33, 24, .6);
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.22, .9, .25, 1), box-shadow .6s ease;
}


.mh-room:hover {
    transform: translateY(-8px) rotateX(4deg);
    box-shadow: 0 45px 60px -30px rgba(43, 33, 24, .7);
}

.mh-room img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.22, .9, .25, 1);
}

.mh-room:hover img { transform: scale(1.07); }

.mh-room::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 14, 8, .78) 0%, rgba(20, 14, 8, .15) 55%, transparent 80%);
}

.mh-room__body { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; color: #fff; }
.mh-room__count { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #e9d9b8; }

.mh-room__name {
    display: block;
    margin: 6px 0 12px;
    font-family: var(--mh-serif);
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 600;
    line-height: 1.1;
}

.mh-room__go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; transition: gap .25s ease; }
.mh-room:hover .mh-room__go { gap: 16px; }

/* ---------- Products ---------- */

.mh-products { padding-bottom: 40px; }
.mh-products .container { padding-left: 0 !important; padding-right: 0 !important; margin-top: 0 !important; }
.mh-products .container > .flex:first-child { justify-content: flex-end; }
.mh-products .container > .flex:first-child > h2 { display: none; } /* heading is rendered by .mh-head */

/* ---------- Why bamboo ---------- */

.mh-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.mh-why__media { position: relative; aspect-ratio: 1 / 1; perspective: 1200px; }

.mh-why__img {
    position: absolute;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 35px 60px -30px rgba(43, 33, 24, .6);
}

.mh-why__img--main { left: 0; top: 0; width: 78%; height: 82%; }

.mh-why__img--float {
    right: 0;
    bottom: 0;
    width: 50%;
    height: 50%;
    border: 8px solid var(--mh-paper);
    transform: rotateY(-10deg) rotateX(4deg);
    transition: transform .8s cubic-bezier(.22, .9, .25, 1);
}

.mh-why__media:hover .mh-why__img--float { transform: rotateY(0) rotateX(0) translateY(-6px); }

.mh-why__badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--mh-leaf);
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 20px 30px -15px rgba(91, 122, 60, .8);
}

.mh-why__badge strong { display: block; font-family: var(--mh-serif); font-size: 30px; line-height: 1; }

.mh-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }

.mh-fact { padding: 22px; border: 1px solid var(--mh-line); border-radius: 18px; background: #fff; }

.mh-fact__num {
    display: block;
    font-family: var(--mh-serif);
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
    color: var(--mh-wood);
}

.mh-fact__text { display: block; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--mh-ink-soft); }

/* ---------- Dark band ---------- */

.mh-band {
    position: relative;
    margin: 0 auto;
    padding: 120px 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background-color: var(--mh-ink);
    background-size: cover;
    background-position: center;
}

.mh-band::before { content: ""; position: absolute; inset: 0; background: rgba(28, 20, 12, .72); }
.mh-band > * { position: relative; }
.mh-band .mh-kicker { color: #e9d9b8; }

.mh-band__quote {
    max-width: 860px;
    margin: 0 auto 36px;
    font-family: var(--mh-serif);
    font-size: clamp(28px, 3.6vw, 52px);
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .mh-perks__grid { grid-template-columns: repeat(2, 1fr); }
    .mh-perk:nth-child(3) { border-left: 0; }
    .mh-perk:nth-child(n + 3) { border-top: 1px solid var(--mh-line); }
    .mh-rooms__grid { grid-template-columns: 1fr 1fr; }
    .mh-why__grid { grid-template-columns: 1fr; gap: 48px; }
    .mh-why__media { max-width: 560px; }
}

@media (max-width: 640px) {
    .mh-section { padding: 64px 0; }
    .mh-wrap { width: calc(100% - 32px); }
    .mh-head { margin-bottom: 32px; }
    .mh-perks { padding-bottom: 48px; }
    .mh-perks__grid { grid-template-columns: 1fr; }
    .mh-perk { padding: 18px 20px; }
    .mh-perk + .mh-perk { border-left: 0; border-top: 1px solid var(--mh-line); }
    .mh-rooms__grid { grid-template-columns: 1fr; gap: 16px; }
    .mh-room { aspect-ratio: 4 / 3; }
    .mh-facts { grid-template-columns: 1fr 1fr; gap: 12px; }
    .mh-fact { padding: 16px; }
    .mh-fact__num { font-size: 26px; }
    .mh-why__badge { width: 92px; height: 92px; left: 12px; bottom: 12px; }
    .mh-why__badge strong { font-size: 24px; }
    .mh-band { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .mh-room, .mh-room img, .mh-why__img--float { transition: none; }
}

/* ---------- Generated: every Tailwind rule using navyBlue (rgb 6 12 59), recoloured to --mh-ink ---------- */
.primary-button{--tw-border-opacity: 1;border-color:rgb(43 33 24 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(43 33 24 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1}
.secondary-button{--tw-border-opacity: 1;border-color:rgb(43 33 24 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;--tw-text-opacity: 1;color:rgb(43 33 24 / var(--tw-text-opacity, 1))}
.\!border-navyBlue{--tw-border-opacity: 1 !important;border-color:rgb(43 33 24 / var(--tw-border-opacity, 1))!important}
.border-navyBlue{--tw-border-opacity: 1;border-color:rgb(43 33 24 / var(--tw-border-opacity, 1))}
.\!bg-navyBlue{--tw-bg-opacity: 1 !important;background-color:rgb(43 33 24 / var(--tw-bg-opacity, 1))!important}
.bg-navyBlue{--tw-bg-opacity: 1;background-color:rgb(43 33 24 / var(--tw-bg-opacity, 1))}
.text-navyBlue{--tw-text-opacity: 1;color:rgb(43 33 24 / var(--tw-text-opacity, 1))}
.hover\:\!border-navyBlue:hover{--tw-border-opacity: 1 !important;border-color:rgb(43 33 24 / var(--tw-border-opacity, 1))!important}
.hover\:border-navyBlue:hover{--tw-border-opacity: 1;border-color:rgb(43 33 24 / var(--tw-border-opacity, 1))}
.focus\:border-navyBlue:focus{--tw-border-opacity: 1;border-color:rgb(43 33 24 / var(--tw-border-opacity, 1))}
.focus\:ring-navyBlue:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(43 33 24 / var(--tw-ring-opacity, 1))}
.peer:checked~.peer-checked\:bg-navyBlue{--tw-bg-opacity: 1;background-color:rgb(43 33 24 / var(--tw-bg-opacity, 1))}
.peer:checked~.peer-checked\:text-navyBlue{--tw-text-opacity: 1;color:rgb(43 33 24 / var(--tw-text-opacity, 1))}
.\[\&\:\:-moz-range-thumb\]\:ring-navyBlue::-moz-range-thumb{--tw-ring-opacity: 1;--tw-ring-color: rgb(43 33 24 / var(--tw-ring-opacity, 1))}
.\[\&\:\:-ms-thumb\]\:ring-navyBlue::-ms-thumb{--tw-ring-opacity: 1;--tw-ring-color: rgb(43 33 24 / var(--tw-ring-opacity, 1))}
.\[\&\:\:-webkit-slider-thumb\]\:ring-navyBlue::-webkit-slider-thumb{--tw-ring-opacity: 1;--tw-ring-color: rgb(43 33 24 / var(--tw-ring-opacity, 1))}

/* ---------- Leftover hard-coded navy ---------- */

.glow-404 { color: var(--mh-ink) !important; }

.inline-col-wrapper .inline-col-content-wrapper .inline-col-title { color: var(--mh-ink) !important; }

.inline-col-wrapper .inline-col-content-wrapper { align-content: center; }

/* ======================================================================
   Header
   ====================================================================== */

/* Announcement bar (currency · offer · language) */
#app > .max-lg\:hidden > .px-16 {
    background: var(--mh-ink);
    border-color: transparent;
    color: var(--mh-cream);
    font-size: 12px;
    letter-spacing: .06em;
}

#app > .max-lg\:hidden > .px-16 > p { font-size: 12px; font-weight: 500; letter-spacing: .08em; }
#app > .max-lg\:hidden > .px-16 > p a { color: #e9d9b8; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .2s ease; }
#app > .max-lg\:hidden > .px-16 > p a:hover { color: #fff; }
#app > .max-lg\:hidden > .px-16 .select-none span { font-weight: 600; }
#app > .max-lg\:hidden > .px-16 .icon-arrow-down { font-size: 18px; opacity: .7; }

/* Its dropdowns are white panels: keep their text dark */
#app > .max-lg\:hidden > .px-16 .absolute { color: var(--mh-ink); letter-spacing: 0; }

/* Main bar */
header.shadow-gray { box-shadow: none; border-bottom: 1px solid var(--mh-line); }
header .min-h-\[78px\] { border-color: transparent; }

/* Navigation */
header .h-\[77px\] {
    position: relative;
    border-bottom-width: 0 !important;
}

header .h-\[77px\] > span,
header .h-\[77px\] > span > a {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--mh-ink);
    transition: color .25s ease;
}

header .h-\[77px\]::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 22px;
    height: 1.5px;
    background: var(--mh-wood);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s cubic-bezier(.22, .9, .25, 1);
}

header .h-\[77px\]:hover::after { transform: scaleX(1); }
header .h-\[77px\]:hover > span,
header .h-\[77px\]:hover > span > a { color: var(--mh-wood); }

/* Mega-menu panel */
header .h-\[77px\] .absolute { border-radius: 0 0 18px 18px; border-color: var(--mh-line); box-shadow: 0 30px 50px -30px rgba(43, 33, 24, .35); }
header .h-\[77px\] .absolute a { letter-spacing: 0; }
header .h-\[77px\] .absolute a:hover { color: var(--mh-wood); }

/* Search */
header form input[type="text"],
header form input[name="query"] {
    border-radius: 999px !important;
    background-color: var(--mh-cream) !important;
    border: 1px solid transparent !important;
    font-size: 13px;
    font-weight: 500;
    color: var(--mh-ink);
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

header form input[name="query"]::placeholder { color: rgba(43, 33, 24, .5); }

header form input[name="query"]:hover { border-color: var(--mh-line) !important; }

header form input[name="query"]:focus {
    background-color: #fff !important;
    border-color: var(--mh-wood) !important;
    box-shadow: 0 0 0 4px rgba(168, 116, 63, .12);
    outline: none;
}

header .icon-search,
header .icon-camera { color: var(--mh-ink-soft); }

/* Action icons */
header .icon-compare,
header .icon-cart,
header .icon-users,
header .icon-hamburger,
header .icon-heart {
    color: var(--mh-ink);
    transition: color .2s ease, transform .2s ease;
}

header .icon-compare:hover,
header .icon-cart:hover,
header .icon-users:hover,
header .icon-heart:hover { color: var(--mh-wood); transform: translateY(-1px); }

/* Categories without subcategories render an empty mega-menu panel */
header .h-\[77px\] .absolute:not(:has(a:not(:empty))) { display: none; }

/* Logo PNG background is 253-254, not pure white: lift it so no box shows on the white header */
header a > img { filter: brightness(1.02); }

/* Side drawer ("Всички" / mobile menu): never show rows whose link has no text */
.fixed.z-\[1000\] div:has(> a:empty),
.fixed.z-\[1000\] p:has(> a:empty) { display: none; }
