@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* =========================================
   ELEGANT MINIMALIST DESIGN SYSTEM
   For Psychology Practice & Journal Store
   ========================================= */

:root {
    /* Refined Color Palette */
    --cream: #FAF8F5;
    --cream-dark: #F2EDE6;
    --sage: #4A5D5A;
    --sage-light: #6B8380;
    --sage-dark: #3A4A47;
    --terracotta: #C4916E;
    --terracotta-light: #D4A989;
    --terracotta-dark: #A67754;
    --charcoal: #2C2C2C;
    --charcoal-light: #4A4A4A;
    --white: #FFFFFF;
    --black: #1A1A1A;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--charcoal-light);
}

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* =========================================
   LAYOUT
   ========================================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-lg {
    max-width: 1400px;
}

.container-sm {
    max-width: 800px;
}

/* =========================================
   NAVIGATION
   ========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.navbar-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-light);
    transition: color var(--duration) var(--ease);
    position: relative;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width var(--duration) var(--ease);
}

.navbar-link:hover {
    color: var(--charcoal);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.navbar-cart {
    position: relative;
    padding: 0.5rem;
    color: var(--charcoal);
    transition: color var(--duration) var(--ease);
}

.navbar-cart:hover {
    color: var(--terracotta);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--terracotta);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--duration) var(--ease);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {

    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    outline: none;
    text-decoration: none;
    line-height: 1.4;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 93, 90, 0.2);
}

.btn:focus:not(:focus-visible) {
    box-shadow: none;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(74, 93, 90, 0.3);
}

.btn:active {
    transform: none;
}

.btn-primary {
    background: var(--sage);
    color: white;
}

.btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 93, 90, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: white;
}

.btn-terracotta {
    background: var(--terracotta);
    color: white;
}

.btn-terracotta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 145, 110, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--sage);
    padding: 0.5rem 0;
    border-radius: 0;
}

.btn-ghost:hover {
    color: var(--sage-dark);
}

.btn-ghost svg {
    transition: transform var(--duration) var(--ease);
}

.btn-ghost:hover svg {
    transform: translateX(4px);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--cream-dark);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-text {
    max-width: 540px;
}

.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-md);
}

.hero-title {
    margin-bottom: var(--space-md);
}

.hero-title em {
    font-style: italic;
    color: var(--sage);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--sage-light);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    background: white;
    padding: var(--space-md);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    bottom: 20%;
    left: -60px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    top: 20%;
    right: -40px;
    animation-delay: 3s;
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xs);
    color: var(--sage);
}

.floating-card-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.floating-card-sub {
    font-size: 0.8rem;
    color: var(--charcoal-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* =========================================
   SECTION STYLES
   ========================================= */

.section {
    padding: var(--space-3xl) 0;
}

.section-dark {
    background: var(--sage);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
    color: white;
}

.section-cream {
    background: var(--cream-dark);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.1rem;
}

/* =========================================
   SERVICES / FEATURES GRID
   ========================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: white;
    padding: var(--space-xl);
    border-radius: 24px;
    transition: all var(--duration) var(--ease);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--terracotta-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--cream);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--sage);
}

.feature-title {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   PODCAST SECTION
   ========================================= */

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.podcast-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.podcast-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--sage-light);
}

.podcast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.podcast-card:hover .podcast-image img {
    transform: scale(1.05);
}

.podcast-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--duration) var(--ease);
}

.podcast-card:hover .podcast-play {
    opacity: 1;
}

.podcast-play svg {
    margin-left: 4px;
    color: var(--sage);
}

.podcast-content {
    padding: var(--space-md);
}

.podcast-date {
    font-size: 0.8rem;
    color: var(--terracotta);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.podcast-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.podcast-title a:hover {
    color: var(--sage);
}

.podcast-excerpt {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   SHOP / PRODUCTS
   ========================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cream-dark);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--terracotta);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}

.product-content {
    padding: var(--space-md);
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.product-title a:hover {
    color: var(--sage);
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--sage);
    font-weight: 600;
}

.product-actions {
    margin-top: var(--space-sm);
}

/* =========================================
   CTA SECTION
   ========================================= */

.cta-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--sage);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: white;
    color: var(--sage);
    border-color: white;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
    background: var(--charcoal);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--duration) var(--ease);
}

.social-icon:hover {
    background: var(--terracotta);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all var(--duration) var(--ease);
}

