@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #326e51;
    --orange-color: #f58220;
    --text-color: #333;
    --border-color: #e5e5e5;
    --bg-gray: #f5f5f5;
    --header-bg: #fff;
    --white: #fff;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-color);
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-margin {
    margin-top: 20px;
}

/* --- Top Promo Banner --- */
.top-promo-banner {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.top-promo-banner img {
    width: 100%;
    height: auto;
}

/* --- Main Header --- */
.main-header {
    background-color: var(--primary-color);
    padding: 10px 0;
    color: var(--white);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo h2 {
    font-size: 24px;
    margin: 0;
    line-height: 1;
}

.logo-slogan {
    font-size: 11px;
    opacity: 0.8;
}

.search-box {
    flex: 1;
    margin: 0 40px;
    display: flex;
    flex-direction: column;
}

.search-box form {
    display: flex;
    background-color: var(--white);
    border-radius: 25px;
    /* Pill shape */
    overflow: hidden;
    height: 40px;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0 20px;
    outline: none;
    font-size: 13px;
}

.search-box button {
    background-color: var(--white);
    border: none;
    padding: 0 20px;
    color: #666;
    cursor: pointer;
    font-size: 16px;
}

.suggested-keywords {
    margin-bottom: 5px;
    font-size: 11px;
    display: flex;
    gap: 15px;
}

.suggested-keywords a {
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}

.suggested-keywords a:hover {
    text-decoration: underline;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    cursor: pointer;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    /* Anchor for cart count badge */
}

.icon-circle i {
    font-size: 16px;
}

.action-text {
    display: flex;
    flex-direction: column;
}

.action-text span {
    font-size: 11px;
}

.action-text b {
    font-size: 12px;
    font-weight: 500;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--orange-color);
    color: var(--white);
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* --- Navigation --- */
.main-nav {
    background-color: #f1f6f4;
    /* light mint green */
    border-bottom: 1px solid #d4ebd9;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    height: 44px;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.all-categories {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    margin-right: 15px;
}

.nav-separator {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    font-weight: lighter;
}

.nav-links {
    display: flex;
    height: 100%;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--orange-color);
}

.nav-right {
    font-size: 13px;
    color: var(--primary-color);
}

.app-download-link {
    color: var(--primary-color);
    font-weight: bold;
}

.location-picker {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Mega Menu --- */
.mega-menu-trigger {
    position: relative;
    height: 100%;
}

.mega-menu-trigger .all-categories {
    height: 100%;
    padding: 0 5px;
}

.mega-menu-panel {
    display: none;
    position: absolute;
    top: 44px;
    left: -15px;
    width: auto;
    min-width: 210px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    flex-direction: row;
}

.mega-menu-panel:has(.mega-submenu.active) {
    width: 860px;
}

.mega-menu-trigger:hover .mega-menu-panel {
    display: flex;
}

/* Left sidebar – list of categories */
.mega-sidebar {
    width: 200px;
    background: #fff;
    border-right: 1px solid #eee;
    flex-shrink: 0;
    padding: 8px 0;
}

.mega-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    border-left: 3px solid transparent;
}

.mega-sidebar-item:hover,
.mega-sidebar-item.active {
    background: #f5faf7;
    border-left-color: var(--orange-color);
    color: var(--orange-color);
    font-weight: bold;
}

.mega-sidebar-item.section-label {
    font-weight: bold;
    color: #555;
    font-size: 12px;
    background: #f5f5f5;
    pointer-events: none;
    border-left: none;
}

.mega-sidebar-item i {
    font-size: 10px;
    color: #aaa;
}

/* Right submenu content */
.mega-submenu {
    flex: 1;
    display: none;
    padding: 16px 20px;
    gap: 20px;
    overflow: hidden;
}

.mega-submenu.active {
    display: flex;
}

.mega-col {
    flex: 1;
    min-width: 160px;
}

.mega-col-title {
    font-weight: bold;
    font-size: 13px;
    color: #222;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
}

.mega-col a {
    display: block;
    font-size: 12px;
    color: #444;
    padding: 3px 0;
    transition: color 0.15s;
}

.mega-col a:hover {
    color: var(--primary-color);
}

.mega-col a.bold-link {
    font-weight: bold;
    color: #222;
    margin-top: 8px;
}

.mega-promo-img {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 8px;
}

.mega-promo-img img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}


.hero-section {
    background-color: var(--white);
    padding: 10px 0;
}

.hero-container {
    display: flex;
    gap: 10px;
}

.hero-left {
    flex: 8;
    position: relative;
}

.hero-right {
    flex: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mb-10 {
    margin-bottom: 10px;
}

/* --- Quick Links --- */
.quick-links {
    background-color: var(--white);
    padding: 15px 0;
}

.quick-links-list {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.quick-links-list li {
    flex: 1;
    text-align: center;
}

.quick-links-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.2;
    transition: transform 0.2s ease;
}

.quick-links-list a:hover {
    transform: translateY(-3px);
}

.quick-links-list img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 5px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* --- Flash Deals --- */
.flash-deals {
    background-color: #ffeae1;
    /* From design */
    padding: 2px;
    border-radius: 4px;
}

.flash-deals-header {
    background-color: #f17a41;
    /* Orange bg for flash deals header */
    color: var(--white);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px 4px 0 0;
}

.flash-deals-header h2 {
    font-size: 20px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
}

.countdown {
    background-color: #333;
    color: var(--white);
    font-style: normal;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 14px;
    letter-spacing: 1px;
}

.view-all {
    color: var(--white);
    font-size: 13px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    padding: 5px;
}

.product-card {
    background-color: var(--white);
    padding: 10px;
    position: relative;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s;
}

.product-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.discount-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: var(--orange-color);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 2;
}

.product-card img {
    width: 100%;
    margin-bottom: 10px;
}

