:root {
    --dark: #0f110c;
    --white: #ffffff;
    --accent: #c5a36b;
    --accent-deep: #9e7b45;
    --gray: #f5f5f5;
    --gray-dark: #e0e0e0;
    --border: rgba(0,0,0,0.06);
    --shadow: 0 20px 60px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
html, body {
    scroll-behavior: smooth;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
h1, h2, h3, .hero-badge, .sec-num, .custom-kicker { font-family: 'Bebas Neue', sans-serif; }
.hidden { display: none !important; }
a, button, input, textarea, select {
    max-width: 100%;
}

/* --- NAVIGACE --- */
nav {
    position: fixed; top: 0; width: 100%; height: 110px; z-index: 1000;
    display: flex; align-items: center; transition: var(--transition); background: transparent;
}
nav.scrolled {
    height: 85px; background: rgba(255, 255, 255, 0.98); 
    border-bottom: 1px solid var(--gray-dark); box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.nav-container { width: 100%; padding: 0 5%; display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 80px; transition: var(--transition); }
nav.scrolled .logo-img { height: 45px; filter: brightness(0); }

.nav-links { display: flex; align-items: center; gap: 3.5rem; }
.nav-toggle {
    display: none;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}
nav.scrolled .nav-toggle {
    border-color: rgba(15, 17, 12, 0.12);
    background: rgba(15, 17, 12, 0.04);
}
nav.scrolled .nav-toggle span {
    background: var(--dark);
}
.mobile-menu {
    display: none;
}
.nav-link { 
    text-decoration: none; color: var(--white); font-weight: 800; font-size: 0.75rem; 
    letter-spacing: 2px; position: relative; transition: var(--transition);
}
nav.scrolled .nav-link { color: var(--dark); }
.nav-link span::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 0; height: 3px; background: var(--accent); transition: var(--transition); }
.nav-link:hover span::after { width: 100%; }

.nav-cta-btn {
    text-decoration: none; background: var(--accent); color: var(--white) !important; 
    padding: 14px 28px; font-weight: 900; font-size: 0.75rem; letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(197, 163, 107, 0.3); transition: var(--transition);
}
.nav-cta-btn:hover { background: #b08d55; transform: translateY(-2px); }

/* --- HERO --- */
.hero {
    width: 100%; min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.76)), url('IMG/bg_hero_01.webp') center/cover no-repeat;
    color: var(--white); padding: 0 5%;
}
.hero-badge { color: var(--accent); letter-spacing: 6px; font-weight: 700; font-size: 0.9rem; margin-bottom: 4rem; display: block; }
.hero h1 { font-size: clamp(3rem, 10vw, 6.5rem); line-height: 0.96; font-weight: 900; margin-bottom: 2rem; letter-spacing: 0.04em; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin: 0 auto 4rem; line-height: 1.6; letter-spacing: 1px; max-width: 800px; }
.btn-primary { 
    padding: 1.5rem 3.5rem; background: var(--accent); color: var(--white); text-decoration: none; 
    font-weight: 900; transition: var(--transition); border: none; cursor: pointer;
    box-shadow: 0 10px 30px rgba(197, 163, 107, 0.3);
}
.btn-primary:hover { background: var(--white); color: var(--dark); transform: translateY(-3px); }

/* --- GRID SEKCE --- */
.shop-section { padding: 10rem 5%; background: var(--gray); }
.container { max-width: 1600px; margin: 0 auto; }
.section-header {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 0.75fr);
    gap: 2.5rem;
    align-items: end;
    margin-bottom: 3.5rem;
}
.section-heading {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}
.sec-num { font-size: 1.2rem; font-weight: 900; color: var(--accent); letter-spacing: 0.08em; }
.section-title h2 { font-size: 4rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; line-height: 0.96; }
.section-intro {
    max-width: 520px;
    margin: 0;
    padding: 0 0 0.75rem 1.75rem;
    border-left: 1px solid rgba(15, 17, 12, 0.12);
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.72;
}
.title-line { height: 5px; width: 60px; background: var(--accent); margin-top: 15px; }

