@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #d97706;
    --primary-hover: #b45309;
    --primary-light: #fef3c7;
    --primary-glow: rgba(217, 119, 6, 0.22);
    --accent: #059669;
    --accent-light: #ecfdf5;
    --dark-bg: #1c1917;
    --dark-surface: #1e293b;
    --dark-surface-2: #334155;
    --text-main: #1c1917;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-page: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Top Announcement Bar */
.announcement-bar {
    background: var(--dark-bg);
    color: #e2e8f0;
    font-size: 13px;
    padding: 8px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.announcement-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-tag {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.announcement-link {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.announcement-link:hover {
    color: #fff;
}

/* Main Navbar */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark-bg);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--primary-glow);
}

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

/* Search Form */
.search-form-wrapper {
    flex: 1;
    max-width: 600px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1.5px solid transparent;
    border-radius: var(--radius-full);
    padding: 4px 6px 4px 18px;
    transition: var(--transition);
}

.search-box:focus-within {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-box svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-main);
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

/* User Actions & Cart */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius);
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
}

.btn-header-action:hover {
    background: #f1f5f9;
    border-color: var(--border-hover);
}

.cart-widget {
    background: var(--primary-light);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: var(--primary);
    position: relative;
}

.cart-widget:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.cart-widget:hover .cart-badge {
    background: #ffffff;
    color: var(--primary);
}

.cart-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* Sub Navigation */
.sub-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.sub-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    overflow-x: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Main Layout Wrapper */
.main-wrapper {
    max-width: 1400px;
    margin: 24px auto;
    padding: 0 24px;
    width: 100%;
    flex: 1;
}

/* Hero Promotional Banner */
.hero-banner {
    background: linear-gradient(135deg, #1c1917 0%, #431407 55%, #7c2d12 100%);
    border-radius: var(--radius-lg);
    padding: 48px 48px;
    color: #ffffff;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-banner::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.3) 0%, rgba(217, 119, 6, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fbbf24;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}

.hero-title span {
    background: linear-gradient(to right, #fbbf24, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}

.hero-feature-item svg {
    color: #34d399;
}

/* Two-Column Store Layout */
.store-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* Left Sidebar Filters */
.store-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filter-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.filter-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.filter-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-link:hover {
    background: #f1f5f9;
    color: var(--text-main);
    transform: translateX(3px);
}

.filter-link.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}

.filter-count {
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.filter-link.active .filter-count {
    background: var(--primary);
    color: #ffffff;
}

.btn-reset-filter {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    background: #f1f5f9;
    color: var(--text-main);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
    margin-top: 8px;
}

.btn-reset-filter:hover {
    background: #e2e8f0;
}

/* Products Section */
.products-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-header {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.section-title-group h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

.section-title-group p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 16px;
}

.product-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 16px;
}

.product-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.3px;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.btn-details {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    background: #f8fafc;
}

.btn-details:hover {
    background: #f1f5f9;
    color: var(--text-main);
    border-color: var(--border-hover);
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px var(--primary-glow);
}

.btn-add-cart:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Empty State */
.empty-products-state {
    grid-column: 1 / -1;
    background: var(--card-bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
}

.empty-products-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 14px 0 6px;
}

.empty-products-state p {
    font-size: 14px;
    max-width: 420px;
    margin: 0 auto;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

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

/* Modern Details Page */
.details-page-wrapper {
    width: 100%;
    text-align: left;
}

.details-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.details-back-link:hover {
    color: var(--primary);
}

.details-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.details-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.details-img-box img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.details-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.details-added-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 14px;
    width: fit-content;
}

.details-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary);
    margin-bottom: 10px;
}

.details-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.details-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.3;
}

.details-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
    white-space: nowrap;
}

.details-desc-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.details-desc-box {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
}

.details-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.details-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    padding: 14px 32px;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.details-cta-btn:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Modern Cart Page */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.cart-table-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

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

.cart-table th {
    text-align: left;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom: 2px solid var(--border);
}

.cart-table td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-summary-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 12px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

/* Modern Multi-Column Footer */
.main-footer {
    background: var(--dark-bg);
    color: #94a3b8;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: #94a3b8;
    font-size: 14px;
}

.footer-col ul a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius);
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 24px;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.footer-bottom-meta {
    display: flex;
    align-items: center;
    gap: 18px;
}
.footer-staff-link {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}
.footer-staff-link:hover { color: var(--primary); }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .store-layout {
        grid-template-columns: 1fr;
    }
    .hero-banner {
        padding: 32px;
    }
    .hero-title {
        font-size: 28px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .details-card {
        grid-template-columns: 1fr;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 12px;
    }
    .search-form-wrapper {
        order: 5;
        flex-basis: 100%;
        max-width: 100%;
    }
    .announcement-container, .footer-bottom-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}
