@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --color-fire-dark: #6e1313;
    --color-fire: #8b1d1d;
    --color-fire-light: #ad2b2b;
    --color-earth-light: #fefcf9;
    --color-earth-bg: #FAF6F0;
    --color-earth-card: #f3e9da;
    --color-gold: #bda06d;
    --color-gold-bright: #d4af37;
    --color-gold-dark: #8c7143;
    --color-wood: #3a2e2b;
    --color-ink: #1a1412;
    --color-white: #ffffff;
    --color-text: #2f2624;
    --color-text-muted: #72625f;
    --color-success: #2e7d32;
    --color-danger: #c62828;
    
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --shadow-subtle: 0 4px 20px rgba(58, 46, 43, 0.05);
    --shadow-medium: 0 10px 30px rgba(58, 46, 43, 0.1);
    --shadow-premium: 0 20px 40px rgba(58, 46, 43, 0.15);
    
    --border-gold-thin: 1px solid var(--color-gold);
    --border-gold-double: 4px double var(--color-gold);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-earth-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .serif-font {
    font-family: var(--font-serif);
    color: var(--color-ink);
    font-weight: 600;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

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

.section-padding {
    padding: 80px 0;
}

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

/* Traditional Accents */
.traditional-border {
    border: var(--border-gold-double);
    padding: 30px;
    background-color: var(--color-earth-light);
    position: relative;
}

.traditional-border::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--color-gold);
    pointer-events: none;
}

.traditional-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.traditional-heading::after {
    content: '❖';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-gold-bright);
    font-size: 16px;
}

.traditional-heading::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* Navigation Header */
#main-header {
    background-color: var(--color-earth-light);
    border-bottom: 2px solid var(--color-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-subtle);
}

.header-top {
    border-bottom: 1px solid rgba(189, 160, 109, 0.3);
    padding: 10px 0;
    font-size: 14px;
    color: var(--color-text-muted);
}

.header-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info span {
    margin-right: 20px;
}

.header-top-info i {
    color: var(--color-fire);
    margin-right: 5px;
}

.header-main-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gold-bright);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text h1 {
    font-size: 24px;
    letter-spacing: 1px;
    line-height: 1.2;
    color: var(--color-fire-dark);
}

.brand-text span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-dark);
    display: block;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-navigation a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-fire);
    transition: var(--transition-smooth);
}

.main-navigation a:hover,
.main-navigation li.active a {
    color: var(--color-fire);
}

.main-navigation a:hover::after,
.main-navigation li.active a::after {
    width: 100%;
}

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

.btn-hotline {
    background-color: var(--color-fire);
    color: var(--color-white) !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-subtle);
}

.btn-hotline:hover {
    background-color: var(--color-gold);
    color: var(--color-ink) !important;
    border-color: var(--color-gold-bright);
    transform: translateY(-2px);
}

.cart-icon-btn {
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: var(--color-ink);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.cart-icon-btn:hover {
    background-color: var(--color-earth-card);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--color-fire);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gold-bright);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Premium Buttons */
.btn-premium {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-fire), var(--color-fire-dark));
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 4px;
    border: 1px solid var(--color-gold-bright);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
}

.btn-premium:hover {
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
    color: var(--color-ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

.btn-premium-outline {
    display: inline-block;
    background: transparent;
    color: var(--color-fire-dark);
    padding: 11px 27px;
    border-radius: 4px;
    border: 2px solid var(--color-fire);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
    background-color: var(--color-fire);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 20, 18, 0.8), rgba(26, 20, 18, 0.85)), url('../assets/banner.png') no-repeat center center/cover;
    color: var(--color-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: var(--color-earth-bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content h2 {
    color: var(--color-gold-bright);
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: rgba(254, 252, 249, 0.85);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bagua-rotate-bg {
    width: 300px;
    height: 300px;
    opacity: 0.15;
    animation: rotateBagua 40s linear infinite;
    fill: var(--color-gold-bright);
}

.hero-card {
    position: absolute;
    background: rgba(254, 252, 249, 0.95);
    color: var(--color-ink);
    padding: 25px;
    border-radius: 6px;
    border: var(--border-gold-double);
    max-width: 280px;
    box-shadow: var(--shadow-premium);
    text-align: center;
}

.hero-card h3 {
    font-size: 18px;
    color: var(--color-fire-dark);
    margin-bottom: 10px;
}

.hero-card p {
    font-size: 13px;
    color: var(--color-text-muted);
}

@keyframes rotateBagua {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Feng Shui Calculator (Luận Tuổi) */
.calculator-box {
    background-color: var(--color-earth-light);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(189, 160, 109, 0.4);
    overflow: hidden;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.calc-header {
    background: linear-gradient(135deg, var(--color-fire), var(--color-fire-dark));
    color: var(--color-white);
    padding: 25px;
    text-align: center;
    border-bottom: 3px solid var(--color-gold);
}

.calc-header h3 {
    color: var(--color-gold-bright);
    font-size: 24px;
    margin-bottom: 5px;
}

.calc-header p {
    font-size: 14px;
    opacity: 0.85;
}

.calc-body {
    padding: 30px;
}

.calc-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: flex-end;
}

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

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-ink);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-fire-light);
    box-shadow: 0 0 0 3px rgba(139, 29, 29, 0.1);
}

/* Calculator Results Panel */
.calc-results-panel {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px dashed var(--color-gold);
    display: none; /* Controlled via JS */
    animation: fadeIn 0.5s ease-out;
}

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

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

.quai-menh-card {
    background-color: var(--color-earth-card);
    border-radius: 6px;
    padding: 20px;
    border: 1px solid rgba(189, 160, 109, 0.5);
    text-align: center;
}

.quai-menh-card h4 {
    font-size: 20px;
    color: var(--color-fire-dark);
    margin-bottom: 15px;
}

.menh-badge {
    display: inline-block;
    background-color: var(--color-fire);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 15px;
    border: 1px solid var(--color-gold-bright);
}

.quai-menh-value {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-ink);
    margin: 10px 0;
}

.directions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(189, 160, 109, 0.3);
}