.product-grid-4 { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 0; 
    row-gap: 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    background: var(--white); overflow: hidden;
}
.card-img-wrapper { overflow: hidden; position: relative; display: flex; }
.card-img { 
    width: 100%; background-size: cover; background-position: center; 
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 100%; cursor: zoom-in;
}
.card-img-wrapper:hover .card-img { transform: scale(1.08); }

/* TADY JE OPRAVA PRO ZAROVNÁNÍ */
.card-info { 
    padding: 3rem; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; /* Text drží nahoře */
    background: var(--white); 
    border-left: 1px solid var(--border); 
    border-right: 1px solid var(--border);
}
.card-info h3 { font-size: 2rem; font-weight: 900; text-transform: uppercase; margin-bottom: 1rem; letter-spacing: 0.05em; line-height: 0.98; }
.card-info p { opacity: 0.7; margin-bottom: 2rem; line-height: 1.6; font-size: 0.95rem; overflow-wrap: anywhere; }
.specs { list-style: none; margin-bottom: 2rem; font-size: 0.8rem; font-weight: 800; border-top: 1px solid var(--border); }
.specs li { padding: 0.8rem 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; }
.specs li span { text-align: right; overflow-wrap: anywhere; }
.price-tag { font-size: 1.3rem; font-weight: 900; margin-bottom: 2rem; color: var(--dark); border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 5px;}

.btn-modern-config { 
    margin-top: auto; /* Tlačítko se přilepí ke dnu */
    width: 100%; padding: 1.3rem; background: var(--dark); border: none;
    font-weight: 900; text-transform: uppercase; color: var(--white); cursor: pointer; transition: var(--transition); line-height: 1.25;
}
.btn-modern-config:hover { background: var(--accent); transform: translateY(-3px); }

/* --- CUSTOM --- */
.custom-section {
    padding: 9rem 5%;
    background:
        radial-gradient(circle at top left, rgba(197, 163, 107, 0.15), transparent 35%),
        linear-gradient(180deg, #12140f 0%, #090a08 100%);
    color: var(--white);
}
.custom-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 3rem;
    align-items: start;
}
.custom-copy h2 {
    font-size: clamp(3rem, 8vw, 5.2rem);
    line-height: 0.96;
    letter-spacing: 0.04em;
    margin: 1rem 0 1.5rem;
}
.custom-copy p {
    max-width: 680px;
    opacity: 0.86;
    font-size: 1.05rem;
    line-height: 1.8;
}
.custom-kicker {
    letter-spacing: 0.18em;
    color: var(--accent);
    font-size: 1rem;
}
.custom-panel {
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}
.custom-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.custom-step span {
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
}
.custom-step p {
    line-height: 1.6;
    opacity: 0.92;
}
.custom-actions {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.btn-secondary {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: var(--white);
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-secondary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
}

/* --- GALLERY --- */
.gallery-section {
    padding: 8rem 5%;
    background:
        linear-gradient(180deg, #f8f4ec 0%, #f1ece2 100%);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.gallery-item {
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    text-align: left;
}
.gallery-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-color: rgba(15, 17, 12, 0.06);
    box-shadow: 0 18px 42px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.gallery-item:hover .gallery-thumb {
    transform: translateY(-3px);
    box-shadow: 0 26px 48px rgba(0,0,0,0.12);
}
.gallery-empty {
    display: grid;
    gap: 0.5rem;
    padding: 2rem;
    border: 1px solid rgba(15, 17, 12, 0.08);
    background: rgba(255,255,255,0.62);
}
.gallery-empty strong {
    font-size: 1rem;
}
.gallery-empty p {
    color: rgba(15, 17, 12, 0.68);
    line-height: 1.65;
}
.gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.gallery-page-btn {
    min-width: 148px;
    min-height: 52px;
    padding: 0 1.25rem;
    border: 1px solid rgba(15, 17, 12, 0.14);
    background: rgba(255,255,255,0.8);
    color: var(--dark);
    font-weight: 900;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--transition);
}
.gallery-page-btn:hover:not(:disabled) {
    background: var(--dark);
    color: var(--white);
}
.gallery-page-btn:disabled {
    opacity: 0.38;
    cursor: default;
}
.gallery-page-info {
    min-width: 88px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(15, 17, 12, 0.64);
}

/* --- ABOUT --- */
.about-section {
    position: relative;
    padding: 9rem 5%;
    background:
        linear-gradient(rgba(7, 8, 7, 0.72), rgba(7, 8, 7, 0.82)),
        url('IMG/bg_onas.webp') center/cover no-repeat;
    color: var(--white);
}
.about-layout {
    max-width: 920px;
}
.about-header {
    margin-bottom: 4rem;
}
.about-header .sec-num,
.about-header .section-title h2,
.about-header .section-intro {
    color: var(--white);
}
.about-header .section-intro {
    border-left-color: rgba(255,255,255,0.18);
    opacity: 0.8;
}
.about-header .title-line {
    background: var(--accent);
}
.about-layout h2 {
    font-size: clamp(3rem, 8vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: 0.04em;
    margin: 1rem 0 1.8rem;
}
.about-copy {
    display: grid;
    gap: 1rem;
    max-width: 720px;
}
.about-copy p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.86);
}

