@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --brand-blue: #1f5ea8;
    --brand-blue-dark: #0f2f57;
    --brand-cyan: #33c7dc;
    --brand-teal: #1fb5c2;
    --btn-gradient: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 55%, var(--brand-cyan) 100%);
    --btn-shadow: 0 8px 18px rgba(15, 47, 87, 0.24);
    --ink: #0f2f57;
    --text: #26415d;
    --surface: #f4fbff;
    --surface-alt: #eaf6ff;
    --line: #cce4f7;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 22px;

    --shadow-1: 0 10px 28px rgba(15, 47, 87, 0.10);
    --shadow-2: 0 16px 44px rgba(15, 47, 87, 0.14);
    --shadow-3: 0 22px 62px rgba(15, 47, 87, 0.18);

    --focus-ring: 0 0 0 3px rgba(51, 199, 220, 0.18);
}

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

body {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--text);
    background:
      /* Signature "Ctrl C" circuit/grid motif (subtle, brand-colored) */
      repeating-linear-gradient(
        90deg,
        color-mix(in srgb, var(--brand-blue) 6%, transparent) 0 1px,
        transparent 1px 28px
      ),
      repeating-linear-gradient(
        0deg,
        color-mix(in srgb, var(--brand-cyan) 6%, transparent) 0 1px,
        transparent 1px 28px
      ),
      radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--brand-cyan) 14%, transparent) 0 2px, transparent 3px 100%),
      radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--brand-blue) 14%, transparent) 0 2px, transparent 3px 100%),
      radial-gradient(circle at 72% 74%, color-mix(in srgb, var(--brand-cyan) 12%, transparent) 0 2px, transparent 3px 100%),
      radial-gradient(circle at 22% 78%, color-mix(in srgb, var(--brand-blue) 12%, transparent) 0 2px, transparent 3px 100%),
      radial-gradient(circle at 4% 0%, rgba(51, 199, 220, 0.12) 0, transparent 32%),
      radial-gradient(circle at 100% 0%, rgba(31, 94, 168, 0.14) 0, transparent 36%),
      linear-gradient(180deg, #f8fdff 0%, #eef7ff 100%);
}

/* Accent-edge surfaces: makes cards feel intentionally designed */
:is(
    .product-card,
    .content-card,
    .info-card,
    .cart-item,
    .cart-summary,
    .order-card,
    .order-review,
    .checkout-security,
    .service-card,
    .service-cta
) {
    position: relative;
    overflow: hidden;
}

:is(
    .product-card,
    .content-card,
    .info-card,
    .cart-item,
    .cart-summary,
    .order-card,
    .order-review,
    .checkout-security,
    .service-card,
    .service-cta
)::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
    opacity: 0.85;
    pointer-events: none;
}

@media (hover: hover) {
    :is(.content-card, .info-card, .order-card, .service-cta):hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-2);
        transition: transform 0.22s ease, box-shadow 0.22s ease;
    }
}

