@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --bvd-black: #000;
    --bvd-white: #fff;
    --bvd-off-white: #f1f1f1;
    --bvd-blue: #4C78A1;
    --bvd-light-blue: #1DBDC6;
    --bvd-dark-blue: #2D3C64;
    --bvd-gray-blue: #667080;
    --bvd-red: #8A1212;
    --bvd-light-red: #AF6A6A;
    --bvd-orange: #F59C00;
    --bvd-yellow: #DABA69;
    --bvd-pink: #C61D75;
    --bvd-purple: #9666A7;
    --bvd-olive-green: #617B65;
    --bvd-olive-green-light: #B0AE3A;
    --bvd-green-gray: #A3BDA8;
    --bvd-light-green: #C1CFA1;
    --bvd-dark-green: #86A08B;
    --bvd-green: #2C6D3B;
    --bvd-vivid-green: #6FAF6A;
    --bvd-gray: #C5C5C5;
    --bvd-dark-gray: #808080;
    --bvd-light-gray: #DEDEDE;
    --bvd-super-light-gray: #F3F3F3;
    --bvd-brown: #806666;
    --bvd-light-brown: #DDD8C0;

    --ink: #171717;
    --muted: #6b6b6b;
    --paper: #f6f3ee;
    --white: #fff;
    --accent: #b5222d;
    --blue: #1a3455;
    --logo-letter-color: #a3bda8;
    --line: #ded8cf;
    --success: #17683a;
    --radius: 14px;
    color: var(--ink);
    background: var(--paper);
    /*font-family: Arial, "Noto Sans Hebrew", sans-serif;*/
    font-family: "Rubik", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); line-height: 1.55; }