.footer-link:hover {
    color: var(--terracotta);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* =========================================
   FORMS
   ========================================= */

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    background: white;
    border: 1.5px solid var(--cream-dark);
    border-radius: 12px;
    transition: all var(--duration) var(--ease);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 4px rgba(74, 93, 90, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* =========================================
   PAGE HEADERS
   ========================================= */

.page-header {
    padding: 160px 0 var(--space-2xl);
    background: var(--cream-dark);
    text-align: center;
}

.page-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-title {
    margin-bottom: var(--space-md);
}

.page-description {
    font-size: 1.1rem;
}

/* =========================================
   CARDS GENERAL
   ========================================= */

.card {
    background: white;
    border-radius: 20px;
    padding: var(--space-xl);
    transition: all var(--duration) var(--ease);
}

.card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* =========================================
   ABOUT PAGE
   ========================================= */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-text h1 {
    margin-bottom: var(--space-md);
}

.about-text p {
    margin-bottom: var(--space-md);
}

/* =========================================
   CONTACT PAGE
   ========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-info-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--cream);
    border-radius: 16px;
    margin-bottom: var(--space-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
}

/* =========================================
   ALERTS & MESSAGES
   ========================================= */

.alert {
    padding: var(--space-md);
    border-radius: 12px;
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

.alert-warning {
    background: #FFF8E1;
    color: #F57F17;
    border: 1px solid #FFE082;
}

.alert-info {
    background: #E3F2FD;
    color: #1565C0;
    border: 1px solid #90CAF9;
}

/* =========================================
   PAGINATION
   ========================================= */

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--duration) var(--ease);
}

.pagination a {
    background: white;
    color: var(--charcoal);
    border: 1px solid var(--cream-dark);
}

.pagination a:hover {
    background: var(--sage);
    color: white;
    border-color: var(--sage);
}

.pagination span.current {
    background: var(--sage);
    color: white;
}

/* =========================================
   CHECKOUT
   ========================================= */

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-2xl);
    align-items: start;
}

.order-summary {
    background: white;
    border-radius: 20px;
    padding: var(--space-xl);
    position: sticky;
    top: 120px;
}

.order-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--cream-dark);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--cream);
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    border-top: 2px solid var(--charcoal);
    font-weight: 600;
    font-size: 1.1rem;
}

/* =========================================
   CART
   ========================================= */

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: var(--space-md);
    border-bottom: 2px solid var(--cream-dark);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-product-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--cream);
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--cream-dark);
    background: white;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--duration) var(--ease);
}

.quantity-btn:hover {
    background: var(--sage);
    color: white;
    border-color: var(--sage);
}

.cart-remove {
    color: var(--charcoal-light);
    transition: color var(--duration) var(--ease);
}

.cart-remove:hover {
    color: #C62828;
}

/* =========================================
   UTILITIES
   ========================================= */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.hidden { display: none; }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 1200px) {
    .features-grid,
    .podcast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 968px) {
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 400px;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-lg) var(--space-lg);
        transform: translateX(100%);
        transition: transform var(--duration) var(--ease);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-menu.active {
        transform: translateX(0);
    }
    
    .navbar-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .navbar-link {
        font-size: 1.25rem;
        padding: var(--space-sm) 0;
    }
    
    .navbar-actions {
        flex-direction: column;
        width: 100%;
        margin-top: var(--space-lg);
    }
    
    .navbar-actions .btn {
        width: 100%;
    }
    
    .hero-content,
    .about-content,
    .contact-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-bg {
        display: none;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid,
    .podcast-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
    }
    
    .page-header {
        padding: 140px 0 var(--space-xl);
    }
    
    .cart-table {
        display: block;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .cart-table tr {
        display: flex;
        flex-direction: column;
        background: white;
        padding: var(--space-md);
        border-radius: 16px;
        border: 1px solid var(--cream-dark);
    }
    
    .cart-table td {
        padding: var(--space-xs) 0;
        border: none;
    }
}

/* =========================================
   ADMIN STYLES
   ========================================= */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--charcoal);
    padding: var(--space-lg);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.admin-sidebar-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: white;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all var(--duration) var(--ease);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    padding: var(--space-xl);
    background: var(--cream);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.admin-title {
    font-size: 1.75rem;
}

.admin-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--cream-dark);
}

.admin-table th {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--charcoal-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 968px) {
    .admin-sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
    }
}

