/* ============================================================
   DiRoccoVision Store — shared theme
   File: /store/dv-store.css
   Matches the home + games design system (dark charcoal,
   gold #c8a84e, Segoe UI, rainbow divider). Linked by every
   store page in place of the old per-page inline <style> block.
   ============================================================ */

:root {
    --dv-black: #0a0a0a;
    --dv-dark: #111111;
    --dv-charcoal: #1a1a1a;
    --dv-panel: #151515;
    --dv-gold: #c8a84e;
    --dv-gold-light: #e0c872;
    --dv-gold-dim: #8a7235;
    --dv-white: #f0ece4;
    --dv-gray: #999999;
    --dv-gray-dark: #555555;
    --dv-green: #6fcf6f;
    --dv-green-bg: #1a3d1a;
    --dv-green-border: #2a5a2a;
    --dv-rainbow: linear-gradient(90deg, #ff3333, #ff8833, #ffdd33, #33dd55, #3399ff, #8833ff, #ff33aa);
    --font-display: 'Segoe UI', 'Trebuchet MS', Geneva, sans-serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, sans-serif;
    --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--dv-black);
    color: var(--dv-white);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a { color: var(--dv-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--dv-gold-light); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--dv-black);
}

/* ---------- Header banner ---------- */
.header-banner { background: var(--dv-dark); }
.header-banner img { width: 100%; height: auto; display: block; }

/* ---------- Rainbow divider (matches home + games) ---------- */
.rainbow-line { height: 2px; background: var(--dv-rainbow); border: none; margin: 0; }

/* ---------- Top navigation ---------- */
.navbar {
    overflow: hidden;
    background: var(--dv-dark);
    border-bottom: 2px solid #222;
    display: flex;
    flex-wrap: wrap;
    padding: 0 8px;
}

.navbar a {
    float: none;
    color: var(--dv-gray);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    padding: 12px 16px;
    text-decoration: none;
    transition: color 0.2s;
}

.navbar a:hover,
.navbar a.active { color: var(--dv-gold); background: transparent; }

/* Legacy dropdown (kept in case any page uses it) */
.dropdown { float: left; overflow: initial; }
.dropdown .dropbtn {
    font: inherit; font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.04em; border: none; outline: none; color: var(--dv-gray);
    padding: 12px 16px; background: inherit; margin: 0; cursor: pointer;
}
.dropdown:hover .dropbtn { color: var(--dv-gold); }
.dropdown-content {
    display: none; position: absolute; background: var(--dv-charcoal);
    min-width: 180px; box-shadow: 0 8px 16px rgba(0,0,0,0.4); z-index: 1; border: 1px solid #2a2a2a;
}
.dropdown-content a { display: block; float: none; color: var(--dv-gray); padding: 10px 16px; text-align: left; text-transform: none; letter-spacing: 0; }
.dropdown-content a:hover { background: var(--dv-panel); color: var(--dv-gold); }
.dropdown:hover .dropdown-content { display: block; }

/* ---------- Store body wrapper ---------- */
.store-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--dv-black);
    color: var(--dv-white);
}

.store-header { text-align: center; margin-bottom: 20px; padding: 15px 0; }
.store-title { color: var(--dv-gold); font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; letter-spacing: 0.06em; margin: 10px 0; }
.store-subtitle { color: var(--dv-gray); font-size: 0.95rem; margin-bottom: 10px; }

/* ---------- Floating cart summary ---------- */
.cart-summary {
    position: fixed; top: 20px; right: 20px;
    background: var(--dv-gold); color: var(--dv-black);
    padding: 10px 18px; border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4); z-index: 1000;
    font-weight: 600; font-size: 0.85rem;
}
.cart-summary a { color: var(--dv-black); text-decoration: none; }
.cart-summary:hover { background: var(--dv-gold-light); }