.logo-img {
    max-height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}
.brand-logo:hover .logo-img {
    transform: scale(1.04);
}
#products_box {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

#single_product {
    position: relative;
    float: left;
    margin-left: 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

/* Wishlist heart on product cards */
.wish-heart {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    color: #94a3b8;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.wish-heart:hover {
    color: #e11d48;
    border-color: #fecdd3;
    transform: scale(1.08);
}
.wish-heart.is-active {
    color: #e11d48;
    border-color: #fecdd3;
    background: #fff1f2;
}

#single_product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

#single_product img {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

#single_product:hover img {
    transform: scale(1.03);
    border-color: var(--primary);
}

#single_product h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 8px;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#single_product p.price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 14px;
    margin-top: auto;
}

#single_product p.details-desc {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

#single_product .btn-details {
    float: left;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: #f8fafc;
}

#single_product .btn-details:hover {
    background: #f1f5f9;
    color: var(--text-main);
}

#single_product button {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px var(--primary-glow);
    transition: var(--transition);
}

#single_product button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
#shopping_cart {
    width: 100%;
    min-height: 50px;
    background: #0f172a;
    color: #ffffff;
    border-radius: var(--radius);
    padding: 6px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-shadow: var(--shadow-sm);
}

#shopping_cart span {
    font-size: 15px;
    color: #e2e8f0;
}

#shopping_cart b {
    color: #fbbf24;
}

#shopping_cart a {
    color: #fbbf24;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 8px;
    transition: opacity 0.2s;
}

/* Add-to-cart toast notification */
.toast-notification {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 14px 20px;
    box-shadow: var(--shadow-xl);
    font-size: 14px;
    max-width: 320px;
    animation: toastSlideIn 0.3s ease-out;
}

.toast-notification svg {
    color: var(--accent);
    flex-shrink: 0;
}

.toast-notification.toast-hide {
    animation: toastSlideOut 0.4s ease-in forwards;
}

@keyframes toastSlideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

@media (max-width: 600px) {
    .toast-notification {
        left: 16px;
        right: 16px;
        max-width: none;
        top: auto;
        bottom: 20px;
    }
}

#shopping_cart a:hover {
    opacity: 0.85;
}

#product_box, #products_box {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.cart-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: #f8fafc;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}

.cart-icon-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
}

.cart-icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4);
    border: 2px solid #ffffff;
}

/* ===================================================================
   Auth pages (login / register)
   =================================================================== */
.auth-body {
    background: linear-gradient(160deg, #fef3c7 0%, #f8fafc 45%, #f8fafc 100%);
}
.auth-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-logo {
    margin-bottom: 22px;
}
.auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 36px;
    width: 100%;
    max-width: 440px;
}
.auth-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.4px;
}
.auth-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin: 6px 0 22px;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}
.auth-field small {
    color: var(--text-light);
    font-weight: 600;
}
.auth-field input,
.auth-field textarea,
.auth-field select {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text-main);
    transition: var(--transition);
    resize: vertical;
}
.auth-field input:focus,
.auth-field textarea:focus,
.auth-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 13px;
    font-size: 15px;
    cursor: pointer;
    border: none;
}
.auth-alert {
    padding: 11px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}
.auth-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.auth-alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.auth-foot {
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-muted);
}
.auth-foot a {
    color: var(--primary);
    font-weight: 700;
}
.auth-foot-muted {
    margin-top: 6px;
    font-size: 13px;
}
.auth-back {
    margin-top: 18px;
    font-size: 13px;
}
.auth-back a {
    color: var(--text-muted);
}
@media (max-width: 480px) {
    .auth-row { grid-template-columns: 1fr; }
    .auth-card { padding: 26px; }
}

