/* Modern Premium Design System for MishArts Plant Tags */
:root {
    --primary: hsl(142, 60%, 25%);
    --primary-light: hsl(142, 55%, 35%);
    --primary-bg: hsl(142, 30%, 96%);
    --accent: hsl(38, 90%, 55%);
    --dark: hsl(210, 24%, 16%);
    --light: hsl(0, 0%, 100%);
    --gray-100: hsl(210, 20%, 98%);
    --gray-200: hsl(210, 16%, 93%);
    --gray-300: hsl(210, 14%, 85%);
    --gray-700: hsl(210, 10%, 30%);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
    --primary: hsl(142, 60%, 45%);
    --primary-light: hsl(142, 55%, 55%);
    --primary-bg: hsl(142, 20%, 10%);
    --dark: hsl(210, 20%, 98%);
    --light: hsl(210, 24%, 12%);
    --gray-100: hsl(210, 20%, 15%);
    --gray-200: hsl(210, 16%, 22%);
    --gray-300: hsl(210, 14%, 30%);
    --gray-700: hsl(210, 10%, 80%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.4);
}

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

body {
    font-family: var(--font);
    background-color: var(--gray-100);
    color: var(--dark);
    line-height: 1.6;
    transition: var(--transition);
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: rotateBg 20s linear infinite;
}

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

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.logo-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Theme Switcher */
.theme-switch-wrapper {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Main Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Info Section (Promo Tiers) */
.promo-banner {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    border: 1px solid var(--gray-200);
}

@media (max-width: 900px) {
    .promo-banner {
        grid-template-columns: 1fr;
    }
}

.promo-details h3, .promo-table h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.promo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-bg);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.table-wrapper {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.pricing-table th, .pricing-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-table th {
    font-weight: 600;
    color: var(--gray-700);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.badge-discount {
    background: var(--accent);
    color: var(--dark);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Catalog Grid */
.catalog-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: var(--light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 110%; /* Tall aspect ratio for cropped cards */
    overflow: hidden;
    background: #f0f0f0;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 3;
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-description {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.product-price-range {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.product-price-range span {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 400;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    font-family: var(--font);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    flex-grow: 1;
}

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

.btn-secondary {
    background: var(--gray-200);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

/* Modal for Quote / Configuration */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--light);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    padding: 1.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transform: translateY(20px);
    transition: var(--transition);
    max-height: 95vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gray-200);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--gray-300);
}

.modal-header {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.modal-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.modal-title-desc h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

/* Calculator Controls */
.calc-controls {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 1rem;
    align-items: center;
}

.control-group {
    margin-bottom: 0;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.qty-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    background: var(--light);
    color: var(--dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--gray-200);
}

input[type="number"] {
    width: 80px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    text-align: center;
    font-size: 1.05rem;
    font-weight: bold;
    font-family: var(--font);
    background: var(--light);
    color: var(--dark);
}

/* Summary Box */
.calc-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-top: 2px dashed var(--gray-300);
    margin-bottom: 0.75rem;
}

.summary-item {
    text-align: left;
}

.summary-label {
    font-size: 0.8rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.discount-alert {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    line-height: 1.3;
    min-height: 48px;
    transition: var(--transition);
}

.discount-alert.hint {
    background: var(--light);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.discount-alert.discount {
    background: hsl(45, 100%, 96%);
    border: 1px solid hsl(45, 100%, 85%);
    color: hsl(45, 100%, 25%);
}

/* Floating Cart / Quotation Bag */
.cart-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: var(--light);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 90;
    transition: var(--transition);
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}

.cart-floating:hover {
    transform: translateY(-4px) scale(1.02);
    background: var(--primary-light);
}

.cart-count {
    background: var(--accent);
    color: var(--dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Inquiry Drawer/Modal */
.drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background: var(--light);
    box-shadow: var(--shadow-lg);
    z-index: 110;
    transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--gray-200);
}

.drawer.active {
    right: 0;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.close-drawer {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.drawer-content {
    padding: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
}

.drawer-items {
    margin-bottom: 2rem;
}

.drawer-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
    position: relative;
}

.drawer-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

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

.drawer-item-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.drawer-item-meta {
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-top: 0.25rem;
}

.drawer-item-price {
    font-weight: 700;
    color: var(--primary);
}

.remove-drawer-item {
    background: none;
    border: none;
    color: hsl(0, 75%, 60%);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.remove-drawer-item:hover {
    transform: scale(1.1);
}

.drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.drawer-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-700);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* User Form in Drawer */
.inquiry-form {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    background: var(--light);
    color: var(--dark);
    font-family: var(--font);
    font-size: 0.95rem;
}

.input-field:focus {
    border-color: var(--primary);
    outline: none;
}

textarea.input-field {
    height: 100px;
    resize: none;
}

/* Success Popup */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: var(--light);
    padding: 1rem 2rem;
    border-radius: 50px;
    z-index: 200;
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Footer styling */
footer.main-footer {
    background: var(--dark);
    color: var(--light);
    padding: 4rem 2rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 5px solid var(--primary);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-text {
    opacity: 0.7;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spin {
    animation: spin 1.2s linear infinite;
    display: inline-block;
}

/* ==========================================================================
   HOMEPAGE CUSTOM COMPONENT STYLES
   ========================================================================== */

/* Navigation link inside header */
.home-nav-wrapper {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}
.home-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--light);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}
.home-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Homepage Header */
.home-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.home-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: rotateBg 20s linear infinite;
}

/* Landing Page Buttons & CTA Groups */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}
.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.cta-group a {
    text-decoration: none;
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
}
.btn-accent:hover {
    background: hsl(38, 90%, 65%);
    transform: translateY(-2px);
}

/* Feature Section Styles */
.features-section {
    padding: 4rem 0 2rem;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}
.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}
.section-header p {
    color: var(--gray-700);
    font-size: 1.1rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.feature-card {
    background: var(--light);
    border: 1px solid var(--gray-200);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}
.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Collection Grid Styles */
.collections-section {
    padding: 4rem 0 2rem;
}
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.collection-card {
    background: var(--light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.collection-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #f0f0f0;
}
.collection-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.collection-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.collection-info p {
    color: var(--gray-700);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.collection-link {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.collection-link:hover {
    color: var(--primary-light);
    gap: 0.75rem;
}

/* Bulk Teaser Callout Styles */
.bulk-teaser {
    background: linear-gradient(135deg, var(--dark), #2c3e50);
    color: var(--light);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    margin-top: 4rem;
    box-shadow: var(--shadow-lg);
}
.teaser-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.teaser-text {
    max-width: 700px;
}
.teaser-badge {
    background: var(--primary);
    color: var(--light);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
}
.teaser-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.teaser-text p {
    opacity: 0.85;
    font-size: 1.05rem;
}
.teaser-action a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .teaser-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}
.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

/* ==========================================================================
   NAVIGATION BAR & DROPDOWN MENU STYLES
   ========================================================================== */
.misharts-nav {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed; /* Changed from absolute to fixed for stickiness */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Higher z-index to overlay drawer backdrops if needed */
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* For dark mode nav overrides */
[data-theme="dark"] .misharts-nav {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Scroll Hide/Show states */
.misharts-nav.nav-hidden {
    transform: translateY(-100%);
}

.misharts-nav.nav-scrolled {
    background: var(--primary) !important;
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

[data-theme="dark"] .misharts-nav.nav-scrolled {
    background: var(--light) !important;
    border-bottom-color: var(--gray-200);
}

.nav-container-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-brand ion-icon {
    font-size: 1.75rem;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--light);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions .theme-btn {
    position: static;
}

.mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Responsive Nav Breakpoints */
@media (max-width: 900px) {
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        display: none;
        box-shadow: var(--shadow-lg);
    }
    
    [data-theme="dark"] .nav-menu {
        background: var(--light);
        border-bottom-color: var(--gray-200);
    }
    
    [data-theme="dark"] .nav-menu a {
        color: var(--gray-700);
    }
    
    [data-theme="dark"] .nav-menu a:hover,
    [data-theme="dark"] .nav-menu a.active {
        color: var(--dark);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .nav-menu a::after {
        display: none;
    }
}

/* Adjust header hero heights to accommodate fixed nav absolute offset */
.home-header, .sub-header {
    padding-top: 9.5rem !important;
}
.sub-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sub-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: rotateBg 20s linear infinite;
}

/* Commissions Section Additional Overrides */
.art-card img, .art-card {
    transition: var(--transition);
}
.art-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
select.input-field {
    cursor: pointer;
}