/* ---------- Section panels ---------- */
.categories-section,
.featured-section,
.store-info {
    background: var(--dv-panel);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.section-header {
    color: var(--dv-gold); font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700; text-align: center;
    margin-bottom: 18px; border-bottom: 1px solid var(--dv-gold-dim); padding-bottom: 10px;
}

/* ---------- Category chips ---------- */
.categories-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.category-item {
    background: var(--dv-charcoal); border: 1px solid var(--dv-gold-dim);
    border-radius: 4px; padding: 8px 14px; text-align: center;
    cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.category-item a { color: var(--dv-gold); text-decoration: none; font-weight: 600; font-size: 0.82rem; display: block; }
.category-item:hover { background: var(--dv-gold); border-color: var(--dv-gold); }
.category-item:hover a, .category-item:hover .category-count { color: var(--dv-black); }
.category-count { color: var(--dv-gray); font-size: 0.72rem; margin-top: 2px; }

/* ---------- Product grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); gap: 24px; justify-content: center; align-items: stretch; }

.product-item {
    background: var(--dv-panel); border: 1px solid #2a2a2a;
    border-radius: 6px; padding: 18px; text-align: center;
    width: 100%; max-width: 100%;
    transition: transform 0.2s, border-color 0.25s;
    display: flex; flex-direction: column;
}
.product-item:hover { border-color: var(--dv-gold-dim); transform: translateY(-3px); }

.product-image {
    width: 100%; height: 180px; margin-bottom: 15px; overflow: hidden;
    border-radius: 6px; border: 1px solid #2a2a2a; background: #0d0d0d;
    display: flex; align-items: center; justify-content: center;
}
.product-image a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-image img { width: 100%; height: 100%; object-fit: contain; background: #0d0d0d; transition: transform 0.3s ease; }
.product-item:hover .product-image img { transform: scale(1.05); }

.product-title {
    color: var(--dv-white); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
    margin-bottom: 8px; min-height: 40px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.product-title a { color: var(--dv-white); text-decoration: none; line-height: 1.2; }
.product-title a:hover { color: var(--dv-gold); }

.product-description { color: #bbbbbb; font-size: 0.85rem; margin-bottom: 12px; line-height: 1.5; min-height: 40px; overflow: hidden; flex-grow: 1; }

.product-price { color: var(--dv-green); font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.product-price .original-price { color: var(--dv-gray); text-decoration: line-through; font-size: 0.85rem; margin-right: 8px; }

.product-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
    padding: 7px 16px; border: 1px solid var(--dv-gold-dim); border-radius: 4px;
    cursor: pointer; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em;
    text-transform: uppercase; text-decoration: none; display: inline-block;
    background: transparent; color: var(--dv-gold); transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--dv-gold); color: var(--dv-black); }

.btn-cart { background: var(--dv-green-bg); color: var(--dv-green); border: 1px solid var(--dv-green-border); }
.btn-cart:hover { background: var(--dv-green-border); color: #8fef8f; }

.btn:disabled { background: #222; color: var(--dv-gray-dark); border-color: #333; cursor: not-allowed; }

/* ---------- Store info ---------- */
.store-info { text-align: center; }
.store-info h3 { color: var(--dv-gold); font-family: var(--font-display); margin-bottom: 10px; font-size: 1.15rem; }
.store-info p { color: #bbbbbb; line-height: 1.6; margin-bottom: 10px; }

/* ---------- Notifications ---------- */
.notification {
    position: fixed; top: 100px; right: 20px; padding: 15px 20px;
    border-radius: 4px; z-index: 1001; font-weight: 600; max-width: 300px;
}
.notification.success { background: var(--dv-green-bg); color: var(--dv-green); border: 1px solid var(--dv-green-border); }
.notification.error { background: #3d1a1a; color: #cf6f6f; border: 1px solid #5a2a2a; }

/* ---------- Footer ---------- */
footer { background: var(--dv-dark); padding: 30px 20px; text-align: center; border-top: 1px solid #222; }
footer img { max-width: 100%; }
footer a { color: var(--dv-gold); text-decoration: none; }
footer a:hover { color: var(--dv-gold-light); }
footer p { color: var(--dv-gray-dark); font-size: 0.8rem; margin: 8px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .navbar { justify-content: center; }
    .cart-summary { position: static; margin: 0 auto 15px; text-align: center; display: inline-block; }
    .products-grid { flex-direction: column; align-items: center; }
    .product-item { width: 90%; max-width: 400px; }
    .product-image { height: 200px; }
    .store-title { font-size: 1.4rem; }
}

/* ============================================================
   SHARED COMPONENTS — merged from all store pages
   (forms, buttons, tables, cards, checkout, account, etc.)
   Deduplicated + conflict-resolved for a consistent theme.
   ============================================================ */

/* ---------- Page headers & titles ---------- */
.page-header, .account-header, .checkout-header, .confirmation-header {
    background: var(--dv-panel); border: 1px solid #2a2a2a; border-radius: 8px;
    padding: 30px; margin-bottom: 30px; text-align: center;
}
.confirmation-header { background: var(--dv-green-bg); border-color: var(--dv-green-border); padding: 40px; }
.page-title, .welcome-title, .checkout-title {
    color: var(--dv-gold); font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
    letter-spacing: 0.04em; margin: 0 0 10px 0;
}
.confirmation-title { color: var(--dv-white); font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; margin: 0 0 10px 0; }
.page-subtitle, .welcome-subtitle, .confirmation-subtitle { color: var(--dv-gray); font-size: 1rem; margin: 0 0 10px 0; }
.confirmation-subtitle { color: var(--dv-white); }

/* ---------- Panels / sections ---------- */
.section, .form-section, .filters-section, .cart-section, .product-detail,
.checkout-form, .order-details, .next-steps, .order-detail-header {
    background: var(--dv-panel); border: 1px solid #2a2a2a; border-radius: 8px; padding: 25px; margin-bottom: 20px;
}
.section-title, .summary-title {
    color: var(--dv-gold); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
    margin: 0 0 18px 0; border-bottom: 1px solid var(--dv-gold-dim); padding-bottom: 10px;
}
.summary-title { text-align: center; border-bottom: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin-bottom: 20px; color: #bbb; }
.breadcrumb a { color: var(--dv-gold); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--dv-gold-light); }

/* ---------- Messages / alerts ---------- */
.message { padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; font-weight: 600; text-align: center; }
.message.success { background: var(--dv-green-bg); color: var(--dv-green); border: 1px solid var(--dv-green-border); }
.message.error   { background: #3d1a1a; color: #cf6f6f; border: 1px solid #5a2a2a; }
.message.info    { background: var(--dv-charcoal); color: var(--dv-white); border: 1px solid var(--dv-gold-dim); }

/* ---------- Forms ---------- */
.form-section { margin-bottom: 30px; }
.form-row { display: flex; gap: 15px; }
.form-col { flex: 1; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-actions { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #2a2a2a; }
.required { color: #cf6f6f; }
.help-text { font-size: 0.75rem; color: var(--dv-gray); margin-top: 5px; }
.warning-text { font-size: 0.75rem; color: var(--dv-gold-light); margin-top: 5px; font-weight: 600; }

label { display: block; margin-bottom: 6px; color: var(--dv-white); font-weight: 600; font-size: 0.9rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="date"], input[type="number"], select, textarea {
    width: 100%; padding: 12px; border: 1px solid #2a2a2a; border-radius: 6px;
    background: var(--dv-panel); color: var(--dv-white); font-family: var(--font-body);
    font-size: 1rem; box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--dv-gold); box-shadow: 0 0 0 2px rgba(200,168,78,0.25);
}
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; text-align: left; }
.checkbox-group input[type="checkbox"] { width: auto; margin: 3px 0 0 0; accent-color: var(--dv-gold); }
.checkbox-group label { margin: 0; font-weight: 400; color: var(--dv-gray); line-height: 1.5; flex: 1; }
.checkbox-group .label-title { color: var(--dv-white); font-weight: 700; display: block; margin-bottom: 3px; }
.checkbox-group .label-desc { font-size: 0.72rem; color: var(--dv-gray); }

.password-strength { margin-top: 6px; padding: 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.password-weak   { background: #3d1a1a; color: #cf6f6f; }
.password-medium { background: rgba(224,200,114,0.15); color: var(--dv-gold-light); }
.password-strong { background: var(--dv-green-bg); color: var(--dv-green); }
.password-match  { margin-top: 6px; font-size: 0.75rem; }

/* ---------- Button variants (base .btn already themed) ---------- */
.btn-primary, .btn-continue { background: var(--dv-gold); color: var(--dv-black); border: 1px solid var(--dv-gold); }
.btn-primary:hover, .btn-continue:hover { background: var(--dv-gold-light); color: var(--dv-black); }
.btn-secondary { background: transparent; color: var(--dv-gold); border: 1px solid var(--dv-gold-dim); }
.btn-secondary:hover { background: var(--dv-gold); color: var(--dv-black); border-color: var(--dv-gold); }
.btn-success { background: var(--dv-green-bg); color: var(--dv-green); border: 1px solid var(--dv-green-border); }
.btn-success:hover { background: var(--dv-green-border); color: #8fef8f; }
.btn-warning { background: var(--dv-gold-dim); color: var(--dv-black); border: 1px solid var(--dv-gold-dim); }
.btn-warning:hover { background: var(--dv-gold); }
.btn-danger { background: #5a2a2a; color: #cf6f6f; border: 1px solid #5a2a2a; }
.btn-danger:hover { background: #7a3a3a; color: #e08a8a; }
.print-button { background: var(--dv-charcoal); color: var(--dv-gray); border: 1px solid #2a2a2a; }
.print-button:hover { color: var(--dv-white); border-color: var(--dv-gold-dim); }

/* ---------- Auth / form cards ---------- */
.login-container, .register-container, .reset-container, .verification-container {
    max-width: 560px; margin: 40px auto; background: var(--dv-panel); border: 1px solid #2a2a2a;
    border-radius: 8px; padding: 40px;
}
.register-container { max-width: 720px; }
.reset-container, .verification-container { text-align: center; }
.login-header, .register-header { text-align: center; margin-bottom: 30px; }
.login-title, .register-title, .reset-title, .verification-title {
    color: var(--dv-gold); font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
    letter-spacing: 0.04em; margin: 0 0 12px 0;
}
.login-subtitle, .register-subtitle, .reset-subtitle, .verification-subtitle {
    color: var(--dv-gray); font-size: 0.95rem; margin: 0 0 20px 0; line-height: 1.5;
}
.reset-icon, .verification-icon { font-size: 60px; margin-bottom: 20px; color: var(--dv-gold); }
.success-icon { color: var(--dv-green); font-size: 60px; margin-bottom: 20px; }
.error-icon { color: #cf6f6f; font-size: 60px; margin-bottom: 20px; }

.form-tabs { display: flex; margin-bottom: 30px; border-bottom: 1px solid var(--dv-gold-dim); }
.tab-button {
    flex: 1; padding: 14px; background: none; border: none; color: var(--dv-gray);
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em;
    cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.tab-button:hover { color: var(--dv-white); }
.tab-button.active { color: var(--dv-gold); border-bottom: 2px solid var(--dv-gold); margin-bottom: -1px; }
.tab-content { display: none; }
.tab-content.active { display: block; }

.links-section { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #2a2a2a; }
.links-section a { color: var(--dv-gold); font-weight: 600; margin: 0 12px; }
.links-section a:hover { color: var(--dv-gold-light); }
.login-prompt, .register-prompt { text-align: center; margin-top: 20px; color: var(--dv-gray); font-size: 0.9rem; }
.login-prompt a, .register-prompt a { color: var(--dv-gold); font-weight: 600; }

.info-box { background: var(--dv-charcoal); border: 1px solid #2a2a2a; border-radius: 6px; padding: 20px; margin: 20px 0; text-align: left; }
.info-box h4 { color: var(--dv-gold); margin: 0 0 10px 0; font-family: var(--font-display); }
.info-box ul { margin: 10px 0; padding-left: 20px; }
.info-box li { margin-bottom: 5px; color: var(--dv-gray); }

/* ---------- Product listing (products.php) ---------- */
.filters-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label { color: var(--dv-white); font-weight: 600; font-size: 0.85rem; margin: 0; display: inline; }
.filter-group input, .filter-group select { width: auto; padding: 6px 10px; }
.category-item.selected { background: var(--dv-gold); border-color: var(--dv-gold); }
.category-item.selected a, .category-item.selected .category-count { color: var(--dv-black); }
.product-card {
    background: var(--dv-panel); border: 1px solid #2a2a2a; border-radius: 8px; padding: 15px;
    text-align: center; transition: transform 0.2s, border-color 0.25s, box-shadow 0.25s; overflow: hidden;
    display: flex; flex-direction: column;
}
.product-card .product-actions { margin-top: auto; }
.product-card:hover { border-color: var(--dv-gold-dim); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(200,168,78,0.15); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-category { color: var(--dv-gold-dim); font-size: 0.72rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.results-info, .no-products, .empty-cart, .empty-state { text-align: center; color: #bbb; }
.results-info { margin: 15px 0; font-size: 0.85rem; }
.no-products, .empty-cart, .empty-state { padding: 50px 20px; }
.no-products h2, .empty-cart h2, .empty-state h3 { color: var(--dv-gold); margin-bottom: 15px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin: 30px 0; }
.pagination a, .pagination span {
    padding: 8px 12px; background: var(--dv-charcoal); color: var(--dv-white); text-decoration: none;
    border: 1px solid #2a2a2a; border-radius: 4px; font-weight: 600; font-size: 0.82rem;
}
.pagination .current { background: var(--dv-gold); color: var(--dv-black); border-color: var(--dv-gold); }
.pagination a:hover { background: #222; border-color: var(--dv-gold-dim); }

/* ---------- Product detail (product.php) ---------- */
.product-header { text-align: center; margin-bottom: 30px; }
.product-info { display: flex; gap: 30px; flex-wrap: wrap; }
.product-images { flex: 1; min-width: 300px; max-width: 500px; }
.product-details { flex: 1; min-width: 300px; }
.main-image { text-align: center; margin-bottom: 20px; }
.main-image img { width: 400px; height: 300px; border-radius: 8px; border: 1px solid #2a2a2a; background: var(--dv-black); object-fit: contain; cursor: pointer; display: block; margin: 0 auto; }
.image-thumbnails { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.thumbnail { width: 100px; height: 75px; border: 1px solid #2a2a2a; border-radius: 4px; cursor: pointer; overflow: hidden; transition: all 0.2s ease; background: var(--dv-black); flex-shrink: 0; }
.thumbnail:hover, .thumbnail.active { border-color: var(--dv-gold); transform: scale(1.05); }
.thumbnail img { width: 100%; height: 100%; object-fit: contain; background: var(--dv-black); }
.product-meta { background: var(--dv-charcoal); border: 1px solid #2a2a2a; border-radius: 6px; padding: 20px; margin-bottom: 20px; }
.product-meta h4 { color: var(--dv-gold); margin-bottom: 15px; }
.product-meta p { color: #bbb; margin-bottom: 10px; }
.quantity-selector { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.quantity-selector label { color: var(--dv-white); font-weight: 600; margin: 0; }
.quantity-input { width: 80px; padding: 8px; border: 1px solid #2a2a2a; border-radius: 4px; background: var(--dv-charcoal); color: var(--dv-white); text-align: center; font-size: 1rem; }
.stock-info { color: #bbb; margin-bottom: 20px; font-size: 0.85rem; }
.stock-low  { color: var(--dv-gold-light); font-weight: 600; }
.stock-out  { color: #cf6f6f; font-weight: 600; }
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); cursor: pointer; }
.modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); max-width: 95%; max-height: 95%; object-fit: contain; border: 2px solid var(--dv-gold); border-radius: 8px; }
.close { position: absolute; top: 20px; right: 35px; color: var(--dv-gold); font-size: 40px; font-weight: bold; cursor: pointer; z-index: 2001; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }
.close:hover { color: var(--dv-white); }

/* ---------- Cart (cart.php) ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart-table th, .cart-table td { padding: 12px; text-align: left; border-bottom: 1px solid #2a2a2a; }
.cart-table th { background: var(--dv-charcoal); color: var(--dv-gold); font-weight: 700; }
.cart-table tr:hover { background: rgba(200,168,78,0.06); }
.cart-table .quantity-input { width: 60px; padding: 4px; font-size: inherit; }
.cart-total { background: var(--dv-charcoal); border: 2px solid var(--dv-gold); border-radius: 8px; padding: 20px; text-align: right; margin-bottom: 20px; }
.cart-total h3 { color: var(--dv-gold); margin: 0 0 10px 0; font-size: 1.4rem; }
.total-amount { color: var(--dv-green); font-size: 2rem; font-weight: 700; margin: 10px 0; }
.cart-actions { text-align: center; margin-top: 20px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.price { color: var(--dv-green); font-weight: 700; font-size: 1rem; }
.price-strike { color: var(--dv-gray); text-decoration: line-through; font-size: 0.85rem; margin-right: 8px; }
.shipping-info { background: var(--dv-charcoal); border: 1px solid #2a2a2a; border-radius: 6px; padding: 15px; margin: 15px 0; text-align: left; }
.shipping-info h4 { color: var(--dv-gold); margin: 0 0 10px 0; font-size: 1rem; }
.shipping-info p { margin: 5px 0; color: #bbb; font-size: 0.85rem; }
.free-shipping-notice { background: var(--dv-green-bg); border: 1px solid var(--dv-green-border); color: var(--dv-green); padding: 10px; border-radius: 4px; margin: 10px 0; font-weight: 600; text-align: center; }
.shipping-notice { background: var(--dv-green-bg); border: 1px solid var(--dv-green-border); color: var(--dv-green); padding: 10px; border-radius: 4px; margin: 15px 0; text-align: center; }
.shipping-notice.warning { background: rgba(224,200,114,0.12); border-color: var(--dv-gold-dim); color: var(--dv-gold-light); }

/* ---------- Checkout (checkout.php) ---------- */
.step-indicator { display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; }
.step.active { background: var(--dv-gold); color: var(--dv-black); }
.step.completed { background: var(--dv-green-bg); color: var(--dv-green); border: 1px solid var(--dv-green-border); }
.step.pending { background: var(--dv-charcoal); color: var(--dv-gray); }
.checkout-content, .confirmation-content { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.payment-methods { display: grid; gap: 15px; }
.payment-option { display: flex; align-items: center; gap: 10px; padding: 15px; border: 1px solid #2a2a2a; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; }
.payment-option:hover { border-color: var(--dv-gold); }
.payment-option.selected { border-color: var(--dv-gold); background: rgba(200,168,78,0.1); }
.payment-option input[type="radio"] { width: auto; margin: 0; accent-color: var(--dv-gold); }
.payment-icon { font-size: 24px; width: 40px; text-align: center; color: var(--dv-gold); }
.order-summary { background: var(--dv-panel); border: 1px solid #2a2a2a; border-radius: 8px; padding: 20px; height: fit-content; }
.checkout-content .order-summary { position: sticky; top: 20px; }
.summary-row { display: flex; justify-content: space-between; margin: 10px 0; padding: 5px 0; }
.summary-total { border-top: 2px solid var(--dv-gold-dim); margin-top: 15px; padding-top: 15px; font-size: 1.1rem; font-weight: 700; color: var(--dv-gold); }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #2a2a2a; }
.item-row { display: flex; align-items: center; gap: 15px; padding: 15px; border-bottom: 1px solid #2a2a2a; background: var(--dv-charcoal); margin-bottom: 10px; border-radius: 6px; }
.item-image { width: 60px; height: 60px; background: var(--dv-black); border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.item-image img { width: 100%; height: 100%; object-fit: contain; }
.item-info { flex: 1; }
.item-name { font-weight: 700; }
.cart-item .item-name { color: var(--dv-white); font-size: 0.85rem; }
.item-row .item-name { color: var(--dv-gold); margin-bottom: 5px; }
.item-details, .item-sku { color: #bbb; font-size: 0.72rem; }
.item-price { color: var(--dv-green); font-weight: 700; }
.item-row .item-price { text-align: right; min-width: 100px; }

/* ---------- Order confirmation (order_confirmation.php) ---------- */
.order-number-text { color: var(--dv-gold-light); font-size: 1.4rem; font-weight: 700; }
.confirmation-header .order-number { background: rgba(0,0,0,0.25); padding: 15px; border-radius: 6px; margin-top: 20px; display: inline-block; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.info-section, .detail-section { background: var(--dv-charcoal); border: 1px solid #2a2a2a; padding: 15px; border-radius: 6px; }
.info-title, .detail-title { color: var(--dv-gold); font-weight: 700; margin-bottom: 10px; }
.info-content { color: #bbb; line-height: 1.5; }
.info-content strong { color: var(--dv-white); }
.items-list, .order-items { margin-top: 20px; }
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; padding: 15px; background: var(--dv-charcoal); border-radius: 6px; }
.step-number { background: var(--dv-gold); color: var(--dv-black); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.step-content { flex: 1; }
.step-title { color: var(--dv-gold); font-weight: 700; margin-bottom: 5px; }
.step-description { color: #bbb; line-height: 1.4; }
.actions { text-align: center; margin: 30px 0; }

/* ---------- Account (account.php + profile + settings + orders) ---------- */
.account-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.nav-btn { background: var(--dv-gold); color: var(--dv-black); text-decoration: none; padding: 12px 20px; border-radius: 6px; font-weight: 700; font-size: 0.85rem; transition: all 0.2s ease; display: flex; align-items: center; gap: 8px; }
.nav-btn:hover { background: var(--dv-gold-light); transform: translateY(-1px); }
.nav-btn.primary { background: var(--dv-green-bg); color: var(--dv-green); border: 1px solid var(--dv-green-border); }
.nav-btn.primary:hover { background: var(--dv-green-border); color: var(--dv-white); }
.nav-btn.danger { background: #5a2a2a; color: #cf6f6f; border: 1px solid #5a2a2a; }
.nav-btn.danger:hover { background: #7a3a3a; color: var(--dv-white); }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 30px; }
.dashboard-card { background: var(--dv-panel); border: 1px solid #2a2a2a; border-radius: 8px; padding: 25px; transition: all 0.2s ease; }
.dashboard-card:hover { border-color: var(--dv-gold-dim); transform: translateY(-2px); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card-title { font-family: var(--font-display); color: var(--dv-gold); font-size: 1.2rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px; }
.card-action { color: var(--dv-gold); text-decoration: none; font-weight: 600; font-size: 0.85rem; }
.card-action:hover { color: var(--dv-gold-light); }
.card-content { color: var(--dv-gray); }
.card-content strong { color: var(--dv-white); }
.stat-number { font-size: 2.2rem; font-weight: 700; color: var(--dv-gold-light); margin-bottom: 5px; }
.stat-label { font-size: 0.85rem; color: var(--dv-gray); text-transform: uppercase; letter-spacing: 1px; }
.order-item, .order-card { background: var(--dv-charcoal); border: 1px solid #2a2a2a; border-radius: 8px; padding: 20px; margin-bottom: 15px; transition: all 0.2s ease; }
.order-card:hover { border-color: var(--dv-gold-dim); transform: translateY(-2px); }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 10px; }
.order-number { color: var(--dv-gold); font-weight: 700; }
.order-header .order-number { font-size: 1.2rem; }
.order-status { padding: 5px 12px; border-radius: 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.status-pending    { background: var(--dv-gold); color: var(--dv-black); }
.status-processing { background: var(--dv-gray-dark); color: var(--dv-white); }
.status-shipped    { background: var(--dv-green-bg); color: var(--dv-green); border: 1px solid var(--dv-green-border); }
.status-delivered  { background: var(--dv-green); color: var(--dv-black); }
.status-cancelled  { background: #3d1a1a; color: #cf6f6f; border: 1px solid #5a2a2a; }
.order-details { font-size: 0.85rem; color: var(--dv-gray); }
.order-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 15px; }
.info-item { display: flex; flex-direction: column; }
.info-label { color: #bbb; font-size: 0.72rem; text-transform: uppercase; margin-bottom: 5px; }
.info-value { color: var(--dv-white); font-weight: 700; }
.order-actions { text-align: right; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 15px; }
.profile-grid, .settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.settings-grid { margin-bottom: 30px; }
.danger-zone { border: 1px solid #5a2a2a; background: rgba(90,42,42,0.15); }
.danger-zone .section-title { color: #cf6f6f; border-bottom-color: #5a2a2a; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
    .checkout-content, .confirmation-content, .info-grid,
    .dashboard-grid, .profile-grid, .settings-grid { grid-template-columns: 1fr; }
    .filters-row { flex-direction: column; align-items: stretch; }
    .product-info { flex-direction: column; }
    .product-images { min-width: auto; max-width: none; }
    .main-image img { width: 100%; max-width: 350px; height: 250px; }
    .cart-actions, .account-nav { flex-direction: column; align-items: center; }
    .nav-btn { width: 220px; justify-content: center; }
    .order-header { flex-direction: column; align-items: flex-start; }
    .login-container, .register-container, .reset-container, .verification-container { margin: 20px auto; padding: 25px; }
}
