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

/* --- Core Custom Properties & Palette --- */
:root {
    --bg-darker: #060b13;
    --bg-dark: #0a192f;
    --bg-card: #112240;
    --bg-input: #172a45;
    --primary: #00b4d8;
    --primary-glow: rgba(0, 180, 216, 0.15);
    --secondary: #64ffda;
    --secondary-glow: rgba(100, 255, 218, 0.15);
    --text-primary: #e2e8f0;
    --text-secondary: #8892b0;
    --text-muted: #606f7b;
    --white: #ffffff;
    --danger: #ff5a5f;
    --success: #2ecc71;
    --border-color: rgba(100, 255, 218, 0.1);
    --border-glow: rgba(0, 180, 216, 0.2);
    --glass-bg: rgba(17, 34, 64, 0.75);
    --glass-border: rgba(255, 255, 255, 0.05);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px var(--primary-glow);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
    letter-spacing: -0.025em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    font-weight: 400;
}

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

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 30px;
}

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

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
}

/* --- Header Section (Glassmorphism Navbar) --- */
header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    background-color: rgba(6, 11, 19, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
}

.logo img {
    height: 38px;
    width: auto;
}

.logo span {
    background: linear-gradient(135deg, var(--white) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

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

.cart-icon-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-icon-btn:hover {
    color: var(--secondary);
    transform: scale(1.05);
}

.cart-badge {
    background-color: var(--secondary);
    color: var(--bg-darker);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    .nav-links.active {
        left: 0;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-darker);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--secondary);
    box-shadow: 0 0 25px var(--secondary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    margin-bottom: 20px;
    font-size: 3.25rem;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 180, 216, 0.1);
    border: 1px solid var(--border-color);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .hero { padding-top: 130px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
}

/* --- Section Formatting --- */
.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.05rem;
}

/* --- Cards (Glassmorphism UI) --- */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(100, 255, 218, 0.05);
    border-color: rgba(100, 255, 218, 0.25);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 12px;
}

/* --- Product Cards --- */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 25px var(--primary-glow);
}

.product-image {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: var(--bg-dark);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--bg-darker);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-badge.service {
    background-color: var(--secondary);
}

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

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    min-height: 48px;
}

.product-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-price-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

.product-action-btn {
    background-color: var(--primary);
    border: none;
    color: var(--bg-darker);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.product-action-btn:hover {
    background-color: var(--secondary);
    transform: scale(1.1);
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

/* --- Shopping Cart Drawer --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background-color: var(--bg-card);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.cart-drawer-close:hover {
    color: var(--secondary);
}

.cart-drawer-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background-color: var(--bg-dark);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--white);
}

.cart-item-price {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.qty-val {
    font-size: 0.85rem;
    font-weight: 600;
    width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: var(--danger);
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-dark);
}

.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-drawer-total span:last-child {
    color: var(--secondary);
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-drawer-actions .btn {
    width: 100%;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(6, 11, 19, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

/* --- Shop Layout --- */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding-top: 130px;
    padding-bottom: 100px;
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

.shop-sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.sidebar-title {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    font-size: 1.15rem;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.search-input {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.category-filter {
    list-style: none;
}

.category-filter li {
    margin-bottom: 8px;
}

.category-filter button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 4px 0;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.category-filter button:hover, .category-filter button.active {
    color: var(--secondary);
    padding-left: 6px;
}

.shop-sort-select {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.shop-sort-select option {
    background-color: var(--bg-dark);
}

/* --- Cart & Checkout Pages --- */
.cart-page-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 40px;
    padding-top: 130px;
    padding-bottom: 100px;
}

@media (max-width: 992px) {
    .cart-page-grid {
        grid-template-columns: 1fr;
    }
}

.cart-table-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
}

.cart-summary-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    height: fit-content;
}

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

.cart-table th {
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 500;
}

.cart-table td {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-table .product-col {
    display: flex;
    align-items: center;
    gap: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.summary-row.total span:last-child {
    color: var(--secondary);
}

/* --- Checkout Layout --- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding-top: 130px;
    padding-bottom: 100px;
}

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

.checkout-form-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
}

.checkout-heading {
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-control {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* --- Service Booking Panel --- */
.booking-panel {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(100, 255, 218, 0.02) 100%);
    border: 1px dashed var(--secondary);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 24px;
    margin-bottom: 30px;
}

.booking-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.booking-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* --- Order Confirmation / Receipt --- */
.confirmation-container {
    max-width: 650px;
    margin: 140px auto 100px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.confirmation-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px var(--secondary-glow));
}

.confirmation-container h1 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.receipt-box {
    background-color: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 32px 0;
    text-align: left;
}

.receipt-header {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.receipt-item-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.receipt-footer {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--secondary);
}

.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* --- Product Detail Layout --- */
.detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    padding-top: 150px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.detail-img-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-category {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

.detail-desc {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.detail-specs {
    margin-bottom: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
}

.spec-name {
    color: var(--text-secondary);
}

.spec-val {
    color: var(--white);
    font-weight: 500;
}

.detail-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-qty {
    display: flex;
    align-items: center;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0 16px;
}

.detail-qty select {
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    padding: 12px 8px;
}

.detail-qty select option {
    background-color: var(--bg-dark);
}

/* --- Contact & About Content --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

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

.contact-info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    background-color: var(--secondary-glow);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-content h4 {
    margin-bottom: 4px;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 250px;
    margin-top: 10px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

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

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* --- Print Styles for Receipt --- */
@media print {
    body * {
        visibility: hidden;
    }
    .receipt-box, .receipt-box * {
        visibility: visible;
    }
    .receipt-box {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none;
        background: white;
        color: black;
        padding: 0;
    }
    .receipt-footer {
        color: black;
        border-top: 1px dashed black;
    }
    .receipt-header {
        border-bottom: 1px dashed black;
    }
}