/* Subtle entrance animations (disabled for reduced motion) */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 520ms ease, transform 520ms ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.top-bar {
    background-color: var(--ink);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.store-link {
    padding: 5px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.store-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.store-link.active {
    background-color: var(--brand-blue);
    color: var(--ink);
    font-weight: bold;
}

header {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #e8f5ff 100%);
    box-shadow: 0 8px 32px rgba(15, 47, 87, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(51, 199, 220, 0.15);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.mobile-auth-links {
    display: none;
    align-items: center;
    gap: 0;
}

.mobile-auth-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    padding: 0;
    border: none;
    background: none;
}

.mobile-auth-links a:hover {
    color: var(--brand-cyan);
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(31, 94, 168, 0.22);
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-btn:hover {
    background: white;
    border-color: rgba(51, 199, 220, 0.7);
    transform: translateY(-1px);
}

.mobile-menu-icon {
    font-size: 20px;
    line-height: 1;
}

.auth-sep {
    color: #9ca3af;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: none;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.logo.no-logo .logo-text {
    display: inline-block;
}

.search-bar {
    flex: 1;
    max-width: 620px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: #7f8c8d;
    position: absolute;
    left: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-bar:focus-within .search-icon {
    color: var(--brand-blue);
}

.search-input {
    width: 100%;
    padding: 13px 18px 13px 48px;
    border: 2px solid rgba(51, 199, 220, 0.3);
    border-radius: 28px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    font-family: inherit;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-input:focus {
    border-color: var(--brand-cyan);
    background: white;
    box-shadow: 0 0 0 3px rgba(51, 199, 220, 0.1);
}

.search-input:hover {
    border-color: rgba(51, 199, 220, 0.5);
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-actions a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.header-actions a:hover {
    color: var(--brand-cyan);
}

.cart {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Slide-down Cart Panel */
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cart-panel.active {
    pointer-events: all;
    opacity: 1;
}

.cart-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-panel.active .cart-panel-overlay {
    opacity: 1;
}

.cart-panel-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 90%;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-panel.active .cart-panel-content {
    transform: translateX(0);
}

.cart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--line);
    background: linear-gradient(120deg, #f4fbff 0%, #eaf6ff 100%);
}

.cart-panel-header h2 {
    margin: 0;
    font-size: 22px;
    color: var(--ink);
}

.cart-panel-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.cart-panel-close:hover {
    color: var(--brand-blue);
}

.cart-panel-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-panel-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.cart-panel-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-panel-item-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    flex-shrink: 0;
}

.cart-panel-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.cart-panel-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-panel-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.cart-panel-item-price {
    font-size: 16px;
    color: var(--brand-blue);
    font-weight: bold;
}

.cart-panel-item-qty {
    font-size: 12px;
    color: #7f8c8d;
}

.cart-panel-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-top: auto;
}

.cart-panel-item-remove:hover {
    color: #c0392b;
}

.cart-panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #7f8c8d;
}

.cart-panel-empty .empty-icon {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.cart-panel-empty p {
    font-size: 16px;
}

.cart-panel-footer {
    border-top: 2px solid var(--line);
    padding: 20px;
    background: #f7fcff;
}

.cart-panel-summary {
    margin-bottom: 20px;
}

.cart-panel-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.cart-panel-summary .summary-total {
    font-size: 18px;
    font-weight: bold;
    color: var(--ink);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #d0d0d0;
}

.cart-panel-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-view-cart {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    color: var(--brand-blue);
    text-decoration: none;
    border: 2px solid var(--brand-blue);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-cart:hover {
    background-color: var(--brand-blue);
    color: white;
}

.btn-checkout-panel {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-checkout-panel:hover {
    filter: brightness(0.95);
}

/* Navigation */
nav {
    background-color: #f5fbff;
    border-bottom: 1px solid var(--line);
}

/* Mobile slide-in nav drawer (hidden by default; enabled in mobile media query) */
.mobile-nav-drawer {
    display: none;
}

body.mobile-nav-open {
    overflow: hidden;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    width: min(84vw, 340px);
    background: #ffffff;
    border-right: 1px solid rgba(31, 94, 168, 0.14);
    box-shadow: 18px 0 40px rgba(15, 47, 87, 0.18);
    transform: translateX(-102%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #e8f5ff 100%);
}

.mobile-nav-title {
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 22px;
    color: #6b7280;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-close:hover {
    background: rgba(31, 94, 168, 0.08);
    color: var(--ink);
}

.mobile-nav-links {
    padding: 10px 10px 18px;
    display: grid;
    gap: 10px;
    overflow: visible;
    flex: 0 0 auto;
}

.mobile-nav-links a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 13px;
    border: 1px solid rgba(31, 94, 168, 0.14);
    border-radius: 12px;
    background: #f5fbff;
    padding: 12px 12px;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.mobile-nav-links a:hover {
    border-color: rgba(51, 199, 220, 0.8);
    background: #eef9ff;
    transform: translateX(2px);
}

.mobile-nav-footer {
    border-top: 1px solid rgba(31, 94, 168, 0.14);
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
    margin-top: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-height: 0;
}

.mobile-nav-footer-block {
    margin-top: 12px;
}

.mobile-nav-footer-block:first-child {
    margin-top: 0;
}

.mobile-nav-footer-title {
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(15, 47, 87, 0.82);
    margin-bottom: 8px;
}

.mobile-nav-footer-text {
    font-size: 13px;
    color: rgba(15, 47, 87, 0.7);
    line-height: 1.4;
    margin-bottom: 6px;
}

.mobile-nav-footer-link {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 10px;
    border-radius: 10px;
    background: rgba(31, 94, 168, 0.06);
    border: 1px solid rgba(31, 94, 168, 0.12);
    margin-bottom: 8px;
}

.mobile-nav-footer-link:hover {
    background: rgba(31, 94, 168, 0.1);
    border-color: rgba(51, 199, 220, 0.7);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: var(--ink);
    text-decoration: none;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
    display: block;
}

.nav-item > a.is-current {
    color: var(--brand-blue);
    font-weight: 700;
}

.nav-item > a.is-current::after {
    width: 100%;
    background-size: 200% 100%;
    animation: navAccentFlow 2.8s linear infinite;
}

.mobile-nav-links a.is-current {
    border-color: rgba(51, 199, 220, 0.9);
    background: #eef9ff;
}

.nav-item > a:hover {
    color: var(--brand-blue);
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
    transition: width 0.3s;
}

@keyframes navAccentFlow {
    from { background-position: 0% 50%; }
    to { background-position: 200% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .nav-item > a.is-current::after {
        animation: none;
    }
}

.nav-item:hover > a::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    margin-top: 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    transition: background-color 0.2s, color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background-color: var(--surface);
    color: var(--brand-blue);
}

/* Main Content */
main {
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 60vh;
    
}

/* Homepage Hero */
.home-hero {
    margin-bottom: 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr minmax(280px, 0.8fr);
    gap: 22px;
    align-items: stretch;
}

.hero-copy {
    background:
      radial-gradient(circle at 8% 8%, rgba(51, 199, 220, 0.28) 0, transparent 28%),
      radial-gradient(circle at 95% 88%, rgba(31, 94, 168, 0.28) 0, transparent 32%),
      linear-gradient(135deg, #0e2f57 0%, #1f5ea8 56%, #33c7dc 100%);
    color: white;
    border-radius: 18px;
    padding: 50px 46px;
    box-shadow: 0 20px 42px rgba(15, 47, 87, 0.24);
}

.hero-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 16px;
}

.hero-copy h1 {
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    line-height: 1.08;
    margin-bottom: 16px;
    max-width: 17ch;
}

.hero-lead {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.7;
    max-width: 56ch;
    opacity: 0.96;
}

.hero-cta-row {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

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

.hero-btn-primary {
    color: #0e2f57;
    background: #e8f8ff;
    box-shadow: 0 8px 18px rgba(5, 13, 24, 0.22);
}

.hero-btn-primary:hover {
    filter: brightness(0.96);
}

.hero-btn-secondary {
    color: #f2fbff;
    border: 1px solid rgba(242, 251, 255, 0.52);
    background: rgba(255, 255, 255, 0.12);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.19);
}

.hero-points {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hero-point {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
}

.hero-panel {
    background: white;
    border: 1px solid rgba(31, 94, 168, 0.15);
    border-radius: 18px;
    padding: 24px;
    display: grid;
    gap: 10px;
    box-shadow: 0 14px 30px rgba(15, 47, 87, 0.12);
}

.hero-panel h2 {
    color: var(--ink);
    font-size: 24px;
    margin-bottom: 6px;
}

.hero-panel-link {
    text-decoration: none;
    border: 1px solid rgba(31, 94, 168, 0.16);
    border-radius: 12px;
    background: #f5fbff;
    padding: 12px;
    color: var(--ink);
    display: grid;
    gap: 4px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-panel-link span {
    font-weight: 700;
}

.hero-panel-link small {
    color: #36526f;
    line-height: 1.35;
}

.hero-panel-link:hover {
    transform: translateY(-2px);
    border-color: rgba(51, 199, 220, 0.9);
    box-shadow: 0 8px 14px rgba(15, 47, 87, 0.08);
}

.hero-slideshow {
    background: white;
    border: 1px solid rgba(31, 94, 168, 0.15);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 47, 87, 0.12);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 360px;
}

.hero-slideshow-track {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.65s ease;
    background: #0e2f57;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-slide figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px;
    color: #f2fbff;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, rgba(14, 47, 87, 0) 0%, rgba(14, 47, 87, 0.82) 55%, rgba(14, 47, 87, 0.92) 100%);
}

.hero-slide figcaption small {
    display: block;
    margin-top: 6px;
    font-weight: 600;
    letter-spacing: normal;
    opacity: 0.92;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 40px 30px;
    }

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

@media (max-width: 560px) {
    .hero-copy {
        padding: 30px 22px;
        border-radius: 14px;
    }

    .hero-panel {
        border-radius: 14px;
        padding: 16px;
    }

    .hero-slideshow {
        border-radius: 14px;
        min-height: 300px;
    }

    .hero-btn {
        width: 100%;
    }
}

.hero {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 55%, var(--brand-cyan) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* Products Grid */
.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.products-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--ink);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.catalog-layout.with-sidebar {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.catalog-sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
    border: 1px solid rgba(31, 94, 168, 0.16);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(15, 47, 87, 0.08);
    position: sticky;
    top: 110px;
}

.catalog-sidebar h3 {
    color: var(--ink);
    font-size: 18px;
    margin-bottom: 14px;
}

.sidebar-links {
    display: grid;
    gap: 8px;
}

.sidebar-link {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    border: 1px solid rgba(31, 94, 168, 0.12);
    border-radius: 10px;
    background: #ffffff;
    padding: 10px 12px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sidebar-link:hover {
    transform: translateX(3px);
    border-color: rgba(51, 199, 220, 0.8);
    background: #eef9ff;
}

.sidebar-link.active {
    background: linear-gradient(120deg, rgba(31, 94, 168, 0.14) 0%, rgba(51, 199, 220, 0.16) 100%);
    border-color: rgba(31, 94, 168, 0.45);
    color: #0d3b66;
}

.catalog-main-content {
    min-width: 0;
}

.products-section.accessories-page-shell {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 30px 24px 40px 306px;
    transition: padding-left 0.28s ease;
}

.accessories-content-wrap {
    min-width: 0;
}

.accessories-sidebar {
    position: fixed;
    left: 0;
    top: var(--accessories-sidebar-top, 150px);
    height: var(--accessories-sidebar-height, calc(100vh - 150px));
    width: 282px;
    border-radius: 0 16px 16px 0;
    border-left: none;
    padding: 54px 16px 16px;
    overflow-y: auto;
    z-index: 900;
    transition: width 0.28s ease, padding 0.28s ease, box-shadow 0.28s ease, top 0.2s ease, height 0.2s ease;
}

.sidebar-toggle {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 1px solid rgba(31, 94, 168, 0.25);
    background: #ffffff;
    color: var(--ink);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-toggle:hover {
    background: #eaf6ff;
    transform: translateY(-1px);
}

.toggle-icon {
    font-size: 12px;
    line-height: 1;
}

.sidebar-subcategory-search {
    margin-bottom: 12px;
}

.subcategory-search-input {
    width: 100%;
    border: 1px solid rgba(31, 94, 168, 0.25);
    border-radius: 10px;
    padding: 9px 11px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

.subcategory-search-input:focus {
    outline: none;
    border-color: rgba(31, 94, 168, 0.55);
    box-shadow: 0 0 0 3px rgba(51, 199, 220, 0.16);
}

.subcategory-empty-message {
    margin-top: 10px;
    font-size: 14px;
    color: #4d6784;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.accessories-sidebar-collapsed .products-section.accessories-page-shell {
    padding-left: 96px;
}

body.accessories-sidebar-collapsed .accessories-sidebar {
    width: 72px;
    padding: 54px 10px 14px;
}

body.accessories-sidebar-collapsed .accessories-sidebar h3,
body.accessories-sidebar-collapsed .accessories-sidebar .sidebar-subcategory-search,
body.accessories-sidebar-collapsed .accessories-sidebar .sidebar-links,
body.accessories-sidebar-collapsed .accessories-sidebar .subcategory-empty-message {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.accessories-sidebar-collapsed .sidebar-toggle {
    right: 8px;
}

body.accessories-sidebar-collapsed .sidebar-toggle .toggle-label {
    display: none;
}

body.accessories-sidebar-collapsed .sidebar-toggle .toggle-icon {
    font-size: 14px;
}

@media (max-width: 980px) {
    .products-section.accessories-page-shell {
        padding: 22px 14px;
    }

    .accessories-sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-radius: 14px;
        border-left: 1px solid rgba(31, 94, 168, 0.16);
        padding: 16px;
        margin-bottom: 14px;
    }

    .sidebar-toggle {
        position: static;
        margin-bottom: 10px;
    }

    body.accessories-sidebar-collapsed .products-section.accessories-page-shell {
        padding: 22px 14px;
    }

    body.accessories-sidebar-collapsed .accessories-sidebar {
        width: 100%;
        padding: 16px;
    }

    /* On mobile/tablet, the toggle should actually collapse the list */
    body.accessories-sidebar-collapsed .accessories-sidebar {
        padding: 12px;
    }

    body.accessories-sidebar-collapsed .accessories-sidebar h3,
    body.accessories-sidebar-collapsed .accessories-sidebar .sidebar-subcategory-search,
    body.accessories-sidebar-collapsed .accessories-sidebar .sidebar-links,
    body.accessories-sidebar-collapsed .accessories-sidebar .subcategory-empty-message {
        display: none;
    }
}

@media (max-width: 560px) {
    .products-section.accessories-page-shell .accessories-sidebar {
        padding: 12px;
    }

    .products-section.accessories-page-shell .accessories-sidebar h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .products-section.accessories-page-shell .sidebar-toggle {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
    }

    .products-section.accessories-page-shell .sidebar-subcategory-search {
        margin-bottom: 10px;
    }

    .products-section.accessories-page-shell .subcategory-search-input {
        padding: 8px 10px;
        border-radius: 10px;
    }

    .products-section.accessories-page-shell .sidebar-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .products-section.accessories-page-shell .sidebar-link {
        padding: 10px 10px;
        font-size: 14px;
        text-align: center;
        line-height: 1.15;
    }

    .products-section.accessories-page-shell .sidebar-link:hover {
        transform: none;
    }
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(31, 94, 168, 0.14);
    box-shadow: var(--shadow-1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2);
    border-color: rgba(51, 199, 220, 0.5);
}

.product-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, rgba(51, 199, 220, 0.92) 0%, rgba(31, 94, 168, 0.96) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.product-card:hover .product-image::after {
    opacity: 1;
}


.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-category {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0;
}

.product-desc {
    white-space: pre-line;
    margin: 0;
    line-height: 1.4;
    color: #425466;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    position: relative;
}

.product-desc[data-full-description]:hover::after {
    content: attr(data-full-description);
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    width: min(420px, 86vw);
    max-height: 220px;
    overflow: auto;
    background: #0e2e56;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 14px 28px rgba(10, 27, 49, 0.35);
    z-index: 12;
    white-space: pre-line;
    line-height: 1.35;
    font-size: 13px;
}

.product-price-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-price {
    font-size: 22px;
    color: #27ae60;
    font-weight: bold;
}

.product-stock {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
    background-color: #ecf0f1;
    padding: 4px 10px;
    border-radius: 12px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: var(--btn-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

.add-to-cart:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: var(--btn-shadow);
}

/* Newsletter */
.newsletter {
    background-color: #f8f9fa;
    padding: 60px 40px;
    text-align: center;
    border-radius: 10px;
    margin: 60px 0;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--ink);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    outline: none;
}

.newsletter-form button {
    padding: 15px 35px;
    background: var(--btn-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: var(--btn-shadow);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0e2e56 0%, #1b5b9f 55%, #2ac2d5 100%);
    color: white;
    padding: 40px 20px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: #d9f6ff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.footer-copyright {
    margin-top: 20px;
    text-align: center;
}

.footer-mobile-info {
    display: none;
    max-width: 520px;
    margin: 0 auto;
}

.footer-mobile-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease;
}

.footer-mobile-info-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.company-info {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 500;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.social-link, .whatsapp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover, .whatsapp-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #d9f6ff;
    transform: translateX(5px);
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.floating-whatsapp-bubble {
    background: #ffffff;
    color: var(--ink);
    border: 1px solid rgba(31, 94, 168, 0.2);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(15, 47, 87, 0.16);
}

.floating-whatsapp-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #29d067 0%, #18b151 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(8, 74, 33, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp-icon svg {
    width: 28px;
    height: 28px;
}

.floating-whatsapp:hover .floating-whatsapp-icon {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 30px rgba(8, 74, 33, 0.42);
}

.floating-whatsapp.is-hidden-near-footer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
}

@media (max-width: 640px) {
    .floating-whatsapp {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .floating-whatsapp-bubble {
        font-size: 13px;
        padding: 7px 10px;
    }

    .floating-whatsapp-icon {
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 14px 14px 12px;
    }

    .footer-content {
        display: none;
    }

    .footer-mobile-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }

    .footer-copyright {
        margin-top: 0;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.82);
    }
}

.social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.whatsapp-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.payment-icon {
    width: 50px;
    height: 32px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: var(--ink);
}

/* Page Specific Styles */
.page-title {
    font-size: 42px;
    color: var(--ink);
    margin-bottom: 20px;
}

.title-underline {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
    margin-bottom: 40px;
}

.content-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.content-card h2 {
    color: var(--ink);
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.content-card h3 {
    color: var(--ink);
    font-size: 20px;
    margin: 25px 0 15px 0;
}

.content-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555;
}

.content-card ul li {
    margin-bottom: 10px;
}

/* Login Page */
body.login-page {
    background: linear-gradient(180deg, #f8fdff 0%, #e6f3ff 100%);
    position: relative;
    min-height: 100vh;
}

body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('/image/new_logo.jpeg') center/contain no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

body.login-page main {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-card {
    max-width: 520px;
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

/* Slightly softer opacity for signup */
.signup-card {
    background: rgba(255, 255, 255, 0.48);
}

.login-card h2 {
    text-align: center;
}

.login-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.login-switch {
    margin: 0;
    color: var(--ink);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--ink);
    margin-bottom: 15px;
}

.info-card p {
    color: #555;
    line-height: 1.6;
}

.highlight-section {
    background: var(--surface-alt);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.services-page {
    margin-top: 8px;
}

.services-page .info-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 26px;
    max-width: 980px;
    margin: 0 auto 40px;
}

.services-heading {
    margin-bottom: 24px;
}

.services-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--brand-blue-dark);
    background: rgba(51, 199, 220, 0.2);
}

.services-heading h2 {
    margin: 0;
    font-size: 40px;
    line-height: 1.1;
}

.services-subtitle {
    margin-top: 8px;
    color: #4e677f;
    max-width: 640px;
}

.service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    border: 1px solid rgba(31, 94, 168, 0.15);
    box-shadow: 0 14px 24px rgba(15, 47, 87, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 34px rgba(15, 47, 87, 0.16);
    border-color: rgba(31, 94, 168, 0.28);
}

.service-tag {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #2f628f;
}

.service-cta {
    margin-top: 8px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(31, 94, 168, 0.15);
    box-shadow: 0 12px 24px rgba(15, 47, 87, 0.08);
}

.service-cta h3 {
    margin-bottom: 10px;
    color: #11335a;
}

.service-cta p {
    margin-bottom: 16px;
}

.service-cta-button {
    max-width: 280px;
}

.checkmark-list {
    display: grid;
    gap: 20px;
}

.checkmark-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.checkmark {
    color: var(--brand-blue);
    font-size: 24px;
    font-weight: bold;
}

.checkmark-item h4 {
    color: var(--ink);
    margin-bottom: 8px;
}

.checkmark-item p {
    color: #555;
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(31, 94, 168, 0.22);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.75);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(51, 199, 220, 0.9);
    box-shadow: var(--focus-ring);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--btn-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--btn-shadow);
}

.hours-table {
    display: grid;
    gap: 15px;
    color: #555;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 94, 168, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(15, 47, 87, 0.08);
}

.hours-row span:first-child {
    font-weight: 600;
}

/* Admin Dashboard Styles */
.admin-container {
    width: 100%;
    margin: 0;
    padding: 40px;
    background: #f9f7f4;
    min-height: 100vh;
    box-sizing: border-box;
}

.admin-container h1 {
    font-size: 2.5rem;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.admin-tabs {
    display: flex;
    gap: 0;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.admin-tab {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.admin-tab:hover {
    color: var(--ink);
    background: #f9f7f4;
}

.admin-tab.active {
    color: white;
    background: var(--btn-gradient);
    box-shadow: 0 6px 16px rgba(15, 47, 87, 0.24);
}

.admin-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.admin-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-container .card {
    background: white;
    border: none;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.admin-container .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.admin-container .card h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--ink);
    font-weight: 700;
    border-bottom: 3px solid var(--brand-blue);
    padding-bottom: 12px;
}

.admin-container .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-container .form-row input,
.admin-container .form-row select,
.admin-container .form-row textarea {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e8e6e3;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fafaf9;
}

.admin-container .form-row input:focus,
.admin-container .form-row select:focus,
.admin-container .form-row textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(51, 199, 220, 0.16);
}

.admin-container button[type="submit"],
.admin-container .actions button,
.admin-container button[type="button"] {
    padding: 12px 24px;
    background: var(--btn-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(15, 47, 87, 0.22);
}

.admin-container button[type="submit"]:hover,
.admin-container .actions button:hover,
.admin-container button[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 47, 87, 0.3);
}

.admin-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
    margin-top: 20px;
}

.admin-container table thead {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f3f0 100%);
}

.admin-container table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 2px solid var(--brand-blue);
}

.admin-container table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f0ede8;
    text-align: left;
}

.admin-container table tbody tr {
    transition: background 0.2s;
}

.admin-container table tbody tr:hover {
    background: #fafaf9;
}

.admin-container .actions button {
    margin-right: 8px;
    padding: 8px 16px;
    font-size: 14px;
}

.admin-container .actions button:last-child {
    margin-right: 0;
}

.admin-container .full-width {
    grid-column: 1 / -1;
}

.admin-container #closeModal {
    background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
    color: white;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(31, 94, 168, 0.3);
}

.admin-container #closeModal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 94, 168, 0.4);
}

@media (max-width: 900px) {
    .admin-container .grid {
        grid-template-columns: 1fr;
    }
    
    .admin-container {
        padding: 20px 15px;
    }
    
    .admin-container h1 {
        font-size: 2rem;
    }
}

/* Cart Page Styles */
.cart-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 20px;
}

.cart-main {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-1);
    border: 1px solid rgba(31, 94, 168, 0.12);
    backdrop-filter: blur(8px);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    padding: 20px;
    border: 1px solid rgba(31, 94, 168, 0.14);
    border-radius: var(--radius-md);
    background: rgba(245, 251, 255, 0.6);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.cart-item:hover {
    box-shadow: var(--shadow-1);
    transform: translateY(-2px);
    border-color: rgba(51, 199, 220, 0.45);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(15, 47, 87, 0.96) 0%, rgba(31, 94, 168, 0.94) 60%, rgba(51, 199, 220, 0.92) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 5px;
}

.cart-item-category {
    font-size: 13px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 20px;
    color: #27ae60;
    font-weight: bold;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 5px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f8f9fa;
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #c0392b;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-cart h2 {
    color: var(--ink);
    margin-bottom: 10px;
}

.empty-cart p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.cart-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-summary {
    background: rgba(255, 255, 255, 0.92);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    border: 1px solid rgba(31, 94, 168, 0.12);
    backdrop-filter: blur(8px);
}

.cart-summary h2 {
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
}

.summary-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 20px 0;
}

.summary-total {
    font-size: 20px;
    font-weight: bold;
    color: var(--ink);
    margin-top: 10px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--btn-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: var(--btn-shadow);
}

.btn-continue {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    color: var(--brand-blue);
    text-decoration: none;
    border: 2px solid var(--brand-blue);
    border-radius: 10px;
    background: rgba(51, 199, 220, 0.08);
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-continue:hover {
    border-color: var(--brand-blue);
    background-color: #f8f9fa;
}

.cart-info {
    background: rgba(244, 251, 255, 0.78);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 94, 168, 0.12);
    text-align: center;
}

.cart-info h3 {
    color: var(--ink);
    margin-bottom: 10px;
    font-size: 16px;
}

.cart-info p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Checkout Page Styles */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 20px;
}

