

@font-face{
    font-family: "MOLOKO";
    src:
        url("../fonts/MOLOKO.woff2") format("woff2"),
        url("../fonts/MOLOKO.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

:root{
    --pink-bg: #ffdfe3;
    --pink-soft: #ffdee3;
    --pink-accent: #ff88be;

    --text: #111;
    --muted: rgba(0,0,0,.62);
    --muted2: rgba(0,0,0,.50);
    --border: rgba(0,0,0,.08);
    --border2: rgba(0,0,0,.06);

    --white: #fff;
    --radius: 22px;
    --radius-sm: 16px;

    --shadow: 0 12px 30px rgba(0,0,0,.08);
    --shadow-soft: 0 10px 22px rgba(0,0,0,.06);

    --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
    margin:0;
    font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
button, input, textarea, select{ font: inherit; }
button{ -webkit-tap-highlight-color: transparent; }

a, button, [role="button"], .btn{
    touch-action: manipulation;
}
.container{
    width:min(var(--max), calc(100% - 32px));
    margin:0 auto;
}

header{
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border2);
}

.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 14px 0;
    gap: 14px;
}

.brand{
    display:flex;
    flex-direction:column;
    gap:4px;
    line-height:1.05;
    min-width: 200px;
    flex: 0 0 auto;
    align-items:flex-start;
}

.brand-logo{
    display:inline-flex;
    align-items:center;
    height: 36px;
    font-family: "MOLOKO", "Montserrat", Arial, sans-serif;
    font-size: 36px;
    line-height: 1;
    letter-spacing: .2px;
    white-space: nowrap;
    color: var(--pink-accent);
    margin-left: -2px;
}

.brand [data-brand-tagline]{
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    padding: 0;
}

.menu{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    flex: 1 1 auto;
    min-width: 0;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: none;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}
.btn:hover{
    transform: translateY(-1px);
    border-color: rgba(0,0,0,.18);
    box-shadow: 0 10px 18px rgba(0,0,0,.06);
}
.btn:active{ transform: translateY(0); box-shadow:none; }

.btn.primary{
    background: var(--pink-accent);
    color:#fff;
    border-color: rgba(0,0,0,.0);
}
.btn.primary:hover{
    background: var(--pink-accent);
    color:#fff;
    border-color: rgba(0,0,0,.0);
}
.btn.accent{
    background: var(--pink-accent);
    color:#fff;
    border-color: rgba(0,0,0,.0);
}
.btn:disabled{
    opacity:.6;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;
}

main{ padding: 12px 0 60px; }

.reveal{
    opacity:0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-in{ opacity:1; transform:none; }

.section-title{
    margin: 28px 0 10px;
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
}
main > .section-title:first-child{
    margin-top: 14px;
}
.section-title h2{ margin:0; font-size: 22px; }
.section-title small{ color: rgba(0,0,0,.55); }

.grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.card{
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border2);
    box-shadow: var(--shadow-soft);
    padding: 18px;
    transition: box-shadow .18s ease;
    position: relative;
}
.card:hover{ transform: none; box-shadow: var(--shadow-soft); }
.no-hover:hover{
    transform: none !important;
    box-shadow: none !important;
}

.kicker{
    color: var(--pink-accent);
    font-weight: 800;
    font-size: 12px;
    letter-spacing:.2px;
}

.card h3{ margin: 8px 0 6px; font-size: 18px; }
.card p{ margin: 0; color: rgba(0,0,0,.70); }

.help{
    font-size: 11px;
    color: var(--muted2);
    line-height: 1.35;
}
.muted{ color: var(--muted); }

.hero{
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--pink-bg), #fff);
    box-shadow: var(--shadow);
    overflow:hidden;
    position:relative;
}
.hero-decor-layer{
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-inner{
    position: relative;
    z-index: 2;
}
.hero-inner{
    display:grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    padding: 28px;
    align-items: stretch;
}

.hero-copy{
    align-self: center;
}

.hero-logo{
    display:inline-flex;
    align-items:center;
    height: 92px;
    font-family: "MOLOKO", "Montserrat", Arial, sans-serif;
    font-size: 92px;
    line-height: 1;
    letter-spacing: .2px;
    white-space: nowrap;
    color: var(--pink-accent);
    margin-left: -8px; 
}

.hero h1{
    margin:0;
    font-size: 34px;
    letter-spacing: -0.4px;
}
.hero p{
    margin:10px 0 0;
    color: rgba(0,0,0,.70);
    max-width: 52ch;
}
.hero .cta{
    margin-top: 16px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.canvas-wrap{
    border-radius: calc(var(--radius) - 6px);
    background: rgba(255,255,255,.65);
    border: 1px solid var(--border2);
    box-shadow: var(--shadow-soft);
    overflow:hidden;
    min-height: 320px;
    position: relative;
}
canvas#hero3d{ width:100%; height:100%; display:block; }

.back-home{ margin-top: 18px; }

.footer{
    margin-top: 38px;
    padding: 26px 0 38px;
    background: #fff;
    border-top: 1px solid var(--border2);
}
.footer-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.social{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.icon-btn{
    width:42px;
    height:42px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.10);
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    transition: transform .18s ease;
}
.icon-btn:hover{ transform: translateY(-2px); }

.disclaimer{
    margin-top: 14px;
    color: rgba(0,0,0,.66);
    font-size: 12px;
    line-height: 1.45;
    white-space: pre-line;
}
.hr{
    height:1px;
    background: rgba(0,0,0,.06);
    margin: 14px 0;
}

.cart-btn{ position: relative; padding-right: 14px; }
.cart-badge{
    position:absolute;
    top:-6px;
    right:-6px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:999px;
    background: var(--pink-accent);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:900;
    border:2px solid #fff;
    line-height: 1;
    z-index: 2;
}
.drawer-overlay{
    position: fixed;
    inset: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 90;
}
.drawer{
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 92vw);
    background: #fff;
    border-left: 1px solid rgba(0,0,0,.08);
    box-shadow: -20px 0 50px rgba(0,0,0,.18);
    transform: translateX(102%);
    transition: transform .25s ease;
    z-index: 100;
    display:flex;
    flex-direction:column;
}
.drawer.is-open{ transform: translateX(0); }
.drawer-overlay.is-open{ opacity: 1; pointer-events: auto; background: rgba(0,0,0,.35); }
.drawer-close-floating{
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.14);
    background: #fff;
    color: #111;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.drawer-head{
    padding: 16px;
    border-bottom: 1px solid var(--border2);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
}
.drawer-head h3{ margin:0; font-size: 16px; }
.drawer-close{
    width:40px;
    height:40px;
    border-radius: 14px;
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
    font-weight:900;
    cursor:pointer;
}
.drawer-body{
    padding: 14px 16px;
    overflow:auto;
}
.drawer-foot{
    padding: 14px 16px;
    border-top: 1px solid var(--border2);
    background: #fff;
}
.drawer-foot .btn{ width: 100%; }

.cart-list{
    display:flex;
    flex-direction:column;
    gap: 10px;
}
.cart-item{
    border: 1px solid var(--border2);
    border-radius: 18px;
    padding: 10px;
    display:flex;
    gap: 10px;
    align-items:center;
}
.cart-item-img{
    width:64px;
    height:64px;
    border-radius: 16px;
    background: var(--pink-soft);
    border:1px solid var(--border2);
    background-size: cover;
    background-position: center;
    flex: 0 0 auto;
}
.cart-item-title{
    font-weight: 800;
    font-size: 13px;
    margin:0 0 4px;
}
.cart-item-meta{
    font-size: 12px;
    color: rgba(0,0,0,.65);
}
.cart-item-actions{
    margin-left:auto;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap: 6px;
}
.cart-remove{
    border:none;
    background: transparent;
    color: rgba(0,0,0,.55);
    cursor:pointer;
    font-weight: 800;
}
.cart-total{
    margin: 12px 0 0;
    font-weight: 900;
    font-size: 14px;
}

.form{
    margin-top: 12px;
    display:flex;
    flex-direction:column;
    gap: 10px;
}
.field{
    display:flex;
    flex-direction:column;
    gap: 6px;
}
.label{
    font-weight: 900;
    font-size: 12px;
}
.req{ color: var(--pink-accent); margin-left: 3px; }

.input, .textarea, .select{
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    padding: 12px 12px;
    font-weight: 700;
    outline: none;
}
.textarea{ min-height: 110px; resize: vertical; }