.contact-section {
    padding: 8rem 5%;
    background: #f3f0e8;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.contact-card {
    display: grid;
    gap: 0.5rem;
    padding: 1.4rem;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(15, 17, 12, 0.08);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}
.contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 17, 12, 0.18);
    box-shadow: 0 18px 38px rgba(0,0,0,0.06);
}
.contact-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-deep);
}
.contact-card strong {
    font-size: 1.2rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.contact-card p {
    color: rgba(15, 17, 12, 0.68);
    line-height: 1.6;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9000;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(15, 17, 12, 0.84);
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.22);
    transition: var(--transition);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent);
    color: var(--dark);
}

/* --- LIGHTBOX, MODAL & FOOTER --- */
.lightbox { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; }
.lightbox-img { max-width: 90%; max-height: 80%; border: 3px solid #fff; }
.close-btn { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; }
.config-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    pointer-events: none;
    overflow-x: hidden;
    transition: var(--transition);
}
.config-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.config-dialog {
    position: relative;
    width: min(640px, 100%);
    max-height: min(88vh, 980px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2.5rem;
    background: #fbf9f4;
    color: var(--dark);
    box-shadow: 0 30px 80px rgba(0,0,0,0.28);
}
.config-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark);
}
.config-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--accent-deep);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}
.config-dialog h2 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    line-height: 0.96;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}
.config-lead {
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}
.config-form.hidden,
.config-unsupported.hidden,
.config-success.hidden,
.field.hidden {
    display: none;
}
.config-grid {
    display: grid;
    gap: 1rem;
}
.config-block {
    padding: 1.15rem;
    border: 1px solid rgba(15, 17, 12, 0.08);
    background: rgba(255,255,255,0.58);
}
.config-block-head {
    margin-bottom: 1rem;
}
.config-block-head strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.98rem;
}
.config-block-head p {
    color: rgba(15, 17, 12, 0.68);
    line-height: 1.55;
}
.config-subgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.field {
    display: grid;
    gap: 0.45rem;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.field span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(15, 17, 12, 0.72);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(15, 17, 12, 0.12);
    background: rgba(255,255,255,0.7);
    padding: 0.95rem 1rem;
    font-size: 0.98rem;
    color: var(--dark);
    border-radius: 0;
    appearance: none;
}
.field input[readonly] {
    background: rgba(15, 17, 12, 0.04);
    color: rgba(15, 17, 12, 0.72);
}
.field textarea {
    resize: vertical;
    min-height: 120px;
}
.color-field {
    align-content: start;
}
.color-picker-trigger {
    width: 100%;
    min-height: 56px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(15, 17, 12, 0.12);
    background: rgba(255,255,255,0.8);
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}
.color-picker-trigger.light:hover {
    border-color: rgba(15, 17, 12, 0.28);
    transform: translateY(-1px);
}
.color-picker-trigger-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
}
.color-picker-trigger-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(15, 17, 12, 0.48);
}
.color-picker-trigger-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.color-picker-trigger-swatch {
    width: 20px;
    height: 20px;
}
.color-preview-inline {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 22px;
    color: rgba(15, 17, 12, 0.72);
    font-size: 0.9rem;
}
.color-point-dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--point-color);
    border: 1px solid rgba(15, 17, 12, 0.18);
    flex: 0 0 auto;
}
.field small {
    color: rgba(15, 17, 12, 0.6);
    line-height: 1.5;
}
.field-full {
    grid-column: 1 / -1;
}
.swatch-request {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.9rem;
    align-items: start;
    width: 100%;
    padding: 1rem 1rem 1rem 0.95rem;
    border: 1px solid rgba(15, 17, 12, 0.12);
    background: rgba(15, 17, 12, 0.03);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.swatch-request:hover {
    border-color: rgba(15, 17, 12, 0.22);
    transform: translateY(-1px);
}
.swatch-request.active {
    border-color: var(--accent);
    background: rgba(197, 163, 107, 0.1);
    box-shadow: inset 0 0 0 1px var(--accent);
}
.swatch-request-box {
    width: 22px;
    height: 22px;
    margin-top: 0.1rem;
    border: 1px solid rgba(15, 17, 12, 0.24);
    background: var(--white);
    position: relative;
}
.swatch-request.active .swatch-request-box::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--accent-deep);
}
.color-picker-shell {
    width: min(760px, 100%);
    overflow-x: hidden;
}
.color-grid.light {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.7rem;
}
.color-chip.light {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 54px;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(15, 17, 12, 0.12);
    background: rgba(255,255,255,0.82);
    color: var(--dark);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.color-chip.light:hover {
    border-color: rgba(15, 17, 12, 0.28);
    transform: translateY(-1px);
}
.color-chip.light.active {
    border-color: var(--accent);
    background: rgba(197, 163, 107, 0.1);
    box-shadow: inset 0 0 0 1px rgba(197, 163, 107, 0.35);
}
.swatch {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid rgba(15, 17, 12, 0.18);
    background: var(--swatch-color);
    flex: 0 0 auto;
}
.color-chip-label {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.color-chip-name {
    font-size: 0.9rem;
    font-weight: 700;
}
.category-chip {
    min-height: 118px;
    grid-template-columns: 104px 1fr;
    display: grid;
    align-items: center;
    gap: 1rem;
}
.color-grid.light.category-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.category-chip-thumb {
    display: block;
    width: 104px;
    min-width: 104px;
    max-width: 104px;
    height: 104px;
    min-height: 104px;
    max-height: 104px;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(15, 17, 12, 0.1);
    background-color: rgba(15, 17, 12, 0.05);
    overflow: hidden;
}
.category-chip .color-chip-code {
    margin-top: 0.25rem;
    color: rgba(15, 17, 12, 0.52);
    white-space: normal;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.88rem;
}
.swatch-request-copy {
    display: grid;
    gap: 0.25rem;
}
.swatch-request-copy strong {
    font-size: 0.95rem;
}
.swatch-request-copy small {
    color: rgba(15, 17, 12, 0.68);
    line-height: 1.5;
}
.config-footnote {
    display: grid;
    gap: 0.45rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 17, 12, 0.08);
}
.config-footnote p {
    line-height: 1.55;
    color: rgba(15, 17, 12, 0.7);
}
.config-actions {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin-top: 1.5rem;
}
.config-actions .btn-primary,
.config-actions .btn-secondary {
    flex: 1 1 0;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
}
.btn-secondary-dark {
    color: var(--dark);
    border-color: rgba(15, 17, 12, 0.16);
}
.btn-secondary-dark:hover {
    color: var(--white);
}
.config-note-card,
.config-success {
    padding: 1.4rem 1.5rem;
    background: rgba(15, 17, 12, 0.04);
    border-left: 4px solid var(--accent);
}
.config-note-card strong,
.config-success strong {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}
.config-note-card p,
.config-success p {
    line-height: 1.65;
    color: rgba(15, 17, 12, 0.76);
}
.config-checklist {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.config-checklist li {
    padding: 0.95rem 1rem;
    background: rgba(15,17,12,0.04);
    border-left: 4px solid var(--accent);
    line-height: 1.55;
}
.modal-cta {
    display: inline-block;
    margin-top: 1.25rem;
}
footer { padding: 6rem 5%; background: #000; color: var(--white); text-align: center; }
.f-logo { height: 70px; margin-bottom: 2rem; }

@media (max-width: 1100px) { .product-grid-4 { grid-template-columns: repeat(2, 1fr); } .card-img-wrapper { aspect-ratio: 1/1; } }
@media (max-width: 980px) {
    .custom-layout { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    nav { height: 92px; }
    nav.menu-open {
        background: rgba(255,255,255,0.98);
        border-bottom: 1px solid var(--gray-dark);
        box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    }
    body.menu-open {
        overflow: hidden;
    }
    .nav-links { display: none; }
    .nav-toggle {
        display: inline-flex;
    }
    nav.menu-open .nav-toggle {
        border-color: rgba(15, 17, 12, 0.12);
        background: rgba(15, 17, 12, 0.04);
    }
    nav.menu-open .nav-toggle span {
        background: var(--dark);
    }
    nav.menu-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    nav.menu-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    nav.menu-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .mobile-menu {
        position: absolute;
        top: 92px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0.65rem;
        padding: 1rem 5% 1.25rem;
        background: rgba(255,255,255,0.98);
        border-bottom: 1px solid rgba(15, 17, 12, 0.08);
        box-shadow: 0 22px 40px rgba(0,0,0,0.1);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: var(--transition);
    }
    nav.menu-open .mobile-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .mobile-nav-link,
    .mobile-nav-cta {
        display: block;
        width: 100%;
        padding: 0.95rem 1rem;
        text-decoration: none;
        font-weight: 900;
        letter-spacing: 0.1em;
        line-height: 1.35;
        color: var(--dark);
        border: 1px solid rgba(15, 17, 12, 0.08);
        background: rgba(15, 17, 12, 0.03);
        overflow-wrap: anywhere;
    }
    .mobile-nav-cta {
        background: var(--accent);
        color: var(--white);
        border-color: var(--accent);
        text-align: center;
    }
    .logo-img { height: 62px; }
    .hero-badge { margin-bottom: 2rem; }
    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.6rem);
        line-height: 0.98;
    }
    .hero p { margin-bottom: 2.5rem; }
    .section-header {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 2.5rem;
    }
    .section-heading { gap: 1rem; }
    .section-title h2 { font-size: 2.8rem; }
    .section-intro {
        max-width: none;
        padding: 0;
        border-left: none;
        margin: 0;
    }
    .config-grid {
        grid-template-columns: 1fr;
    }
    .config-subgrid {
        grid-template-columns: 1fr;
    }
    .config-actions {
        flex-direction: column;
    }
    .specs li {
        align-items: flex-start;
        flex-direction: column;
    }
    .specs li span {
        text-align: left;
    }
    .color-grid.light {
        grid-template-columns: 1fr;
    }
    .color-grid.light.category-picker-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gallery-pagination {
        flex-wrap: wrap;
    }
    .config-actions .btn-primary,
    .config-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }
    .contact-card strong {
        font-size: 1.05rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
    .product-grid-4 { grid-template-columns: 1fr; }
    .shop-section, .custom-section, .gallery-section, .about-section, .contact-section { padding: 6rem 5%; }
    .card-info, .config-dialog, .custom-panel { padding: 1.5rem; }
}