.price {
    color: #e53935;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.price del {
    color: #999;
    font-size: 12px;
    font-weight: normal;
}

.product-name {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    height: 36px;
}

.sold-bar {
    background-color: #ffccbc;
    height: 16px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.sold-progress {
    background-color: var(--orange-color);
    height: 100%;
    border-radius: 8px;
}

.sold-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: var(--white);
    line-height: 16px;
    font-weight: bold;
}

/* --- Promo Banners Row --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-3 img {
    border-radius: 8px;
    width: 100%;
}

/* Fix Line Clamp */
.product-name {
    line-clamp: 2;
}

/* --- Section Titles --- */
.section-title {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.subtitle {
    font-weight: normal;
    text-transform: none;
    margin-left: 10px;
    color: #666;
    font-size: 16px;
}

/* --- Categories --- */
.categories-section {
    background-color: var(--white);
    padding: 15px;
    border-radius: 4px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    text-align: center;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.category-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.category-item span {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
}

/* --- Brands Section --- */
.brands-section {
    background-color: var(--white);
    padding: 15px;
    border-radius: 4px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.view-all-link {
    font-size: 13px;
    color: #666;
}

.brands-container {
    display: flex;
    gap: 15px;
}

.brands-left-banner {
    flex: 4;
    /* Sửa thành 1/3 diện tích */
}

.brands-left-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Đảm bảo ảnh SVR kéo dài xuống hết chiều cao grid mượt mà */
    border-radius: 8px;
}

.brands-grid {
    flex: 8;
    /* Sửa thành 2/3 diện tích */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px 15px;
    /* Tăng khoảng cách dòng để chứa card logo nổi bên dưới */
}

.brand-item {
    position: relative;
    border-radius: 8px;
    cursor: pointer;
}

.brand-item .brand-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.brand-logo-card {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    /* Giới hạn độ dài card logo */
    height: 35px;
}

.brand-logo-card img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* --- Clinic Section --- */
.clinic-section {
    background-color: var(--white);
    padding: 15px;
    border-radius: 4px;
}

.clinic-header {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.clinic-tab {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 10px;
    cursor: pointer;
    color: #666;
}

.clinic-tab.active {
    color: var(--orange);
    border-bottom: 3px solid var(--orange);
}

.clinic-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.clinic-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.clinic-card-img-wrapper {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.clinic-card-img-wrapper img {
    width: 100%;
    display: block;
}

.clinic-top-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2F5333;
    color: #fff;
    text-align: center;
    padding: 4px;
}

.clinic-top-banner strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
}

.clinic-top-banner span {
    font-size: 10px;
}

.clinic-top-banner.white-banner {
    background-color: #fff;
    color: #f58220;
    border-bottom: 1px solid #eee;
}

.clinic-circle-badge {
    position: absolute;
    bottom: -15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: var(--orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.clinic-info {
    padding: 15px 10px 10px;
}

.clinic-price {
    color: var(--orange);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.clinic-name {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

.clinic-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #999;
}

.clinic-meta .rating-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.clinic-rating {
    background-color: var(--orange);
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
}

.clinic-time {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}

/* --- Clinic Price Tab Layout --- */
.clinic-content {
    display: none;
}

.clinic-content.active {
    display: block;
}

.price-layout {
    display: flex;
    gap: 20px;
}

.price-banner {
    flex: 4;
}

.price-banner img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 100%;
}

.price-list-wrapper {
    flex: 8;
    background: #fff;
    border-radius: 8px;
}

.price-category-title {
    color: #2F5333;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
}

.price-list-table {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list-table li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 13px;
    color: #333;
}

.price-list-table li:last-child {
    border-bottom: none;
}

.price-list-table li .price-name {
    flex: 1;
    padding-right: 20px;
}

.price-list-table li .price-val {
    color: var(--orange);
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.price-view-all {
    display: block;
    width: 250px;
    margin: 20px auto 10px;
    text-align: center;
    background-color: #d4eedc;
    color: #333;
    font-weight: bold;
    padding: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

/* --- Clinic Banner Slider --- */
.clinic-banner-slider {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.clinic-slider-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    height: 140px;
}

.clinic-slider-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.clinic-slider-wrapper img.active {
    opacity: 1;
    position: relative;
    z-index: 1;
}

.clinic-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.clinic-slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.clinic-slider-dots span.active {
    background-color: #fff;
}

.clinic-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    opacity: 0;
}

.clinic-banner-slider:hover .clinic-slider-nav {
    opacity: 1;
}

.clinic-slider-nav:hover {
    background-color: #326e51;
    color: #fff;
}

.clinic-slider-nav.prev {
    left: 10px;
}

.clinic-slider-nav.next {
    right: 10px;
}

/* --- Suggested Items --- */
.suggested-section {
    background-color: #f2f2f2;
    padding-top: 0;
}

.suggested-header-bg {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.suggested-header {
    display: flex;
}

.suggested-tab {
    padding: 10px 30px;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #555;
    font-size: 14px;
}

.suggested-tab.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.suggested-tab .tab-icon {
    width: 40px;
    height: 40px;
    background-color: #e2f2e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 20px;
}

.suggested-tab.active .tab-icon {
    background-color: var(--primary-color);
    color: white;
}

.suggested-container {
    padding: 20px 0 40px;
}

.suggested-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.suggested-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.suggested-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.suggested-card-img {
    width: 100%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.suggested-card-img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.sug-tag-top-left {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 10px;
    font-weight: bold;
}

.sug-tag-top-left img {
    height: 16px;
    width: auto;
}

.sug-tag-top-right {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff6600;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 5px;
    border-bottom-left-radius: 8px;
}

.suggested-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sug-current-price {
    color: #e53935;
    font-size: 16px;
    font-weight: bold;
}

.sug-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
}

.suggested-card-brand {
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 5px 0 2px;
}

.suggested-card-name {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.suggested-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #777;
    margin-top: auto;
}

.sug-rating-badge {
    background: #ff9800;
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
}

.sug-progress-wrapper {
    background: #ffe0b2;
    border-radius: 10px;
    height: 4px;
    width: 100%;
    margin-top: 5px;
    position: relative;
}

.sug-progress-fill {
    background: #ff9800;
    height: 100%;
    border-radius: 10px;
}

.sug-progress-text {
    position: absolute;
    right: 0;
    top: -15px;
    font-size: 10px;
    color: #ff9800;
}

.sug-view-more {
    display: block;
    width: 250px;
    margin: 30px auto 10px;
    text-align: center;
    background-color: #d4eedc;
    color: #333;
    font-weight: bold;
    padding: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    margin-top: 40px;
}

.footer-top {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-color);
}

.footer-features {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 14px;
}

.feature-item i {
    font-size: 30px;
}

.contact-hotline {
    display: flex;
    gap: 20px;
}

.contact-hotline>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    font-size: 12px;
}

.contact-hotline .badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 5px;
    font-size: 16px;
}

.footer-links {
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #d4eedc;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.hotline-text {
    color: var(--orange-color);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.sub-text {
    font-size: 12px;
    color: #d4eedc;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 24px;
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    gap: 10px;
    font-size: 30px;
}

.app-col .newsletter {
    display: flex;
    margin-bottom: 30px;
}

.app-col input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
    outline: none;
}

.app-col button {
    background-color: var(--orange-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.app-download-box {
    display: flex;
    gap: 15px;
}

.app-stores {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    background-color: #275640;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

/* --- SEO Footer Options --- */
.seo-footer {
    background-color: #f7f7f7;
    color: #666;
    padding: 30px 0;
    font-size: 13px;
    line-height: 1.5;
    border-top: 1px solid #e0e0e0;
}

.seo-footer-container {
    display: flex;
    gap: 40px;
}

.seo-footer h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.seo-left {
    flex: 7;
}

.seo-left p {
    margin-bottom: 15px;
    text-align: justify;
}

.seo-left strong {
    color: #333;
}

.seo-left a {
    color: #326e51;
    font-weight: bold;
}

.seo-right {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.box-margin-bottom {
    margin-bottom: 25px;
}

.mt-10 {
    margin-top: 10px;
}

.seo-company-info p {
    margin: 0;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 5px 15px;
    color: #666;
    font-size: 12px;
    transition: all 0.2s;
}

.tag-cloud a:hover {
    background-color: #326e51;
    color: #fff;
    border-color: #326e51;
}

/* --- TOP PROMOTION TIMELINE --- */
.top-promo-timeline {
    background: linear-gradient(90deg, #fbc2eb 0%, #a6c1ee 100%);
    /* Replace with pinkish-purple gradient to match image */
    background: linear-gradient(to right, #ffb6ff, #d2a1ff, #fdf4ff);
    padding: 8px 0;
    border-bottom: 2px solid #5a2e8c;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-left {
    display: flex;
    align-items: center;
    color: #8e2b88;
    font-weight: 900;
}

.sale-month-text {
    display: flex;
    align-items: center;
    text-shadow: 2px 2px 2px #fff;
    font-size: 11px;
    margin-right: 20px;
    line-height: 1.1;
}

.month-big {
    font-size: 32px;
    text-transform: uppercase;
    color: #333;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    margin-left: 10px;
}

.sale-slogan {
    font-size: 16px;
    text-align: center;
    color: #cd4cdd;
    line-height: 1.2;
    text-shadow: 1px 1px 0px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.timeline-right {
    display: flex;
    gap: 10px;
}

.timeline-box {
    background-color: #fff;
    border: 2px solid #6b3e9e;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 5px 12px;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-box::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 10px;
    background-color: #6b3e9e;
    border-radius: 0 4px 4px 0;
}

.timeline-box .date {
    font-size: 26px;
    font-weight: 900;
    color: #d142d5;
    margin-right: 10px;
    text-shadow: 1px 1px 0px #bee5ff, -1px -1px 0 #bee5ff, 1px -1px 0 #bee5ff, -1px 1px 0 #bee5ff, 1px 1px 0 #bee5ff;
}

.timeline-box .desc {
    font-size: 12px;
    font-weight: bold;
    color: #9258a6;
    line-height: 1.1;
}

/* ========================================= */
/*       HASAKI FLASH DEALS PAGE STYLES      */
/* ========================================= */

.deals-page {
    background-color: #f5f5f5;
    padding: 20px 0 40px;
}

.deals-container {
    background-color: transparent;
}

.flash-deal-header {
    text-align: center;
    margin-bottom: 20px;
}

.flash-deal-title {
    color: #cf2926;
    font-size: 28px;
    font-weight: bold;
    font-style: italic;
    margin: 0;
    text-transform: uppercase;
}

.flash-deal-title i {
    margin-right: 5px;
}

/* Tabs */
.deal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.deal-tab-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.deal-tab-item:hover {
    color: #cf2926;
    border-color: #cf2926;
}

.deal-tab-item.active {
    color: #cf2926;
    border-color: #cf2926;
    border-width: 1px;
}

/* Deal Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

/* Deal Product Card Components */
.deal-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
}

/* Specific product elements inner styling */
.deal-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* square ratio */
}

.deal-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Partner tag - NowFree 2H & Brand Logo on image */
.deal-brand-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 24px;
}

/* Percent Discount Pill */
.deal-discount-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ea704b;
    /* Light orange color from design */
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Gift overlay */
.deal-gift-overlay {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    font-size: 11px;
    color: #ea704b;
    font-weight: bold;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    padding: 6px;
    text-align: center;
}

/* Deal Info Block */
.deal-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deal-price-block {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.deal-current-price {
    color: #cf2926;
    font-weight: bold;
    font-size: 18px;
}

.deal-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
}

.deal-brand {
    font-weight: bold;
    font-size: 13px;
    color: #319b42;
    /* dark green brand text */
    margin-bottom: 2px;
}

.deal-title {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
}

/* Rating */
.deal-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #ea704b;
    margin-bottom: 6px;
}

.deal-rating-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.deal-stars {
    background: #ea704b;
    color: #fff;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: bold;
}

.deal-reviews {
    color: #999;
}

.deal-sold {
    color: #555;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Progress bar inside deal card */
.deal-progress-container {
    background: #ffdbdb;
    height: 16px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 6px;
}

.deal-progress-bar {
    background: #cf2926;
    height: 100%;
    width: 50%;
}

.deal-progress-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    font-size: 10px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

/* Voucher/Promo label */
.deal-promo-label {
    border: 1px dashed #ea704b;
    color: #ea704b;
    font-size: 10px;
    padding: 3px 5px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Add to cart button */
.deal-btn-add {
    margin: 0 10px;
    background: #de415b;
    /* lighter pinkish red */
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 0;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.deal-btn-add:hover {
    background: #c32742;
}


/* Pagination */
.deals-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-nav,
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    border-radius: 4px;
    padding: 0 5px;
}

.page-nav:hover,
.page-num:hover {
    color: #319b42;
}

.page-num.active {
    background: #319b42;
    color: #fff;
    font-weight: bold;
}

.page-dots {
    color: #666;
}

/* ========================================= */
/*       HOT DEALS PLATFORM STYLES           */
/* ========================================= */

.hot-deals-page {
    background-color: #f5f5f5;
    padding: 20px 0 40px;
}

.hot-deals-breadcrumb {
    font-size: 13px;
    margin-bottom: 20px;
    color: #666;
}

.hot-deals-breadcrumb a {
    color: #333;
    text-decoration: none;
}

.hot-deals-breadcrumb i {
    font-size: 10px;
    margin: 0 5px;
}

.hot-deals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.hot-deal-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    padding-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hot-deal-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.hot-deal-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 8/3;
    display: block;
}

.hot-deal-title {
    color: #e54d31;
    font-weight: bold;
    font-size: 18px;
    padding: 0 15px;
    text-decoration: none;
}

.hot-deal-title:hover {
    color: #c9302c;
}

/* ============================================
   NEW PAGES CSS - All pages except homepage
   ============================================ */

/* --- Breadcrumb --- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #326e51;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 10px;
    color: #aaa;
}

.breadcrumb span {
    color: #333;
}

/* --- Category Sub-navigation --- */
.cat-subnav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cat-subnav-item {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    background: #f5f5f5;
    color: #555;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-subnav-item:hover,
.cat-subnav-item.active {
    background: #326e51;
    color: white;
    border-color: #326e51;
}

/* --- Category Layout --- */
.category-page {
    padding: 0 0 40px;
}

.cat-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cat-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 10px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
}

.cat-sidebar::-webkit-scrollbar {
    width: 4px;
}

.cat-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.cat-main {
    flex: 1;
    min-width: 0;
}

/* --- Filter Groups --- */
.filter-group {
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group-title {
    font-weight: bold;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.filter-group.collapsed .filter-list,
.filter-group.collapsed .filter-search-input,
.filter-group.collapsed .price-range,
.filter-group.collapsed .price-options {
    display: none;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 6px;
}

.filter-list a {
    font-size: 12px;
    color: #555;
    display: block;
    padding: 3px 0;
}

.filter-list a:hover,
.filter-list a.active {
    color: #326e51;
    font-weight: bold;
}

.filter-check-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    padding: 2px 0;
}

.filter-check-list input {
    accent-color: #326e51;
}

.filter-search-input {
    position: relative;
    margin-bottom: 8px;
}

.filter-search-input input {
    width: 100%;
    padding: 6px 30px 6px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 12px;
}

.filter-search-input i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 12px;
}

.filter-show-more {
    font-size: 12px;
    color: #326e51;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.price-inputs input {
    width: 80px;
    padding: 5px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 12px;
}

.price-slider {
    width: 100%;
    accent-color: #326e51;
}

.price-options {
    list-style: none;
    margin-top: 8px;
}

.price-options li a {
    font-size: 12px;
    color: #555;
    padding: 3px 0;
    display: block;
}

.price-options li a:hover,
.price-options li a.active {
    color: #326e51;
    font-weight: bold;
}

/* --- Sort Bar --- */
.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
    gap: 10px;
}

.sort-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sort-label {
    font-size: 13px;
    color: #666;
}

.sort-btn {
    padding: 6px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: white;
    font-size: 12px;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.sort-btn:hover,
.sort-btn.active {
    background: #326e51;
    color: white;
    border-color: #326e51;
}

.sort-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-count {
    font-size: 12px;
    color: #666;
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.view-btn.active {
    background: #326e51;
    color: white;
    border-color: #326e51;
}

/* --- Products Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.product-card-img {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.product-badge-discount,
.product-badge-hot,
.product-badge-new {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #e53935;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
}

.product-badge-hot {
    background: #f58220;
    left: auto;
    right: 6px;
}

.product-badge-new {
    background: #326e51;
    left: auto;
    right: 6px;
}

.product-quick-add {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-quick-add {
    opacity: 1;
}

.product-card-body {
    padding: 10px;
}

.product-card-brand {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
    font-weight: bold;
}

.product-card-name {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
    margin-bottom: 6px;
}

.product-card-rating {
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 5px;
}

.stars {
    color: #f58220;
    font-size: 11px;
}

.rating-count {
    color: #999;
}

.sold-count {
    color: #999;
    margin-left: auto;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.price-current {
    color: #e53935;
    font-weight: bold;
    font-size: 13px;
}

.price-old {
    color: #aaa;
    font-size: 11px;
    text-decoration: line-through;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.page-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #555;
    transition: all 0.2s;
}

.page-btn:hover,
.page-btn.active {
    background: #326e51;
    color: white;
    border-color: #326e51;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-page {
    padding: 0 0 40px;
}

.pd-layout {
    display: flex;
    gap: 24px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.pd-images {
    width: 400px;
    flex-shrink: 0;
}

.pd-main-img {
    position: relative;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.pd-main-img img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    padding: 10px;
}

.pd-badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
}

.pd-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-thumb {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    padding: 4px;
}

.pd-thumb.active,
.pd-thumb:hover {
    border-color: #326e51;
}

.pd-info {
    flex: 1;
}

.pd-brand-tag {
    margin-bottom: 5px;
}

.pd-brand-tag a {
    color: #326e51;
    font-size: 13px;
    font-weight: bold;
}

.pd-title {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-bottom: 12px;
}

.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pd-stars {
    color: #f58220;
    font-size: 14px;
}

.pd-rating-num {
    font-size: 13px;
    font-weight: bold;
}

.pd-review-count {
    font-size: 12px;
    color: #888;
}

.pd-sold,
.pd-sku {
    font-size: 12px;
    color: #888;
}

.pd-price-box {
    background: #fff5f5;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.pd-price-current {
    font-size: 26px;
    font-weight: bold;
    color: #e53935;
}

.pd-price-old {
    font-size: 15px;
    color: #aaa;
    text-decoration: line-through;
    margin-left: 10px;
}

.pd-price-save {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.pd-price-save span {
    color: #326e51;
    font-weight: bold;
}

.pd-flash-deal {
    background: #fff8f0;
    border: 1px solid #f58220;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.pd-countdown {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin-left: 8px;
}

.countdown-block {
    background: #333;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.pd-stock-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 6px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.pd-stock-fill {
    height: 100%;
    background: #f58220;
    border-radius: 10px;
}

.pd-stock-text {
    font-size: 11px;
    color: #888;
    margin-top: 3px;
}

.pd-delivery-box {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.pd-delivery-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.pd-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.pd-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-qty input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.pd-add-cart {
    flex: 1;
    height: 44px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 150px;
}

.pd-add-cart:hover {
    background: #2a5d44;
}

.pd-buy-now {
    height: 44px;
    background: #f58220;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 20px;
}

.pd-buy-now:hover {
    background: #e07310;
}

.pd-wishlist {
    width: 44px;
    height: 44px;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-wishlist:hover {
    border-color: #e53935;
    color: #e53935;
}

.pd-promotions {
    background: #fffbf5;
    border: 1px dashed #f58220;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.pd-promo-title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}

.pd-promo-list {
    list-style: none;
}

.pd-promo-list li {
    font-size: 12px;
    color: #555;
    padding: 3px 0;
}

.pd-guarantee {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pd-guarantee-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #326e51;
}

/* Product Tabs */
.pd-tabs-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.pd-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pd-tab-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.pd-tab-btn.active {
    color: #326e51;
    border-bottom-color: #326e51;
}

.pd-tab-content {
    display: none;
}

.pd-tab-content.active {
    display: block;
}

.pd-tab-content h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.pd-tab-content h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: #326e51;
}

.pd-tab-content p {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.pd-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.pd-specs-table td {
    padding: 8px 12px;
    border: 1px solid #e5e5e5;
    font-size: 13px;
}

.pd-specs-table tr:nth-child(odd) td:first-child {
    background: #f9f9f9;
    font-weight: bold;
    color: #444;
    width: 180px;
}

.how-to-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 10px 0;
}

.step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.step-num {
    width: 28px;
    height: 28px;
    background: #326e51;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.step-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.how-to-note {
    background: #f0f7f4;
    border-left: 3px solid #326e51;
    padding: 10px 12px;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    color: #555;
    margin-top: 10px;
}

/* Reviews */
.reviews-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.review-score {
    text-align: center;
}

.review-big-score {
    font-size: 48px;
    font-weight: bold;
    color: #f58220;
    line-height: 1;
}

.review-stars-big {
    color: #f58220;
    font-size: 20px;
}

.review-count-text {
    font-size: 12px;
    color: #888;
}

.review-bars {
    flex: 1;
    min-width: 200px;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
}

.review-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background: #f58220;
    border-radius: 4px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 15px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.review-avatar {
    width: 36px;
    height: 36px;
    background: #326e51;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.review-author {
    font-weight: bold;
    font-size: 13px;
}

.review-stars {
    color: #f58220;
    font-size: 12px;
}

.review-date {
    font-size: 11px;
    color: #999;
}

.review-verified {
    margin-left: auto;
    font-size: 11px;
    color: #326e51;
}

.review-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.review-images {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.review-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

/* Related Products */
.related-products {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.section-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.section-title-bar h2 {
    font-size: 18px;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 2px solid #326e51;
}

.view-all-link {
    font-size: 13px;
    color: #326e51;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-page {
    padding: 0 0 40px;
}

.cart-page-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
}

.step-item.active {
    color: #326e51;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
}

.step-circle.active {
    background: #326e51;
    color: white;
}

.step-circle.done {
    background: #326e51;
    color: white;
    font-size: 12px;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    max-width: 80px;
}

.step-line.done {
    background: #326e51;
}

.cart-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cart-items-section {
    flex: 1;
}

.cart-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.cart-check-all {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cart-delete-selected {
    background: none;
    border: none;
    color: #e53935;
    font-size: 12px;
    cursor: pointer;
}

/* Chỉ áp cho hàng sản phẩm trong trang giỏ — tránh trùng class .cart-item trên header */
.cart-items-section .cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-items-section .cart-item:last-of-type {
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-brand {
    font-size: 11px;
    color: #888;
    font-weight: bold;
}

.cart-item-name {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
}

.cart-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.cart-tag-promo,
.cart-tag-free {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
}

.cart-tag-promo {
    background: #fff3e0;
    color: #f58220;
    border: 1px solid #f58220;
}

.cart-tag-free {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

.cart-item-price-current {
    color: #e53935;
    font-weight: bold;
    font-size: 14px;
    display: block;
}

.cart-item-price-old {
    color: #aaa;
    font-size: 11px;
    text-decoration: line-through;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-qty button {
    width: 30px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.cart-item-qty input {
    width: 40px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 13px;
}

.cart-item-total {
    font-weight: bold;
    color: #e53935;
    min-width: 90px;
    text-align: right;
    font-size: 14px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

.cart-item-remove:hover {
    color: #e53935;
}

.cart-coupon {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cart-coupon-title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.cart-coupon-input {
    display: flex;
    gap: 8px;
}

.cart-coupon-input input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 13px;
}

.cart-coupon-input button {
    padding: 9px 18px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.coupon-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.coupon-chip {
    padding: 4px 10px;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px dashed #2e7d32;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    font-weight: bold;
}

.coupon-chip:hover {
    background: #2e7d32;
    color: white;
}

.cart-suggest {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cart-suggest-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
}

.cart-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-suggest-item:last-child {
    border-bottom: none;
}

.cart-suggest-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.cart-suggest-info {
    flex: 1;
}

.cart-suggest-add {
    padding: 6px 12px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.cart-summary {
    width: 300px;
    flex-shrink: 0;
}

.cart-summary-box {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cart-summary-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 12px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 6px;
}

.delivery-option.active-delivery {
    border-color: #326e51;
    background: #f0f7f4;
}

.delivery-badge {
    background: #326e51;
    color: white;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.text-discount {
    color: #326e51;
    font-weight: bold;
}

.text-free {
    color: #326e51;
    font-weight: bold;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 2px solid #e5e5e5;
    padding-top: 12px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.cart-total-price {
    font-size: 22px;
    font-weight: bold;
    color: #e53935;
}

.cart-total-note {
    font-size: 11px;
    color: #888;
    text-align: right;
}

.cart-summary-save {
    background: #e8f5e9;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    color: #2e7d32;
    margin-bottom: 12px;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #f58220;
    color: white;
    text-align: center;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.cart-checkout-btn:hover {
    background: #e07310;
    color: white;
}

.cart-guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #555;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-guarantee-item i {
    color: #326e51;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page {
    padding: 0 0 40px;
}

.checkout-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.checkout-forms {
    flex: 1;
}

.checkout-summary {
    width: 320px;
    flex-shrink: 0;
}

.checkout-summary-box {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.checkout-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.checkout-section-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-section-title i {
    color: #326e51;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #326e51;
    outline: none;
}

.required {
    color: #e53935;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.delivery-method-option,
.payment-method-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
    margin-bottom: 8px;
}

.delivery-method-option.active-method,
.payment-method-option.active-payment {
    border-color: #326e51;
    background: #f0f7f4;
}

.delivery-method-name {
    font-size: 13px;
    font-weight: bold;
}

.delivery-method-price {
    font-size: 13px;
}

.delivery-method-desc {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.payment-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid #2e7d32;
}

.checkout-order-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.checkout-order-item:last-child {
    border-bottom: none;
}

.checkout-order-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.checkout-order-item-name {
    font-size: 12px;
    color: #333;
}

.checkout-order-item-qty {
    font-size: 11px;
    color: #888;
}

.checkout-order-item-price {
    font-size: 13px;
    font-weight: bold;
    color: #e53935;
}

.checkout-coupon {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.checkout-coupon input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 12px;
}

.checkout-coupon button {
    padding: 8px 16px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.checkout-back-btn {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    padding: 8px;
}

.checkout-back-btn:hover {
    color: #326e51;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 420px;
    width: 90%;
    text-align: center;
}

.success-modal .success-icon {
    font-size: 60px;
    color: #326e51;
    margin-bottom: 15px;
}

.success-modal h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.success-modal p {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
}

.success-order-info {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #555;
    text-align: left;
    line-height: 2;
}

.success-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.success-btn-primary {
    padding: 12px 24px;
    background: #326e51;
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
}

.success-btn-secondary {
    padding: 12px 24px;
    border: 1px solid #326e51;
    color: #326e51;
    border-radius: 25px;
    font-size: 14px;
}

/* ============================================
   LOGIN / REGISTER PAGE
   ============================================ */
.auth-page {
    padding: 0 0 40px;
}

.auth-layout {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    margin-top: 15px;
}

.auth-brand-panel {
    background: linear-gradient(135deg, #326e51 0%, #1a3a2a 100%);
    padding: 40px;
    width: 380px;
    flex-shrink: 0;
    color: white;
}

.auth-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    opacity: 0.9;
}

.auth-benefit i {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.auth-forms-panel {
    flex: 1;
    background: white;
    padding: 40px;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 25px;
}

.auth-tab {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.auth-tab.active {
    color: #326e51;
    border-bottom-color: #326e51;
}

.auth-form-content {
    display: none;
}

.auth-form-content.active {
    display: block;
}

.social-btn {
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    transition: background 0.2s;
    width: 100%;
    margin-bottom: 10px;
}

.facebook-btn:hover {
    background: #1877f2;
    color: white;
}

.google-btn:hover {
    background: #f5f5f5;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999;
    font-size: 12px;
    margin: 15px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.form-input-icon {
    position: relative;
}

.form-input-icon input {
    padding-left: 38px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.form-forgot {
    color: #326e51;
}

.auth-submit-btn {
    width: 100%;
    padding: 13px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 15px;
}

.auth-submit-btn:hover {
    background: #2a5d44;
}

.auth-switch-text {
    text-align: center;
    font-size: 13px;
    color: #666;
}

.auth-switch-text a {
    color: #326e51;
    font-weight: bold;
}

.form-input-otp {
    display: flex;
    gap: 8px;
}

.otp-btn {
    padding: 10px 14px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.otp-btn:disabled {
    background: #aaa;
}

.form-hint {
    font-size: 11px;
    color: #888;
    display: block;
    margin-top: 4px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    line-height: 1.5;
    margin-bottom: 8px;
}

.form-check a {
    color: #326e51;
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-page {
    padding: 0 0 40px;
}

.account-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.account-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.account-user-info {
    background: linear-gradient(135deg, #326e51, #1a3a2a);
    padding: 20px;
    color: white;
    text-align: center;
}

.account-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.account-user-name {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 3px;
}

.account-user-phone {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.membership-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.membership-badge.gold {
    background: #ffd700;
    color: #5d4037;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 13px;
    color: #555;
    transition: background 0.2s;
    border-left: 3px solid transparent;
}

.account-nav-item:hover {
    background: #f5f5f5;
}

.account-nav-item.active {
    background: #f0f7f4;
    color: #326e51;
    border-left-color: #326e51;
    font-weight: bold;
}

.account-nav-item i {
    width: 18px;
    color: inherit;
}

.account-nav-item.logout {
    color: #e53935;
}

.account-content {
    flex: 1;
}

.account-tab {
    display: none;
}

.account-tab.active {
    display: block;
}

.account-tab-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
}

.order-filter-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.order-filter-tab {
    padding: 10px 16px;
    border: none;
    background: white;
    font-size: 12px;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
}

.order-filter-tab.active {
    color: #326e51;
    border-bottom-color: #326e51;
    font-weight: bold;
}

.order-card {
    background: white;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f5f5f5;
}

.order-id {
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.order-status {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: bold;
}

.order-status.delivered {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-status.shipping {
    background: #e3f2fd;
    color: #1565c0;
}

.order-status.pending {
    background: #fff8e1;
    color: #f57f17;
}

.order-status.cancelled {
    background: #fce4ec;
    color: #c62828;
}

.order-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.order-product-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.order-product-name {
    font-size: 13px;
    color: #333;
}

.order-product-qty {
    font-size: 12px;
    color: #888;
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f9f9f9;
    flex-wrap: wrap;
    gap: 10px;
}

.order-date {
    font-size: 12px;
    color: #888;
}

.order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.order-btn-primary {
    padding: 6px 14px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

.order-btn-secondary {
    padding: 6px 14px;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

.order-btn-review {
    padding: 6px 14px;
    border: 1px solid #f58220;
    color: #f58220;
    background: white;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

.order-btn-cancel {
    padding: 6px 14px;
    border: 1px solid #e53935;
    color: #e53935;
    background: white;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

.points-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.points-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.points-big {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.points-label {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.progress-bar-container {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f58220, #ffd700);
    border-radius: 5px;
}

.points-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.points-history-table th {
    padding: 10px 12px;
    background: #326e51;
    color: white;
    text-align: left;
}

.points-history-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f5f5f5;
}

.pts-earn {
    color: #2e7d32;
    font-weight: bold;
}

.pts-use {
    color: #e53935;
    font-weight: bold;
}

.voucher-card {
    display: flex;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 12px;
}

.voucher-left {
    background: linear-gradient(135deg, #326e51, #1a3a2a);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 140px;
}

.voucher-discount {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0;
}

.voucher-right {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.voucher-code {
    font-size: 18px;
    font-weight: bold;
    color: #326e51;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.voucher-expire {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.voucher-use-btn {
    padding: 8px 18px;
    background: #f58220;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    align-self: flex-start;
}

.add-address-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 15px;
}

.address-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
}

.address-card.default {
    border-color: #326e51;
}

.address-badge {
    display: inline-block;
    background: #326e51;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.address-name {
    font-size: 14px;
    margin-bottom: 5px;
}

.address-detail {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.address-actions {
    display: flex;
    gap: 8px;
}

.address-btn-edit,
.address-btn-delete,
.address-btn-default {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    background: white;
}

.address-btn-edit {
    border: 1px solid #326e51;
    color: #326e51;
}

.address-btn-delete {
    border: 1px solid #e53935;
    color: #e53935;
}

.address-btn-default {
    border: 1px solid #f58220;
    color: #f58220;
}

.book-clinic-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 15px;
    text-decoration: none;
}

.clinic-appt-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
}

.clinic-appt-card.upcoming {
    border-color: #f58220;
}

.clinic-appt-status {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.clinic-appt-status.upcoming {
    background: #fff8e1;
    color: #f57f17;
}

.clinic-appt-status.done {
    background: #e8f5e9;
    color: #2e7d32;
}

.clinic-appt-service {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.clinic-appt-detail {
    font-size: 12px;
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clinic-appt-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* ============================================
   BRANDS PAGE
   ============================================ */
.brands-page {
    padding: 0 0 40px;
}

.brands-page-header {
    text-align: center;
    margin: 20px 0;
}

.brands-page-header h1 {
    font-size: 26px;
    color: #333;
}

.brands-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto 20px;
}

.brands-search input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 25px;
    font-size: 14px;
}

.brands-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.brands-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 25px;
}

.alpha-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alpha-btn.active {
    background: #326e51;
    color: white;
    border-color: #326e51;
}

.brands-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.brand-featured-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.brand-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.brand-featured-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 10px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 5px;
}

.brand-featured-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.brand-featured-origin {
    font-size: 12px;
    color: #888;
}

.brands-category-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.brand-cat-tab {
    padding: 10px 18px;
    font-size: 13px;
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.brand-cat-tab.active {
    color: #326e51;
    border-bottom-color: #326e51;
    font-weight: bold;
}

.brand-cat-content {
    display: none;
}

.brand-cat-content.active {
    display: block;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.brand-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.brand-card-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    background: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f0f0f0;
    font-size: 20px;
}

.brand-card-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.brand-card-origin {
    font-size: 11px;
    color: #888;
}

/* ============================================
   CLINIC & SPA PAGE
   ============================================ */
.clinic-page {
    padding: 0 0 40px;
}

.clinic-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.clinic-cat-tab {
    padding: 8px 18px;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.clinic-cat-tab.active {
    background: #326e51;
    color: white;
    border-color: #326e51;
}

.clinic-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.clinic-service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.clinic-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.clinic-service-img {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.clinic-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-deal-badge,
.clinic-discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
}

.clinic-deal-badge {
    background: #e53935;
    color: white;
}

.clinic-discount-badge {
    background: #f58220;
    color: white;
}

.clinic-service-body {
    padding: 12px;
}

.clinic-service-cat {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.clinic-service-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-bottom: 6px;
    height: 52px;
    overflow: hidden;
}

.clinic-service-rating {
    font-size: 11px;
    color: #555;
    margin-bottom: 5px;
}

.clinic-service-duration {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
}

.clinic-service-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.clinic-price-current {
    font-size: 16px;
    font-weight: bold;
    color: #e53935;
}

.clinic-price-old {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
}

.clinic-book-btn {
    width: 100%;
    padding: 9px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    font-weight: bold;
}

.clinic-book-btn:hover {
    background: #2a5d44;
}

.booking-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.booking-form-section {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.booking-info-section {
    width: 300px;
    flex-shrink: 0;
}

.booking-info-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page {
    padding: 0 0 40px;
}

.blog-page-header {
    background: linear-gradient(135deg, #326e51, #1a3a2a);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.blog-page-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.blog-cat {
    padding: 7px 16px;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    transition: all 0.2s;
    cursor: pointer;
}

.blog-cat.active,
.blog-cat:hover {
    background: #326e51;
    color: white;
    border-color: #326e51;
}

.blog-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.blog-main {
    flex: 1;
    min-width: 0;
}

.blog-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.blog-featured {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.blog-featured-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #326e51;
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 3px;
}

.blog-featured-body {
    padding: 20px;
}

.blog-featured-body h2 {
    font-size: 18px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-featured-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-cat {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #326e51;
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 3px;
}

.blog-card-body {
    padding: 14px;
}

.blog-card-body h3 {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    height: 52px;
    overflow: hidden;
    margin-bottom: 6px;
}

.blog-card-body p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    height: 50px;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 15px;
}

.blog-sidebar-widget h3 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #326e51;
    display: inline-block;
}

.blog-search-input {
    display: flex;
}

.blog-search-input input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px 0 0 6px;
    font-size: 13px;
}

.blog-search-input button {
    padding: 9px 14px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}

.sidebar-post {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.sidebar-post img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-post-title {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
}

.sidebar-post-date {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

.blog-newsletter {
    background: linear-gradient(135deg, #326e51, #1a3a2a) !important;
    color: white;
}

.blog-newsletter h3 {
    color: white !important;
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.blog-newsletter p {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.blog-newsletter-form input {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 13px;
    width: 100%;
    margin-bottom: 8px;
}

.blog-newsletter-form button {
    padding: 9px;
    background: #f58220;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-page {
    padding: 0 0 40px;
}

.search-result-header {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 15px;
}

.search-result-header h1 {
    font-size: 16px;
    color: #555;
    margin-bottom: 12px;
}

.search-result-header h1 span {
    color: #326e51;
    font-weight: bold;
}

.search-result-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e5e5;
    flex-wrap: wrap;
}

.search-tab {
    padding: 10px 18px;
    font-size: 13px;
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.search-tab.active {
    color: #326e51;
    border-bottom-color: #326e51;
    font-weight: bold;
}

.tab-count {
    color: #888;
    font-weight: normal;
}

.search-suggestions {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 15px;
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.suggest-tag {
    padding: 4px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-size: 12px;
    color: #555;
    background: white;
    transition: all 0.2s;
}

.suggest-tag:hover {
    border-color: #326e51;
    color: #326e51;
}

.search-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.search-results-main {
    flex: 1;
}

.search-tab-content {
    display: none;
}

.search-tab-content.active {
    display: block;
}

/* ============================================
   STORE LOCATOR PAGE
   ============================================ */
.stores-page {
    padding: 0 0 40px;
}

.stores-page-header {
    text-align: center;
    margin: 20px 0;
}

.stores-page-header h1 {
    font-size: 26px;
    color: #333;
}

.stores-search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.stores-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 15px;
}

.stores-search-input i {
    color: #326e51;
    font-size: 16px;
}

.stores-search-input input {
    flex: 1;
    border: none;
    font-size: 13px;
    outline: none;
}

.stores-locate-btn {
    padding: 12px 20px;
    background: #326e51;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.stores-city-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.city-tab {
    padding: 8px 16px;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    color: #555;
}

.city-tab.active {
    background: #326e51;
    color: white;
    border-color: #326e51;
}

.stores-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.stores-list-section {
    flex: 1;
}

.stores-count-text {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.store-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
}

.store-name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.store-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: bold;
}

.store-badge.flagship {
    background: #fff8e1;
    color: #f57f17;
    border: 1px solid #f57f17;
}

.store-badge.clinic {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

.store-address,
.store-hours,
.store-phone {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.store-address i,
.store-hours i,
.store-phone i {
    color: #326e51;
    width: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.store-open-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 5px;
}

.store-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.store-service-tag {
    font-size: 11px;
    padding: 3px 8px;
    background: #f0f7f4;
    color: #326e51;
    border-radius: 3px;
}

.store-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.store-btn-direction {
    padding: 8px 16px;
    background: #326e51;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-btn-phone {
    padding: 8px 16px;
    border: 1px solid #326e51;
    color: #326e51;
    background: white;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stores-map-section {
    width: 340px;
    flex-shrink: 0;
}

.stores-map-placeholder {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 15px;
}

.map-container {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f0e9;
    padding: 20px;
}

.map-overlay {
    text-align: center;
}