.input:focus, .textarea:focus, .select:focus{
    border-color: rgba(255,136,190,.60);
    box-shadow: 0 0 0 3px rgba(255,136,190,.18);
}
.input.is-invalid, .textarea.is-invalid, .select.is-invalid{
    border-color: #e5484d !important;
    box-shadow: 0 0 0 3px rgba(229,72,77,.15);
}
[data-req-field].is-invalid{
    border: 1px solid #e5484d !important;
    box-shadow: 0 0 0 3px rgba(229,72,77,.12);
    border-radius: 16px;
    padding: 8px;
}
.field.is-invalid{
    border: 1px solid #e5484d;
    border-radius: 14px;
    padding: 8px;
}

.gift-stage-checkout .field.is-invalid{
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.check{
    display:flex;
    gap: 10px;
    align-items:center;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,222,227,.35);
}
.check input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 6px;
    border: 1.5px solid rgba(255,136,190,.72);
    background: #fff;
    cursor: pointer;
    flex: 0 0 auto;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}
.check input[type="checkbox"]:checked{
    background-color: var(--pink-accent);
    border-color: var(--pink-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.4 6.4 12 13 4'/%3E%3C/svg%3E");
}
.check input[type="checkbox"]:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,136,190,.24);
}
.check small{
    display: block;
    color: rgba(0,0,0,.60);
    font-size: 11px;
    line-height: 1.35;
}
.check a{
    text-decoration: underline;
    text-decoration-color: rgba(255,136,190,.55);
}
.check.is-invalid{
    border-color: #e5484d !important;
    box-shadow: 0 0 0 3px rgba(229,72,77,.12);
}

.builder-model-native{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.builder-model-carousel{
    margin-top: 8px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 220px);
    gap: 10px;
    overflow-x: auto;
    padding: 6px 8px 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: 0;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.builder-model-carousel::-webkit-scrollbar{
    display: none;
}
.builder-model-card{
    position: relative;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    padding: 0;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
    box-shadow: none;
    transition: box-shadow .22s ease, filter .22s ease;
    transform: none;
    -webkit-tap-highlight-color: transparent;
}
.builder-model-card:hover{
    transform: none;
    filter: brightness(1.01);
    box-shadow: none;
}
.builder-model-card:active{
    transform: none;
    filter: brightness(1);
}
.builder-model-card.is-active{
    box-shadow: none;
}
.builder-model-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 0 solid transparent;
    pointer-events: none;
    z-index: 3;
}
.builder-model-card.is-active::before{
    border: 2px solid var(--pink-accent);
}
.builder-model-image{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.builder-model-image--empty{
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(135deg, #fff3f8 0%, #ffe3ef 100%);
    color: rgba(0,0,0,.45);
    font-size: 12px;
    font-weight: 700;
}
.builder-model-card::after{
    content:"";
    position:absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.40) 100%);
    pointer-events:none;
}
.builder-model-title{
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 4;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-align: left;
    max-width: calc(100% - 20px);
}
.builder-model-pick{
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.92);
    background: rgba(255,255,255,.95);
    color: var(--pink-accent);
    font-size: 12px;
    font-weight: 800;
}
.builder-model-card.is-active .builder-model-pick{
    background: var(--pink-accent);
    color: #fff;
    border-color: transparent;
}
.builder-decor-head{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:10px;
}
.builder-help-pop{
    position:relative;
    z-index: 520;
}
.builder-help-pop[open]{
    z-index: 980;
}
.builder-help-pop > summary{
    list-style:none;
    width:24px;
    height:24px;
    border-radius:999px;
    border:1px solid rgba(255,136,190,.65);
    color: var(--pink-accent);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    user-select:none;
    background:#fff;
}
.builder-help-pop > summary::-webkit-details-marker{
    display:none;
}
.builder-help-pop-inner{
    position:absolute;
    top: calc(100% + 8px);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 560;
    width: max-content;
    max-width: calc(100vw - 24px);
    border:0;
    border-radius:9px;
    background:#fff;
    box-shadow:0 10px 24px rgba(0,0,0,.14);
    padding:8px;
}
.builder-help-photo{
    width:100%;
    aspect-ratio:4/5;
    border-radius:0;
    background:#fff center/contain no-repeat;
    border:0;
}
.builder-help-collage{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:8px;
}
.builder-help-photo-wrap{
    display:flex;
    flex-direction:column;
    width:130px;
    gap:6px;
}
.builder-help-photo-cap{
    font-size:12px;
    line-height:1.2;
    color: rgba(0,0,0,.6);
    text-align:center;
}
.builder-help-title{
    margin-top:8px;
    text-align:center;
    color: var(--pink-accent);
    font-size:12px;
    font-weight:700;
}
.builder-help-photo--before{
    background-image:url('/assets/img/builder-help/before.png');
}
.builder-help-photo--bag{
    background-image:url('/assets/img/builder-help/after-woven-flower.png');
}
.builder-help-photo--side{
    background-image:url('/assets/img/builder-help/after-side-tassels.png');
}
.builder-help-photo--pins{
    background-image:url('/assets/img/builder-help/pins.png');
}
.builder-help-photo--flower-1{
    background-image:url('/assets/img/builder-help/flower_1.png');
}
.builder-help-photo--flower-2{
    background-image:url('/assets/img/builder-help/flower_2.png');
}
.builder-decor-head--hint-only{
    justify-content: flex-end;
    margin-top: 6px;
}
#builderDynamicSteps > div + div{
    margin-top: 16px;
}
.builder-swatch-grid{
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px 5px;
}
.builder-picker-actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
}
.builder-picker-selected{
    font-size: 12px;
    color: rgba(0,0,0,.62);
    line-height: 1.35;
}
.builder-picker-toggle{
    padding: 7px 12px;
    font-size: 12px;
}
.builder-swatch{
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: stretch;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
    overflow: hidden;
}
.builder-swatch:hover{
    transform: translateY(-1px);
    border-color: rgba(0,0,0,.22);
}
.builder-swatch.is-active{
    border-color: rgba(255,136,190,.9);
    box-shadow: 0 0 0 3px rgba(255,136,190,.18);
}
.builder-swatch-img{
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.builder-swatch-img--empty{
    display:flex;
    align-items:center;
    justify-content:center;
    background: #fff6f9;
    border: 1px dashed rgba(0,0,0,.18);
    color: rgba(0,0,0,.62);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 6px;
}
.builder-swatch-name{
    font-size: 9px;
    line-height: 1.15;
    font-weight: 700;
    color: rgba(0,0,0,.78);
    text-align: center;
    min-height: 2.05em;
    overflow: hidden;
}

#builderForm .builder-swatch,
.palette-view .builder-swatch{
    padding: 4px;
    border-radius: 8px;
    gap: 3px;
}
#builderForm .builder-swatch-img,
.palette-view .builder-swatch-img{
    border-radius: 6px;
}
#builderForm .builder-swatch-name,
.palette-view .builder-swatch-name{
    font-size: 9px;
    min-height: 2.05em;
}
.builder-swatch-grid.no-captions .builder-swatch{
    padding-bottom: 8px;
}
.builder-swatch-grid.no-captions .builder-swatch-name{
    display: none;
}
.field.is-collapsed .builder-swatch{
    display: none;
}
.field.is-collapsed .builder-swatch.is-active{
    display: flex;
}
.palette-view .builder-swatch{
    cursor: default;
}
.palette-view .builder-swatch:hover{
    transform: none;
    border-color: rgba(0,0,0,.12);
}
.palette-view .palette-section-title{
    margin: 0;
    color: var(--pink-accent);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
}

@media (max-width: 820px){
    .builder-model-carousel{
        grid-auto-columns: minmax(170px, 170px);
        gap: 8px;
        padding: 6px 8px 8px;
        scroll-padding-inline: 8px;
    }
    .builder-model-title{
        font-size: 12px;
        left: 8px;
        top: 8px;
    }
    .builder-model-pick{
        right: 8px;
        bottom: 8px;
        min-height: 30px;
        padding: 0 10px;
        font-size: 11px;
    }
    .builder-help-pop-inner{
        width: max-content;
        max-width: calc(100vw - 28px);
        left: auto;
        right: 0;
        transform: none;
    }
    .builder-swatch-grid{
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 3px;
    }
    .builder-swatch{
        padding: 3px;
        border-radius: 7px;
        gap: 2px;
    }
    .builder-swatch-img{
        border-radius: 5px;
    }
    .builder-swatch-name{
        font-size: 8px;
        min-height: 1.9em;
    }
    #builderForm .builder-swatch,
    .palette-view .builder-swatch{
        padding: 3px;
        border-radius: 7px;
        gap: 2px;
    }
    #builderForm .builder-swatch-img,
    .palette-view .builder-swatch-img{
        border-radius: 5px;
    }
    #builderForm .builder-swatch-name,
    .palette-view .builder-swatch-name{
        font-size: 8px;
        min-height: 1.9em;
    }
}

.catalog-controls{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
}
.catalog-adv-filter-btn{
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.catalog-adv-filter-btn > span[aria-hidden="true"]{
    font-size: 18px;
    line-height: 1;
}
.catalog-tabs, .catalog-view{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}
.catalog-filters{
    margin-top:12px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

.catalog-head-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}

.catalog-cta-builder{
    animation: catalogPulse 2.1s ease-in-out infinite;
}

@keyframes catalogPulse{
    0%{ box-shadow: 0 0 0 0 rgba(255,79,152,.35); }
    70%{ box-shadow: 0 0 0 12px rgba(255,79,152,0); }
    100%{ box-shadow: 0 0 0 0 rgba(255,79,152,0); }
}

.accessory-preview-grid{
    margin-top:10px;
    display:grid;
    gap:8px;
    grid-template-columns:repeat(4,minmax(0,1fr));
}

.accessory-preview{
    aspect-ratio:1/1;
    border-radius:10px;
    border:1px solid rgba(0,0,0,.08);
    background-color:#fff6f9;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.catalog-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pitem{
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius);
    background:#fff;
    border: 1px solid var(--border2);
    box-shadow: var(--shadow-soft);
    overflow:hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.pitem:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.pitem:has(.card-favorite-btn:hover),
.pitem:has(.card-favorite-btn:active){
    transform: none;
    box-shadow: var(--shadow-soft);
}

.pimg{
    display:block;
    height: auto;
    aspect-ratio: 4 / 5;
    background: var(--pink-soft);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pmeta{ padding: 14px; }
.ptitle{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.15em * 2);
    font-weight: 900;
    margin-top: 8px;
    line-height: 1.15;
}
.pprice{
    margin-top: 6px;
    font-weight: 900;
    color: rgba(0,0,0,.78);
}
.pactions{
    margin-top: 12px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.pitem-link{
    display:flex;
    flex-direction: column;
    flex: 1 1 auto;
    color: inherit;
    text-decoration: none;
}
.pitem-link:focus-visible{
    outline: 3px solid rgba(255,136,190,.35);
    outline-offset: 4px;
    border-radius: var(--radius);
}

.catalog-filters .input,
.catalog-filters input.input,
.catalog-filters select.input{
    font-size: 12px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 14px;
}
.catalog-filters input::placeholder{ font-size: 12px; }
.catalog-filters select option{ font-size: 12px; }

.catalog-adv-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
    z-index: 140;
}
.catalog-adv-overlay.is-open{
    opacity: 1;
    pointer-events: auto;
}
.catalog-adv-drawer{
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100dvh;
    background: #fff;
    border-left: 1px solid var(--border2);
    box-shadow: -16px 0 40px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .2s ease;
    z-index: 150;
    display: grid;
    grid-template-rows: auto 1fr auto;
}
.catalog-adv-drawer.is-open{
    transform: translateX(0);
}
.catalog-adv-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border2);
}
.catalog-adv-title{
    font-weight: 900;
    font-size: 20px;
    color: var(--pink-accent);
}
.catalog-adv-close{
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--pink-accent);
    font-size: 26px;
    line-height: 1;
}
.catalog-adv-body{
    overflow: auto;
    padding: 14px 16px 18px;
}
.catalog-adv-section{
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,136,190,.24);
}
.catalog-adv-section + .catalog-adv-section{
    margin-top: 14px;
}
.catalog-adv-subtitle{
    color: #111;
    font-weight: 800;
    font-size: 16px;
}
.catalog-price-summary{
    margin-top: 8px;
    color: var(--pink-accent);
    font-weight: 800;
}
.catalog-price-ranges{
    margin-top: 10px;
    display: grid;
    gap: 10px;
}
.catalog-price-ranges input[type="range"]{
    width: 100%;
    accent-color: var(--pink-accent);
}
.catalog-price-ranges--dual{
    position: relative;
    display: block;
    height: 26px;
    margin-top: 12px;
}
.catalog-price-ranges--dual::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    border-radius: 999px;
    background: rgba(255,136,190,.35);
}
.catalog-price-ranges--dual input[type="range"]{
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    height: 26px;
    width: 100%;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.catalog-price-ranges--dual input[type="range"]::-webkit-slider-runnable-track{
    height: 4px;
    background: transparent;
}
.catalog-price-ranges--dual input[type="range"]::-moz-range-track{
    height: 4px;
    background: transparent;
    border: 0;
}
.catalog-price-ranges--dual input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid var(--pink-accent);
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.16);
    margin-top: -6px;
    pointer-events: auto;
    cursor: pointer;
}
.catalog-price-ranges--dual input[type="range"]::-moz-range-thumb{
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid var(--pink-accent);
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.16);
    pointer-events: auto;
    cursor: pointer;
}
.catalog-price-inputs{
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.catalog-price-inputs label{
    display: grid;
    gap: 6px;
}
.catalog-price-inputs label > span{
    font-size: 12px;
    color: rgba(0,0,0,.62);
    font-weight: 700;
}
.catalog-adv-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.catalog-all-models{
    margin: 0;
}
.catalog-models-list{
    margin-top: 10px;
    display: grid;
    gap: 8px;
    max-height: 44dvh;
    overflow: auto;
    padding-right: 2px;
}
.catalog-models-list .check{
    margin: 0;
}
.catalog-models-list .check span{
    font-size: 13px;
    font-weight: 600;
}
.catalog-adv-foot{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border2);
    background: #fff;
}