@media screen and (min-width: 761px){
    main {
        min-height: calc(100vh - 196px);
    }
}
.admin-body { background: var(--white); padding-top: 70px; }
.environment-banner { padding: 7px 16px; background: #2d2418; color: #fff; font-size: .85rem; font-weight: 700; text-align: center; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-header { padding: 18px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.admin-body .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.brand-logo { display: inline-flex; width: 155px; height: 42px; }
.brand-logo .bvd-logo { width: 100%; height: 100%; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { text-decoration: none; }
.hero { padding: 72px 0 44px; }
.eyebrow {
    font-size: 15px; margin: 0 0 8px; color: var(--blue); font-weight: 700;
    border-bottom: 1px solid var(--logo-letter-color); }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(2.2rem, 6vw, 5.2rem); line-height: 1.02; }
.hero p { max-width: 680px; color: var(--muted); font-size: 1.15rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; padding-bottom: 64px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.product-image { width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; background: #e8e2d8; object-fit: cover; }
.placeholder { display: grid; place-items: center; color: var(--muted); font-size: 3rem; }
.price { font-size: 1.5rem; font-weight: 800; }
.muted { color: var(--muted); }
.button, button {
    display: inline-block;
    padding: 0 20px;
    border: 0;
    border-radius: 2px;
    background: var(--bvd-olive-green);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    line-height: 30px;
}


.button.secondary { background: var(--ink); }
button.link { padding: 0; background: transparent; color: var(--ink); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 48px; padding: 56px 0; }
.panel { padding: clamp(20px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
form .field { margin-bottom: 18px; }
.advanced-fields { margin-bottom: 18px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; }
.advanced-fields summary { cursor: pointer; font-weight: 700; }
.advanced-fields[open] summary { margin-bottom: 12px; }
.advanced-fields .field:last-child { margin-bottom: 0; }
.related-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr);
    align-items: end;
    gap: 18px;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.related-fields legend { padding-inline: 6px; font-weight: 700; }
.related-fields .field { margin-bottom: 0; }
.related-checkbox { display: flex; align-items: center; gap: 8px; min-height: 45px; }
.related-checkbox label { margin-bottom: 0; }
label { display: block; margin-bottom: 6px; font-weight: 700; }
input,
textarea,
select { width: 100%; padding: 11px 12px; border: 1px solid #bbb3a7; border-radius: 8px; background: #fff; font: inherit; }
input[type="checkbox"] { width: auto; }
.checkbox label { display: inline; }
.errors { margin-bottom: 20px; padding: 14px; border: 1px solid #e8b9bd; border-radius: 8px; background: #fff0f0; color: #8d101a; }
.status { margin-bottom: 18px; padding: 12px; border-radius: 8px; background: #e8f6ed; color: var(--success); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding: 48px 0; }
.delivery-methods { border: 0; margin: 0 0 18px; padding: 0; }
.delivery-methods legend { font-weight: 700; margin-bottom: 9px; }
.delivery-method { align-items: center; cursor: pointer; display: flex; gap: 8px; margin: 8px 0; }
.delivery-method input[type="radio"] { display: inline-block; flex: 0 0 auto; inline-size: auto; margin: 0; width: auto; }
.pickup-details { background: #f4f5f6; border-inline-start: 4px solid #111; margin: 0 0 20px; padding: 16px 18px; }
.pickup-details p { margin: 8px 0 0; white-space: normal; }
[hidden] { display: none !important; }
.summary { position: sticky; top: 20px; align-self: start; }
.row { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.total { font-size: 1.25rem; font-weight: 800; }
.large-order-contact { margin: -7px 0 20px; padding: 12px 14px; border-inline-start: 3px solid var(--bvd-olive-green); background: var(--bvd-super-light-gray); color: var(--muted); }
.large-order-contact a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.footer { 
    padding: 28px 0;
    border-top: 1px solid var(--line);
    background: var(--bvd-dark-gray);
    color: #fff;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { text-underline-offset: 3px; }


/* Frontpage */
.promo-mag,
.archive-mag { border-bottom: 0; padding: 0 0 32px; }
.promo-mag .card { width: 100%; }
.promo-mag .promoted-card { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.promo-mag .promoted-card > img{
    height: 580px;
}
.archive-mag { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.archive-mag .card { width: auto; }


.product-detail img.product-image {
    height: 820px;
}



.legal-acknowledgement { display: flex; align-items: flex-start; gap: 9px; }
.legal-acknowledgement input { flex: 0 0 auto; margin-top: .35em; }
.legal-acknowledgement label { font-weight: 500; }
.legal-acknowledgement a { color: var(--blue); text-underline-offset: 3px; }
.legal-content { max-width: 860px; margin-block: 48px; }
.legal-header { margin-bottom: 28px; }
.legal-content section { margin-top: 34px; }
.legal-content h2 { margin-bottom: 10px; font-size: 1.35rem; }
.legal-content h3 { margin-bottom: 6px; font-size: 1.05rem; }
.legal-content p,
.legal-content li { max-width: 76ch; }
.legal-content li + li { margin-top: 7px; }
.legal-content address { font-style: normal; }
.legal-table-wrap { margin-top: 18px; }
.legal-table-wrap td { white-space: normal; vertical-align: top; }
.inline-contact { display: inline-block; }
.admin-header .header-inner { min-height: 28px; }
.admin-header .container {
    width: 100%;
    padding: 0 40px;
}
.admin-header .actions .link {
    border: 1px solid var(--line);
    font-size: 13px;
    padding: 0 10px;
    background: var(--white);
    color: var(--ink);
}
.admin-quick-actions { display: flex; flex: 1; gap: 10px; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 65px); }
.sidebar { display: flex; flex-direction: column; padding: 20px 0; border-inline-end: 1px solid var(--line); background: var(--white); color: var(--ink); }
.sidebar a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: start;
}
.sidebar a:hover {
    color: var(--blue);
    background: var(--paper);
}
.sidebar-footer { width: 100%; margin-top: auto; }
.sidebar-logo { height: 30px; display: inline-flex; padding: 0 !important; width: 100px; }
.bvd-logo { display: block; width: 100%; height: auto; }
.bvd-logo #logo-letter { fill: var(--logo-letter-color); }
.sidebar-signature { padding-top: 13px; border-top: 1px solid #65615b; color: #4f4b46; font-size: .76rem; letter-spacing: .015em; text-align: center; }
.sidebar-signature a { display: inline; padding: 0; text-decoration: none; }
.sidebar-signature a:hover { text-decoration: underline; text-underline-offset: 3px; }
.admin-main { overflow: auto; padding: 34px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 18px; margin: 24px 0; }
.stat strong { display: block; font-size: 2rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; }
th,
td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: start; white-space: nowrap; }
.order-product { min-width: 180px; max-width: 320px; white-space: normal; }
.order-product a { font-weight: 700; }
.actions { display: flex; align-items: center; gap: 12px;
    justify-content: space-between;
}
.admin-header .actions > a {
    font-size: 12px;
    background: var(--logo-letter-color);
    color: #fff;
    padding: 0 10px;
    border-radius: 2px;
    line-height: 30px;
    font-weight: 600;
    text-decoration: none;
}
.narrow { max-width: 620px; margin: 48px auto; }
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: #000000;
    font-size: 10px;
    color: #fff;
    line-height: 16px;
    font-weight: 600;
}
.ltr { direction: ltr; text-align: left; }

@media (max-width: 760px) {
    .product-detail,
    .checkout-grid,
    .admin-shell { grid-template-columns: 1fr; }
    .sidebar { flex-direction: row; align-items: center; gap: 18px; overflow: auto; padding: 14px 20px; }
    .sidebar-links { display: flex; gap: 18px; }
    .sidebar a { white-space: nowrap; }
    .sidebar-footer { display: flex; align-items: center; width: auto; margin-top: 0; margin-inline-start: auto; gap: 14px; flex: 0 0 auto; }
    .sidebar-signature { max-width: 110px; padding-top: 0; padding-inline-start: 14px; border-top: 0; border-inline-start: 1px solid #65615b; text-align: start; white-space: normal; }
    .stats { grid-template-columns: 1fr; }
    .admin-main { padding: 22px; }
    .hero { padding-top: 44px; }
    .summary { position: static; }
    .related-fields { grid-template-columns: 1fr; align-items: start; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
    .legal-content { margin-block: 24px; }
    .archive-mag,
    .promo-mag .promoted-card { grid-template-columns: 1fr; }

    .promo-mag .promoted-card > img{
        height: 400px;
    }
}