/* =========================================
   ADDITIONAL PAGE COMPONENTS
   ========================================= */

/* Page Header Variants */
.page-header-sm {
    padding: 140px 0 var(--space-lg);
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--charcoal-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--duration) var(--ease);
}

.back-link:hover {
    color: var(--sage);
}

.back-link svg {
    transition: transform var(--duration) var(--ease);
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* About Page Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    margin-bottom: var(--space-lg);
}

.about-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
}

.contact-info {
    padding-right: var(--space-xl);
}

.contact-info-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.contact-info-text {
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--cream-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    flex-shrink: 0;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-item-label {
    font-size: 0.85rem;
    color: var(--charcoal-light);
    margin-bottom: 0.25rem;
}

.contact-item-content a,
.contact-item-content span {
    color: var(--charcoal);
    font-weight: 500;
}

.contact-item-content a:hover {
    color: var(--sage);
}

.contact-form-wrapper {
    background: white;
    border-radius: 24px;
    padding: var(--space-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

/* Form Container */
.form-container {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: var(--space-xl);
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.form-subtitle {
    color: var(--charcoal-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-optional {
    font-weight: 400;
    color: var(--charcoal-light);
}

.form-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--cream-dark);
    font-size: 0.9rem;
    color: var(--charcoal-light);
}

.btn-block {
    width: 100%;
}

/* Alert Improvements */
.alert {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.alert svg {
    flex-shrink: 0;
}

/* Product Footer */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
}

.product-description {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-3xl) var(--space-md);
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-lg);
    background: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-light);
}

.empty-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.empty-description {
    color: var(--charcoal-light);
    margin-bottom: var(--space-lg);
}

/* Placeholder Image */
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-dark);
    color: var(--charcoal-light);
}

/* Pagination Wrapper */
.pagination-wrapper {
    margin-top: var(--space-xl);
}

/* Features Grid Variants */
.features-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card-mini {
    text-align: center;
    padding: var(--space-lg);
}

.feature-card-mini .feature-icon {
    margin: 0 auto var(--space-sm);
    width: 56px;
    height: 56px;
}

.feature-card-mini .feature-title {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.feature-card-mini .feature-description {
    font-size: 0.85rem;
}

/* Container Narrow */
.container-narrow {
    max-width: 800px;
}

/* Podcast Detail */
.podcast-detail-header {
    margin-bottom: var(--space-xl);
}

.podcast-detail-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-top: var(--space-sm);
}

.podcast-detail-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.podcast-detail-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.podcast-player {
    background: var(--cream-dark);
    border-radius: 16px;
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.podcast-player iframe {
    border-radius: 12px;
}

.podcast-player-placeholder {
    text-align: center;
    padding: var(--space-xl);
    color: var(--charcoal-light);
}

.podcast-player-placeholder svg {
    margin-bottom: var(--space-sm);
}

.podcast-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--charcoal-light);
}

.podcast-detail-footer {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--cream-dark);
    text-align: center;
}

.podcast-detail-footer h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.podcast-detail-footer p {
    margin-bottom: var(--space-lg);
}

/* Section Small */
.section-sm {
    padding: var(--space-xl) 0;
}

/* Cart Improvements */
.cart-container {
    background: white;
    border-radius: 24px;
    overflow: hidden;
}

.cart-table-wrapper {
    padding: var(--space-md);
}

.cart-product-name {
    font-weight: 500;
}

.cart-subtotal {
    font-weight: 600;
    color: var(--sage);
}

.cart-remove {
    background: none;
    border: none;
    padding: var(--space-xs);
    cursor: pointer;
    color: var(--charcoal-light);
    transition: color var(--duration) var(--ease);
}

.cart-remove:hover {
    color: #C62828;
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    background: var(--cream);
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cart-total {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.cart-total-label {
    font-size: 1.1rem;
    color: var(--charcoal-light);
}

.cart-total-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--sage);
}

.cart-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Checkout Page */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.checkout-section {
    background: white;
    border-radius: 24px;
    padding: var(--space-xl);
}

.checkout-section-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--cream-dark);
}

.checkout-notice {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--cream-dark);
    border-radius: 16px;
}

.checkout-notice svg {
    flex-shrink: 0;
    color: var(--sage);
}

.checkout-notice strong {
    display: block;
    margin-bottom: 0.25rem;
}

.checkout-notice p {
    font-size: 0.9rem;
    margin: 0;
}