.checkout-main {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-1);
    border: 1px solid rgba(31, 94, 168, 0.12);
    backdrop-filter: blur(8px);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-section {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(31, 94, 168, 0.14);
}

.checkout-section:last-of-type {
    border-bottom: none;
}

.checkout-section h2 {
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-method {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: var(--ink);
    background-color: #f8f9fa;
}

.payment-method input[type="radio"] {
    margin-right: 10px;
}

.payment-method span {
    font-weight: 600;
    color: var(--ink);
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.btn-back {
    padding: 15px 30px;
    background: rgba(51, 199, 220, 0.08);
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-back:hover {
    border-color: var(--brand-blue);
    background-color: #f8f9fa;
}

.btn-place-order {
    flex: 1;
    padding: 15px 40px;
    background: var(--btn-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-place-order:hover {
    transform: translateY(-1px);
    box-shadow: var(--btn-shadow);
}

.checkout-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-review {
    background: rgba(255, 255, 255, 0.92);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    border: 1px solid rgba(31, 94, 168, 0.12);
    backdrop-filter: blur(8px);
}

.order-review h2 {
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.review-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(244, 251, 255, 0.78);
    border-radius: 12px;
    border: 1px solid rgba(31, 94, 168, 0.12);
}

.review-item-info {
    flex: 1;
}

.review-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px;
}

.review-item-qty {
    font-size: 12px;
    color: #7f8c8d;
}

.review-item-price {
    font-size: 15px;
    font-weight: bold;
    color: #27ae60;
}

.checkout-security {
    background: rgba(244, 251, 255, 0.78);
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 94, 168, 0.12);
}

/* Product customize page (product detail) */
.product-detail-section {
    min-height: 60vh;
    padding: 40px 20px;
    background:
        radial-gradient(circle at 4% 0%, rgba(51, 199, 220, 0.10) 0, transparent 32%),
        radial-gradient(circle at 100% 0%, rgba(31, 94, 168, 0.12) 0, transparent 36%),
        linear-gradient(180deg, #f8fdff 0%, #eef7ff 100%);
}

.product-detail-container {
    max-width: 1040px;
    margin: 0 auto;
}

.product-detail-main {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    background: rgba(255, 255, 255, 0.92);
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2);
    border: 1px solid rgba(31, 94, 168, 0.12);
    backdrop-filter: blur(8px);
}

.product-detail-image {
    min-height: 380px;
    background: rgba(15, 47, 87, 0.04);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(31, 94, 168, 0.14);
}

.product-detail-info h1 {
    font-size: 30px;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 12px;
}

.product-detail-category {
    display: inline-flex;
    gap: 6px;
    align-items: baseline;
    font-size: 12px;
    color: rgba(15, 47, 87, 0.72);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(31, 94, 168, 0.06);
    border: 1px solid rgba(31, 94, 168, 0.12);
    border-radius: 999px;
    padding: 7px 12px;
    width: fit-content;
}

.product-detail-description {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(31, 94, 168, 0.14);
}

.product-detail-description h3,
.product-detail-sizes h3 {
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 10px;
}

.product-detail-description p {
    color: #425466;
    line-height: 1.65;
    white-space: pre-line;
}

.product-detail-sizes {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(31, 94, 168, 0.14);
}

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

.size-option {
    padding: 12px 12px;
    background: rgba(244, 251, 255, 0.78);
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 94, 168, 0.14);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.size-option:hover {
    border-color: rgba(51, 199, 220, 0.75);
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}

.size-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
}

.size-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--brand-blue);
}

