﻿:root {
	--deep-blue: #2A4B7C;       /* ä¸»è“è°ƒæµ…20% */
    --gradient-blue: #3A6EA5;   /* ä¸­è“è°ƒäº® */
    --light-accent: #5C8FCB;    /* é«˜å…‰æ›´æ˜Žæ˜¾ */
    --goldenrod: #D4AF37;      
    --parchment: #F8F5F0;     /* èƒŒæ™¯å¾®è°ƒ */
}

#cartModal { z-index: 1001; }
#checkoutModal { z-index: 1002; }
.hidden { display: none; }

/* Global custom properties mirror on html so we can adjust per breakpoint */
html { --mobile-gutter: 16px; }

/* Prevent horizontal scroll/white gap on mobile (all pages) */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Common footer layout (all pages) */
.site-footer {
    background: var(--deep-blue);
    color: white;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.desc-en {
    color: #6b7280;
    font-size: 0.92em;
}


.footer-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--goldenrod), transparent);
    margin: 3rem 0;
}

.footer-note {
    text-align: center;
    opacity: 0.9;
}

.section-heading {
    color: var(--deep-blue);
    margin-top: 0;
}

.auto-grid-250 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
	background: var(--parchment);
    color: #333;
    margin: 0;
}

/* Shared container wrapper (used by main content on most pages) */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ===== Home Page Layout ===== */
.home-banner {
    max-width: 1000px;
    margin: 2.5rem auto 0;
    padding: 0 1.5rem;
}

.banner-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(42, 75, 124, 0.15);
    background: #fff;
}

.banner-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.banner-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.5rem;
    background: rgba(42, 75, 124, 0.75);
    color: #fff;
    font-size: 1.1rem;
}

.banner-controls {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-accent);
    opacity: 0.5;
}

.banner-dot.active {
    background: var(--goldenrod);
    opacity: 1;
}

.home-features {
    max-width: 1000px;
    margin: 2.5rem auto 0;
    padding: 0 1.5rem;
    display: grid;
    gap: 1.8rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 8px 22px rgba(42, 75, 124, 0.08);
    border-left: 4px solid var(--goldenrod);
}

.feature-card.is-reverse {
    grid-template-columns: 1fr 220px;
}

.feature-card.is-reverse .feature-media {
    order: 2;
}

.feature-media img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.feature-title {
    margin: 0 0 0.5rem;
    color: var(--deep-blue);
}