.checkout-summary {
    position: sticky;
    top: 120px;
}

.order-summary {
    background: white;
    border-radius: 24px;
    padding: var(--space-xl);
}

.order-summary-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--cream-dark);
}

.order-items {
    margin-bottom: var(--space-md);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--cream-dark);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-name {
    color: var(--charcoal-light);
    font-size: 0.95rem;
}

.order-item-price {
    font-weight: 500;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: var(--space-md);
    margin-bottom: var(--space-lg);
    border-top: 2px solid var(--charcoal);
}

.order-total-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.order-total-amount {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--sage);
}

.checkout-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    color: var(--charcoal-light);
    font-size: 0.95rem;
    transition: color var(--duration) var(--ease);
}

.checkout-back-link:hover {
    color: var(--sage);
}

/* Responsive Additions */
@media (max-width: 968px) {
    .about-grid,
    .contact-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .features-grid.cols-4 {
        grid-template-columns: 1fr;
    }
    
    .cart-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cart-total {
        justify-content: space-between;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .about-actions {
        flex-direction: column;
    }
    
    .about-actions .btn {
        width: 100%;
    }
}

/* =========================================
   CLIENT DASHBOARD STYLES
   ========================================= */

.dashboard-header {
    padding: 100px 0 var(--space-xl);
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.dashboard-header h1 {
    color: white;
    margin-bottom: var(--space-xs);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.dashboard-header p {
    opacity: 0.9;
    font-size: 1.05rem;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
    margin-top: calc(-1 * var(--space-xl));
    position: relative;
    z-index: 1;
}

.dashboard-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.sidebar-user {
    padding: var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--cream-dark);
    background: var(--cream);
}

.sidebar-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--sage);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-size: 2rem;
    font-family: var(--font-display);
}

.sidebar-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.sidebar-email {
    font-size: 0.85rem;
    color: var(--charcoal-light);
}

.sidebar-nav {
    padding: var(--space-sm);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem var(--space-md);
    border-radius: 12px;
    color: var(--charcoal-light);
    font-weight: 500;
    transition: all var(--duration) var(--ease);
    margin-bottom: 0.25rem;
}

.sidebar-link:hover {
    background: var(--cream);
    color: var(--charcoal);
}

.sidebar-link.active {
    background: var(--sage);
    color: white;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-link.logout {
    color: #dc3545;
    margin-top: var(--space-sm);
    border-top: 1px solid var(--cream-dark);
    padding-top: var(--space-md);
    border-radius: 0 0 12px 12px;
}

.sidebar-link.logout:hover {
    background: #fff5f5;
}

.dashboard-main {
    min-width: 0;
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    padding: var(--space-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: var(--space-lg);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--cream-dark);
}

.dashboard-card-title {
    font-size: 1.25rem;
    margin: 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all var(--duration) var(--ease);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
}

.stat-icon.sage {
    background: rgba(74, 93, 90, 0.1);
    color: var(--sage);
}

.stat-icon.terracotta {
    background: rgba(196, 145, 110, 0.1);
    color: var(--terracotta);
}

.stat-icon.charcoal {
    background: rgba(44, 44, 44, 0.1);
    color: var(--charcoal);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--charcoal-light);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--charcoal-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--cream-dark);
}

.orders-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: middle;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.orders-table tr:hover td {
    background: var(--cream);
}

.order-number {
    font-weight: 600;
    color: var(--charcoal);
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-status.pending {
    background: #FFF8E1;
    color: #F57F17;
}

.order-status.processing {
    background: #E3F2FD;
    color: #1565C0;
}

.order-status.completed {
    background: #E8F5E9;
    color: #2E7D32;
}

.order-status.cancelled {
    background: #FFEBEE;
    color: #C62828;
}

.order-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.order-link {
    color: var(--sage);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all var(--duration) var(--ease);
}

.order-link:hover {
    color: var(--sage-dark);
    gap: 0.5rem;
}

.empty-orders {
    text-align: center;
    padding: var(--space-2xl);
}

.empty-orders-icon {
    width: 80px;
    height: 80px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--charcoal-light);
}

.empty-orders h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.empty-orders p {
    color: var(--charcoal-light);
    margin-bottom: var(--space-lg);
}

