@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600&display=swap");

:root {
    --ink: #0f172a;
    --muted: #64748b;
    --paper: #f8fafc;
    --paper-strong: #f1f5f9;
    --sun: #00adee;
    --sky: #e0f7ff;
    --sea: #0c2d57;
    --accent: #00adee;
    --accent-hover: #0090c7;
    --accent-light: #e0f7ff;
    --stroke: #e2e8f0;
    --card: #ffffff;
    --shadow: 0 24px 60px rgba(0, 173, 238, 0.10);
    --shadow-sm: 0 4px 16px rgba(0, 173, 238, 0.08);
    --gradient-hero: linear-gradient(135deg, #0c2d57 0%, #00adee 100%);
    --gradient-card: linear-gradient(135deg, #e0f7ff 0%, #b3e5fc 100%);
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.4rem;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    --font-heading: "Inter", "Segoe UI", sans-serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
}

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

/* Global transitions */
a, .button, .product-card, .product-tile, .feature-card,
.bundle-card, .category-card, .testimonial-card, .mega-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 173, 238, 0.15);
}

/* ===== LAYOUT ===== */

.main-content {
    padding: 0 6vw 6rem;
}

/* ===== ANNOUNCEMENT BANNER ===== */

.announcement {
    background: var(--sea);
    color: #ffffff;
    padding: 0.6rem 6vw;
    font-size: 0.9rem;
}

.announcement-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.announcement-pill {
    background: var(--accent);
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
}

.announcement-link {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.announcement-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 0.4rem;
    line-height: 1;
    transition: color var(--transition-base);
}

.announcement-close:hover {
    color: #ffffff;
}

/* ===== TRUST STRIP ===== */

.trust-strip {
    background: var(--paper-strong);
    border-bottom: 1px solid var(--stroke);
    padding: 0.6rem 6vw;
    font-size: 0.85rem;
    color: var(--muted);
}

.trust-inner {
    display: grid;
    gap: 0.75rem 2rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}

/* ===== SITE HEADER ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--stroke);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 6vw;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sea);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    flex: 1;
}

.main-nav a {
    color: var(--muted);
    padding: 0.4rem 0;
    position: relative;
    transition: color var(--transition-base);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--ink);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* Dropdown wrapper for MegaMenu */
.nav-dropdown-wrapper {
    position: relative;
}

.nav-dropdown-wrapper .mega-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 700px;
    z-index: 30;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-dropdown-wrapper:hover .mega-menu {
    display: block;
    opacity: 1;
}

/* Hamburger button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ===== MEGA MENU ===== */

.mega-menu {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

.mega-card {
    background: var(--paper);
    border: 1px solid var(--stroke);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.mega-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

/* ===== MOBILE MENU ===== */

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 100;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

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

.mobile-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted);
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-drawer a {
    display: block;
    padding: 0.75rem 0;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--stroke);
    font-size: 1.05rem;
}

.mobile-drawer a:hover {
    color: var(--accent);
}

.mobile-drawer .button {
    margin-top: 1rem;
    text-align: center;
}

/* ===== HERO ===== */

.hero {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr 1fr;
    padding: 4rem 6vw 3rem;
    background: var(--gradient-hero);
    color: #ffffff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin: 0 -6vw 2rem;
    width: calc(100% + 12vw);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    margin: 0.4rem 0 1rem;
    line-height: 1.15;
}

.hero .eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 2rem;
}

.hero .button.primary {
    background: #ffffff;
    color: var(--sea);
}

.hero .button.primary:hover {
    background: var(--sky);
}

.hero .button.ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.hero .button.ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== HERO METRICS ===== */

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.hero-metrics strong,
.animated-counter strong {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    display: block;
}

.hero-metrics span,
.animated-counter span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.animated-counter {
    text-align: left;
}

/* ===== HERO CARDS / CAROUSEL ===== */

.hero-cards {
    display: grid;
    gap: 1rem;
    align-content: center;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.carousel-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.carousel-slide {
    min-width: 100%;
    padding: 0.25rem;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0 0;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background var(--transition-base);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
    padding: 0;
}

.carousel-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* ===== BUTTONS ===== */

.button {
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
}

.button.primary {
    background: var(--accent);
    color: #ffffff;
}

.button.primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 173, 238, 0.3);
}