.catalog-pager{
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:center;
}

.home-nav-tiles{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.home-nav-tile{
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    border: 0;
    overflow: hidden;
    text-decoration: none;
    color: #2f2a2c;
    box-shadow: var(--shadow-soft);
    transition: box-shadow .18s ease;
}

.home-nav-tile:hover{
    transform: none;
    box-shadow: var(--shadow-soft);
}

.home-nav-tile-bg{
    display: none;
}

.home-nav-tile-deco{
    display: none;
}

.home-nav-tile-deco-1{
    width: 72px;
    top: 8px;
    left: 8px;
    transform: rotate(-17deg);
}

.home-nav-tile-deco-2{
    width: 80px;
    right: 6px;
    bottom: 38px;
    transform: rotate(14deg);
}

.home-nav-tile--v2 .home-nav-tile-deco-1{
    width: 64px;
    top: 14px;
    left: auto;
    right: 16px;
    transform: rotate(18deg);
}
.home-nav-tile--v2 .home-nav-tile-deco-2{
    width: 86px;
    left: 8px;
    right: auto;
    bottom: 20px;
    transform: rotate(-14deg);
}

.home-nav-tile--v3 .home-nav-tile-deco-1{
    width: 78px;
    top: auto;
    bottom: 18px;
    left: 12px;
    transform: rotate(8deg);
}
.home-nav-tile--v3 .home-nav-tile-deco-2{
    width: 66px;
    right: 14px;
    bottom: auto;
    top: 12px;
    transform: rotate(-20deg);
}

.home-nav-tile--v4 .home-nav-tile-deco-1{
    width: 70px;
    top: 10px;
    left: 14px;
    transform: rotate(-8deg);
}
.home-nav-tile--v4 .home-nav-tile-deco-2{
    width: 92px;
    right: 2px;
    bottom: 16px;
    transform: rotate(20deg);
}

.home-nav-tile--v5 .home-nav-tile-deco-1{
    width: 84px;
    left: auto;
    right: 12px;
    top: 8px;
    transform: rotate(12deg);
}
.home-nav-tile--v5 .home-nav-tile-deco-2{
    width: 68px;
    left: 10px;
    right: auto;
    bottom: 26px;
    transform: rotate(-12deg);
}

.home-nav-tile--v6 .home-nav-tile-deco-1{
    width: 62px;
    top: auto;
    bottom: 14px;
    left: 14px;
    transform: rotate(-22deg);
}
.home-nav-tile--v6 .home-nav-tile-deco-2{
    width: 96px;
    top: 6px;
    bottom: auto;
    right: 6px;
    transform: rotate(10deg);
}

.home-nav-tile-media{
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    border: 0;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-nav-tile-title{
    position: relative;
    z-index: 2;
    padding: 14px 14px 0;
    color: var(--pink-accent);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.02;
    text-shadow:
        0 2px 8px rgba(255,255,255,.55),
        0 1px 2px rgba(0,0,0,.22);
}

.home-nav-tile-btn{
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    height: 30px;
    min-width: 98px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,136,190,.55);
    background: #fff;
    color: var(--pink-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

.home-nav-tile.is-disabled{
    cursor: default;
}

.home-nav-tile.is-disabled .home-nav-tile-btn{
    opacity: .85;
}

.product-page{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items:start;
}
.product-page > *{
    min-width: 0;
}
.product-photo{
    width:100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: var(--pink-soft);
    border: 1px solid var(--border2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.product-photo-dots{
    margin-top: 8px;
    min-height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.product-photo-dot{
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,136,190,.35);
    padding: 0;
    cursor: pointer;
}
.product-photo-dot.is-active{
    width: 9px;
    height: 9px;
    background: var(--pink-accent);
}
.product-title{
    margin: 10px 0 0;
    font-size: 26px;
    letter-spacing: -0.2px;
}
.product-price-big{
    margin-top: 10px;
    font-weight: 900;
    font-size: 20px;
}
.product-desc{
    margin-top: 10px;
    color: rgba(0,0,0,.70);
    line-height: 1.45;
    white-space: pre-line;
}
.product-section{
    margin-top: 16px;
}
.product-info-tabs{
    display: grid;
    gap: 0;
}
.product-info-tabs .accordion.card{
    margin: 0;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid rgba(255,136,190,.22);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.product-info-tabs .accordion summary .kicker{
    font-size: 16px;
}
.product-info-tabs .acc-body{
    margin-top: 8px;
    padding-top: 8px;
}
.sectionTitle{
    font-weight: 900;
    margin-top: 6px;
}
.product-page-info .sectionTitle{
    font-size: 18px;
    color: #111;
    margin: 0 0 8px;
}
.opt{ margin-top: 10px; }
.rowGap{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.row-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    row-gap: 10px;
}
.service-item{
    margin-top: 10px;
    padding-top: 8px;
}
.extras .service-item:first-child{
    border-top: 1px solid rgba(255,136,190,.22);
    padding-top: 10px;
}
.service-item + .service-item{
    border-top: 1px solid rgba(255,136,190,.22);
}
.service-item-head{
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    border: 0;
    background: transparent;
    color: var(--pink-accent);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 0;
    text-align: left;
    cursor: pointer;
}
.service-item-title-wrap{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    line-height: 1.3;
}
.service-item-title-wrap .builder-help-pop{
    flex: 0 0 auto;
}
.service-item-head.is-active{
    color: #ff5ca7;
}
.service-item-sign{
    margin-left: auto;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    color: var(--pink-accent);
}
.service-item-head--toggle .service-item-sign{
    display: none;
}
.service-item-check{
    margin-left: auto;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255,136,190,.18);
    color: var(--pink-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
}
.service-item-body{
    margin-top: 2px;
    margin-bottom: 4px;
}
.service-item-head-row{
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-item-head-row .service-item-head{
    flex: 1 1 auto;
}
.product-page .builder-help-pop-inner{
    width: max-content;
    max-width: calc(100vw - 28px);
    z-index: 200;
    background: #fff;
}
.product-page .builder-help-pop{
    z-index: 140;
}
.product-page .builder-help-pop[open]{
    z-index: 1200;
}
.service-item-summary{
    margin-top: 2px;
}
.service-picked-line{
    margin: 4px 0 4px;
    color: var(--pink-accent);
    font-size: 12px;
    font-weight: 700;
}
.service-summary-row{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 78px));
    justify-content: flex-start;
    gap: 6px;
}
.service-summary-btn{
    appearance: none;
    -webkit-appearance: none;
}
.service-card.is-compact{
    width: 78px;
    padding: 4px;
    border-radius: 10px;
}
.service-card.is-compact .service-card-name{
    font-size: 9px;
    line-height: 1.1;
}
.service-card.is-compact .service-card-img{
    border-radius: 7px;
}
.service-summary-pill{
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    outline: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    background: rgba(255,136,190,.14);
    color: var(--pink-accent);
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
}
.service-inline-action{
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,136,190,.35);
    background: #fff;
    color: var(--pink-accent);
    font-weight: 700;
    padding: 0 12px;
    cursor: pointer;
}
.service-inline-action.is-active{
    background: rgba(255,136,190,.16);
}
.service-total-box{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.18);
    display: grid;
    gap: 4px;
}
.service-subtitle{
    color: var(--pink-accent);
    font-weight: 700;
    font-size: 13px;
    margin: 6px 0 4px;
}
.service-subgroup + .service-subgroup{
    margin-top: 10px;
}
.service-row{
    margin-top: 6px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 8px 6px;
}
.service-card{
    min-width: 0;
    width: 100%;
    border: 1px solid rgba(255,136,190,.28);
    border-radius: 10px;
    background: #fff;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.service-card-img{
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 7px;
    border: 1px solid rgba(0,0,0,.08);
    background: #f6f7f9 center/cover no-repeat;
}
.service-card-name{
    font-size: 10px;
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
    color: var(--pink-accent);
    min-height: 2.2em;
    word-break: break-word;
}
.service-card.is-active{
    border-color: var(--pink-accent);
    box-shadow: 0 0 0 2px rgba(255,136,190,.24);
}

#builderForm .builder-swatch-grid,
#builderForm .service-row.builder-swatch-grid,
#builderForm .service-row{
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px 5px;
}

.builder-checkout-summary{
    margin-top: 2px;
}
.builder-checkout-list{
    display: grid;
    gap: 10px;
}
.builder-checkout-row{
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-top: 1px solid rgba(255,136,190,.22);
}
.builder-checkout-row:first-child{
    border-top: 0;
    padding-top: 0;
}
.builder-checkout-row-main{
    min-width: 0;
}
.builder-checkout-row-title{
    color: var(--pink-accent);
    font-weight: 800;
    font-size: 14px;
    line-height: 1.25;
}
.builder-checkout-row-value{
    margin-top: 4px;
    color: rgba(0,0,0,.75);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}
.builder-checkout-media{
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 82px));
    gap: 6px;
}
.builder-checkout-chip{
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 82px;
}
.builder-checkout-chip-img{
    width: 82px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 1px solid rgba(255,136,190,.28);
    background: #fff center/cover no-repeat;
}
.builder-checkout-chip-name{
    font-size: 9px;
    line-height: 1.15;
    color: var(--pink-accent);
    text-align: center;
    min-height: 2.05em;
    overflow: hidden;
}
@media (max-width: 680px){
    .builder-checkout-row{
        flex-direction: column;
        align-items: stretch;
    }
    .builder-checkout-row .btn{
        align-self: flex-start;
    }
    .builder-checkout-media{
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }
    .builder-checkout-chip{
        width: 100%;
    }
    .builder-checkout-chip-img{
        width: 100%;
        border-radius: 7px;
    }
    .builder-checkout-chip-name{
        font-size: 8px;
        min-height: 1.9em;
    }
}