.stock-info {
    font-size: 12px;
    color: #1f7a4c;
    margin-left: auto;
}

.stock-info.out-of-stock {
    color: #b42318;
}

.product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quantity-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-section label {
    font-weight: 700;
    color: var(--ink);
}

.quantity-section input {
    width: 88px;
    padding: 10px 12px;
    border: 1px solid rgba(31, 94, 168, 0.22);
    border-radius: 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.quantity-section input:focus {
    outline: none;
    border-color: rgba(51, 199, 220, 0.9);
    box-shadow: var(--focus-ring);
    background: #ffffff;
}

.add-to-cart-btn {
    padding: 14px 18px;
    background: var(--btn-gradient);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--btn-shadow);
    filter: brightness(1.02);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: rgba(31, 94, 168, 0.06);
    color: var(--brand-blue);
    border: 1px solid rgba(31, 94, 168, 0.26);
    text-decoration: none;
    border-radius: 14px;
    text-align: center;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.back-btn:hover {
    background: rgba(31, 94, 168, 0.10);
    border-color: rgba(51, 199, 220, 0.75);
    transform: translateY(-1px);
}

.alert {
    padding: 14px 14px;
    background: rgba(180, 35, 24, 0.07);
    border: 1px solid rgba(180, 35, 24, 0.22);
    color: #7a1d16;
    border-radius: var(--radius-md);
    margin: 18px 0;
}

/* Login modal (customize page) */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.login-modal-overlay.is-open {
    display: flex;
}

.login-modal-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-3);
    border: 1px solid rgba(31, 94, 168, 0.14);
    position: relative;
    backdrop-filter: blur(10px);
}