.button.primary:active {
    transform: translateY(0);
}

.button.ghost {
    border-color: var(--stroke);
    color: var(--ink);
    background: #ffffff;
}

.button.ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* ===== BADGES ===== */

.badge {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge.soft {
    background: var(--accent-light);
    color: var(--accent-hover);
}

/* ===== PRODUCT CARD (hero cards) ===== */

.product-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.product-card-body {
    padding: 1.2rem 1.4rem 1.4rem;
}

.product-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0.6rem 0 0.4rem;
    font-size: 1.05rem;
    color: var(--ink);
}

.product-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* ===== PLACEHOLDER IMAGE ===== */

.placeholder-image {
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
    position: relative;
}

.placeholder-image svg {
    opacity: 0.5;
}

.placeholder-image span {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.placeholder-default {
    background: linear-gradient(135deg, #e0f7ff 0%, #b3e5fc 100%);
    color: var(--accent-hover);
}

.placeholder-blue {
    background: linear-gradient(135deg, #0c2d57 0%, #1a4a7a 100%);
    color: rgba(255, 255, 255, 0.8);
}

.placeholder-cyan {
    background: linear-gradient(135deg, #00adee 0%, #0090c7 100%);
    color: rgba(255, 255, 255, 0.8);
}

.placeholder-navy {
    background: linear-gradient(135deg, #0c2d57 0%, #00adee 100%);
    color: rgba(255, 255, 255, 0.8);
}

.product-card .placeholder-image {
    border-radius: 0;
}

/* ===== BUNDLE GRID ===== */

.bundle-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 2rem 0 3rem;
}

.bundle-card {
    background: var(--gradient-hero);
    color: #ffffff;
    padding: 1.6rem;
    border-radius: var(--radius-md);
    display: grid;
    gap: 0.8rem;
}

.bundle-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0;
}

.bundle-card p {
    opacity: 0.85;
    font-size: 0.95rem;
    margin: 0;
}

.bundle-card .button.ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.bundle-card .button.ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bundle-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bundle-icon svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

/* ===== SECTIONS ===== */

.section {
    margin: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0.3rem 0 0.4rem;
}

/* ===== PRODUCT GRID & TILES ===== */

.product-grid,
.feature-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-tile,
.feature-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 0;
    border: 1px solid var(--stroke);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.product-tile:hover,
.feature-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.tile-body,
.feature-card-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-tile h4,
.feature-card h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0;
}

.product-tile p,
.feature-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.tile-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 1.2rem 1.2rem;
    margin-top: auto;
}

.feature-card-body .feature-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.4rem;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

/* ===== CONSULTATION CALLOUT ===== */

.consult-callout {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    background: var(--paper-strong);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
}

.consult-callout h2 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.consult-panel {
    display: grid;
    gap: 1rem;
}

.panel-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid var(--stroke);
    transition: border-color var(--transition-base);
}

.panel-card:hover {
    border-color: var(--accent);
}

.panel-card h4 {
    font-family: var(--font-heading);
    margin: 0 0 0.3rem;
}

.panel-card p {
    color: var(--muted);
    margin: 0;
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS ===== */

.testimonial-row {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.6rem;
    border: 1px solid var(--stroke);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
}

.testimonial-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink);
    flex: 1;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.testimonial-footer span {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

/* ===== LOGO STRIP ===== */

.logo-strip {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.logo-strip span {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition-base);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.logo-strip span:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--accent);
}

/* ===== FAQ ===== */

.faq-grid {
    display: grid;
    gap: 0.75rem;
}

.faq-grid details {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    transition: border-color var(--transition-base);
}

.faq-grid details:hover {
    border-color: var(--accent);
}

.faq-grid details[open] {
    border-color: var(--accent);
}

.faq-grid details summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    gap: 1rem;
}

.faq-grid details summary::-webkit-details-marker {
    display: none;
}

.faq-grid details summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 400;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-grid details[open] summary::after {
    transform: rotate(45deg);
}