.accordion{ border-radius: 16px; }
.accordion summary{
    list-style: none;
    cursor: pointer;
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap: 12px;
}
.accordion summary::-webkit-details-marker{ display:none; }
.accordion summary .kicker{
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--pink-accent);
}
.accordion summary::after{
    content: "＋";
    font-weight: 900;
    color: rgba(0,0,0,.55);
    transform: translateY(-1px);
}
.accordion[open] summary::after{ content: "—"; }
.acc-body{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border2);
}
.acc-list{
    margin: 0;
    padding-left: 18px;
    color: rgba(0,0,0,.72);
    line-height: 1.55;
}
.acc-list li{ margin: 6px 0; }

.decor-layer{
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

main{
    position: relative;
    z-index: 3;
}
footer{
    position: relative;
    z-index: 2;
}

.deco{
    position: absolute;
    left: var(--x, 10%);
    top: var(--y, 10%);
    width: var(--s, 70px);
    height: auto;
    opacity: var(--o, .16);
    transform: rotate(var(--r, 0deg));
    filter: saturate(1.05);
    user-select: none;
    image-rendering: auto;
}

@media (max-width: 920px){
    .hero-inner{ grid-template-columns: 1fr; }
    .grid{ grid-template-columns: 1fr; }
    .catalog-grid{ grid-template-columns: 1fr; }
    .footer-grid{ grid-template-columns: 1fr; }
    .product-page{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
    .container{ width: calc(100% - 24px); }

    .nav{
        align-items:flex-start;
        gap: 10px;
        padding: 12px 0;
    }

    .brand{
        min-width: 0;
        max-width: 46%;
    }
    .brand-logo{ height: 30px; font-size: 30px; }
    .brand [data-brand-tagline]{
        font-size: 11px;
        line-height: 1.2;
    }

    
    .menu{
        flex: 1 1 auto;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .menu::-webkit-scrollbar{ display:none; }
    .menu .btn[href="./catalog.html"],
    .menu .btn[href="./palette.html"],
    .menu .btn[href="./builder.html"],
    .menu .btn[href="./certificate.html"],
    .menu .btn[href="./care.html"]{
        display:none;
    }

    .btn{
        font-size: 12px;
        padding: 9px 12px;
    }

    .hero .cta{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }
    .hero .cta .btn{
        width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
        line-height: 1.15;
        padding: 9px 8px;
    }
}

@media (max-width: 520px){
    .brand{ max-width: 52%; }
    .brand-logo{ height: 27px; font-size: 27px; }
    .hero-logo{ height: 64px; font-size: 64px; margin-left: -6px; }
}

@media (max-width: 920px){
    .decor-layer .deco:nth-child(4),
    .decor-layer .deco:nth-child(5){
        display: none;
    }
}

.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.nav-left{
    display:flex;
    align-items:center;
    gap:10px;
    min-width: 0;
}

.nav-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex: 0 0 auto;
}

.menu-toggle{
    width:42px;
    height:42px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.10);
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight: 900;
    font-size: 18px;
    cursor:pointer;
}

.menu-toggle{ display:none; }

@media (max-width: 820px){
    header{
        position: sticky;
        top: 0;
        z-index: 60;
        background: #fff;                
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid var(--border2);
    }

    .menu-toggle{ display:flex; }

    .desktop-menu{ display:none; }     

    .nav{
        padding: 10px 0;
    }

    .brand{
        min-width: 0;
    }

    .brand-logo{
        height: 30px;
        font-size: 30px;
    }

    
    .brand [data-brand-tagline]{
        font-size: 11px;
        line-height: 1.2;
        white-space: normal;
        max-width: 240px;
    }

    .btn{
        padding: 9px 12px;
        font-size: 12px;
    }
}

.menu-overlay{
    position: fixed;
    inset: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 80;
}

.menu-drawer{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(320px, 88vw);
    background: #fff;
    border-right: 1px solid rgba(0,0,0,.08);
    box-shadow: 20px 0 50px rgba(0,0,0,.18);
    transform: translateX(-102%);
    transition: transform .25s ease;
    z-index: 85;
    display:flex;
    flex-direction:column;
}

.menu-overlay.is-open{
    opacity: 1;
    pointer-events: auto;
}

.menu-drawer.is-open{
    transform: translateX(0);
}

.menu-head{
    padding: 16px;
    border-bottom: 1px solid var(--border2);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
}

.menu-list{
    padding: 12px;
    display:flex;
    flex-direction:column;
    gap: 10px;
}

.menu-link{
    display:block;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,222,227,.22);
    font-weight: 800;
}

