/* ============================================================
   Danke Pio Company Ltd — Main Stylesheet
   Brand: Red #E8192C | Blue #1A3A8F | White #FFFFFF
   ============================================================ */

:root {
    --red:      #E8192C;
    --red-dark: #C0121F;
    --blue:     #1A3A8F;
    --blue-dark:#122970;
    --blue-light:#2B52C8;
    --white:    #FFFFFF;
    --off-white:#F8F6F2;
    --gray-100: #F2F2F2;
    --gray-300: #CCCCCC;
    --gray-600: #666666;
    --gray-800: #222222;
    --shadow:   0 4px 20px rgba(26,58,143,0.12);
    --shadow-lg:0 8px 40px rgba(26,58,143,0.18);
    --radius:   8px;
    --radius-lg:16px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow); }

.header-top {
    background: var(--blue);
    color: var(--white);
    font-size: 13px;
    padding: 6px 0;
}
.header-top .container {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.main-nav {
    background: var(--white);
    border-bottom: 3px solid var(--red);
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 8px 20px;
}
.nav-logo img { height: 60px; object-fit: contain; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    margin-left: auto;
}
.nav-links a {
    display: block;
    padding: 8px 16px;
    font-weight: 500;
    color: var(--gray-800);
    border-radius: var(--radius);
    transition: all .2s;
    font-size: 15px;
}
.nav-links a:hover, .nav-links a.active {
    background: var(--blue);
    color: var(--white);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: background .2s;
}
.cart-btn:hover { background: var(--red-dark); }
.cart-badge {
    background: var(--white);
    color: var(--red);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
    color: var(--blue);
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, #0a1d5c 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(232,25,44,0.15);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-text h1 span { color: var(--red); }
.hero-text p {
    font-size: 18px;
    opacity: .85;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    font-family: var(--font-body);
}
.btn-primary   { background: var(--red);  color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-blue      { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 14px; }

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-logo-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    max-width: 340px;
}

/* ── SECTION STYLES ── */
section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 10px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--blue);
    margin-bottom: 14px;
}
.section-header p { color: var(--gray-600); max-width: 560px; margin: 0 auto; }

/* ── PRODUCT GRID ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image .placeholder {
    font-size: 64px;
    opacity: .3;
}
.badge-featured {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.product-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-600);
    margin-bottom: 6px;
}
.product-name {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.3;
}
.product-desc {
    font-size: 13px;
    color: var(--gray-600);
    flex: 1;
    margin-bottom: 16px;
    line-height: 1.6;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
}
.stock-low { color: #c07000; font-size: 12px; }
.stock-out { color: var(--red); font-size: 12px; }

/* ── WHY US ── */
.features-bg { background: var(--off-white); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
}
.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform .2s;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; color: var(--blue); margin-bottom: 10px; font-weight: 600; }
.feature-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ── CTA BANNER ── */
.cta-banner {
    background: var(--red);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}
.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 14px;
}
.cta-banner p { font-size: 17px; opacity: .9; margin-bottom: 28px; }

/* ── SHOP PAGE ── */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}
.shop-sidebar { position: sticky; top: 120px; }
.sidebar-box {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}
.sidebar-box h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--blue);
    margin-bottom: 16px;
    font-weight: 600;
}
.sidebar-box ul { list-style: none; }
.sidebar-box ul li a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-300);
    transition: color .2s;
}
.sidebar-box ul li a:hover { color: var(--red); }
.sidebar-box ul li a.active { color: var(--red); font-weight: 600; }

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.shop-header h2 { font-family: var(--font-display); color: var(--blue); font-size: 1.6rem; }
.shop-count { color: var(--gray-600); font-size: 14px; }

/* ── CART ── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    background: var(--blue);
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.cart-item-name { font-weight: 500; }
.cart-item-price, .cart-item-total { color: var(--blue); font-weight: 600; }
.cart-qty input {
    width: 60px;
    padding: 6px 10px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 15px;
    text-align: center;
}
.remove-btn {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    transition: transform .2s;
}
.remove-btn:hover { transform: scale(1.2); }

.order-summary {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky;
    top: 120px;
}
.order-summary h3 {
    font-family: var(--font-display);
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-300);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}
.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    border-top: 2px solid var(--gray-300);
    margin-top: 12px;
    padding-top: 12px;
}
.summary-row.tax { color: var(--gray-600); font-size: 13px; }

/* ── FORMS ── */
.form-section { background: var(--off-white); padding: 60px 0; }
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}
.form-card h2 {
    font-family: var(--font-display);
    color: var(--blue);
    margin-bottom: 30px;
    font-size: 1.6rem;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
    color: var(--gray-800);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,58,143,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── RECEIPT ── */
.receipt-wrap {
    max-width: 750px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.receipt-header {
    background: var(--blue);
    color: var(--white);
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.receipt-header img { height: 70px; filter: brightness(0) invert(1); }
.receipt-meta { text-align: right; }
.receipt-meta h2 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: .1em;
    margin-bottom: 4px;
}
.receipt-meta p { opacity: .8; font-size: 14px; }
.order-num { font-size: 22px; font-weight: 700; color: var(--red); margin-top: 6px; }

.receipt-body { padding: 40px; }
.receipt-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 36px;
}
.receipt-party h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--gray-600);
    margin-bottom: 10px;
    font-weight: 600;
}
.receipt-party p { font-size: 14px; line-height: 1.8; }
.receipt-party .name { font-weight: 600; font-size: 16px; color: var(--blue); }