.faq-grid details p {
    margin: 0.8rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

/* ===== NEWSLETTER ===== */

.newsletter {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--stroke);
}

.newsletter h2 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.newsletter p {
    color: var(--muted);
}

.newsletter-form {
    display: grid;
    gap: 0.8rem;
    align-content: center;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.newsletter-form input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* ===== PAGE HERO ===== */

.page-hero {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    padding: 3rem 0 1rem;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.page-hero-card {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.page-hero-card h3 {
    font-family: var(--font-heading);
    margin: 0 0 0.6rem;
}

/* ===== CATEGORY GRID ===== */

.category-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 2rem 0;
}

.category-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 0;
    border: 1px solid var(--stroke);
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.category-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

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

.category-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
}

.category-card p {
    color: var(--muted);
    margin: 0;
    font-size: 0.9rem;
}

/* ===== HEADER ACTIONS ROW ===== */

.header-actions-row {
    background: var(--paper-strong);
    border-bottom: 1px solid var(--stroke);
}

.header-actions-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 6vw;
}

.header-actions-inner h3 {
    margin: 0 0 0.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.header-actions-inner p {
    margin: 0;
    color: var(--muted);
}

.header-actions-controls {
    display: inline-flex;
    gap: 0.8rem;
    align-items: center;
}

/* ===== CONTACT FORM ===== */

.contact-form {
    display: grid;
    gap: 1rem;
    max-width: 720px;
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stroke);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-light);
}

label {
    display: grid;
    gap: 0.3rem;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== SITE FOOTER ===== */

.site-footer {
    background: var(--sea);
    color: #ffffff;
    padding: 3rem 6vw 2rem;
}

.footer-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 0.6rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0 0 0.8rem;
}

.footer-links a {
    display: block;
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-badges span {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    padding-top: 1.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== CART BUTTON ===== */

.cart-button {
    border-radius: 999px;
    border: 1px solid var(--stroke);
    padding: 0.5rem 0.9rem;
    background: #ffffff;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    cursor: pointer;
    transition: border-color var(--transition-base);
}

.cart-button:hover {
    border-color: var(--accent);
}

.cart-icon-svg {
    width: 20px;
    height: 20px;
    color: var(--ink);
}

a.cart-button {
    text-decoration: none;
    color: inherit;
}

/* ===== FLOATING CONTACT ===== */

.floating-contact {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    background: var(--accent);
    color: #ffffff;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 173, 238, 0.3);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 50;
    transition: background var(--transition-base), transform var(--transition-base);
    animation: pulse 2s infinite;
}

.floating-contact:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.floating-contact svg {
    width: 20px;
    height: 20px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 173, 238, 0.3), 0 0 0 0 rgba(0, 173, 238, 0.4);
    }
    70% {
        box-shadow: 0 8px 24px rgba(0, 173, 238, 0.3), 0 0 0 12px rgba(0, 173, 238, 0);
    }
}

/* ===== UTILITY CLASSES ===== */

.text-link {
    color: var(--accent);
    font-weight: 600;
    transition: color var(--transition-base);
}

.text-link:hover {
    color: var(--accent-hover);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 600;
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
}

.price {
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
}

/* ===== SCROLL REVEAL ===== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== FOCUS ACCESSIBILITY ===== */

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== CART PAGE ===== */

.cart-layout,
.checkout-layout,
.confirmation-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 380px;
    align-items: start;
}

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

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    transition: border-color var(--transition-base);
}

.cart-item:hover {
    border-color: var(--accent);
}

.cart-item-details h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0 0 0.3rem;
}

.cart-item-details .price {
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--paper-strong);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}

.qty-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.qty-value {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.cart-item-total {
    font-size: 1rem;
    font-weight: 600;
    min-width: 5rem;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-base), background var(--transition-base);
}

.cart-item-remove:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* ===== CART SUMMARY SIDEBAR ===== */

.cart-summary {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: sticky;
    top: 6rem;
}

.cart-summary h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 1rem;
}