.menu-link:active{
    transform: translateY(1px);
}

.decor-layer{ z-index: 1; }
main{ position: relative; z-index: 3; }
footer{ position: relative; z-index: 2; }
header{ z-index: 60; }

.menu-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 80;
}
.menu-drawer{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(320px, 88vw);
    background: #fff;
    border-right: 1px solid rgba(0,0,0,.08);
    box-shadow: 20px 0 50px rgba(0,0,0,.18);
    transform: translateX(-102%);
    transition: transform .25s ease;
    z-index: 85;
    display:flex;
    flex-direction:column;
}
.menu-overlay.is-open{ opacity: 1; pointer-events: auto; background: rgba(0,0,0,.35); }
.menu-drawer.is-open{ transform: translateX(0); }

.menu-head{
    padding: 12px 12px 8px;
    display:flex;
    justify-content:flex-end;
    border-bottom: 1px solid var(--border2);
}

.menu-list{
    padding: 12px;
    display:flex;
    flex-direction:column;
    gap: 10px;
}

.menu-btn{
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 16px;
}

.menu-btn:hover{
    transform: none;                 
    box-shadow: none;
    border-color: rgba(0,0,0,.14);
}

.menu-btn:active{
    transform: translateY(1px);
}

.burger-btn{
    padding: 10px 12px;
    border-radius: 999px;
}
.burger-icon{
    display:inline-block;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px);
}

.menu-overlay{
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h, 64px);
    bottom: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 80;
}

.menu-drawer{
    position: fixed;
    left: 0;
    top: var(--header-h, 64px);
    height: calc(100dvh - var(--header-h, 64px));
    width: min(320px, 88vw);
    background: #fff;
    border-right: 1px solid rgba(0,0,0,.08);
    box-shadow: 20px 0 50px rgba(0,0,0,.18);
    transform: translateX(-102%);
    transition: transform .25s ease;
    z-index: 85;
    display:flex;
    flex-direction:column;
    overflow:auto;
}

.menu-overlay.is-open{ opacity: 1; pointer-events: auto; background: rgba(0,0,0,.28); }
.menu-drawer.is-open{ transform: translateX(0); }

.menu-list{
    padding: 12px;
    display:flex;
    flex-direction:column;
    gap: 10px;
}
.menu-btn{
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 16px;
}
.menu-btn:hover{ transform:none; box-shadow:none; }

@media (max-width: 820px){
    header{ position: sticky; top: 0; z-index: 200; background: #fff; backdrop-filter:none; -webkit-backdrop-filter:none; }

    .nav{
        display:grid;
        grid-template-columns: auto 1fr auto;
        align-items:center;
        gap: 10px;
        padding: 12px 0;
        background:#fff;
    }

    .brand{ min-width:0; }
    .brand span{ display:block; }

    
    .menu{
        justify-content:flex-end;
        flex-wrap:nowrap;
        gap: 8px;
    }

    
    .menu .btn[href="./catalog.html"],
    .menu .btn[href="./palette.html"],
    .menu .btn[href="./builder.html"],
    .menu .btn[href="./certificate.html"],
    .menu .btn[href="./care.html"]{
        display:none;
    }

    .btn{ font-size: 12px; padding: 9px 12px; }
}

.nav-left{
    display:flex;
    align-items:center;
    gap: 10px;
    min-width: 0;
}

.burger-btn{ display:none; }
.burger-icon{
    display:inline-block;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px);
}

@media (max-width: 820px){
    .burger-btn{ display:inline-flex; } 

    
    header{
        position: sticky;
        top: 0;
        z-index: 200;
        background: #fff;
        backdrop-filter:none;
        -webkit-backdrop-filter:none;
    }

    .nav{
        display:flex;                 
        align-items:center;
        justify-content:space-between;
        gap: 10px;
        padding: 12px 0;
        background:#fff;
    }

    .brand{ min-width:0; }
    .brand span{ display:block; }

    
    .menu .btn[href="./catalog.html"],
    .menu .btn[href="./palette.html"],
    .menu .btn[href="./builder.html"],
    .menu .btn[href="./certificate.html"],
    .menu .btn[href="./care.html"]{
        display:none;
    }

    .menu{
        display:flex;
        align-items:center;
        justify-content:flex-end;
        gap: 8px;
        flex-wrap:nowrap;
    }

    .btn{ font-size: 12px; padding: 9px 12px; }
}

@media (max-width: 820px){
    .menu a.btn[href$=".html"]{
        display: none !important;
    }
}
@media (max-width: 820px){

    
    .nav{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap: 10px;
    }

    
    .nav-left{
        flex: 1 1 auto;
        min-width: 0;               
    }

    
    .menu{
        flex: 0 0 auto;
        min-width: max-content;
        gap: 8px;
        flex-wrap: nowrap;
    }

    
    .menu .btn.accent[data-link-tg]{
        padding: 8px 10px;
        font-size: 12px;
    }

    
    .menu .cart-btn{
        padding: 8px 10px;
    }
}
.footer-social{
    display:flex;
    flex-direction:column;
    align-items:flex-start; 
    gap: 12px;
}

.footer-policy .btn{
    width: auto;
}

:root{
    --header-h: 0px;
}

.drawer-overlay{
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 90;
}

.drawer{
    position: fixed;
    right: 0;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    width: min(420px, 92vw);
    background: #fff;
    border-left: 1px solid rgba(0,0,0,.08);
    box-shadow: -20px 0 50px rgba(0,0,0,.18);
    transform: translateX(102%);
    transition: transform .25s ease;
    z-index: 100;
    display:flex;
    flex-direction:column;
}

.drawer.is-open{ transform: translateX(0); }
.drawer-overlay.is-open{ opacity: 1; pointer-events: auto; }

@media (min-width: 821px){
    .drawer-overlay{ top: 0; }
    .drawer{ top: 0; height: 100dvh; width: min(50vw, 860px); }
}
.drawer-head{
    padding: 10px 16px;
    border-bottom: 1px solid var(--border2);
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap: 10px;
    min-height: 0;
}
.footer-top{
    display:flex;
    flex-direction: column;
    align-items: center;     
    text-align: center;
    gap: 10px;
}

.social{
    justify-content: center; 
}