.receipt-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.receipt-table th {
    background: var(--blue);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.receipt-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}
.receipt-table tr:nth-child(even) td { background: var(--off-white); }

.receipt-totals { max-width: 320px; margin-left: auto; }
.receipt-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
}
.receipt-total-row.grand {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    border-top: 2px solid var(--blue);
    border-bottom: none;
    margin-top: 8px;
    padding-top: 12px;
}

.receipt-footer {
    background: var(--red);
    color: var(--white);
    text-align: center;
    padding: 20px 40px;
    font-size: 14px;
}
.receipt-footer p { opacity: .9; }
.receipt-footer strong { font-size: 16px; display: block; margin-bottom: 6px; }

.receipt-actions { display: flex; gap: 12px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }

/* ── ADMIN ── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar {
    background: var(--blue-dark);
    color: var(--white);
    padding: 0;
}
.admin-sidebar .logo-area {
    background: var(--blue);
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-sidebar .logo-area img { height: 50px; margin: 0 auto; filter: brightness(0) invert(1); }
.admin-nav { padding: 20px 0; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
    border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border-left-color: var(--red);
}
.admin-nav .nav-group-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: rgba(255,255,255,.35);
    padding: 20px 24px 8px;
}

.admin-main { background: var(--gray-100); }
.admin-topbar {
    background: var(--white);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.admin-topbar h1 { font-size: 1.2rem; color: var(--blue); font-family: var(--font-display); }
.admin-content { padding: 32px; }

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--blue);
}
.stat-card.red-accent { border-left-color: var(--red); }
.stat-card .stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-600); margin-bottom: 8px; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; color: var(--blue); font-family: var(--font-display); }
.stat-card.red-accent .stat-value { color: var(--red); }

.data-table-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.data-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}
.data-table-header h3 { font-family: var(--font-display); color: var(--blue); }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    background: var(--off-white);
    color: var(--blue);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    vertical-align: middle;
}
.data-table tr:hover td { background: var(--off-white); }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.status-pending    { background: #FFF3CD; color: #856404; }
.status-processing { background: #CCE5FF; color: #003d7a; }
.status-completed  { background: #D4EDDA; color: #155724; }
.status-cancelled  { background: #F8D7DA; color: #721c24; }

.action-btns { display: flex; gap: 6px; }
.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s;
}
.icon-btn:hover { opacity: .85; }
.icon-btn-blue   { background: var(--blue); color: var(--white); }
.icon-btn-red    { background: var(--red);  color: var(--white); }
.icon-btn-green  { background: #28a745;     color: var(--white); }
.icon-btn-gray   { background: var(--gray-300); color: var(--gray-800); }

/* ── ALERTS ── */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
}
.alert-success { background: #D4EDDA; color: #155724; border-color: #28a745; }
.alert-error   { background: #F8D7DA; color: #721c24; border-color: var(--red); }
.alert-info    { background: #CCE5FF; color: #003d7a; border-color: var(--blue); }

/* ── PAGE HEADER ── */
.page-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 10px;
}
.page-hero p { opacity: .8; font-size: 17px; }

/* ── EMPTY STATE ── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-600);
}
.empty-state .icon { font-size: 64px; margin-bottom: 20px; }
.empty-state h3 { font-size: 1.3rem; color: var(--gray-800); margin-bottom: 10px; }

/* ── FOOTER ── */
.site-footer { background: var(--blue-dark); color: var(--white); margin-top: auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 50px 20px 40px;
}
.footer-brand img { height: 70px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { opacity: .7; font-size: 14px; line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--red);
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: rgba(255,255,255,.7); font-size: 14px; transition: color .2s; }
.footer-links ul li a:hover { color: var(--white); }
.footer-contact p { opacity: .7; font-size: 14px; margin-bottom: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px;
    text-align: center;
    font-size: 13px;
    opacity: .5;
}

/* ── UTILS ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--gray-100); margin: 32px 0; }

/* ── LOGIN PAGE ── */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}
.login-card .logo-wrap { text-align: center; margin-bottom: 32px; }
.login-card .logo-wrap img { height: 80px; margin: 0 auto 12px; }
.login-card h2 {
    font-family: var(--font-display);
    color: var(--blue);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 28px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .receipt-parties { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .nav-inner { flex-wrap: wrap; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .receipt-header { flex-direction: column; text-align: center; }
    .receipt-meta { text-align: center; }
}
