:root {
    --bg: #f6f1e8;
    --bg-deep: #1b1712;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #fffdf8;
    --surface-dark: rgba(29, 24, 19, 0.86);
    --text: #241d16;
    --text-soft: #6d6257;
    --text-light: #f7efe5;
    --line: rgba(77, 56, 31, 0.14);
    --brand: #9b5b2f;
    --brand-strong: #7d451f;
    --brand-soft: #ead6bf;
    --accent: #d6a15d;
    --success: #1f8f5f;
    --shadow-lg: 0 28px 60px rgba(42, 29, 16, 0.16);
    --shadow-md: 0 18px 35px rgba(42, 29, 16, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(214, 161, 93, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(155, 91, 47, 0.14), transparent 24%),
        linear-gradient(180deg, #f8f4ee 0%, #f4ecdf 42%, #f8f5ef 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.section-heading .eyebrow,
.hero-pill,
.mini-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.section-heading h2,
.products-header h2,
.modal-content h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.section-heading p,
.products-header p,
.hero-copy p,
.contact-copy p {
    color: var(--text-soft);
    line-height: 1.7;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(248, 244, 238, 0.9), rgba(248, 244, 238, 0.58));
    border-bottom: 1px solid rgba(110, 87, 59, 0.08);
}

.navbar {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.nav-left,
.brand-lockup,
.header-contact-info,
.hero-actions,
.hero-stats,
.feature-grid,
.contact-grid,
.footer-inner,
.dashboard-actions,
.admin-quick-stats,
.lead-meta,
.product-actions,
.login-actions {
    display: flex;
    align-items: center;
}

.nav-left {
    gap: 14px;
}

.menu-icon,
.closebtn,
.icon-badge,
.btn-icon {
    display: grid;
    place-items: center;
}

.menu-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(94, 67, 43, 0.1);
    color: var(--brand-strong);
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.menu-icon:hover,
.btn-icon:hover {
    transform: translateY(-2px);
    background: white;
}

.brand-lockup {
    gap: 14px;
}

.shop-logo {
    width: 62px;
    height: 62px;
    padding: 6px;
    object-fit: contain;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #f8eee0);
    border: 1px solid rgba(155, 91, 47, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--brand);
}

.since-tag {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.16em;
}

.header-contact-info {
    gap: 18px;
    padding: 12px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(98, 73, 46, 0.08);
    box-shadow: 0 14px 30px rgba(54, 38, 22, 0.06);
}

.header-contact-info strong {
    display: block;
    margin-bottom: 4px;
    color: var(--bg-deep);
}

.header-contact-info span,
.header-contact-info a {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.side-panel {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(340px, 82vw);
    padding: 26px;
    background: linear-gradient(180deg, rgba(30, 24, 19, 0.96), rgba(20, 16, 13, 0.96));
    backdrop-filter: blur(18px);
    transform: translateX(-104%);
    transition: transform 0.35s ease;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 24px 0 40px rgba(0, 0, 0, 0.22);
}

.side-panel.open {
    transform: translateX(0);
}

.side-panel .closebtn {
    align-self: flex-end;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 28px;
}

.side-panel h3 {
    color: #f0d2b4;
    letter-spacing: 0.18em;
    font-size: 12px;
    text-transform: uppercase;
}

.side-panel a {
    padding: 16px 18px;
    border-radius: 16px;
    color: rgba(255, 246, 236, 0.94);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.side-panel a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 11, 8, 0.52);
    backdrop-filter: blur(3px);
    z-index: 2000;
}

.overlay.active {
    display: block;
}

.hero {
    padding: 42px 0 34px;
}

.hero-layout {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
    gap: 30px;
    align-items: stretch;
}

.hero-copy,
.hero-card,
.feature-card,
.contact-panel,
.product-card,
.modal-content,
.login-card,
.dashboard-card,
.admin-topbar {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-copy {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 56px);
    background:
        linear-gradient(140deg, rgba(20, 15, 11, 0.92), rgba(64, 40, 23, 0.8)),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1600&auto=format&fit=crop') center/cover;
    color: var(--text-light);
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -10% -22% auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(214, 161, 93, 0.28), transparent 64%);
}

.hero-copy h1 {
    margin: 16px 0 16px;
    font-size: clamp(2.9rem, 7vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    max-width: 9ch;
}

.hero-copy p {
    max-width: 58ch;
    color: rgba(247, 239, 229, 0.78);
    font-size: 1.05rem;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-stats {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.stat-chip {
    min-width: 138px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.stat-chip strong {
    display: block;
    margin-bottom: 3px;
    font-size: 1.35rem;
}

.stat-chip span {
    color: rgba(255, 246, 236, 0.74);
    font-size: 0.88rem;
}

.btn-primary,
.btn-secondary,
.btn-submit,
.btn-map,
.btn-visit,
.btn-logout,
.btn-inline,
.btn-whatsapp {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary,
.btn-submit,
.btn-logout {
    background: linear-gradient(135deg, var(--accent), var(--brand));
    color: white;
    box-shadow: 0 16px 30px rgba(125, 69, 31, 0.28);
}

.btn-secondary,
.btn-visit,
.btn-map,
.btn-inline {
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-submit:hover,
.btn-map:hover,
.btn-visit:hover,
.btn-logout:hover,
.btn-inline:hover,
.btn-whatsapp:hover {
    transform: translateY(-2px);
}

.btn-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c15e, #16874a);
    color: white;
    box-shadow: 0 18px 35px rgba(22, 135, 74, 0.32);
}

.floating-whatsapp i {
    font-size: 1.35rem;
}

.hero-card {
    background: rgba(255, 250, 243, 0.84);
    border: 1px solid rgba(115, 79, 44, 0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card .mini-tag {
    background: rgba(234, 214, 191, 0.8);
    border-color: rgba(155, 91, 47, 0.1);
}

.hero-card h3 {
    font-size: 1.7rem;
    line-height: 1.1;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--text-soft);
}

.hero-card li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(214, 161, 93, 0.28), rgba(155, 91, 47, 0.2));
    color: var(--brand-strong);
    flex-shrink: 0;
}

.feature-section,
.products-section,
.contact-section {
    padding: 22px 0 64px;
}

.feature-grid,
.contact-grid {
    gap: 20px;
    align-items: stretch;
}

.feature-grid {
    flex-wrap: wrap;
}

.feature-card {
    flex: 1 1 250px;
    min-height: 220px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(90, 66, 40, 0.08);
}

.feature-card h3 {
    margin: 18px 0 12px;
    font-size: 1.35rem;
}

.feature-card p {
    color: var(--text-soft);
    line-height: 1.7;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 26px;
}

.products-header-copy {
    max-width: 720px;
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: min(100%, 340px);
}

.site-product-search {
    min-width: min(100%, 320px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-radius: 18px;
    border: 1px solid rgba(100, 74, 45, 0.12);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 26px rgba(42, 29, 16, 0.08);
}

.site-product-search i {
    color: var(--brand);
}

.site-product-search input {
    width: 100%;
    padding: 15px 0;
    border: 0;
    background: transparent;
    outline: none;
    color: var(--text);
    font-size: 1rem;
}

.site-product-search input::placeholder {
    color: var(--text-soft);
}

.site-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}

.category-chip {
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(100, 74, 45, 0.12);
    background: rgba(255, 255, 255, 0.75);
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.category-chip.active,
.category-chip:hover {
    background: linear-gradient(135deg, rgba(214, 161, 93, 0.2), rgba(155, 91, 47, 0.16));
    color: var(--brand-strong);
    transform: translateY(-1px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.product-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(89, 67, 43, 0.08);
    padding: 18px;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 38px rgba(53, 37, 20, 0.14);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
}

.product-card-body {
    padding: 18px 4px 6px;
}

.product-card h3 {
    font-size: 1.35rem;
    line-height: 1.15;
    margin-bottom: 12px;
}

.product-card p {
    color: var(--text-soft);
    line-height: 1.65;
    min-height: 78px;
    margin-bottom: 18px;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.product-index {
    font-size: 0.88rem;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.empty-state {
    padding: 40px 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.74);
    border: 1px dashed rgba(109, 98, 87, 0.24);
    text-align: center;
    color: var(--text-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-panel {
    padding: 30px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(90, 67, 43, 0.08);
}

.contact-panel.dark {
    background:
        linear-gradient(145deg, rgba(23, 18, 14, 0.94), rgba(54, 34, 20, 0.88)),
        radial-gradient(circle at top left, rgba(214, 161, 93, 0.18), transparent 35%);
    color: var(--text-light);
}

.contact-panel.dark p,
.contact-panel.dark li,
.contact-panel.dark a {
    color: rgba(247, 239, 229, 0.78);
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    line-height: 1.7;
}

.footer {
    padding: 0 0 36px;
}

.footer-inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
    border-radius: 22px;
    background: rgba(33, 26, 20, 0.9);
    color: rgba(247, 239, 229, 0.8);
}

.footer-note {
    font-size: 0.92rem;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(14, 11, 9, 0.6);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: min(100%, 520px);
    padding: 30px;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(248, 241, 231, 0.96));
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-content > p {
    color: var(--text-soft);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(47, 33, 18, 0.06);
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.modal-form-stack {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.modal-form-stack input,
.modal-form-stack textarea,
.dashboard-form input[type="text"],
.dashboard-form textarea,
.input-group input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(100, 74, 45, 0.14);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.modal-form-stack input:focus,
.modal-form-stack textarea:focus,
.dashboard-form input[type="text"]:focus,
.dashboard-form textarea:focus,
.input-group input:focus {
    border-color: rgba(155, 91, 47, 0.44);
    box-shadow: 0 0 0 4px rgba(214, 161, 93, 0.18);
}

.dashboard-form input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 20px;
    border: 1px solid rgba(100, 74, 45, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 241, 231, 0.9));
    color: var(--text-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.dashboard-form input[type="file"]::file-selector-button {
    margin-right: 14px;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(214, 161, 93, 0.22), rgba(155, 91, 47, 0.18));
    color: var(--brand-strong);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dashboard-form input[type="file"]::file-selector-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(125, 69, 31, 0.12);
    background: linear-gradient(135deg, rgba(214, 161, 93, 0.3), rgba(155, 91, 47, 0.24));
}

.modal-divider {
    position: relative;
    text-align: center;
    margin: 6px 0;
}

.modal-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(100, 74, 45, 0.14);
}

.modal-divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #faf4ea;
    color: var(--text-soft);
    font-size: 0.85rem;
}

.whatsapp-group {
    display: grid;
    gap: 12px;
}

.btn-whatsapp {
    background: #1da85a;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #16874a;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3100;
    background: rgba(0, 0, 0, 0.88);
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 28px;
    color: white;
    font-size: 42px;
    cursor: pointer;
}

.login-body,
.dashboard-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(214, 161, 93, 0.22), transparent 25%),
        linear-gradient(180deg, #f7efe2 0%, #efe4d2 100%);
}

.login-shell,
.dashboard-shell {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 36px 0;
}

.login-card {
    width: min(100%, 1050px);
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    overflow: hidden;
    background: rgba(255, 251, 246, 0.86);
    border: 1px solid rgba(110, 84, 55, 0.1);
}

.login-showcase {
    padding: 40px;
    background:
        linear-gradient(140deg, rgba(20, 15, 11, 0.92), rgba(67, 42, 24, 0.84)),
        url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?q=80&w=1600&auto=format&fit=crop') center/cover;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.login-showcase h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.login-showcase p {
    color: rgba(247, 239, 229, 0.78);
    line-height: 1.7;
    max-width: 44ch;
}

.login-showcase-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.login-showcase-list li {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-form-panel {
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header img {
    width: 78px;
    height: 78px;
    padding: 6px;
    margin-bottom: 16px;
    border-radius: 20px;
    object-fit: contain;
    background: linear-gradient(180deg, #fff, #f7ead8);
    border: 1px solid rgba(155, 91, 47, 0.14);
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.login-header p,
.login-footer a {
    color: var(--text-soft);
}

.login-form {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.login-actions {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.login-note,
.admin-subtle,
.list-empty {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.login-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(110, 84, 55, 0.12);
}

.dashboard-shell {
    padding: 26px 0 40px;
}

.admin-topbar {
    padding: 24px;
    margin-bottom: 22px;
    background: rgba(255, 251, 246, 0.78);
    border: 1px solid rgba(110, 84, 55, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
}

.admin-topbar h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.02;
    margin-bottom: 10px;
}

.admin-topbar p {
    color: var(--text-soft);
    max-width: 58ch;
    line-height: 1.7;
}

.dashboard-actions {
    gap: 12px;
    flex-wrap: wrap;
}

.admin-quick-stats {
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.admin-stat {
    min-width: 150px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(110, 84, 55, 0.08);
}

.admin-stat span {
    display: block;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.admin-stat strong {
    display: block;
    margin-top: 4px;
    font-size: 1.6rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.92fr;
    gap: 22px;
}

.admin-workspace {
    display: grid;
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.admin-workspace-wide {
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}

.dashboard-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dashboard-card {
    padding: 28px;
    background: rgba(255, 251, 246, 0.82);
    border: 1px solid rgba(110, 84, 55, 0.1);
    position: relative;
    z-index: 0;
}

.dashboard-card + .dashboard-card {
    align-self: start;
    margin-top: 0;
}

.admin-form-card {
    position: static;
}

.card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.card-header h3,
.card-header h4 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.card-header p {
    color: var(--text-soft);
}

.dashboard-form {
    display: grid;
    gap: 14px;
}

.admin-toggle-row,
.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(100, 74, 45, 0.12);
    cursor: pointer;
    font-weight: 600;
}

.admin-helper-strip {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.admin-helper-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(214, 161, 93, 0.16);
    color: var(--brand-strong);
    font-size: 0.92rem;
    font-weight: 600;
}

.file-upload-group label,
.field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.img-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 10px;
}

.img-preview img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(110, 84, 55, 0.12);
    box-shadow: 0 10px 20px rgba(42, 29, 16, 0.08);
}

.divider {
    height: 1px;
    margin: 28px 0;
    background: rgba(110, 84, 55, 0.1);
}

.product-list,
.lead-list {
    display: grid;
    gap: 14px;
}

.dashboard-stack > .dashboard-card {
    width: 100%;
    clear: both;
}

.product-manager-card {
    min-height: 540px;
}

.product-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-search {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid rgba(100, 74, 45, 0.14);
    background: rgba(255, 255, 255, 0.86);
}

.product-search input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 14px 0;
    outline: none;
}

.sort-tip,
.admin-feedback {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.93rem;
}

.sort-tip {
    margin-bottom: 16px;
    background: rgba(214, 161, 93, 0.14);
    color: var(--brand-strong);
}

.admin-feedback {
    min-height: 20px;
    padding: 0;
    color: var(--text-soft);
}

.admin-feedback.success {
    padding: 12px 14px;
    background: rgba(31, 143, 95, 0.12);
    color: #176b47;
}

.admin-feedback.error {
    padding: 12px 14px;
    background: rgba(157, 32, 32, 0.1);
    color: #8d1f1f;
}

.list-item {
    position: relative;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(110, 84, 55, 0.09);
    box-shadow: 0 12px 26px rgba(42, 29, 16, 0.08);
}

.product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.product-item.dragging {
    opacity: 0.55;
    transform: scale(0.99);
}

.drag-handle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(44, 31, 18, 0.06);
    color: var(--text-soft);
    cursor: grab;
    flex-shrink: 0;
}

.product-item.search-mode .drag-handle {
    opacity: 0.45;
    cursor: not-allowed;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.product-copy {
    min-width: 0;
}

.item-thumb {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.item-name {
    font-weight: 700;
}

.item-desc {
    display: block;
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-actions {
    gap: 8px;
}

.product-actions-wide {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.order-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 42px;
    padding: 0 10px;
    border-radius: 14px;
    background: rgba(214, 161, 93, 0.16);
    color: var(--brand-strong);
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-icon,
.btn-delete,
.btn-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 0;
    cursor: pointer;
    background: rgba(44, 31, 18, 0.08);
    color: var(--text);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-icon:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.btn-delete:hover,
.btn-close:hover {
    background: rgba(155, 33, 33, 0.12);
    color: #9d2020;
}

.lead-item {
    padding-right: 56px;
    border-left: 4px solid var(--accent);
}

.lead-item strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.lead-phone {
    color: var(--brand);
    font-weight: 700;
}

.lead-meta {
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 8px;
}

.lead-pill {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(214, 161, 93, 0.18);
    color: var(--brand-strong);
    font-size: 0.82rem;
    font-weight: 700;
}

.featured-pill {
    background: rgba(255, 209, 102, 0.24);
}

.visible-pill {
    background: rgba(31, 143, 95, 0.12);
    color: #176b47;
}

.hidden-pill {
    background: rgba(157, 32, 32, 0.1);
    color: #8d1f1f;
}

.notify-badge {
    display: none;
    padding: 6px 10px;
    border-radius: 999px;
    background: #1f8f5f;
    color: white;
    font-size: 0.74rem;
    font-weight: 700;
}

.analytics-card h4 {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.analytics-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.analytics-summary-item {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(110, 84, 55, 0.08);
}

.analytics-summary-item span {
    display: block;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.analytics-summary-item strong {
    display: block;
    margin-top: 6px;
    font-size: 1.5rem;
}

.analytics-panels {
    display: grid;
    gap: 18px;
}

.analytics-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.analytics-chip {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(110, 84, 55, 0.08);
}

.analytics-chip span {
    color: var(--text-soft);
    font-size: 0.86rem;
}

.analytics-list {
    display: grid;
    gap: 12px;
}

.analytics-list-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(110, 84, 55, 0.08);
}

.analytics-list-metrics {
    display: grid;
    gap: 4px;
    text-align: right;
    color: var(--text-soft);
    font-size: 0.85rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-animate {
    opacity: 0;
    animation: heroFadeInUp 0.8s ease forwards;
}

.hero-delay-1 {
    animation-delay: 0.1s;
}

.hero-delay-2 {
    animation-delay: 0.25s;
}

.hero-delay-3 {
    animation-delay: 0.4s;
}

.hero-delay-4 {
    animation-delay: 0.55s;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero-layout,
    .contact-grid,
    .login-card,
    .dashboard-grid,
    .admin-workspace {
        grid-template-columns: 1fr;
    }

    .hero-card {
        order: -1;
    }
}

@media (max-width: 820px) {
    header {
        padding: 14px 0;
    }

    .header-contact-info {
        display: none;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .products-header,
    .admin-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .site-product-search {
        min-width: 100%;
    }

    .products-toolbar {
        width: 100%;
        justify-content: stretch;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .page-shell,
    .navbar,
    .hero-layout,
    .footer-inner,
    .login-shell,
    .dashboard-shell {
        width: min(100% - 20px, var(--container));
    }

    .shop-logo {
        width: 54px;
        height: 54px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero-copy,
    .hero-card,
    .feature-card,
    .contact-panel,
    .modal-content,
    .login-form-panel,
    .login-showcase,
    .dashboard-card,
    .admin-topbar {
        padding: 22px;
    }

    .hero-copy h1 {
        font-size: 2.6rem;
    }

    .section-heading h2,
    .products-header h2 {
        font-size: 2rem;
    }

    .product-card img {
        height: 230px;
    }

    .product-card-footer,
    .product-item {
        flex-direction: column;
        align-items: stretch;
    }

    .drag-handle,
    .order-chip {
        width: 100%;
    }

    .product-actions,
    .dashboard-actions,
    .hero-actions,
    .login-actions,
    .product-toolbar {
        width: 100%;
    }

    .admin-form-actions,
    .admin-toggle-row,
    .analytics-list-item {
        flex-direction: column;
    }

    .product-actions > *,
    .dashboard-actions > *,
    .hero-actions > *,
    .login-actions > * {
        flex: 1;
        text-align: center;
        justify-content: center;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        padding: 14px 16px;
    }

    .floating-whatsapp span {
        display: none;
    }

    .whatsapp-group {
        grid-template-columns: 1fr;
    }
}