.footer-policy{
    width: fit-content;
    max-width: 100%;
}
.footer-legal-links{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    justify-content: center;
}
.footer-legal-link{
    color: rgba(0,0,0,.62);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-legal-link:hover{
    color: var(--pink-accent);
}
.footer-dev-link-wrap{
    margin-top: 8px;
}
.footer-dev-link{
    color: rgba(0,0,0,.62);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-dev-link:hover{
    color: var(--pink-accent);
}

.disclaimer{
    text-align: center;      
    margin-top: 14px;
}

.drawer-body{
    padding-bottom: 14px;
}
.drawer-foot{
    padding-bottom: 14px;
}

@media (max-width: 820px) and (hover: none) and (pointer: coarse){
    .drawer{
        height: calc(100dvh - var(--header-h));
    }
    html.ios-safari .drawer.is-open .drawer-body{
        padding-bottom: 14px;
    }
    html.ios-safari .drawer.is-open .drawer-foot{
        padding-bottom: 14px;
    }
    html.ios-safari .drawer.is-open::after{
        content: "";
        display: block;
        flex: 0 0 auto;
        min-height: env(safe-area-inset-bottom);
        background: #fff;
    }
    html.ios-safari .menu-drawer.is-open::after{
        content: "";
        display: block;
        min-height: env(safe-area-inset-bottom);
        background: #fff;
    }
}

@media (max-width: 820px){
    .footer-policy{
        width: 100%;           
    }
    .footer-legal-links{
        width: 100%;
        justify-content: center;
    }
}
.btn{ color: var(--text); }
a.btn{ color: var(--text); }
button.btn{ color: var(--text); }

button, input, select, textarea{
    -webkit-text-fill-color: currentColor;
}

a:visited{ color: inherit; }

.cart-icon,
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-icon img {
    width: 26px;
    height: 26px;
    display: block;
}

.icon-btn img {
    width: 32px;
    height: 32px;
    display: block;
}

.cart-btn .cart-icon {
    width: 22px;
    height: 22px;
}

.footer-center{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.footer .footer-social{
    display:flex !important;
    flex-direction:row !important;
    align-items:center;
    justify-content:center;
    gap: 14px;
    width:100%;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

.footer .social-ico{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width: 54px;
    height: 54px;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    border-radius: 0;
}

.footer .social-ico img{
    width: 54px;
    height: 54px;
    display:block;
    object-fit: contain;
}

.footer .footer-policy-btn{
    margin-top: 12px;
    width: auto;
    max-width: 100%;
}

@media (max-width: 820px){
    .footer .social-ico{ width: 58px; height: 58px; }
    .footer .social-ico img{ width: 58px; height: 58px; }
}

.canvas-wrap{
    position: relative;
    overflow: hidden;
}

canvas#hero3d{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    -webkit-tap-highlight-color: transparent;
}

.canvas-wrap{
    width: 100%;
    aspect-ratio: 1 / 1;            
    border-radius: calc(var(--radius) - 6px);
    background: rgba(255,255,255,.65);
    border: 1px solid var(--border2);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

#hero3d{
    width: 100%;
    height: 100%;
    display: block;
}

.hero-decor-layer .deco-1{
    left: 200px;
    top: 360px;
    width: 64px;
    opacity: .50;
    transform: rotate(-40deg);
}

.hero-decor-layer .deco-2{
    left: 26px;
    top: 30px;
    width: 92px;
    opacity: .50;
    transform: rotate(10deg);
}

.hero-decor-layer .deco-3{
    left: 50%;
    top: 40px;
    width: 70px;
    opacity: .50;
    transform: translateX(-10%) rotate(35deg);
}

.hero-decor-layer .deco-4{
    left: 200px;
    top: 50px;
    width: 50px;
    opacity: .50;
    transform: rotate(-35deg);
}

.hero-decor-layer .deco-5{
    left: 50%;
    top: 300px;
    width: 125px;
    opacity: .50;
    transform: translateX(-90%) rotate(35deg);
}

@media (max-width: 820px){
    .hero-decor-layer .deco-2{
        left: 281px; top: 146px; width: 54px; opacity: .50;
    }
    .hero-decor-layer .deco-3{
        left: auto; right: 10px; top: 10px;
        width: 46px; opacity: .50;
        transform: rotate(25deg);
    }
    .hero-decor-layer .deco-4{
        right: 200px; top: 200px; width: 44px; opacity: .50;
    }
    .hero-decor-layer .deco-5{
        display:none; 
    }
}
.canvas-wrap.hero-media{
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; 
    height: calc(100% + 56px);
    min-height: calc(100% + 56px);
    margin-top: -28px;
    margin-bottom: -28px;
    align-self: stretch;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-gif{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   
    display: block;
}

#hero3d{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-catalog-wall{
    position:absolute;
    inset:0;
    padding:0;
}

.hero-wall-grid{
    width:100%;
    height:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
}

.hero-wall-col{
    position:relative;
    overflow:hidden;
    border-radius:0;
    border:none;
    background:transparent;
}

.hero-wall-inner{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:8px;
    min-height:200%;
}

.hero-wall-inner.is-up{
    animation: heroWallUp var(--hero-col-duration, 110s) linear infinite;
}

.hero-wall-inner.is-down{
    animation: heroWallDown var(--hero-col-duration, 110s) linear infinite;
}

.hero-wall-card{
    border-radius:12px;
    border:1.5px solid rgba(231,104,154,.98);
    background:#fff;
    padding:0;
    box-shadow:0 4px 10px rgba(231,104,154,.16);
    overflow:hidden;
    backface-visibility:hidden;
    transform:translateZ(0);
}

.hero-wall-img{
    display:block;
    width:100%;
    aspect-ratio:4/5;
    border-radius:0;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    background-color:transparent;
    transform:scale(1.03);
    transform-origin:center;
}

.hero-wall-empty{
    position:absolute;
    inset:10px;
    border-radius:14px;
    border:1px dashed rgba(0,0,0,.16);
    color:rgba(0,0,0,.58);
    font-size:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:14px;
    background:#fff7fa;
}

@keyframes heroWallUp{
    from { transform: translateY(0); }
    to { transform: translateY(calc(-50% - 4px)); }
}

@keyframes heroWallDown{
    from { transform: translateY(calc(-50% - 4px)); }
    to { transform: translateY(0); }
}

@media (max-width: 560px){
    .hero-catalog-wall{ padding:0; }
    .hero-wall-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
    }
    .hero-wall-inner{ gap:7px; padding:7px; }
}

@media (max-width: 920px){
    .hero-inner{
        align-items: center;
    }
    .hero-copy{
        align-self: auto;
    }
    .canvas-wrap.hero-media{
        aspect-ratio: auto;
        height: 164px;
        min-height: 164px;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: -28px;
        margin-right: -28px;
        width: calc(100% + 56px);
        align-self: stretch;
    }

    .hero-catalog-wall{
        position: absolute;
        inset: 0;
    }

    .hero-wall-mobile{
        width: 100%;
        height: 100%;
        overflow: hidden;
        padding: 0;
        pointer-events: none;
    }

    .hero-wall-mobile-row{
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .hero-wall-mobile-track{
        width: max-content;
        height: 100%;
        display: flex;
        gap: 8px;
    }
    .hero-wall-mobile-row.is-left .hero-wall-mobile-track{
        animation: heroWallMobileLeft var(--hero-mobile-duration, 30s) linear infinite;
    }
    .hero-wall-mobile-row.is-right .hero-wall-mobile-track{
        animation: heroWallMobileRight var(--hero-mobile-duration, 30s) linear infinite;
    }

    .hero-wall-mobile .hero-wall-card{
        flex: 0 0 112px;
        height: 100%;
        min-height: 0;
        display: flex;
    }

    .hero-wall-mobile .hero-wall-img{
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        transform: scale(1.03);
        transform-origin: center;
    }

    .hero-wall-ios-static{
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        align-items: stretch;
    }
    .hero-wall-ios-static .hero-wall-card{
        height: 100%;
        min-height: 0;
        border-radius: 10px;
        overflow: hidden;
        display: flex;
    }
    .hero-wall-ios-static .hero-wall-img{
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        transform: none;
    }
}

@keyframes heroWallMobileLeft{
    from { transform: translateX(0); }
    to { transform: translateX(calc(var(--hero-mobile-shift, 0px) * -1)); }
}
@keyframes heroWallMobileRight{
    from { transform: translateX(calc(var(--hero-mobile-shift, 0px) * -1)); }
    to { transform: translateX(0); }
}

.city-suggest{
    margin-top: 8px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    overflow: hidden;
}
.city-suggest-item{
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    display:flex;
    flex-direction:column;
    gap: 3px;
    color: #111;
    -webkit-text-fill-color: #111;
}
.city-suggest-item:hover{
    background: rgba(255,222,227,.35);
}
.city-suggest-item b{
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
}
.city-suggest-item .muted{
    color: rgba(0,0,0,.62) !important;
    -webkit-text-fill-color: rgba(0,0,0,.62) !important;
}

.drawer .select,
.drawer select,
.drawer select option{
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
}

.reviews-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}
.reviews-col{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.review-card{
    padding: 12px;
    margin: 0;
}
.review-media-grid{
    display: grid;
    gap: 8px;
    margin-top: 10px;
}
.review-media-grid--1{
    grid-template-columns: minmax(0, 1fr);
}
.review-media-grid--2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.review-media-grid--3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.review-media-grid--4{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.review-media-grid--5{
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.review-media-grid--5 .review-media{
    grid-column: span 2;
}
.review-media-grid--5 .review-media:nth-child(4){
    grid-column: 2 / span 2;
}
.review-media-grid--5 .review-media:nth-child(5){
    grid-column: 4 / span 2;
}
.review-media-grid--6{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.review-media{
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    border: 1px solid rgba(255,136,190,.24);
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 0;
}
.review-head{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.review-author{
    color: var(--pink-accent);
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
}
.review-date{
    color: rgba(0,0,0,.56);
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}
.review-text{
    margin-top: 8px;
    color: rgba(0,0,0,.78);
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}
@media (max-width: 1100px){
    .reviews-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.legal-doc-nav .btn{
    background: transparent;
    border-color: rgba(0,0,0,.08);
    justify-content: flex-start;
}
.legal-doc-text{
    margin: 10px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(0,0,0,.78);
}

@media (max-width: 820px){
    .service-row{
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 4px;
    }
    .service-summary-row{
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 4px;
    }
    .service-card{
        padding: 4px;
        border-radius: 8px;
        gap: 3px;
    }
    .service-card-img{
        border-radius: 6px;
    }
    .service-card-name{
        font-size: 9px;
        min-height: 2.05em;
    }

    #builderForm .builder-swatch-grid,
    #builderForm .service-row.builder-swatch-grid,
    #builderForm .service-row{
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 3px;
    }

    .home-nav-tiles{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-nav-tile-title{
        font-size: 18px;
        padding: 10px 10px 0;
    }

    .home-nav-tile-btn{
        right: 10px;
        bottom: 10px;
        min-width: 78px;
        height: 28px;
        padding: 0 12px;
        font-size: 12px;
    }

    .catalog-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .reviews-grid{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .accessory-preview-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .pitem{
        border-radius: 14px;
    }

    .catalog-grid .pitem{
        transition: none;
    }
    .catalog-grid .pitem:hover,
    .catalog-grid .pitem:active{
        transform: none;
        box-shadow: var(--shadow-soft);
    }

    .pimg{
        height: auto;
        aspect-ratio: 4 / 5;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #fff7f8;
    }

    .pmeta{
        padding: 10px;
    }

    .ptitle{
        font-size: 13px;
        line-height: 1.2;
        margin-top: 6px;
        min-height: calc(1.2em * 2);
    }

    .pprice{
        margin-top: 4px;
        font-size: 13px;
    }

    .pillRow .pill{
        font-size: 10px;
        padding: 4px 7px;
    }

    .pactions{
        margin-top: 8px;
    }

    .pactions .btn{
        width: 100%;
        justify-content: center;
        padding: 8px 10px;
        font-size: 12px;
    }
}

.gift-section{
    padding: 20px;
}
.gift-page-title h2{
    color: var(--pink-accent);
}
.gift-wizard{
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}
.gift-wizard-head{
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.gift-head-row{
    width: 100%;
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    gap: 10px;
}

.icon-only-btn{
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 999px;
    font-size: 22px;
    line-height: 1;
}
.icon-only-btn img,
.icon-only-btn span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
}
.message-btn{
    color: var(--pink-accent);
}
.favorite-nav-btn{
    color: var(--pink-accent);
}

.product-price-big{
    color: var(--pink-accent);
}
.product-actions-row{
    display: flex;
    align-items: center;
    gap: 10px;
}
.product-cart-btn{
    min-height: 50px;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 800;
    color: var(--pink-accent);
    border: 2px solid var(--pink-accent);
    background: #fff;
    width: 80%;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.product-favorite-btn{
    width: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 999px;
    font-size: 28px;
    color: var(--pink-accent);
    border: 2px solid var(--pink-accent);
    background: #fff;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.product-cart-btn:hover,
.product-cart-btn:focus-visible,
.product-cart-btn:active{
    background: var(--pink-accent);
    color: #fff;
    border-color: var(--pink-accent);
}
.product-favorite-btn:hover,
.product-favorite-btn:focus-visible,
.product-favorite-btn:active{
    background: var(--pink-accent);
    color: #fff;
    border-color: var(--pink-accent);
}
.product-favorite-btn.is-active{
    color: #fff;
    background: var(--pink-accent);
}

.pitem{
    position: relative;
}
.card-favorite-btn{
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 10px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255,136,190,.62);
    background: rgba(255,255,255,.92);
    color: var(--pink-accent);
    font-size: 24px;
    line-height: 1;
}
.card-favorite-btn.is-active{
    background: var(--pink-accent);
    color: #fff;
}
.card-favorite-btn:active{
    transform: scale(.92);
}

@media (max-width: 820px){
    .product-actions-row{
        margin-top: 10px;
    }

    .product-cart-btn{
        width: 80%;
        min-height: 48px;
    }

    .product-favorite-btn{
        width: 48px;
        min-width: 48px;
        min-height: 48px;
        font-size: 28px;
    }
}

.menu .message-btn,
.menu .favorite-nav-btn,
.menu .cart-btn{
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 999px;
    color: var(--pink-accent);
}
.menu .message-btn:hover,
.menu .favorite-nav-btn:hover,
.menu .cart-btn:hover{
    transform: none;
    border: 0 !important;
    box-shadow: none !important;
}
.menu .message-btn:active,
.menu .favorite-nav-btn:active,
.menu .cart-btn:active{
    transform: scale(.92);
    opacity: .72;
}
.menu .cart-btn .cart-icon{
    width: 28px;
    height: 28px;
}
.menu .cart-btn{
    overflow: visible;
}
.menu .cart-btn .cart-badge{
    top: 1px;
    right: -2px;
    min-width: 20px;
    height: 22px;
    font-size: 10px;
    padding: 1px 5px 1px;
    line-height: 1;
}
.menu .favorite-nav-btn img{
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}
.menu .message-btn img{
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.burger-btn{
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--pink-accent);
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
}
.burger-btn:hover{
    transform: none;
    border: 0 !important;
    box-shadow: none !important;
}
.burger-icon{
    color: var(--pink-accent);
    font-size: 24px;
}
.burger-icon.is-close{
    font-size: 30px;
    font-weight: 700;
}
.cart-icon.is-close{
    font-size: 30px;
    line-height: 1;
    color: var(--pink-accent);
}

.favorites-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom: 10px;
}
.favorites-title{
    font-size: 22px;
    font-weight: 900;
    color: var(--pink-accent);
}
.favorites-close-btn{
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
    border-radius: 0;
    border: 0;
    color: var(--pink-accent);
    background: transparent;
    font-size: 30px;
    line-height: 0.95;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: none;
}

@media (max-width: 820px) and (hover: none) and (pointer: coarse){
    html.ios-safari .drawer-overlay,
    html.ios-safari .menu-overlay,
    html.ios-safari .catalog-adv-overlay{
        background: transparent !important;
        transition: none !important;
        visibility: hidden;
    }
    html.ios-safari .drawer-overlay.is-open,
    html.ios-safari .menu-overlay.is-open,
    html.ios-safari .catalog-adv-overlay.is-open{
        background: transparent !important;
        visibility: visible;
    }
    html.ios-safari .drawer.is-open,
    html.ios-safari .menu-drawer.is-open,
    html.ios-safari .catalog-adv-drawer.is-open{
        background: #fff;
        padding-bottom: env(safe-area-inset-bottom);
    }
    html.ios-safari .drawer.is-open::after,
    html.ios-safari .menu-drawer.is-open::after,
    html.ios-safari .catalog-adv-drawer.is-open::after{
        content: none !important;
    }
}
.favorites-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.favorites-item{
    border: 1px solid var(--border2);
    border-radius: 14px;
    padding: 8px;
    background:#fff;
}
.favorites-item-link{
    display:grid;
    grid-template-columns: 70px 1fr;
    gap:10px;
    align-items:center;
    color:inherit;
}
.favorites-item-img{
    width: 70px;
    aspect-ratio: 4/5;
    border-radius: 10px;
    background: var(--pink-soft) center/cover no-repeat;
}

.cookie-consent{
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    width: min(520px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,.16);
    padding: 14px 14px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    align-items: end;
    transition: opacity .2s ease, transform .2s ease;
}
.cookie-consent.is-hide{
    opacity: 0;
    transform: translateY(8px);
}
.cookie-consent-text{
    grid-column: 1 / 3;
    color: rgba(0,0,0,.78);
    font-size: 12px;
    line-height: 1.45;
    padding-right: 24px;
}
.cookie-consent-text a{
    color: #121212;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-consent-btn{
    height: 36px;
    min-width: 120px;
    padding: 0 16px;
    border-radius: 999px;
    border: 0;
    background: #121212;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
}
.cookie-consent-close{
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #121212;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 820px){
    .cookie-consent{
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        border-radius: 14px 14px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
}
.favorites-item-title{
    font-weight: 800;
    line-height: 1.2;
}
.favorites-item-price{
    margin-top: 4px;
    color: var(--pink-accent);
    font-weight: 800;
}
.favorites-item-actions{
    margin-top: 8px;
    display:flex;
    gap:8px;
}
.favorites-mini-btn{
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
}
.favorites-mini-btn.danger{
    border-color: rgba(255,90,90,.45);
    color: #b34055;
}
.gift-wizard-title{
    margin: 0;
    font-size: 20px;
    text-align: center;
}

@media (max-width: 820px){
    .catalog-controls{
        align-items: stretch;
    }
    .catalog-adv-filter-btn{
        width: 100%;
        justify-content: center;
    }
    .catalog-adv-drawer{
        top: var(--header-h, 64px);
        height: calc(100dvh - var(--header-h, 64px));
        width: min(360px, 86vw);
    }
    .catalog-adv-body{
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .catalog-adv-overlay{
        top: var(--header-h, 64px);
    }
}
.gift-head-btn{
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
}
.gift-head-btn svg{
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}
.gift-steps{
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--gift-steps-count, 3), minmax(0, 1fr));
    align-items: center;
    gap: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,.1);
}
.gift-step-tab{
    appearance: none;
    width: 100%;
    height: 34px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    color: rgba(0,0,0,.55);
    cursor: pointer;
    transition: color .15s ease;
}
.gift-step-tab.is-active{
    color: #111;
}
.gift-step-tab.is-disabled{
    color: rgba(0,0,0,.35);
    cursor: not-allowed;
}
.gift-steps-indicator{
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(100% / var(--gift-steps-count, 2));
    height: 2px;
    border-radius: 99px;
    background: var(--pink-accent);
    transform: translateX(var(--gift-step-x, 0%));
    transition: transform .2s ease;
}
.gift-preview{
    display: grid;
    gap: 10px;
    justify-items: center;
    margin-bottom: 14px;
    perspective: 1200px;
}
.gift-preview-stack{
    position: relative;
    width: 100%;
    max-width: 760px;
    transform-style: preserve-3d;
}
.gift-stack-glow{
    display: none !important;
}
.gift-stack-card{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 14px 32px rgba(0,0,0,.16);
    pointer-events: none;
    z-index: 1;
    transform-origin: center center;
}
.gift-stack-card.is-left-far{
    transform: translate3d(-8%, 0, -60px) scale(.89) rotate(-8deg);
    opacity: .52;
}
.gift-stack-card.is-left-near{
    transform: translate3d(-4.6%, 0, -34px) scale(.94) rotate(-4.6deg);
    opacity: .72;
}
.gift-stack-card.is-right-near{
    transform: translate3d(4.6%, 0, -34px) scale(.94) rotate(4.6deg);
    opacity: .72;
}
.gift-stack-card.is-right-far{
    transform: translate3d(8%, 0, -60px) scale(.89) rotate(8deg);
    opacity: .52;
}
.gift-preview-stack:not(.is-stage-design) .gift-stack-card,
.gift-preview-stack:not(.is-stage-design) .gift-flip-overlay{
    display: none !important;
}
.gift-flip-overlay{
    position: absolute;
    inset: 0;
    z-index: 4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
}
.gift-active-card{
    position: relative;
    z-index: 3;
}
.gift-canvas{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: 0 16px 36px rgba(0,0,0,.2);
    transform-style: preserve-3d;
    transition: transform .06s ease-out;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: center center;
}
.gift-preview-stack.is-flipping-next .gift-flip-overlay{
    animation: giftFlipOverlayNext .32s ease forwards;
}
.gift-preview-stack.is-flipping-prev .gift-flip-overlay{
    animation: giftFlipOverlayPrev .32s ease forwards;
}
.gift-active-card.is-enter-next{
    animation: giftEnterFromRight .32s ease;
}
.gift-active-card.is-enter-prev{
    animation: giftEnterFromLeft .32s ease;
}
@keyframes giftFlipOverlayNext{
    0%{ opacity: 1; transform: translateX(0) scale(1); }
    100%{ opacity: 0; transform: translateX(-20%) scale(.92); }
}
@keyframes giftFlipOverlayPrev{
    0%{ opacity: 1; transform: translateX(0) scale(1); }
    100%{ opacity: 0; transform: translateX(20%) scale(.92); }
}
@keyframes giftEnterFromRight{
    0%{ opacity: .55; transform: translateX(14%) scale(.9); }
    100%{ opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes giftEnterFromLeft{
    0%{ opacity: .55; transform: translateX(-14%) scale(.9); }
    100%{ opacity: 1; transform: translateX(0) scale(1); }
}
@media (min-width: 921px){
    .gift-preview-stack,
    .gift-canvas{
        max-width: 532px;
    }
}
.gift-current{
    min-height: 34px;
    display: grid;
    place-items: center;
}
.gift-amount-display{
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    -webkit-text-fill-color: #111;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}
.gift-amount-editor{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gift-amount-editor[hidden],
.gift-amount-display[hidden]{
    display: none !important;
}
.gift-design-label{
    margin: 4px 0 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: rgba(0,0,0,.72);
}
.gift-design-palette{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.gift-design-dot{
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    overflow: hidden;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.9);
    box-shadow: 0 0 0 1px rgba(0,0,0,.16);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.gift-design-dot:hover{
    transform: translateY(-1px);
}
.gift-design-dot.is-active{
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pink-accent);
    transform: scale(1.08);
}
.gift-current-input{
    width: 124px;
    border: 0;
    outline: none;
    text-align: right;
    font-size: 28px;
    font-weight: 700;
    background: transparent;
}
.gift-current-rub{
    font-size: 28px;
    font-weight: 700;
}
.gift-section .input,
.gift-section input.input,
.gift-section .textarea{
    font-size: 16px;
}
.gift-stage{
    padding-top: 14px;
}
.gift-amount-carousel{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 0 12px;
    scroll-padding-inline: 50%;
    -webkit-overflow-scrolling: touch;
}
.gift-amount-carousel::-webkit-scrollbar{
    display: none;
}
.gift-amount-slide{
    color: #111;
    -webkit-text-fill-color: #111;
    flex: 0 0 170px;
    min-height: 64px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.14);
    background: #fff;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    scroll-snap-align: center;
    transform: scale(.88);
    opacity: .64;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}
.gift-amount-slide:hover{
    border-color: rgba(255,136,190,.65);
    box-shadow: 0 8px 16px rgba(255,136,190,.14);
}
@media (hover: none), (pointer: coarse){
    .gift-amount-slide:hover{
        border-color: rgba(0,0,0,.14);
        box-shadow: none;
    }
}
.gift-amount-slide.is-near{
    transform: scale(.95);
    opacity: .82;
}
.gift-amount-slide.is-active{
    color: #111;
    -webkit-text-fill-color: #111;
    border-color: rgba(255,136,190,.85);
    box-shadow: 0 0 0 2px rgba(255,136,190,.18);
    transform: scale(1.04);
    opacity: 1;
}
.gift-next-btn{
    margin-top: 14px;
    width: 100%;
}
.gift-summary{
    margin: 12px 0;
    font-size: 14px;
}
.gift-checkout-actions{
    display: flex;
    gap: 10px;
}
.gift-checkout-actions .btn{
    width: 100%;
}
.cert-download-wrap{
    margin-top: 14px;
    display: flex;
    justify-content: center;
}
.cert-download-btn{
    min-height: 52px;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cert-download-btn svg{
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (max-width: 640px){
    .gift-design-label{
        margin-bottom: 6px;
    }
    .gift-stack-glow{
        display: none !important;
    }
    .gift-stack-card.is-left-far{
        transform: translate3d(-6.5%, 0, -44px) scale(.92) rotate(-6.4deg);
    }
    .gift-stack-card.is-left-near{
        transform: translate3d(-3.8%, 0, -26px) scale(.96) rotate(-3.8deg);
    }
    .gift-stack-card.is-right-near{
        transform: translate3d(3.8%, 0, -26px) scale(.96) rotate(3.8deg);
    }
    .gift-stack-card.is-right-far{
        transform: translate3d(6.5%, 0, -44px) scale(.92) rotate(6.4deg);
    }
    .gift-amount-slide{
        flex-basis: 148px;
        font-size: 18px;
    }
}