/* Order Detail Page */
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.order-detail-title {
    margin: 0;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.order-info-card {
    background: var(--cream);
    border-radius: 16px;
    padding: var(--space-lg);
}

.order-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--charcoal-light);
    margin-bottom: var(--space-sm);
}

.order-info-value {
    line-height: 1.6;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-table th {
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--charcoal-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--cream);
}

.order-items-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: middle;
}

.order-product {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.order-product-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--cream);
    flex-shrink: 0;
}

.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-name {
    font-weight: 500;
}

.order-total-row td {
    padding: var(--space-md);
    background: var(--cream);
    border: none;
}

.order-grand-total {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sage);
}

.order-notes {
    background: var(--cream);
    border-radius: 16px;
    padding: var(--space-lg);
    margin-top: var(--space-lg);
}

.order-notes h4 {
    margin-top: 0;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.order-notes h4 svg {
    width: 20px;
    height: 20px;
    color: var(--sage);
}

.order-notes p {
    margin: 0;
    line-height: 1.7;
    color: var(--charcoal-light);
}

/* Order Status Banner */
.order-status-banner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: 16px;
    margin-bottom: var(--space-lg);
}

.order-status-banner-pending {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 1px solid #ffeaa7;
}

.order-status-banner-processing {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
}

.order-status-banner-completed {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 1px solid #a5d6a7;
}

.order-status-banner-cancelled {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 1px solid #ef9a9a;
}

.order-status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.order-status-icon svg {
    width: 24px;
    height: 24px;
}

.order-status-banner-pending .order-status-icon svg { color: #f39c12; }
.order-status-banner-processing .order-status-icon svg { color: #3498db; }
.order-status-banner-completed .order-status-icon svg { color: #27ae60; }
.order-status-banner-cancelled .order-status-icon svg { color: #e74c3c; }

.order-status-text {
    display: flex;
    flex-direction: column;
}

.order-status-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal-light);
}

.order-status-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* Order Info Cards Enhanced */
.order-info-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-lg);
    border: 1px solid var(--cream-dark);
    display: flex;
    gap: var(--space-md);
}

.order-info-icon {
    width: 48px;
    height: 48px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--sage);
}

.order-info-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal-light);
    margin: 0 0 var(--space-sm) 0;
}

.order-info-content p {
    margin: 0 0 4px 0;
    line-height: 1.5;
    color: var(--charcoal);
}

.order-total-highlight {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sage);
    margin-top: var(--space-sm) !important;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--cream-dark);
    margin-bottom: var(--space-lg);
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.item-count {
    font-size: 0.85rem;
    color: var(--charcoal-light);
    background: var(--cream);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Order Items List */
.order-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.order-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--cream);
    border-radius: 12px;
    transition: all var(--transition);
}

.order-item:hover {
    background: var(--cream-dark);
}

.order-item-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-light);
}

.order-item-image .no-image svg {
    width: 32px;
    height: 32px;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.order-item-price {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    margin: 0;
}

.order-item-subtotal {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sage);
}

/* Order Total Row */
.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    margin-top: var(--space-md);
    background: var(--sage);
    color: white;
    border-radius: 12px;
}

.order-total-row span:first-child {
    font-size: 1rem;
    font-weight: 500;
}

.order-total-row .order-grand-total {
    color: white;
    font-size: 1.5rem;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    color: var(--sage);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition);
}

.back-link svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition);
}

.back-link:hover {
    color: var(--charcoal);
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* Alert Styles */
.alert {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: 12px;
    margin-bottom: var(--space-lg);
}

.alert svg {
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Profile Form Styles */
.profile-form {
    max-width: 100%;
}

.profile-section {
    margin-bottom: var(--space-xl);
}

.profile-section-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--cream-dark);
}

.profile-section-desc {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    margin-bottom: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

/* Responsive Dashboard */
@media (max-width: 968px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
    
    .dashboard-sidebar {
        position: static;
    }
    
    .sidebar-card {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        padding: var(--space-md);
    }
    
    .sidebar-user {
        padding: 0;
        border-bottom: none;
        background: transparent;
        text-align: left;
        flex: 1;
    }
    
    .sidebar-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin: 0;
    }
    
    .sidebar-nav {
        display: none;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .order-item {
        flex-wrap: wrap;
    }
    
    .order-item-subtotal {
        width: 100%;
        text-align: right;
        margin-top: var(--space-sm);
        padding-top: var(--space-sm);
        border-top: 1px dashed var(--cream-dark);
    }
}