.cart-summary hr {
    border: none;
    border-top: 1px solid var(--stroke);
    margin: 1rem 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.summary-total {
    font-weight: 700;
    font-size: 1.1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.summary-item + .summary-item {
    border-top: 1px solid var(--paper-strong);
}

/* ===== EMPTY CART ===== */

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-cart svg {
    color: var(--muted);
    margin-bottom: 1rem;
}

.empty-cart h3 {
    font-family: var(--font-heading);
    margin: 0 0 0.5rem;
}

.empty-cart p {
    color: var(--muted);
    margin: 0 0 1.5rem;
}

/* ===== CHECKOUT FORM ===== */

.checkout-form {
    min-width: 0;
}

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

.checkout-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 1rem;
}

.checkout-form input {
    display: block;
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* ===== ORDER CONFIRMATION ===== */

.confirmation-details {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.confirmation-details h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 1rem;
}

.confirmation-details p {
    color: var(--muted);
    line-height: 1.7;
}

/* ===== RESPONSIVE: MOBILE (default / < 768px) ===== */

@media (max-width: 767px) {
    .main-content {
        padding: 0 4vw 5rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 4vw;
        margin: 0 -4vw 2rem;
        width: calc(100% + 8vw);
        gap: 2rem;
    }

    .hero-cards {
        max-width: 100%;
    }

    .header-inner {
        padding: 0.8rem 4vw;
    }

    .hamburger-btn {
        display: flex;
    }

    .main-nav.desktop-only {
        display: none !important;
    }

    .nav-actions .button {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero {
        grid-template-columns: 1fr;
    }

    .consult-callout {
        grid-template-columns: 1fr;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .floating-contact {
        left: 1rem;
        right: 1rem;
        text-align: center;
        justify-content: center;
    }

    .button {
        min-height: 44px;
        padding: 0.85rem 1.6rem;
    }

    .trust-strip {
        overflow-x: auto;
        padding: 0.6rem 4vw;
    }

    .trust-inner {
        display: flex;
        gap: 1.5rem;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .announcement {
        padding: 0.6rem 4vw;
        font-size: 0.8rem;
    }

    .carousel-controls {
        padding: 0.5rem 0 0;
    }

    .header-actions-inner {
        grid-template-columns: 1fr;
        padding: 0.9rem 4vw;
    }

    .header-actions-controls {
        justify-self: start;
    }

    .cart-layout,
    .checkout-layout,
    .confirmation-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr auto auto;
        gap: 0.75rem;
    }

    .cart-item .placeholder-image {
        display: none;
    }

    .cart-item-total {
        text-align: left;
    }

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

/* ===== RESPONSIVE: TABLET (768px+) ===== */

@media (min-width: 768px) {
    .hamburger-btn {
        display: none;
    }

    .main-nav.desktop-only {
        display: flex;
    }

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

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

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

/* ===== RESPONSIVE: DESKTOP (1024px+) ===== */

@media (min-width: 1024px) {
    .product-grid,
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

/* ===== RESPONSIVE: WIDE (1280px+) ===== */

@media (min-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .main-content {
        padding: 0 8vw 6rem;
    }
}

/* ===== ADMIN ===== */

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.admin-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    padding: 1.2rem;
    font-weight: 600;
    transition: border-color var(--transition-base);
}

.admin-card:hover {
    border-color: var(--accent);
}

.admin-form {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: grid;
    gap: 0.8rem;
}

.admin-form h3 {
    margin: 0;
    font-family: var(--font-heading);
}

.admin-table {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--stroke);
}

.admin-table th {
    background: var(--paper-strong);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

.form-actions {
    display: inline-flex;
    gap: 0.8rem;
}

label.checkbox {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
}

/* ───────────── Auth & Account ───────────── */
.auth-form-container {
    max-width: 440px;
    margin: 0 auto;
}

.auth-form-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links .divider {
    margin: 0 0.5rem;
    color: var(--border);
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.form-error p {
    margin: 0;
}

.form-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-success svg {
    flex-shrink: 0;
    color: #16a34a;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--surface);
    color: var(--text-main);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 200, 220, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

/* Account breadcrumb */
.account-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.account-breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.account-breadcrumb a:hover {
    text-decoration: underline;
}

.account-breadcrumb span {
    margin: 0 0.3rem;
}

/* Account dashboard */
.account-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
}

.dashboard-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    text-decoration: none;
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dashboard-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0, 200, 220, 0.08);
}

.dashboard-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 200, 220, 0.1), rgba(0, 120, 255, 0.08));
    color: var(--accent);
}

.dashboard-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.dashboard-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Account form pages */
.account-form-container {
    max-width: 560px;
}

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

.account-form-container .form-group {
    margin-bottom: 1rem;
}

/* Order cards */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    background: var(--surface);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-card-header .order-number {
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    font-size: 0.9rem;
}

.order-card-header .order-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.order-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.order-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-pending { background: #fef9c3; color: #854d0e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-processing { background: #e0e7ff; color: #3730a3; }
.status-shipped { background: #d1fae5; color: #065f46; }
.status-delivered { background: #ecfdf5; color: #047857; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* Order detail */
.order-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.order-detail-main h3 {
    margin: 1.5rem 0 0.8rem;
    font-size: 1rem;
}

.order-detail-main h3:first-child {
    margin-top: 0;
}

.order-detail-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.order-item-info .item-name {
    font-weight: 600;
}

.order-item-info .item-qty {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-totals {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.order-detail-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.order-detail-sidebar h3 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
}

.order-detail-sidebar p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.order-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* Address cards */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.address-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    background: var(--surface);
    position: relative;
}

.address-card.default {
    border-color: var(--accent);
}

.address-card .badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: linear-gradient(135deg, rgba(0, 200, 220, 0.15), rgba(0, 120, 255, 0.1));
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.address-card h4 {
    margin: 0 0 0.5rem;
}

.address-card p {
    margin: 0.15rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.address-card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.address-card-actions button.danger {
    color: #dc2626;
}

.address-form-panel {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--surface);
    max-width: 560px;
}

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

.address-form-panel .form-group {
    margin-bottom: 1rem;
}

.form-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

/* Checkout sign-in prompt */
.checkout-signin-prompt {
    background: linear-gradient(135deg, rgba(0, 200, 220, 0.06), rgba(0, 120, 255, 0.04));
    border: 1px solid rgba(0, 200, 220, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkout-signin-prompt a {
    color: var(--accent);
    font-weight: 600;
}

/* Header auth links */
.header-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-main);
    transition: background 0.2s, color 0.2s;
}

.header-icon-link:hover {
    background: rgba(0, 200, 220, 0.1);
    color: var(--accent);
}

.header-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.header-link:hover {
    background: rgba(0, 200, 220, 0.08);
}

/* Admin Orders */
.admin-orders-filters {
    margin-bottom: 1.5rem;
}

.admin-orders-filters select {
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--surface);
    color: var(--text-main);
}

.admin-orders-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-order-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    overflow: hidden;
}

.admin-order-header {
    display: grid;
    grid-template-columns: 160px 1fr 1fr 100px 100px 80px 30px;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.88rem;
}

.admin-order-header:hover {
    background: rgba(0, 200, 220, 0.04);
}

.admin-order-header .order-number {
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
}

.admin-order-header .expand-icon {
    text-align: center;
    color: var(--text-muted);
}

.admin-order-detail {
    padding: 1rem 1.2rem 1.2rem;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.admin-order-detail h4 {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.admin-order-item-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.88rem;
    padding: 0.3rem 0;
}

.admin-order-shipping p {
    margin: 0.15rem 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.admin-order-status-update {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-order-status-update select {
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.88rem;
}

/* Button variants */
.button.small {
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
}

.button.outline.small {
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
}

.text-link {
    background: none;
    border: none;
    color: var(--accent);
    font-size: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
}

.text-link.danger {
    color: #dc2626;
}

.muted {
    color: var(--text-muted);
}

/* Responsive: account pages */
@media (max-width: 768px) {
    .order-detail-layout {
        grid-template-columns: 1fr;
    }

    .admin-order-header {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }

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

    .account-form-container .form-row,
    .auth-form-container .form-row,
    .address-form-panel .form-row {
        grid-template-columns: 1fr;
    }

    .account-dashboard {
        grid-template-columns: 1fr;
    }
}
