:root {
    --blue-950: #071a3d;
    --blue-900: #0a2a66;
    --blue-800: #0b3d91;
    --blue-700: #1053bd;
    --blue-100: #eaf2ff;
    --gray-50: #f8fafc;
    --gray-100: #eef2f7;
    --gray-200: #dce4ee;
    --gray-500: #64748b;
    --gray-800: #1f2937;
    --white: #ffffff;
    --green: #12a650;
    --gold: #f5b942;
    --danger: #c82727;
    --shadow: 0 16px 50px rgba(7, 26, 61, 0.12);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
}

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

a {
    color: var(--blue-800);
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 1rem;
    background: var(--blue-900);
    color: white;
    padding: 0.75rem 1rem;
    z-index: 9999;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
}

.nav-wrap {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand img {
    width: 230px;
    height: auto;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--blue-900);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 800;
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-nav > a,
.nav-dropdown > button {
    border: 0;
    background: transparent;
    color: var(--blue-950);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
    cursor: pointer;
}

.site-nav a:hover,
.site-nav a.is-active,
.nav-dropdown > button:hover {
    background: var(--blue-100);
    color: var(--blue-800);
}

.cart-link {
    background: var(--blue-800) !important;
    color: white !important;
}

.cart-link span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    margin-left: 4px;
    border-radius: 999px;
    background: white;
    color: var(--blue-800);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 290px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    text-decoration: none;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 14px;
    padding: 0.9rem 1.25rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    background: var(--blue-800);
    color: white;
    box-shadow: 0 10px 24px rgba(11, 61, 145, 0.22);
}

.btn-primary:hover {
    background: var(--blue-900);
}

.btn-white {
    background: white;
    color: var(--blue-900);
}

.btn-success {
    background: var(--green);
    color: white;
}