.directions-table th,
.directions-table td {
    padding: 10px 12px;
    text-align: left;
    font-size: 14px;
}

.directions-table th {
    background-color: var(--color-fire-dark);
    color: var(--color-white);
    font-family: var(--font-serif);
    font-weight: 500;
}

.directions-table tr:nth-child(even) {
    background-color: var(--color-earth-bg);
}

.dir-cat {
    color: var(--color-success);
    font-weight: 600;
}

.dir-hung {
    color: var(--color-danger);
    font-weight: 600;
}

.results-advice {
    background-color: #fcf8e3;
    border-left: 4px solid var(--color-gold-bright);
    padding: 15px;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    color: #8a6d3b;
    margin-top: 20px;
    grid-column: span 2;
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-image {
    position: relative;
    border: var(--border-gold-double);
    background-color: var(--color-white);
    padding: 10px;
}

.intro-image img {
    width: 100%;
    object-fit: cover;
    height: 380px;
}

.intro-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--color-fire-dark);
}

.intro-text p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Services Section */
.services-section {
    background-color: var(--color-earth-card);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--color-earth-light);
    border-radius: 6px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(189, 160, 109, 0.3);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-gold-bright);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-earth-bg);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--color-gold);
    color: var(--color-fire);
    font-size: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--color-fire);
    color: var(--color-white);
    border-style: solid;
    border-color: var(--color-gold-bright);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--color-earth-light);
    border-radius: 6px;
    border: 1px solid rgba(189, 160, 109, 0.3);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-gold);
}

.product-img-wrapper {
    position: relative;
    background-color: var(--color-earth-bg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-fire-dark);
    color: var(--color-white);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
    border: 1px solid var(--color-gold);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-sku {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-family: monospace;
}

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

.product-price {
    color: var(--color-fire-dark);
    font-weight: 700;
    font-size: 16px;
}

.btn-add-cart {
    background-color: var(--color-earth-card);
    border: 1px solid var(--color-gold);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-ink);
    transition: var(--transition-smooth);
}

.btn-add-cart:hover {
    background-color: var(--color-fire);
    color: var(--color-white);
    border-color: var(--color-gold-bright);
}

/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    background-color: var(--color-earth-light);
    border: 1px solid rgba(189, 160, 109, 0.4);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-tab:hover,
.filter-tab.active {
    background-color: var(--color-fire);
    color: var(--color-white);
    border-color: var(--color-gold);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(rgba(110, 19, 19, 0.9), rgba(110, 19, 19, 0.95)), url('https://images.unsplash.com/photo-1544816155-12df9643f363?q=80&w=1200') no-repeat center center/cover;
    color: var(--color-white);
    text-align: center;
    padding: 70px 0;
}

.cta-section h2 {
    color: var(--color-gold-bright);
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Contact Form Grid (Lien he & Home footer-form) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-fire);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid var(--color-gold-bright);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

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

.contact-form-box {
    background-color: var(--color-earth-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(189, 160, 109, 0.4);
}

.contact-form-box h3 {
    margin-bottom: 20px;
    color: var(--color-fire-dark);
}

.contact-form-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-box textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer styling */
#main-footer {
    background-color: var(--color-ink);
    color: rgba(254, 252, 249, 0.7);
    padding: 70px 0 20px;
    border-top: 3px solid var(--color-gold);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--color-gold-bright);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

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