.login-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid rgba(31, 94, 168, 0.14);
    background: rgba(244, 251, 255, 0.78);
    color: rgba(15, 47, 87, 0.7);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.login-modal-close:hover {
    background: #ffffff;
    border-color: rgba(51, 199, 220, 0.75);
    transform: translateY(-1px);
}

.login-modal-card h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 22px;
}

.login-modal-subtitle {
    margin: 0 0 16px;
    color: rgba(15, 47, 87, 0.7);
    font-size: 14px;
}

.login-modal-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-modal-form label {
    font-weight: 700;
    color: var(--ink);
    font-size: 14px;
}

.login-modal-form input {
    border: 1px solid rgba(31, 94, 168, 0.22);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.login-modal-form input:focus {
    outline: none;
    border-color: rgba(51, 199, 220, 0.9);
    box-shadow: var(--focus-ring);
    background: #ffffff;
}

.login-modal-submit {
    margin-top: 8px;
    border: 0;
    background: var(--btn-gradient);
    color: #fff;
    border-radius: 14px;
    padding: 11px 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-modal-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--btn-shadow);
}

.login-modal-error {
    color: #b42318;
    background: rgba(180, 35, 24, 0.07);
    border: 1px solid rgba(180, 35, 24, 0.22);
    border-radius: 12px;
    padding: 8px 10px;
    margin-top: 6px;
    font-size: 13px;
}