.feature-text {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.feature-actions {
    margin-top: 0.9rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gradient-blue);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.feature-link:hover {
    transform: translateY(-2px);
}

@media (max-width: 720px) {
    .banner-image {
        height: 240px;
    }

    .feature-card,
    .feature-card.is-reverse {
        grid-template-columns: 1fr;
    }

    .feature-media img {
        height: 200px;
    }
}

/* æ¸å˜å¤´éƒ¨ */
header {
    background: linear-gradient(135deg, 
        var(--deep-blue) 20%, 
        var(--gradient-blue) 50%,
        var(--light-accent) 100%);
    padding: 4rem 1rem 6rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

header h1 {
    color: white;
    font-size: 2rem;
    line-height: 1.3;
    margin: 1.5rem auto 0;
    max-width: 960px;
}

header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(145deg, 
        transparent 65%, 
        var(--parchment) 85%);
    transform: rotate(-2deg);
}

        /* Logoå®¹å™¨ */
.logo-container {
    background: rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 2rem;
    display: inline-block;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.logo {
    width: 200px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
	border-radius:100px;
}

/* ä¿®å¤åŽçš„å¯¼èˆªç³»ç»Ÿ */
nav {
    /* Main site navbar (all pages) */
    background: linear-gradient(90deg, 
        var(--deep-blue), 
        var(--gradient-blue));
    padding: 1.2rem;
    box-shadow: 0 5px 20px rgba(42,75,124,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
	display: flex;
	justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav a {
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
     justify-content: center;
    min-width: auto;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent);
    transition: left 0.6s;
}

nav a:hover::before {
    left: 100%;
}

/* æœåŠ¡å¡ç‰‡ */
.service-card {
    background: linear-gradient(145deg, 
        white 60%, 
        var(--parchment) 100%);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 8px 30px rgba(42,75,124,0.1);
    border-top: 4px solid var(--goldenrod);
    transition: transform 0.3s;
}

.service-card:hover {
	transform: translateY(-8px); /*translateY(-5px)*/
}

/* é—®è¯Š */
/* ===== Consultation Page Specific Styles ===== */
.consultation-flow {
    /* Consultation layout (consultation pages) */
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section-title {
    color: var(--deep-blue);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(42,75,124,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card.active {
    border-color: var(--goldenrod);
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.tcm-form {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(42,75,124,0.1);
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
	/*display: flex;*/
	justify-content: flex-end;
	gap: 1rem;
}

.form-section {
    border: 1px solid var(--light-accent);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-section legend {
    color: var(--deep-blue);
    font-weight: 600;
    padding: 0 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
	color: var(--deep-blue);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 90%; /*100%*/
    padding: 0.75rem; /*0.8*/
    border: 1px solid var(--light-accent); /*#ddd*/
    border-radius: 6px;  /*4px*/
    transition: border-color 0.3s;
	font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--goldenrod);
    outline: none;
}

.form-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.form-group textarea {
	min-height: 100px;
	resize: vertical;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.checkbox-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required {
    color: #e53e3e;
    margin-left: 0.2rem;
}

.submit-btn {
    background: linear-gradient(135deg, var(--deep-blue), var(--gradient-blue));
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn-icon {
    font-size: 1.2rem;
}

/* ===== Appointment Page Styles ===== */
.doctor-grid {
    /* Appointment page doctor grid (appointment.html) */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 2rem;
}

.doctor-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.doctor-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.specialty {
    color: var(--gradient-blue);
    font-weight: 600;
    margin: 0.5rem 0;
}

.experience {
    color: #666;
    font-size: 0.9rem;
}

.appointment-btn {
    background: var(--goldenrod);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
    width: 100%;
}

.appointment-btn:hover {
    background: #c1932f;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: fixed;/*relative;*/
    max-height: 80vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    margin-top: 25px;
    padding: 1rem;
    background: var(--parchment);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--light-accent);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}
        
.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}
        
.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #eee;
}
        
.modal-header h2 {
	margin: 0;
	color: var(--deep-blue);
}
        
.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	margin-top: 2rem;
}
        
.modal-actions button {
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
}
        
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
        
.close-btn {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--deep-blue);
	padding: 0 0.5rem;
}

/* å•†åŸŽé¡µé¢æ ·å¼ */
.store-header {
    /* Store page header controls (store.html) */
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--parchment);
    margin-bottom: 2rem;
}

.category-filter {
	margin-top: 15px;
	margin-left: 35px;
	margin-bottom: 15px;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--light-accent);
    border-radius: 25px;
    background: white;
}

.order-history-btn {
    background: var(--goldenrod);
    color: white;
    padding-left: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.herb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.herb-card,
.herb-card * {
    -webkit-tap-highlight-color: transparent;
}

.herb-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    touch-action: manipulation;
}

.herb-card:hover {
    transform: translateY(-5px);
}

.herb-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.herb-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.herb-info .cart-btn {
    margin-top: auto;
}

.price {
    color: var(--deep-blue);
    font-size: 1.2rem;
    margin: 1rem 0;
}

.cart-btn {
    background: var(--gradient-blue);
    color: white;
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.cart-btn:hover {
    opacity: 0.9;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 0.5rem 0;
    background: var(--parchment);
    border-radius: 8px;
	border-bottom: 1px solid #eee;
}

.herb-image {
    width: 100%;
    height: 250px; /* è°ƒæ•´å›¾ç‰‡å¤§å° */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.item-controls {
    display: flex;
	align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--gradient-blue);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-display {
    font-size: 1rem;
    font-weight: bold;
    color: var(--deep-blue);
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #e53e3e;
    cursor: pointer;
    padding: 0 0.5rem;
}

/* è®¢å•åŽ†å²æ ·å¼ */
.order-list {
    max-height: calc(70vh - 100px);
    overflow-y: auto;
    padding-right: 10px;
}

.order-item {
    background: white;
    border: 1px solid var(--light-accent);
    border-radius: 8px;
    padding: 1rem;
	margin: 1rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-id {
    font-weight: bold;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.order-total {
    font-weight: bold;
    color: var(--goldenrod);
    margin-top: 0.5rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.order-status {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.completed {
    background: #d4edda;
    color: #155724;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}


.order-item-product {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px dotted #eee;
}


/* Order History æŒ‰é’®æ ·å¼ */
#historyModal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); justify-content:center; align-items:center; z-index:1002; }

#historyModal.show {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

#historyModal .modal-content { position: relative; top: auto; left: auto; transform: none; width: 80%; max-width: 800px; min-width: 300px; height: 70vh; min-height: 400px; border-radius: 12px; padding: 20px; resize: both; overflow: auto; background: white; box-shadow: 0 0 20px rgba(0,0,0,0.2); }

/* å…³é—­æŒ‰é’®æ ·å¼ä¼˜åŒ– */
#historyModal .close-btn { cursor: pointer; position: absolute; right: 20px; top: 15px; font-size: 28px; color: #666; transition: color 0.3s; }

#historyModal .close-btn:hover {
    color: #333;
}


.history-btn { background: var(--goldenrod); color: white; padding: 0.8rem 1.5rem; border: none; border-radius: 25px; cursor: pointer; font-size: 1rem; font-weight: 500; transition: all 0.3s ease; margin-left: 0; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

.history-btn:hover {
    background: #c1932f; /* æ‚¬åœæ—¶é¢œè‰²å˜æ·± */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.history-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* è´­ç‰©è½¦å¼¹çª— */
#cartItems {
    max-height: 60vh;
    overflow-y: auto;
}



.checkout-btn {
    background: var(--goldenrod);
    color: white;
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
}

/* ç©ºçŠ¶æ€æ ·å¼å¢žå¼º */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* è¯Šæ–­ä¸Žå¤„æ–¹é¡µé¢ä¸“ç”¨æ ·å¼ */

/* è¯Šæ–­ç»“æžœå®¹å™¨æ ·å¼ */
.diagnosis-results {
    max-width: 900px; /* æœ€å¤§å®½åº¦é™åˆ¶ */
    margin: 2rem auto; /* å±…ä¸­æ˜¾ç¤º */
    padding: 0 1rem; /* å·¦å³å†…è¾¹è· */
}

/* è¯Šæ–­å¡ç‰‡é€šç”¨æ ·å¼ */
.diagnosis-card,
.prescription-card,
.followup-card {
    background: var(--parchment); /* ä½¿ç”¨ä¸»é¢˜è‰² */
    border-radius: 12px; /* åœ†è§’è¾¹æ¡† */
    padding: 2rem; /* å†…è¾¹è· */
    margin-bottom: 2rem; /* åº•éƒ¨å¤–è¾¹è· */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* é˜´å½±æ•ˆæžœ */
}

/* å¡ç‰‡æ ‡é¢˜æ ·å¼ */
.diagnosis-card h2,
.prescription-card h2,
.followup-card h2 {
    color: var(--deep-blue); /* æ ‡é¢˜é¢œè‰² */
    margin-top: 0; /* ç§»é™¤é»˜è®¤ä¸Šè¾¹è· */
    font-size: 1.5rem; /* å­—ä½“å¤§å° */
    display: flex; /* å¼¹æ€§å¸ƒå±€ */
    align-items: center; /* åž‚ç›´å±…ä¸­ */
    gap: 0.5rem; /* å›¾æ ‡ä¸Žæ–‡å­—é—´è· */
}

/* è¯Šæ–­è¯¦æƒ…ç½‘æ ¼å¸ƒå±€ */
.diagnosis-details {
    display: grid; /* ç½‘æ ¼å¸ƒå±€ */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* è‡ªé€‚åº”åˆ— */
    gap: 1.5rem; /* ç½‘æ ¼é—´è· */
    margin-top: 1.5rem; /* é¡¶éƒ¨å¤–è¾¹è· */
}

/* è¯Šæ–­é¡¹æ ‡é¢˜æ ·å¼ */
.diagnosis-item h3 {
    color: var(--goldenrod); /* ä½¿ç”¨ä¸»é¢˜é‡‘è‰² */
    font-size: 1rem; /* å­—ä½“å¤§å° */
    margin-bottom: 0.5rem; /* åº•éƒ¨å¤–è¾¹è· */
}

/* è¯Šæ–­å€¼æ˜¾ç¤ºæ ·å¼ */
.diagnosis-value {
    background: white; /* ç™½è‰²èƒŒæ™¯ */
    padding: 0.8rem; /* å†…è¾¹è· */
    border-radius: 8px; /* åœ†è§’ */
    border-left: 4px solid var(--goldenrod); /* å·¦ä¾§é‡‘è‰²è¾¹æ¡† */
}

/* ========== å¤„æ–¹æ ·å¼ ========== */

/* å¤„æ–¹å¤´éƒ¨æ ·å¼ */
.prescription-header {
    margin-bottom: 1.5rem; /* åº•éƒ¨å¤–è¾¹è· */
    padding-bottom: 1rem; /* åº•éƒ¨å†…è¾¹è· */
    border-bottom: 1px dashed var(--light-accent); /* è™šçº¿åˆ†å‰²çº¿ */
}

/* æ–¹å‰‚ç±»åž‹æ ‡ç­¾æ ·å¼ */
.formula-type {
    display: inline-block; /* è¡Œå†…å—æ˜¾ç¤º */
    background: var(--goldenrod); /* é‡‘è‰²èƒŒæ™¯ */
    color: white; /* ç™½è‰²æ–‡å­— */
    padding: 0.3rem 0.8rem; /* å†…è¾¹è· */
    border-radius: 20px; /* åœ†è§’ */
    font-size: 0.8rem; /* å­—ä½“å¤§å° */
    margin-top: 0.5rem; /* é¡¶éƒ¨å¤–è¾¹è· */
}

/* è‰è¯ç»„æˆã€ç”¨æ³•è¯´æ˜Žå’Œç”Ÿæ´»å»ºè®®çš„å…¬å…±æ ·å¼ */
.herbal-components,
.dosage-instructions,
.lifestyle-advice {
    margin-bottom: 1.5rem; /* åº•éƒ¨å¤–è¾¹è· */
}

/* å°æ ‡é¢˜æ ·å¼ */
.herbal-components h4,
.dosage-instructions h4,
.lifestyle-advice h4 {
    color: var(--deep-blue); /* æ·±è“è‰²æ ‡é¢˜ */
    margin-bottom: 0.8rem; /* åº•éƒ¨å¤–è¾¹è· */
}

/* è‰è¯åˆ—è¡¨æ ·å¼ */
.herb-list {
    list-style-type: none; /* ç§»é™¤é»˜è®¤åˆ—è¡¨æ ·å¼ */
    padding-left: 0; /* ç§»é™¤é»˜è®¤å·¦å†…è¾¹è· */
}

/* è‰è¯åˆ—è¡¨é¡¹æ ·å¼ */
.herb-list li {
    padding: 0.5rem 0; /* ä¸Šä¸‹å†…è¾¹è· */
    border-bottom: 1px solid #eee; /* åº•éƒ¨è¾¹æ¡† */
    display: flex; /* å¼¹æ€§å¸ƒå±€ */
    justify-content: space-between; /* ä¸¤ç«¯å¯¹é½ */
}

/* ========== æ“ä½œæŒ‰é’®æ ·å¼ ========== */

/* æŒ‰é’®å®¹å™¨æ ·å¼ */
.prescription-actions {
    display: flex; /* å¼¹æ€§å¸ƒå±€ */
    gap: 1rem; /* æŒ‰é’®é—´è· */
    flex-wrap: wrap; /* å…è®¸æ¢è¡Œ */
    margin: 2rem 0; /* ä¸Šä¸‹å¤–è¾¹è· */
}

/* æŒ‰é’®é€šç”¨æ ·å¼ */
.print-btn,
.order-btn,
.save-btn {
    flex: 1; /* å¼¹æ€§æ‰©å±• */
    min-width: 200px; /* æœ€å°å®½åº¦ */
    padding: 1rem; /* å†…è¾¹è· */
    border: none; /* æ— è¾¹æ¡† */
    border-radius: 8px; /* åœ†è§’ */
    font-weight: 500; /* å­—ä½“ç²—ç»† */
    cursor: pointer; /* æ‰‹åž‹å…‰æ ‡ */
    transition: all 0.3s ease; /* è¿‡æ¸¡æ•ˆæžœ */
    display: flex; /* å¼¹æ€§å¸ƒå±€ */
    align-items: center; /* åž‚ç›´å±…ä¸­ */
    justify-content: center; /* æ°´å¹³å±…ä¸­ */
    gap: 0.5rem; /* å›¾æ ‡ä¸Žæ–‡å­—é—´è· */
}

/* æ‰“å°æŒ‰é’®ç‰¹æ®Šæ ·å¼ */
.print-btn {
    background: #f0f0f0; /* æµ…ç°è‰²èƒŒæ™¯ */
    color: #333; /* æ·±ç°è‰²æ–‡å­— */
}

/* è´­ä¹°æŒ‰é’®ç‰¹æ®Šæ ·å¼ */
.order-btn {
    background: var(--goldenrod); /* é‡‘è‰²èƒŒæ™¯ */
    color: white; /* ç™½è‰²æ–‡å­— */
}

/* ä¿å­˜æŒ‰é’®ç‰¹æ®Šæ ·å¼ */
.save-btn {
    background: var(--deep-blue); /* æ·±è“è‰²èƒŒæ™¯ */
    color: white; /* ç™½è‰²æ–‡å­— */
}

/* ========== éšè®¿å¡ç‰‡æ ·å¼ ========== */

/* éšè®¿å¡ç‰‡ç‰¹æ®Šæ ·å¼ */
.followup-card {
    text-align: center; /* å±…ä¸­æ–‡æœ¬ */
}

/* éšè®¿è¯¦æƒ…å®¹å™¨æ ·å¼ */
.followup-details {
    max-width: 500px; /* æœ€å¤§å®½åº¦ */
    margin: 0 auto; /* å±…ä¸­æ˜¾ç¤º */
}

/* éšè®¿æŒ‰é’®æ ·å¼ */
.followup-btn {
    display: inline-block; /* è¡Œå†…å—æ˜¾ç¤º */
    background: var(--goldenrod); /* é‡‘è‰²èƒŒæ™¯ */
    color: white; /* ç™½è‰²æ–‡å­— */
    padding: 0.8rem 2rem; /* å†…è¾¹è· */
    border-radius: 8px; /* åœ†è§’ */
    text-decoration: none; /* ç§»é™¤ä¸‹åˆ’çº¿ */
    margin-top: 1rem; /* é¡¶éƒ¨å¤–è¾¹è· */
    transition: background 0.3s ease; /* èƒŒæ™¯è‰²è¿‡æ¸¡æ•ˆæžœ */
}

/* æŒ‰é’®æ‚¬åœæ•ˆæžœ */
.followup-btn:hover {
    background: #c1932f; /* æ‚¬åœæ—¶æ·±é‡‘è‰² */
}

/* Font Awesome Icon Styles */
.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon i {
    position: relative;
    z-index: 2;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--deep-blue) 20%, 
        var(--gradient-blue) 50%,
        var(--light-accent) 100%);
    transition: all 0.3s ease;
    z-index: 1;
}

.social-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.2), 
        transparent);
    transition: all 0.6s ease;
    z-index: 1;
}

/* Facebook specific styles */
.social-icon.facebook {
    background: #3b5998;
}

/* Instagram specific styles */
.social-icon.instagram {
    background: #e4405f;
}

/* Hover Effects */
.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon:hover::after {
    left: 100%;
}

.social-icon:hover i {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===== Contact Page Styles ===== */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.page-header h1 {
    color: #1f2a44;
}

.page-header .subtitle {
    color: #444;
}

.page-header .subtitle {
    color: var(--gradient-blue);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(42,75,124,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--goldenrod);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--deep-blue), var(--gradient-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.contact-info {
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-info i {
    color: var(--goldenrod);
    margin-top: 3px;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-btn:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== Alcohol store page (moved from inline) ========== */
/* Alcohol store page (alcoholstore.html) */
.store-controls { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; padding: 1rem 2rem; flex-wrap: wrap; }
.alcohol-hero { background: linear-gradient(135deg, rgba(42,75,124,0.12), rgba(212,175,55,0.08)); border-radius: 16px; padding: 1.5rem 2rem; margin: 1.5rem 2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; align-items: center; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.alcohol-hero__content h2 { margin: 0 0 0.6rem; color: var(--deep-blue); }
.alcohol-hero__content p { margin: 0 0 1rem; line-height: 1.7; color: #444; }
.alcohol-hero__tag { display: inline-block; padding: 0.3rem 0.8rem; background: rgba(212,175,55,0.15); color: #8b6b09; border-radius: 999px; font-size: 0.9rem; margin-bottom: 0.4rem; }
.alcohol-hero__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.8rem; }
.alcohol-hero__stat { background: white; border: 1px solid #eee; border-radius: 12px; padding: 0.9rem 1rem; box-shadow: 0 6px 16px rgba(0,0,0,0.05); }
.alcohol-hero__stat h4 { margin: 0; color: var(--deep-blue); font-size: 1.1rem; }
.alcohol-hero__stat span { display: block; margin-top: 0.3rem; color: #666; font-size: 0.95rem; }
.herb-card { transition: transform 0.3s ease; cursor: pointer; }
.herb-card:hover { transform: translateY(-5px); }
.category-filter { background-color: #1a2b4a; color: white; border: 1px solid #daa520; }
.history-btn { background: var(--goldenrod); color: white; padding: 0.8rem 1.5rem; border: none; border-radius: 25px; cursor: pointer; font-size: 1rem; font-weight: 500; transition: all 0.3s ease; margin-left: 0; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.alcohol-type { color: #8b0000; font-weight: bold; font-size: 0.9rem; }
.volume-info { font-size: 0.85rem; color: #666; margin-top: 5px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background-color: #1a2b4a; color: white; padding: 10px 20px; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1000; }
.product-name { font-size: 1.1rem; font-weight: bold; margin-bottom: 0.5rem; }
.price-zh { color: #c00; font-weight: bold; font-size: 1.1rem; }

#productDetailModal { z-index: 1003; display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); opacity: 0; transition: opacity 0.3s ease; align-items: center; justify-content: center; }
#productDetailModal.active { display: flex; opacity: 1; }
.product-detail-content { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.9); width: 86%; max-width: 980px; max-height: 80vh; overflow: hidden; padding: 0; border-radius: 18px; box-shadow: 0 22px 70px rgba(0,0,0,0.4); display: flex; flex-direction: column; background-color: #fff; border: none; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); margin: 0; }
.modal-content.product-detail-content { margin: 0; }
#productDetailModal.active .product-detail-content { transform: translate(-50%, -50%) scale(1); }
.product-detail-header { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 2rem; border-bottom: 1px solid #f0f0f0; background-color: #f9f9f9; border-radius: 20px 20px 0 0; flex-shrink: 0; }
.product-detail-header h2 { font-size: 1.6rem; margin: 0; color: #1a2b4a; font-weight: 700; }
.product-detail-body { display: flex; gap: 0; flex: 1; overflow: hidden; min-height: 460px; max-height: calc(80vh - 80px); }
.product-detail-left { flex: 1.2; display: flex; flex-direction: column; padding: 1.5rem; background-color: #f9f9f9; border-right: 1px solid #f0f0f0; overflow-y: auto; }
.product-detail-image { width: 100%; height: 260px; object-fit: cover; border-radius: 14px; margin-bottom: 1rem; box-shadow: 0 10px 26px rgba(0,0,0,0.15); transition: transform 0.4s ease; }
.product-detail-image:hover { transform: scale(1.03); }
.product-detail-right { flex: 1; display: flex; flex-direction: column; padding: 1.5rem; background-color: #fff; overflow: hidden; }
.product-detail-info { margin-bottom: 1.2rem; }
.product-detail-info h2 { color: #1a2b4a; margin-bottom: 0.6rem; font-size: 1.8rem; font-weight: 700; line-height: 1.2; }
.product-detail-category { color: #daa520; font-weight: 600; margin-bottom: 1.2rem; font-size: 1rem; padding: 0.5rem 1.2rem; background-color: rgba(218,165,32,0.1); border-radius: 25px; display: inline-block; border: 1px solid rgba(218,165,32,0.2); box-shadow: 0 4px 8px rgba(218,165,32,0.1); }
.product-detail-specs { background: #f9f9f9; padding: 1.2rem; border-radius: 16px; margin-bottom: 1.2rem; border: 1px solid #f0f0f0; box-shadow: 0 6px 15px rgba(0,0,0,0.05); }
.product-detail-specs h3 { color: #1a2b4a; margin: 0 0 0.8rem; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 0.6rem; }
.product-detail-specs h3 i { color: #daa520; }
.product-detail-specs p { margin: 0.6rem 0; display: flex; justify-content: space-between; font-size: 0.95rem; padding: 0.4rem 0; border-bottom: 1px dashed #e0e0e0; }
.product-detail-specs span:first-child { font-weight: 600; color: #555; }
.product-detail-specs span:last-child { color: #1a2b4a; font-weight: 600; }
.product-detail-price { font-size: 1.8rem; color: #c00; font-weight: 800; text-align: center; margin-bottom: 1.2rem; padding: 1.2rem; background: linear-gradient(135deg, #fff, #f9f9f9); border-radius: 16px; border: 2px solid #f0f0f0; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.product-detail-main-content { flex: 1; overflow-y: auto; padding-right: 5px; }
.product-detail-main-content::-webkit-scrollbar { width: 6px; }
.product-detail-main-content::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.product-detail-main-content::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }
.product-detail-main-content::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }
.product-detail-actions { display: flex; gap: 1.2rem; justify-content: space-between; padding-top: 1.2rem; border-top: 1px solid #f0f0f0; margin-top: 1.2rem; flex-shrink: 0; }
.product-detail-actions button { padding: 1rem 1.8rem; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; font-size: 1rem; box-shadow: 0 6px 15px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; gap: 0.6rem; }
.add-to-cart-detail { background: linear-gradient(135deg, #1a2b4a, #2a4b7c); color: white; flex: 2; }
.add-to-cart-detail:hover { background: linear-gradient(135deg, #0f1f38, #1a2b4a); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(26, 43, 74, 0.3); }
.close-detail { background: #f0f0f0; color: #555; flex: 1; }
.close-detail:hover { background: #e0e0e0; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.product-description, .product-details, .product-reviews { margin-top: 1.2rem; padding: 1.2rem; background-color: #fff; border-radius: 16px; border: 1px solid #f0f0f0; box-shadow: 0 6px 15px rgba(0,0,0,0.05); }
.product-description h3, .product-details h3, .product-reviews h3 { color: #1a2b4a; margin: 0 0 0.8rem; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 0.6rem; }
.product-description h3 i, .product-details h3 i, .product-reviews h3 i { color: #daa520; }

/* Hide reviews block in product detail modal */
.product-reviews { display: none; }
.product-description p { color: #555; line-height: 1.7; margin: 0; font-size: 0.95rem; }
.product-details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.detail-item { display: flex; flex-direction: column; }
.detail-label { font-weight: 600; color: #555; margin-bottom: 0.3rem; font-size: 0.85rem; }
.detail-value { color: #1a2b4a; font-weight: 500; font-size: 0.9rem; }
.review-item { padding: 0.8rem 0; border-bottom: 1px solid #f0f0f0; }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.review-author { font-weight: 600; color: #1a2b4a; font-size: 0.9rem; }
.review-date { color: #888; font-size: 0.8rem; }
.review-rating { color: #daa520; margin-bottom: 0.4rem; font-size: 0.85rem; }
.review-content { color: #555; line-height: 1.6; font-size: 0.9rem; }

@media (max-width: 1100px) {
    .container { padding: 0 1.25rem; }
    header { padding: 3.5rem 1.25rem 4.5rem; }
    header h1 { font-size: 1.8rem; }
    nav ul { gap: 1.25rem; }
    nav a { min-width: auto; padding: 10px 18px; }
    .service-card { padding: 2rem; margin: 1.5rem auto; }
    .contact-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .store-header { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

@media (max-width: 1024px) {
    .product-detail-content { width: 94%; max-width: 1000px; }
    .product-detail-image { height: 280px; }
}

@media (max-width: 768px) {
    .product-detail-content { max-width: 96%; max-height: 90vh; padding: 0; }
    .product-detail-body { flex-direction: column; gap: 0; max-height: calc(90vh - 70px); }
    .product-detail-left { border-right: none; border-bottom: 1px solid #f0f0f0; padding: 1rem; flex: none; max-height: 45%; }
    .product-detail-right { padding: 1rem; flex: none; max-height: 55%; }
    .product-detail-image { height: 220px; }
    .product-detail-header h2 { font-size: 1.3rem; }
    .product-detail-info h2 { font-size: 1.3rem; }
    .product-detail-actions { flex-direction: column; }
    .product-detail-actions button { width: 100%; }
    .product-detail-price { font-size: 1.4rem; padding: 0.8rem; }
    .product-detail-header, .product-detail-left, .product-detail-right { padding: 0.8rem; }
    .herb-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; padding: 0 1rem; }
    .store-controls { flex-direction: column; align-items: stretch; padding: 1rem; }
    .category-filter, .history-btn { background: var(--goldenrod); color: white; padding: 0.8rem 1.5rem; border: none; border-radius: 25px; cursor: pointer; font-size: 1rem; font-weight: 500; transition: all 0.3s ease; margin-left: 0; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
}

/* é”™è¯¯çŠ¶æ€ */
.error-state {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
}

.error-state button {
    background: var(--goldenrod);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    margin-top: 1rem;
    cursor: pointer;
}

/* æç¤ºä¿¡æ¯ */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--deep-blue);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { bottom: -50px; }
    to { bottom: 20px; }
}


/* Responsive adjustments */
/* å“åº”å¼è®¾è®¡ */
@media (max-width: 768px) {
    /* Mobile: header/nav/footer full-bleed; content uses its own gutter */
    body {
        padding-left: 0;
        padding-right: 0;
    }

    header,
    nav,
    .site-footer {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    /* Keep containers off edges for mobile */
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Contact page: keep symmetric gutter like appointment */
    body.contact-page main.container {
        padding-left: 0;
        padding-right: 0;
    }
    body.contact-page .page-header,
    body.contact-page .contact-container {
        padding-left: 0;
        padding-right: 0;
    }
    .contact-container {
        max-width: 100%;
    }
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin: 0;
        padding: 0;
    }
    .contact-card {
        width: 100%;
        margin: 0;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(42,75,124,0.1);
        box-sizing: border-box;
    }

    main.container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    body.contact-page main.container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .service-card {
        margin-left: 0;
        margin-right: 0;
    }


    /* Apply same gutter to main content blocks so text/cards stay off screen edges */
    main,
    section,
    .service-card,
    .consultation-flow,
    .tcm-form,
    .doctor-grid,
    .contact-container,
    .contact-form-section,
    .map-container,
    .store-header,
    .store-controls,
    .herb-grid,
    .alcohol-hero,
    .booking-flow,
    .consultation-details {
        padding-left: var(--mobile-gutter);
        padding-right: var(--mobile-gutter);
        box-sizing: border-box;
    }

    nav {
        padding: 0.6rem;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow-x: auto;
        align-items: center;
        justify-content: flex-start;
        padding: 0.25rem 0.25rem 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    nav a {
        width: auto;
        padding: 8px 14px;
        min-width: auto;
        white-space: nowrap;
        border-radius: 999px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }

/* Header hero (shared across pages) */
header {
        padding: 2.5rem 1rem 3.5rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .logo {
        width: 160px;
    }
	
	.process-steps {
        grid-template-columns: 1fr;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .checkbox-row {
        flex-direction: column;
    }
    .doctor-grid {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    /* Appointment booking flow fixes for mobile */
    .booking-flow {
        padding: 1.25rem;
    }

    .booking-options {
        grid-template-columns: 1fr;
    }

    .option-card {
        align-items: flex-start;
        text-align: left;
    }

    .navigation-buttons {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .navigation-buttons button {
        width: 100%;
    }

    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
		width: 95%;
        max-height: 90vh;
		max-width: 90%;
		background: white;
		border-radius: 8px;
		overflow: auto;
		position: relative;
    }
	
	.flow-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
            
    .step {
        flex: 1 0 50%;
    }
            
    .location-options {
        grid-template-columns: 1fr;
    }
	.admin-nav .nav-menu {
        flex-direction: column;
    }
    
    .data-table {
        overflow-x: auto;
    }
    
    .stat-card {
        margin-bottom: 1.5rem;
    }
	.contact-buttons {
        flex-direction: column;
    }
    
    .whatsapp-btn,
    .map-btn {
        width: 100%;
        justify-content: center;
        max-width: 100%;
        box-sizing: border-box;
    }
	.service-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.25rem;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
	
	.store-controls {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .category-filter {
        width: 100%;
        margin: 0;
        order: 1;
    }

    .history-btn { background: var(--goldenrod); color: white; padding: 0.8rem 1.5rem; border: none; border-radius: 25px; cursor: pointer; font-size: 1rem; font-weight: 500; transition: all 0.3s ease; margin-left: 0; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

    .herb-grid {
        padding: 0 1rem;
    }
	
	    /* è¯Šæ–­è¯¦æƒ…æ”¹ä¸ºå•åˆ—å¸ƒå±€ */
    .diagnosis-details {
        grid-template-columns: 1fr;
    }
    
    /* æŒ‰é’®æ”¹ä¸ºåž‚ç›´æŽ’åˆ— */
    .prescription-actions {
        flex-direction: column;
    }
    
    /* æŒ‰é’®å®½åº¦100% */
    .print-btn,
    .order-btn,
    .save-btn {
        width: 100%;
    }
	
	/* Responsive Adjustments */
	.contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .map-tabs {
        flex-direction: column;
    }
    
    .map-tab {
        text-align: left;
        padding: 0.8rem 1rem;
    }
    
    .map-content {
        height: 300px;
    }
	
}

/* Additional styles for the new booking flow */
        .booking-flow {
            max-width: 800px;
            margin: 2rem auto;
            padding: 2rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(42,75,124,0.1);
        }
        
        .flow-steps {
            display: flex;
            justify-content: space-between;
            margin-bottom: 2rem;
            position: relative;
        }
        
        .flow-steps::before {
            content: '';
            position: absolute;
            top: 15px;
            left: 0;
            right: 0;
            height: 2px;
            background: #eee;
            z-index: 1;
        }
        
        .step {
            text-align: center;
            position: relative;
            z-index: 2;
        }
        
        .step-number {
            width: 32px;
            height: 32px;
            background: var(--light-accent);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.5rem;
            font-weight: bold;
        }
        
        .step.active .step-number {
            background: var(--goldenrod);
        }
        
        .step.completed .step-number {
            background: var(--gradient-blue);
        }
        
        .step-title {
            font-size: 0.9rem;
            color: #666;
        }
        
        .step.active .step-title {
            color: var(--deep-blue);
            font-weight: 500;
        }
        
        .booking-options {
            display: grid;
            gap: 1.5rem;
        }
        
        .option-card {
            padding: 1.5rem;
            border: 2px solid #eee;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .option-card:hover {
            border-color: var(--goldenrod);
            transform: translateY(-3px);
        }
        
        .option-card.selected {
            border-color: var(--goldenrod);
            background: rgba(212, 175, 55, 0.05);
        }
        
        .option-title {
            color: var(--deep-blue);
            margin-bottom: 0.5rem;
        }
        
        .option-desc {
            color: #666;
            font-size: 0.9rem;
        }
        
        .navigation-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 2rem;
        }
        
        .btn-back {
            background: #f0f0f0;
            color: #333;
        }
        
        .btn-next {
            background: var(--goldenrod);
            color: white;
        }
        
        .time-slots {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .time-slot {
            padding: 0.8rem;
            text-align: center;
            background: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            cursor: pointer;
        }
        
        .time-slot:hover {
            border-color: var(--goldenrod);
        }
        
        .time-slot.selected {
            background: var(--goldenrod);
            color: white;
            border-color: var(--goldenrod);
        }
        
        .time-slot.unavailable {
            background: #f5f5f5;
            color: #999;
            cursor: not-allowed;
            text-decoration: line-through;
        }
        
        .location-options {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        
        

.admin-header {
    background: linear-gradient(135deg, 
        var(--deep-blue) 20%, 
        var(--gradient-blue) 50%,
        var(--light-accent) 100%);
}

.stat-card {
    border-top: 4px solid var(--goldenrod);
}

.btn-edit {
    background: var(--light-accent);
}

.service-card {
    background: linear-gradient(145deg, 
        white 60%, 
        var(--parchment) 100%);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(42,75,124,0.1);
    transition: transform 0.3s;
}

.stat-value {
    font-size: 2.5rem;
    color: var(--deep-blue);
    text-shadow: 0 2px 4px rgba(42,75,124,0.2);
}

.stat-trend.up {
    color: #38a169;
}


button {
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42,75,124,0.2);
}

[class^="icon-"] {
    font-family: 'Material Icons';
    vertical-align: middle;
    margin-right: 0.5rem;
}

.icon-dashboard::before { content: "\e871"; }
.icon-users::before { content: "\e7ef"; }

.security-status {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: rgba(212,175,55,0.1);
    border: 2px solid var(--goldenrod);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #38a169;
    box-shadow: 0 0 8px rgba(56,161,105,0.3);
}

.data-table {
    border-collapse: collapse;
    width: 100%;
}

.data-table th {
    background: var(--gradient-blue);
    color: white;
    padding: 1.2rem;
}

.data-table tr:nth-child(even) {
    background: rgba(248,245,240,0.5);
}

.admin-alert {
    padding: 1rem;
    border-left: 4px solid var(--goldenrod);
    background: rgba(212,175,55,0.05);
    border-radius: 8px;
}

/* Service Grid Layout */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}



/* Service Icon Styling */
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--deep-blue), var(--gradient-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Option Card Adjustments */
.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.option-title {
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.option-desc {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Additional styles specific to consultation details page */
        .consultation-details {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            margin: 2rem auto;
            max-width: 900px;
            box-shadow: 0 5px 20px rgba(42,75,124,0.1);
        }
        
        .detail-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #eee;
        }
        
        .detail-section:last-child {
            border-bottom: none;
        }
        
        .detail-label {
            color: var(--deep-blue);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .detail-value {
            color: #333;
            line-height: 1.6;
        }
        
/* Prescription modal styles (new additions) */

.prescription-modal {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;  /* æ–°å¢ž */
    z-index: 1001;      /* æ–°å¢žï¼Œç¡®ä¿é«˜äºŽé®ç½©å±‚ */
    transform: translateY(0); /* æ–°å¢žï¼Œé˜²æ­¢æŸäº›æµè§ˆå™¨ä¸­çš„æ¸²æŸ“é—®é¢˜ */
	position: fixed;
    justify-content: center;
    align-items: center;
}
        
.prescription-content {
	background-color: white;
	padding: 2rem;
	border-radius: 12px;
	width: 90%;
	max-width: 600px;
	box-shadow: 0 5px 25px rgba(0,0,0,0.2);
	position: relative;
}
        
.close-prescription {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--deep-blue);
}
        
.prescription-form .form-group {
	margin-bottom: 1.5rem;
}
        
.prescription-form label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--deep-blue);
	font-weight: 500;
}
        
.prescription-form textarea,
.prescription-form input {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-family: inherit;
}
        
.prescription-form textarea {
	min-height: 100px;
}
        
/* Status badge styles */
.status-badge {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	margin-left: 0.5rem;
}
        
.status-pending {
	background-color: #f6e05e;
	color: #744210;
}
        
.status-completed {
	background-color: #68d391;
	color: #1f4a21;
}
		
 /* AI Analysis Section Styles */
.ai-analysis-section {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 2rem;
	margin: 2rem auto;
	border-left: 4px solid var(--goldenrod);
}
        
.ai-header {
	display: flex;
	align-items: center;
	margin-bottom: 1.5rem;
}
        
.ai-icon {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, var(--deep-blue), var(--gradient-blue));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
	margin-right: 1rem;
}
        
.ai-content {
	background: white;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
        
.ai-diagnosis {
	margin-bottom: 1.5rem;
}
        
.ai-diagnosis h4 {
	color: var(--deep-blue);
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
}
        
.ai-diagnosis h4 i {
	margin-right: 0.5rem;
	color: var(--goldenrod);
}
        
.ai-suggestions {
	margin-top: 1.5rem;
}
        
.ai-suggestion {
	background: rgba(212,175,55,0.1);
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 1rem;
	border-left: 3px solid var(--goldenrod);
}
        
.ai-suggestion h5 {
	color: var(--deep-blue);
	margin-top: 0;
	margin-bottom: 0.5rem;
}
        
.confidence-meter {
	height: 6px;
	background: #e0e0e0;
	border-radius: 3px;
	margin: 0.5rem 0;
	overflow: hidden;
}
        
.confidence-level {
	height: 100%;
	background: linear-gradient(90deg, #4CAF50, #8BC34A);
	width: 0;
	transition: width 1s ease;
}
        
.confidence-label {
	font-size: 0.8rem;
	color: #666;
	text-align: right;
}
        
.ai-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem;
}
        
.loading-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid rgba(0,0,0,0.1);
	border-radius: 50%;
	border-top-color: var(--goldenrod);
	animation: spin 1s linear infinite;
	margin-bottom: 1rem;
}
        
@keyframes spin {
	to { transform: rotate(360deg); }
}
        
/* Existing styles from previous implementation */
.consultation-details {
	background: white;
	border-radius: 12px;
	padding: 2rem;
	margin: 2rem auto;
	max-width: 900px;
	box-shadow: 0 5px 20px rgba(42,75,124,0.1);
}
        
.detail-section {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #eee;
}
        
.status-badge {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	margin-left: 0.5rem;
}
        
.status-pending {
	background-color: #f6e05e;
	color: #744210;
}
        
.status-completed {
	background-color: #68d391;
	color: #1f4a21;
}
		
.close-modal {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #666;
}
        
.herb-item {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}
        
.herb-item input {
	flex: 1;
}
        
.herb-item input:first-child {
	flex: 2;
}
        
.add-herb-btn {
	background-color: var(--goldenrod);
	color: white;
	border: none;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	cursor: pointer;
	margin-bottom: 1.5rem;
}
              
.cancel-btn {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
}

.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 0.5em;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* è®¢å•ç¡®è®¤å¼¹çª— */
.confirm-btn {
    background: var(--deep-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
}

/* å›¾ç‰‡åŠ è½½ä¼˜åŒ– */
.herb-image {
    background: linear-gradient(110deg, #f5f5f5 30%, #f0f0f0 50%, #f5f5f5 70%);
    background-size: 200% 100%;
    animation: 1.5s loading-bg linear infinite;
}

@keyframes loading-bg {
    0% { background-position: 150% 0; }
    100% { background-position: -50% 0; }
}

/* æ–°å¢žçš„å¼¹å‡ºçª—å£æ ·å¼ */		
	
        .close-modal {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
        }
        
        .herb-item {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .herb-item input {
            flex: 1;
        }
        
        .herb-item input:first-child {
            flex: 2;
        }
        
        .add-herb-btn {
            background-color: var(--goldenrod);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            margin-bottom: 1.5rem;
        }

/* åŠ è½½æŒ‡ç¤ºå™¨ */
#loadingIndicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: none;
    z-index: 10000;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--goldenrod);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

#loadingIndicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.confirmation-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 10000;
    max-width: 90%;
}

.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.confirmation-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
}

.confirmation-content h3 {
    color: #2A4B7C;
    margin-top: 0;
}

.confirmation-content button {
    background: #2A4B7C;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.contact-form-section {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 0 5px 20px rgba(42,75,124,0.1);
}

.contact-form-section h2 {
    color: var(--deep-blue);
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.map-container {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.map-container h2 {
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.map-wrapper {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(42,75,124,0.1);
}

.map-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.map-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--deep-blue);
    position: relative;
}

.map-tab.active {
    color: var(--goldenrod);
}

.map-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--goldenrod);
}

.map-content {
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Contact Buttons Container */
.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* WhatsApp Button Styling */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366; /* WhatsApp brand green */
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E; /* Darker green on hover */
    transform: translateY(-2px);
}

/* Adjust map button to match */
.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-btn:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
}


/* Home banner slider */
.home-banner .slider {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(42, 75, 124, 0.15);
    background: #fff;
}

.home-banner .slides {
    position: relative;
    height: 360px;
}

.home-banner .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.home-banner .slide.is-active {
    opacity: 1;
    z-index: 1;
}

.home-banner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(42, 75, 124, 0.7);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.slider-btn:hover {
    background: rgba(42, 75, 124, 0.85);
}

.banner-controls {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--light-accent);
    opacity: 0.5;
    cursor: pointer;
}

.banner-dot.active {
    background: var(--goldenrod);
    opacity: 1;
}

@media (max-width: 720px) {
    .home-banner .slides {
        height: 240px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
    }
}


/* Banner slider overrides */
.home-banner .slider-btn {
    z-index: 3;
}

.home-banner .banner-caption {
    z-index: 2;
}

.home-banner .slides {
    pointer-events: auto;
}

.home-banner .banner-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.home-banner .slider-btn,
.home-banner .banner-controls {
    pointer-events: auto;
}

.order-success-card {
    background: #f7f9fc;
    border: 1px solid #e4ecf7;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.order-track {
    border: 1px solid #e4ecf7;
    background: #f9fbff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.order-track h4 {
    margin: 0 0 10px;
}

.track-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
}

.track-form input {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cfd8e3;
}

.order-list .order-item {
    border: 1px solid #e4ecf7;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #fff;
}

.order-header,
.order-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-weight: 600;
}

.order-body {
    margin: 10px 0;
}

.order-product {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #2c3e50;
}

.order-status {
    color: #1f5b99;
}

@media (max-width: 640px) {
    .track-form {
        grid-template-columns: 1fr;
    }
    .order-header,
    .order-footer,
    .order-product {
        flex-direction: column;
        align-items: flex-start;
    }
}