.btn-outline {
    background: white;
    color: var(--blue-800);
    border: 1px solid var(--gray-200);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-small {
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    border-radius: 10px;
}

.btn-link-danger {
    color: var(--danger);
    background: transparent;
    box-shadow: none;
}

.text-link {
    font-weight: 800;
    text-decoration: none;
}

.hero {
    position: relative;
    color: white;
    background:
        linear-gradient(90deg, rgba(7,26,61,.95), rgba(7,26,61,.78), rgba(7,26,61,.55)),
        url("../images/sections/hero-home.jpg") center/cover no-repeat;
    padding: 5rem 0;
}

.hero-grid,
.page-hero-grid,
.category-hero-grid,
.branch-hero-grid,
.two-column,
.checkout-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero h1,
.page-hero h1,
.page-title h1,
.category-hero h1,
.branch-hero h1,
.contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin: 0 0 1rem;
    letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.page-title p,
.category-hero p,
.branch-hero p,
.contact-hero p {
    font-size: 1.12rem;
    max-width: 720px;
}

.hero-image-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 28px;
    padding: 0.8rem;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.hero-image-card img,
.rounded-image,
.page-hero img,
.branch-hero img,
.category-hero img,
.team-wide,
.map-panel img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.eyebrow {
    display: inline-block;
    color: var(--blue-700);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.eyebrow.on-dark,
.hero .eyebrow,
.branch-hero .eyebrow {
    color: #b9d6ff;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.button-row.center {
    justify-content: center;
}

.trust-strip {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 2;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--gray-200);
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    overflow: hidden;
    transform: translateY(-24px);
    box-shadow: var(--shadow);
}

.trust-item {
    background: white;
    padding: 1.3rem;
}

.trust-item strong {
    display: block;
    color: var(--blue-900);
    font-size: 1.05rem;
}

.trust-item span {
    color: var(--gray-500);
    font-size: 0.92rem;
}

.section {
    padding: 5rem 0;
}

.section-soft {
    background: var(--gray-50);
}

.section-blue {
    background: var(--blue-950);
    color: white;
}

.section-blue h2 {
    color: white;
}

.section-heading {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 2.5rem;
}

.section-heading.split {
    max-width: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.section-heading.compact {
    margin-bottom: 1.5rem;
}

.section-heading h2,
.two-column h2,
.content-card h2,
.promo-card h2,
.product-card h3,
.branch-card h3 {
    color: var(--blue-950);
    margin: 0 0 0.7rem;
    line-height: 1.15;
}

.section-blue .two-column h2 {
    color: white;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.product-card,
.branch-card,
.category-card,
.content-card,
.form-card,
.order-summary,
.promo-card,
.team-card,
.admin-card,
.empty-state,
.confirmation-card,
.contact-panel,
.map-panel {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: 0 12px 36px rgba(7,26,61,0.08);
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: white;
}

.product-card-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    color: var(--blue-800);
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
}

.product-card h3 {
    font-size: 1.05rem;
}

.product-description {
    color: var(--gray-500);
    font-size: 0.9rem;
    min-height: 52px;
}

.product-meta {
    display: grid;
    gap: 0.35rem;
    margin: 0.8rem 0;
    font-weight: 800;
}

.product-meta span:last-child {
    color: var(--blue-800);
}

.branch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.branch-tags span {
    background: var(--blue-100);
    color: var(--blue-900);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.add-cart-form {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.6rem;
    margin-top: auto;
}

.add-cart-form input,
.filter-bar input,
.filter-bar select,
.form-card input,
.form-card textarea,
.form-card select,
.order-summary select,
.cart-row input,
.admin-form input,
.admin-form textarea,
.admin-form select,
.inline-form select {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.85rem 0.9rem;
    font: inherit;
    background: white;
}

.branch-card {
    overflow: hidden;
}

.branch-card img {
    height: 210px;
    width: 100%;
    object-fit: cover;
}

.branch-card-body {
    padding: 1.2rem;
}

.clean-list {
    padding: 0;
    margin: 1rem 0;
    list-style: none;
}

.clean-list li {
    margin-bottom: 0.45rem;
    color: var(--gray-500);
}

.card-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.category-card {
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--blue-950);
    font-weight: 900;
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 0.8rem;
}

.feature-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-list div {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 16px;
    padding: 1rem;
}

.feature-list strong,
.feature-list span {
    display: block;
}

.feature-list span {
    color: rgba(255,255,255,0.78);
}

.promo-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
}

.promo-card {
    padding: 2rem;
}

.promo-whatsapp {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    align-items: center;
}

.promo-whatsapp img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.page-hero,
.category-hero,
.branch-hero,
.page-title,
.contact-hero {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.page-title {
    text-align: center;
}

.category-hero,
.branch-hero,
.contact-hero {
    background:
        linear-gradient(90deg, rgba(7,26,61,.95), rgba(7,26,61,.72)),
        url("../images/sections/store-display.jpg") center/cover no-repeat;
    color: white;
}

.category-hero h1,
.branch-hero h1,
.contact-hero h1 {
    color: white;
}

.category-hero img,
.branch-hero img {
    width: 100%;
    max-height: 420px;
}

.mini-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.mini-badges span {
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

.category-sidebar {
    position: sticky;
    top: 104px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: 0 12px 36px rgba(7,26,61,0.08);
}

.category-sidebar h2 {
    font-size: 1.05rem;
    color: var(--blue-950);
}

.category-sidebar a {
    display: block;
    text-decoration: none;
    color: var(--gray-800);
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
    font-weight: 800;
}

.category-sidebar a.active,
.category-sidebar a:hover {
    background: var(--blue-800);
    color: white;
}

.filter-bar {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 1rem;
    box-shadow: 0 12px 36px rgba(7,26,61,0.06);
}

.cart-layout,
.branch-info-grid,
.admin-grid-two {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: start;
}

.branch-info-grid {
    grid-template-columns: repeat(3, 1fr);
}

.cart-items {
    display: grid;
    gap: 1rem;
}

.cart-row {
    display: grid;
    grid-template-columns: 120px 1fr 130px;
    gap: 1rem;
    align-items: center;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem;
}

.cart-row img {
    width: 120px;
    height: 95px;
    object-fit: cover;
    border-radius: 14px;
}

.order-summary,
.form-card,
.content-card,
.contact-panel,
.map-panel {
    padding: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
    padding: 0.8rem 0;
}

.notice {
    background: #fff7e6;
    color: #6b4b00;
    border: 1px solid #f7da91;
    border-radius: 14px;
    padding: 1rem;
}

.empty-state,
.confirmation-card {
    text-align: center;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.success-mark {
    display: inline-grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-weight: 900;
    margin-bottom: 1rem;
}

.confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
    margin: 2rem 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-grid .full {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 0.45rem;
    font-weight: 800;
    color: var(--blue-950);
}

.secure-note {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.checkout-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.checkout-item img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
}

.checkout-item span {
    display: block;
    color: var(--gray-500);
}

.story-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.story-timeline article {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    box-shadow: 0 12px 36px rgba(7,26,61,0.08);
}

.story-timeline img {
    height: 170px;
    width: 100%;
    object-fit: cover;
}

.story-timeline article h2,
.story-timeline article p {
    padding: 0 1rem;
}

.story-timeline article p {
    padding-bottom: 1rem;
}

.tick-list {
    padding-left: 1.1rem;
}

.tick-list li {
    margin-bottom: 0.4rem;
}

blockquote {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--blue-900);
    border-left: 5px solid var(--blue-800);
    padding-left: 1.2rem;
    margin-left: 0;
    font-weight: 700;
}

.map-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
}

.team-wide {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.team-card {
    overflow: hidden;
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card div {
    padding: 1.2rem;
}

.team-card h2 {
    color: var(--blue-950);
    font-size: 1.1rem;
}

.contact-grid {
    align-items: stretch;
    grid-template-columns: 0.85fr 1.25fr 1fr;
}

.contact-panel {
    background: var(--blue-950);
    color: white;
}

.contact-panel h2 {
    color: white;
}

.map-panel img {
    height: 320px;
    width: 100%;
    object-fit: cover;
}

.whatsapp-widget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
}

.whatsapp-toggle {
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: white;
    box-shadow: 0 18px 42px rgba(0,0,0,0.22);
    padding: 1rem 1.15rem;
    font-weight: 900;
    cursor: pointer;
}

.whatsapp-panel {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: 320px;
    background: white;
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
}

.whatsapp-widget.is-open .whatsapp-panel {
    display: block;
}

.whatsapp-panel h3 {
    margin: 0 0 0.3rem;
    color: var(--blue-950);
}

.whatsapp-panel a {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    text-decoration: none;
    margin-top: 0.6rem;
}

.alert {
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.alert-success {
    background: #e9f9ef;
    color: #0b6b32;
    border: 1px solid #afe7c3;
}

.alert-danger {
    background: #fff0f0;
    color: #8d1b1b;
    border: 1px solid #ffc6c6;
}

.alert-info {
    background: var(--blue-100);
    color: var(--blue-900);
    border: 1px solid #cfe0fa;
}

/* Admin */
.admin-body {
    background: var(--gray-50);
}

.admin-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--blue-950);
    color: white;
    padding: 1.2rem;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-logo img {
    width: 220px;
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.admin-nav {
    display: grid;
    gap: 0.35rem;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    font-weight: 800;
    padding: 0.85rem 1rem;
    border-radius: 14px;
}

.admin-nav a:hover {
    background: rgba(255,255,255,0.12);
}

.admin-main {
    padding: 1.5rem;
}

.admin-topbar {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-topbar h1 {
    margin: 0;
    color: var(--blue-950);
}

.admin-topbar p {
    margin: 0.2rem 0 0;
    color: var(--gray-500);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-stats div {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: 0 12px 36px rgba(7,26,61,0.06);
}

.admin-stats span {
    color: var(--gray-500);
    font-weight: 800;
}

.admin-stats strong {
    display: block;
    color: var(--blue-950);
    font-size: 2.2rem;
}

.admin-card {
    padding: 1.4rem;
    margin-bottom: 1.5rem;
}

.admin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-card h2 {
    margin: 0 0 1rem;
    color: var(--blue-950);
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 0.9rem;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

th {
    color: var(--blue-950);
    background: var(--gray-50);
}

td span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.table-product {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.table-product img {
    width: 56px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
}

.row-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.status-pill {
    display: inline-block;
    background: var(--blue-100);
    color: var(--blue-900);
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-weight: 900;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.quick-actions a {
    background: var(--blue-100);
    color: var(--blue-900);
    text-decoration: none;
    font-weight: 900;
    border-radius: 16px;
    padding: 1rem;
}

.admin-form {
    display: grid;
    gap: 1rem;
}

.branch-checkboxes {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}

.branch-checkboxes legend {
    font-weight: 900;
    color: var(--blue-950);
    padding: 0 0.4rem;
}

.admin-branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.admin-branch-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 16px;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        linear-gradient(90deg, rgba(7,26,61,.92), rgba(7,26,61,.76)),
        url("../images/sections/hero-home.jpg") center/cover no-repeat;
    padding: 2rem;
}

.login-card {
    width: min(440px, 100%);
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 24px 70px rgba(0,0,0,0.3);
}

.login-card img {
    width: 230px;
    margin: 0 auto 1rem;
}

.login-card h1 {
    text-align: center;
    color: var(--blue-950);
}

.login-card form {
    display: grid;
    gap: 1rem;
}

.footer-logo {
    width: 220px;
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.site-footer {
    background: var(--blue-950);
    color: rgba(255,255,255,0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: 4rem 0;
}

.site-footer h3 {
    color: white;
    margin-top: 0;
}

.site-footer a {
    display: block;
    color: rgba(255,255,255,0.84);
    text-decoration: none;
    margin-bottom: 0.45rem;
}

.footer-small {
    display: block;
    font-size: 0.82rem;
    margin: -0.2rem 0 0.7rem;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-socials span {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    .product-grid,
    .grid-4,
    .story-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--gray-200);
        display: none;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        min-width: auto;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: block;
    }

    .hero-grid,
    .page-hero-grid,
    .category-hero-grid,
    .branch-hero-grid,
    .two-column,
    .checkout-grid,
    .cart-layout,
    .branch-info-grid,
    .admin-grid-two,
    .promo-grid,
    .promo-whatsapp,
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-main {
        padding: 1rem;
    }

    .quick-actions,
    .admin-branch-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .brand img {
        width: 185px;
    }

    .hero,
    .section,
    .page-hero,
    .page-title,
    .category-hero,
    .branch-hero,
    .contact-hero {
        padding: 3rem 0;
    }

    .trust-grid,
    .grid-3,
    .grid-4,
    .product-grid,
    .category-grid,
    .story-timeline,
    .team-grid,
    .confirmation-grid,
    .footer-grid,
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .section-heading.split,
    .admin-topbar,
    .footer-bottom-inner {
        display: block;
    }

    .cart-row {
        grid-template-columns: 1fr;
    }

    .cart-row img {
        width: 100%;
        height: 180px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-panel {
        width: calc(100vw - 36px);
    }
}