.login-modal-switch {
    margin: 8px 0 0;
    text-align: center;
    font-size: 13px;
    color: rgba(15, 47, 87, 0.72);
}

.login-modal-switch a {
    color: var(--brand-blue);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 22px 12px;
    }

    .product-detail-main {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px;
        border-radius: var(--radius-lg);
    }

    .product-detail-image {
        min-height: 260px;
    }

    .product-detail-info h1 {
        font-size: 22px;
    }

    .size-option label {
        font-size: 13px;
        flex-wrap: wrap;
    }

    .stock-info {
        margin-left: 0;
        width: 100%;
    }
}

.checkout-security h3 {
    color: var(--ink);
    margin-bottom: 15px;
    font-size: 16px;
}

.checkout-security ul {
    list-style: none;
    padding: 0;
}

.checkout-security ul li {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 5px;
}

@media (max-width: 1024px) {
    .cart-container,
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .cart-sidebar,
    .checkout-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Enhanced Header for Mobile */
    .header-content {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand actions"
            "search search";
        align-items: center;
        gap: 10px 12px;
        padding: 12px;
    }

    .header-brand {
        grid-area: brand;
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
        min-width: 0;
    }

    .mobile-auth-links {
        display: inline-flex;
        margin-left: 2px;
    }

    .header-actions {
        grid-area: actions;
        width: auto;
        justify-content: flex-end;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .header-actions .header-auth-links {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        flex-shrink: 0;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .logo {
        font-size: 24px;
        width: auto;
        justify-content: flex-start;
    }

    .logo-img {
        height: 50px;
    }

    .search-bar {
        grid-area: search;
        width: 100%;
        max-width: 100%;
    }

    .search-input {
        padding: 11px 16px 11px 40px !important;
        font-size: 14px;
    }

    .search-input {
        border-width: 1px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.72);
    }

    .search-icon {
        width: 18px;
        height: 18px;
        left: 14px;
    }

    .header-actions .auth-sep {
        display: none;
    }

    .cart a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        font-weight: 700;
    }

    .cart-count {
        top: -8px;
        right: -10px;
    }

    .welcome {
        font-size: 12px !important;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .btn-orders, .btn-logout {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    /* Replace horizontal navbar with hamburger + drawer on phones */
    nav {
        display: none;
    }

    .mobile-nav-drawer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10000;
        pointer-events: none;
    }

    body.mobile-nav-open .mobile-nav-drawer {
        pointer-events: auto;
    }

    body.mobile-nav-open .mobile-nav-overlay {
        opacity: 1;
    }

    body.mobile-nav-open .mobile-nav-panel {
        transform: translateX(0);
    }

    /* Responsive Grid: 3 cols on tablet, 2 on mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

}

@media (max-width: 600px) {
    /* Home: hide the "Start Here" heading on phones */
    .hero-panel h2 {
        display: none;
    }

    /* Home: hide the entire category panel on phones */
    .hero-panel {
        display: none;
    }

    .hero-slideshow {
        display: none;
    }

    .catalog-layout.with-sidebar {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .catalog-sidebar {
        position: static;
        padding: 14px;
    }

    .catalog-sidebar h3 {
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        font-size: 12px;
        color: rgba(15, 47, 87, 0.82);
        margin-bottom: 10px;
    }

    .sidebar-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sidebar-link {
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        font-size: 13px;
        border-radius: 12px;
        background: #f5fbff;
        padding: 12px 12px;
    }

    .sidebar-link:hover {
        transform: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        margin: 0;
    }

    .product-image {
        height: 160px;
    }


    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-category {
        font-size: 11px;
    }

    .product-desc {
        font-size: 12px;
        white-space: pre-line;
    }

    .add-to-cart {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero h1, .page-title {
        font-size: 28px;
    }

    /* Admin Dashboard Mobile */
    .admin-container {
        padding: 15px;
        max-width: 100%;
    }

    .admin-container h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .admin-container h1 + p {
        font-size: 13px;
    }

    .tabs {
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 5px 0;
    }

    .tab-btn {
        padding: 10px 15px !important;
        font-size: 13px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .admin-container .card {
        padding: 15px;
    }

    .admin-container .card h2 {
        font-size: 18px;
    }

    .admin-container .form-row {
        flex-direction: column;
        gap: 5px;
    }

    .admin-container .form-row input,
    .admin-container .form-row select,
    .admin-container .form-row textarea {
        font-size: 14px;
        padding: 10px;
    }

    .admin-container button[type="submit"],
    .admin-container .actions button,
    .admin-container button[type="button"] {
        padding: 10px 16px;
        font-size: 13px;
    }

    .admin-container table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 12px;
    }

    .admin-container table thead {
        font-size: 11px;
    }

    .admin-container table th,
    .admin-container table td {
        padding: 8px 6px;
        min-width: 80px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 5px;
    }

    .action-buttons button {
        width: 100%;
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

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

    .services-heading h2 {
        font-size: 32px;
    }

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

    .services-page .service-card {
        min-height: 0;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 10px;
    }

    .quantity-controls {
        justify-content: center;
    }

    .remove-item {
        text-align: center;
        width: 100%;
    }

    .checkout-main {
        padding: 20px;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .btn-back {
        text-align: center;
    }

    .payment-methods {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    main {
        width: 100%;
        padding: 24px 12px;
    }

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

    .sidebar-links {
        grid-template-columns: 1fr;
    }

    .cart-panel-content {
        width: 100%;
        max-width: 100%;
    }
}

/* ========================================
   ORDERS PAGE STYLES
   ======================================== */

.orders-section {
    min-height: 60vh;
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.orders-container {
    max-width: 900px;
    margin: 0 auto;
}

.orders-container h1 {
    font-size: 32px;
    color: var(--ink);
    margin-bottom: 30px;
    text-align: center;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    margin-bottom: 15px;
}

.order-info h3 {
    font-size: 20px;
    color: var(--ink);
    margin: 0 0 5px 0;
}

.order-date {
    font-size: 14px;
    color: #7f8c8d;
}

.order-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #cfe2ff;
    color: #084298;
}

.status-shipped {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-delivered {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.order-items {
    margin: 15px 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
}

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

.item-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-name {
    font-size: 16px;
    color: var(--ink);
    font-weight: 500;
}

.item-qty {
    font-size: 13px;
    color: #7f8c8d;
}

.item-price {
    font-size: 16px;
    color: #27ae60;
    font-weight: 600;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ecf0f1;
}

.order-total {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-total span:first-child {
    font-size: 14px;
    color: #7f8c8d;
    text-transform: uppercase;
}

.total-amount {
    font-size: 24px;
    color: var(--ink);
    font-weight: bold;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.btn-cancel-order {
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-cancel-order:hover {
    background-color: #c0392b;
}

.btn-orders {
    padding: 8px 16px;
    background: var(--btn-gradient);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-right: 10px;
}

.btn-orders:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 47, 87, 0.24);
}

.btn-logout {
    padding: 8px 16px;
    background: rgba(31, 94, 168, 0.1);
    color: var(--brand-blue-dark);
    border: 1px solid rgba(31, 94, 168, 0.3);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: rgba(31, 94, 168, 0.2);
    color: var(--brand-blue-dark);
}

.no-orders {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-orders-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-orders h2 {
    font-size: 28px;
    color: var(--ink);
    margin-bottom: 10px;
}

.no-orders p {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.btn-shop-now {
    display: inline-block;
    padding: 12px 30px;
    background: var(--btn-gradient);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-shop-now:hover {
    transform: translateY(-1px);
    box-shadow: var(--btn-shadow);
}

.no-items {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 20px;
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .order-actions {
        width: 100%;
    }
    
    .btn-cancel-order {
        width: 100%;
    }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