.footer-links a:hover {
    color: var(--color-gold-bright);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(254, 252, 249, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(254, 252, 249, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-smooth);
    border: 1px solid rgba(189, 160, 109, 0.2);
}

.footer-socials a:hover {
    background-color: var(--color-fire);
    border-color: var(--color-gold-bright);
    transform: translateY(-3px);
}

/* Interactive Cart Drawer */
.cart-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.active {
    display: block;
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--color-earth-light);
    z-index: 2001;
    box-shadow: var(--shadow-premium);
    border-left: 2px solid var(--color-gold);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.cart-drawer-header {
    background: linear-gradient(135deg, var(--color-fire), var(--color-fire-dark));
    color: var(--color-white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-gold);
}

.cart-drawer-header h3 {
    color: var(--color-gold-bright);
    font-size: 20px;
}

.close-cart-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 24px;
    cursor: pointer;
}

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

.cart-empty-message {
    text-align: center;
    padding: 50px 20px;
    color: var(--color-text-muted);
}

.cart-empty-message i {
    font-size: 48px;
    color: var(--color-gold);
    margin-bottom: 15px;
    display: block;
}

.cart-item {
    display: flex;
    gap: 12px;
    background-color: var(--color-earth-bg);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(189, 160, 109, 0.2);
    align-items: center;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    background-color: var(--color-white);
    border: 1px solid rgba(189, 160, 109, 0.1);
}

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

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

.cart-item-price {
    color: var(--color-fire-dark);
    font-weight: 600;
    font-size: 13px;
}

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

.qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    background-color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.qty-val {
    font-size: 13px;
    width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-danger);
    cursor: pointer;
    padding: 5px;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(189, 160, 109, 0.3);
    background-color: var(--color-earth-card);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--color-ink);
}

.cart-summary-total {
    color: var(--color-fire-dark);
    font-size: 18px;
    font-weight: 700;
}

.cart-checkout-btn {
    width: 100%;
}

/* Modal Popup Checkout */
.checkout-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
}

.checkout-modal-backdrop.active {
    display: flex;
}

.checkout-modal {
    background-color: var(--color-earth-light);
    width: 500px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    border: var(--border-gold-double);
    overflow: hidden;
    animation: fadeIn 0.3s ease-out;
}

.checkout-modal-header {
    background: linear-gradient(135deg, var(--color-fire), var(--color-fire-dark));
    color: var(--color-white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-gold);
}

.checkout-modal-header h3 {
    color: var(--color-gold-bright);
    font-size: 18px;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 20px;
    cursor: pointer;
}

.checkout-modal-body {
    padding: 20px;
}

.checkout-modal-body form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Static Pages Hero styling */
.page-hero {
    background: linear-gradient(rgba(26, 20, 18, 0.85), rgba(26, 20, 18, 0.9)), url('https://images.unsplash.com/photo-1544816155-12df9643f363?q=80&w=1920') no-repeat center center/cover;
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid var(--color-gold);
}

.page-hero h2 {
    color: var(--color-gold-bright);
    font-size: 36px;
    margin-bottom: 10px;
}

.page-hero-breadcrumbs {
    font-size: 14px;
    color: rgba(254, 252, 249, 0.7);
}

.page-hero-breadcrumbs a:hover {
    color: var(--color-gold-bright);
}

/* Detail Elements styling for Intro */
.theory-card {
    background-color: var(--color-white);
    border-radius: 6px;
    border: 1px solid rgba(189, 160, 109, 0.2);
    padding: 25px;
    box-shadow: var(--shadow-subtle);
    margin-top: 30px;
}

.theory-card h4 {
    color: var(--color-fire-dark);
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(189, 160, 109, 0.2);
    padding-bottom: 8px;
}

/* Responsive Utilities */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-graphic {
        display: none;
    }
    
    .calc-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .calc-form button {
        grid-column: span 2;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .main-navigation {
        display: none; /* Mobile menu sidebar style */
        position: fixed;
        top: 82px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 82px);
        background-color: var(--color-earth-light);
        z-index: 999;
        box-shadow: var(--shadow-premium);
        border-right: 2px solid var(--color-gold);
        transition: var(--transition-smooth);
        padding: 30px 20px;
    }
    
    .main-navigation.active {
        display: block;
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
        color: var(--color-fire-dark);
    }
    
    .calc-form {
        grid-template-columns: 1fr;
    }
    
    .calc-form button {
        grid-column: span 1;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .results-advice {
        grid-column: span 1;
    }
    
    .header-actions .btn-hotline {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
}