/* Stock pills on product cards */
.stock-pill {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    vertical-align: middle;
}
.stock-in  { background: #dcfce7; color: #166534; }
.stock-low { background: #fef9c3; color: #854d0e; }
.stock-out { background: #fee2e2; color: #991b1b; }
#single_product button.btn-disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

/* Order status pills (account + order pages) */
.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.order-status-pending    { background: #fef9c3; color: #854d0e; }
.order-status-processing { background: #dbeafe; color: #1e40af; }
.order-status-shipped    { background: #e0e7ff; color: #3730a3; }
.order-status-completed  { background: #dcfce7; color: #166534; }
.order-status-cancelled  { background: #fee2e2; color: #991b1b; }

/* ===================================================================
   Header icon buttons (wishlist / cart) + centered primary nav
   =================================================================== */
.header-actions {
    gap: 10px;
}
.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: #f8fafc;
    border: 1px solid var(--border);
    color: var(--text-main);
    transition: var(--transition);
}
.icon-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
.icon-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.btn-login {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-login:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}
.btn-admin {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-admin:hover {
    background: var(--primary-light);
}

/* ---- Signed-in user dropdown (header, beside the cart) ------------- */
.user-menu {
    position: relative;
    flex-shrink: 0;
}
.user-menu-toggle {
    cursor: pointer;
    max-width: 190px;
}
.user-menu-toggle span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.user-menu-caret {
    flex-shrink: 0;
    opacity: 0.55;
    transition: transform 0.2s ease;
}
.user-menu-toggle[aria-expanded="true"] {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
.user-menu-toggle[aria-expanded="true"] .user-menu-caret { transform: rotate(180deg); }

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    z-index: 400;
}
.user-dropdown[hidden] { display: none; }
.user-dropdown-head {
    padding: 10px 12px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}
.user-dropdown-name {
    font-weight: 800;
    font-size: 14px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-dropdown-email {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}
.user-dropdown a svg { flex-shrink: 0; opacity: 0.6; }
.user-dropdown a:hover {
    background: #f1f5f9;
    color: var(--text-main);
}
.user-dropdown a:hover svg { opacity: 1; }
.user-dropdown-count {
    margin-left: auto;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: var(--radius-full);
}
.user-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 4px;
}
.user-dropdown-logout {
    color: #dc2626 !important;
}
.user-dropdown-logout:hover {
    background: #fef2f2 !important;
}
.user-dropdown-logout svg { opacity: 0.8; }

.header-container { gap: 16px; }

/* Hamburger menu button next to the logo */
.menu-toggle {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: #f8fafc;
    border: 1px solid var(--border);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}
.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* ---- Sliding navigation drawer -------------------------------------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 900;
}
.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: #ffffff;
    box-shadow: 0 0 40px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 910;
    overflow-y: auto;
}
body.nav-open { overflow: hidden; }
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
body.nav-open .nav-drawer { transform: translateX(0); }

.nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}
.nav-drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: #f8fafc;
    border-radius: var(--radius);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.nav-drawer-close:hover { background: #f1f5f9; color: var(--text-main); }

.nav-drawer-links {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-drawer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 16px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-drawer-links a svg { opacity: 0.4; }
.nav-drawer-links a:hover {
    background: #f1f5f9;
    color: var(--text-main);
}
.nav-drawer-links a.active {
    background: var(--primary-light);
    color: var(--primary);
}
.nav-drawer-links a.active svg { opacity: 1; }

.nav-drawer-foot {
    padding: 16px 20px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nav-drawer-foot-link {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}
.nav-drawer-foot-link:hover { color: var(--primary); }

/* ===================================================================
   Scrolling brand strip (replaces the old guest cart bar)
   =================================================================== */
.brand-marquee {
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 0;
    margin-bottom: 28px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.brand-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    padding-left: 18px;
    animation: brand-scroll 36s linear infinite;
}
.brand-marquee:hover .brand-track {
    animation-play-state: paused;
}
.brand-card {
    flex: 0 0 auto;
    width: 210px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 22px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.brand-card-logo {
    max-width: 100%;
    max-height: 62px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.brand-card--text span {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--bc);
    text-transform: uppercase;
    white-space: nowrap;
}
/* start shifted left by one full set, animate back to 0 => motion reads left-to-right */
@keyframes brand-scroll {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .brand-track { animation: none; transform: translateX(-50%); }
}

/* keep the product grid column from expanding to its widest child */
.products-section { min-width: 0; }

/* "Save" button on the product details page */
.details-wish-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    margin-left: 12px;
    transition: var(--transition);
}
.details-wish-btn:hover {
    border-color: #fecdd3;
    color: #e11d48;
}
.details-wish-btn.is-active {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #e11d48;
}

@media (max-width: 640px) {
    .header-actions .btn-header-action span { display: none; }
    .btn-header-action { padding: 10px; }
}

/* ===================================================================
   Mobile refinements
   =================================================================== */
@media (max-width: 900px) {
    .main-wrapper { padding: 0 16px; }
    .store-layout { padding: 16px 0 !important; gap: 20px; }
    .brand-card { width: 170px; height: 82px; padding: 12px 16px; }
    .brand-card-logo { max-height: 50px; }
}

@media (max-width: 768px) {
    .announcement-bar { font-size: 12px; padding: 8px 16px; }
    .header-container { padding: 12px 16px; row-gap: 10px; }
    .brand-logo { font-size: 18px; gap: 8px; margin-right: auto; }
    .brand-logo .logo-img { max-height: 38px; }
    .header-actions { gap: 8px; }
    .icon-btn { width: 38px; height: 38px; }
    .btn-header-action { padding: 9px; }
    .search-box { padding: 4px 6px 4px 14px; }

    .hero-banner { padding: 28px 22px; margin-bottom: 24px; }
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 14px; }
    .hero-features { gap: 10px 18px; }

    /* Product grid -> two tidy columns on phones */
    #products_box { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    #single_product { padding: 12px; }
    #single_product h3 { font-size: 13px; height: 36px; margin-bottom: 6px; }
    #single_product img,
    #single_product .product-placeholder { height: 130px; }
    #single_product button { padding: 8px 10px; font-size: 12px; }
    #single_product .btn-details { padding: 8px 10px; font-size: 12px; }
    .wish-heart { top: 18px; right: 18px; width: 30px; height: 30px; }

    /* Horizontal-scroll any wide table on small screens */
    .cart-table-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .cart-table { min-width: 460px; }

    .details-actions { flex-wrap: wrap; gap: 10px; }
    .details-wish-btn { margin-left: 0; }
    .section-title-group h2 { font-size: 20px; }
}

@media (max-width: 480px) {
    #products_box { grid-template-columns: 1fr; }
    #single_product img,
    #single_product .product-placeholder { height: 160px; }
    #single_product h3 { font-size: 14px; }
    .hero-title { font-size: 22px; }
    .hero-pill { font-size: 11px; }
    .brand-card { width: 150px; height: 74px; }
    .brand-card-logo { max-height: 44px; }
    .cart-summary-card, .cart-table-card { padding: 16px; }
}
/* ===================================================================
   Help Center page
   =================================================================== */
.help-hero {
    background: linear-gradient(135deg, #1c1917 0%, #431407 55%, #7c2d12 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 40px 44px;
    margin-bottom: 28px;
}
.help-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.6px; }
.help-hero p { margin-top: 10px; color: #e7e5e4; font-size: 15px; }
.help-hero a { color: #fbbf24; font-weight: 700; }

.help-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
    padding-bottom: 40px;
}
.help-section-title {
    font-size: 18px;
    font-weight: 800;
    margin: 26px 0 12px;
    color: var(--text-main);
}
.help-section-title:first-child { margin-top: 0; }

.help-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}
.help-item summary {
    padding: 16px 18px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.help-item summary::-webkit-details-marker { display: none; }
.help-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 400;
    color: var(--primary);
    flex-shrink: 0;
}
.help-item[open] summary::after { content: "\2013"; }
.help-answer {
    padding: 0 18px 18px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}
.help-answer a { color: var(--primary); font-weight: 700; }

.help-contact {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}
.help-contact h3 { font-size: 17px; font-weight: 800; }
.help-contact-sub { font-size: 13px; color: var(--text-light); margin: 4px 0 16px; }
.help-contact ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.help-contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-main); }
.help-contact li svg { color: var(--primary); flex-shrink: 0; }
.help-contact a { color: inherit; }
.help-contact a:hover { color: var(--primary); }

@media (max-width: 860px) {
    .help-layout { grid-template-columns: 1fr; }
    .help-contact { position: static; }
    .help-hero { padding: 30px 24px; }
    .help-hero h1 { font-size: 24px; }
}

/* ===================================================================
   Order payment panel (GCash / Maya / bank instructions)
   =================================================================== */
.pay-panel {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    overflow: hidden;
}
.pay-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 22px;
    background: var(--primary-light);
    border-bottom: 1px solid #fde68a;
}
.pay-panel-head h2 { font-size: 18px; font-weight: 800; color: #92400e; }
.pay-panel-body {
    display: flex;
    gap: 24px;
    padding: 22px;
    flex-wrap: wrap;
}
.pay-qr {
    flex-shrink: 0;
    width: 320px;
    height: 320px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pay-qr img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pay-details { flex: 1; min-width: 260px; }
.pay-amount { font-size: 16px; margin-bottom: 12px; }
.pay-amount b { color: var(--primary); font-size: 20px; }
.pay-kv { width: 100%; border-collapse: collapse; font-size: 14px; }
.pay-kv td { padding: 7px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.pay-kv td:first-child { color: var(--text-muted); width: 120px; }
.pay-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 12px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}
.pay-receipt-form {
    padding: 18px 22px;
    border-top: 1px solid var(--border);
    background: #fafafa;
}
@media (max-width: 720px) {
    .pay-qr { width: 100%; height: auto; max-width: 340px; aspect-ratio: 1; margin: 0 auto; }
}
