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

body {
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-top {
    background: #1a237e;
    color: #fff;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.header-top-left i {
    margin-right: 6px;
}

.header-top-right a {
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.header-top-right a:hover {
    color: #fff;
}

.header-top-right i {
    margin-right: 5px;
}

.header-main {
    background: #1a237e;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

#logo {
    flex-shrink: 0;
    transform: translateX(-10px);
}

#logo img {
    height: 56px;
    width: auto;
}

.header-search {
    flex: 1;
    max-width: 100%;
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 10000;
    overflow: hidden;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8fafc;
}

.suggestion-img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.suggestion-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggestion-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-align: left;
}

.suggestion-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--green-600);
    text-align: left;
}

.suggestion-empty {
    padding: 16px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.header-search form {
    display: flex;
    background: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 40px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.header-search form:focus-within {
    border-color: #ffd54f;
}

.header-search input {
    flex: 1;
    border: none;
    padding: 11px 20px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.header-search input::placeholder {
    color: #aaa;
}

.header-search button {
    background: #1a237e;
    color: #fff;
    border: none;
    padding: 0 24px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.header-search button:hover {
    background: #0d47a1;
}

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

.head-prescription {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e8eaf6;
    color: #1a237e;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.head-prescription i {
    font-size: 18px;
}

.head-prescription:hover {
    background: #c5cae9;
}

.head-cart {
    position: relative;
    padding: 8px;
    font-size: 24px;
    color: #fff;
}

.head-cart:hover {
    color: #ffd54f;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    padding: 8px;
    color: #fff;
}

.nav-main-wrapper {
    background: #1a237e;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}

.nav-list {
    display: flex;
    gap: 0;
}

.nav-list>li {
    position: relative;
}

.nav-list>li>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.nav-list>li>a:hover {
    color: #ffd54f;
}

.nav-list>li.has-mega {
    position: static;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 2px solid #1a237e;
}

.has-mega:hover .mega-menu {
    display: block;
}

.mega-inner {
    max-width: 1250px;
    margin: 0 auto;
    padding: 24px;
}

.mega-inner h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #1a237e;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #f9fafb;
    transition: all 0.2s;
}

.mega-item:hover {
    background: #e8eaf6;
    color: #1a237e;
}

.mega-icon {
    width: 36px;
    height: 36px;
    background: #e8eaf6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
}

.mega-item span {
    font-size: 13px;
    font-weight: 500;
}

.nav-mobile-user {
    display: none;
}

.main-content {
    min-height: 500px;
    padding: 20px 0;
}

.hero-banner {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.hero-slide {
    padding: 70px 40px;
    border-radius: 12px;
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

.btn-primary:hover {
    background: #c62828;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 16px;
}

.section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #222;
    position: relative;
    padding-bottom: 12px;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #1a237e;
    margin: 10px auto 0;
    border-radius: 2px;
}

.cat-icon-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.cat-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.cat-icon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #1a237e;
}

.cat-icon {
    width: 52px;
    height: 52px;
    background: #e8eaf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1a237e;
}

.cat-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.product-img {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.no-img {
    color: #ccc;
    font-size: 32px;
}

.no-img-lg {
    color: #ddd;
    font-size: 64px;
    padding: 60px;
    text-align: center;
}

.product-info-card {
    padding: 12px 14px 16px;
}

.product-info-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
    line-height: 22px;
}

.price {
    color: #e53935;
    font-weight: 700;
    font-size: 16px;
}

.page-header-shop {
    background: #f8fafb;
    padding: 20px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.page-header-shop .page-title {
    font-size: 24px;
    font-weight: 700;
    margin-top: 6px;
}

.breadcrumb {
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    color: #1a237e;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
    font-weight: 500;
}

.shop-layout {
    display: flex;
    gap: 30px;
}

.shop-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.widget-title {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    background: #f8fafb;
    border-bottom: 1px solid #eee;
    color: #222;
}

.widget-cats {}

.widget-cats li {
    border-bottom: 1px solid #f5f5f5;
}

.widget-cats li:last-child {
    border-bottom: none;
}

.widget-cats li a {
    display: block;
    padding: 11px 18px;
    font-size: 14px;
    color: #555;
}

.widget-cats li a:hover {
    color: #1a237e;
    background: #e8eaf6;
}

.widget-cats li.active a {
    color: #1a237e;
    font-weight: 600;
    background: #e8eaf6;
    border-left: 3px solid #1a237e;
}

.shop-content {
    flex: 1;
}

.shop-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.shop-count {
    font-size: 14px;
    color: #888;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination a.active {
    background: #1a237e;
    color: #fff;
    border-color: #1a237e;
}

.pagination a:hover:not(.active) {
    background: #f5f5f5;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 12px;
}

.no-results p {
    font-size: 16px;
}

.product-detail-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.product-gallery {
    flex: 0 0 480px;
}

.main-image {
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.main-image img {
    width: 100%;
    display: block;
}

.product-summary {
    flex: 1;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #888;
}

.meta-item strong {
    color: #555;
}

.prescription-warning {
    background: #fff3e0;
    color: #e65100;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-box {
    margin-bottom: 20px;
}

.current-price {
    font-size: 28px;
    font-weight: 800;
    color: #e53935;
}

.price-note {
    font-size: 14px;
    color: #888;
}

.add-cart-form {
    background: #f8fafb;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.variant-group {
    flex: 1;
}

.qty-group {
    width: 140px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    border-color: #1a237e;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.variant-option {
    cursor: pointer;
    position: relative;
}

.variant-option input {
    position: absolute;
    opacity: 0;
}

.variant-option {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s;
    text-align: center;
    white-space: nowrap;
}

.variant-option:hover {
    border-color: #9fa8da;
}

.variant-option.selected {
    border-color: #1a237e;
    background: #e8eaf6;
}

.variant-option .variant-label {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.variant-option .variant-price {
    font-size: 16px;
    font-weight: 700;
    color: #e53935;
}

.variant-option .variant-stock {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: #f5f5f5;
    font-size: 18px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #eee;
}

.qty-selector input {
    width: 60px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-radius: 0;
    height: 38px;
    padding: 0;
}

.btn-add-cart {
    width: 100%;
    padding: 14px;
    background: var(--green-600);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-add-cart:hover {
    background: var(--green-700);
    box-shadow: 0 8px 24px rgba(47, 128, 237, 0.35);
    transform: translateY(-1px);
}

.product-tabs {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #f8fafb;
}

.tab-btn {
    padding: 14px 28px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    transition: all 0.2s;
    font-family: inherit;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-btn.active {
    color: #1a237e;
    border-bottom-color: #1a237e;
}

.tab-btn:hover {
    color: #333;
}

.tab-content {
    display: none;
    padding: 24px;
}

.tab-content.active {
    display: block;
}

.product-description {
    line-height: 1.8;
    font-size: 14px;
    color: #555;
}

.product-description p {
    margin-bottom: 12px;
}

.rating-overview {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
}

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

.rating-number {
    font-size: 42px;
    font-weight: 800;
    color: #222;
    display: block;
}

.rating-stars {
    margin: 6px 0;
}

.rating-stars i {
    color: #ddd;
    font-size: 18px;
}

.rating-stars i.checked {
    color: #ffc107;
}

.rating-count {
    font-size: 13px;
    color: #888;
}

.rating-bars {
    flex: 1;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 13px;
}

.bar-row span {
    width: 40px;
    color: #666;
}

.bar-row span:last-child {
    width: 24px;
    text-align: right;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
}

.review-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.review-header strong {
    font-size: 14px;
}

.stars i {
    color: #ddd;
    font-size: 13px;
}

.stars i.checked {
    color: #ffc107;
}

.review-date {
    color: #999;
    font-size: 12px;
    margin-left: auto;
}

.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.no-reviews {
    color: #999;
    font-size: 14px;
    padding: 20px;
    text-align: center;
}

.review-form {
    margin-top: 24px;
    padding: 24px;
    background: #f8fafb;
    border-radius: 10px;
}

.review-form h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.rating-select {
    width: 200px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.btn-submit-review {
    padding: 10px 28px;
    background: #1a237e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

.btn-submit-review:hover {
    background: #0d47a1;
}

.related-products {
    margin-bottom: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.news-img {
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.news-info {
    padding: 16px;
}

.news-cat {
    display: inline-block;
    background: #e8eaf6;
    color: #1a237e;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info p {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: #aaa;
}

.news-section {
    padding: 40px 0;
}

.blog-layout {
    display: flex;
    gap: 30px;
}

.blog-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.blog-sidebar h3 {
    font-size: 16px;
    margin-bottom: 12px;
    margin-top: 24px;
}

.blog-sidebar ul {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.blog-sidebar ul li {
    border-bottom: 1px solid #f5f5f5;
}

.blog-sidebar ul li:last-child {
    border-bottom: none;
}

.blog-sidebar ul li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #555;
}

.blog-sidebar ul li a:hover,
.blog-sidebar ul li a.active {
    color: #1a237e;
    background: #e8eaf6;
}

.blog-content {
    flex: 1;
}

.single-post h1 {
    font-size: 24px;
    margin-bottom: 14px;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 13px;
    margin-bottom: 20px;
}

.post-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.post-content {
    line-height: 1.9;
    font-size: 15px;
    color: #444;
}

.post-content p {
    margin-bottom: 16px;
}

.cart-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: #f8fafb;
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.cart-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    vertical-align: middle;
}

.cart-table td img {
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 6px;
}

.cart-table tfoot td {
    font-weight: 700;
    font-size: 16px;
    border-bottom: none;
}

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

.total-price {
    color: #e53935;
    font-weight: 700;
}

.btn-remove {
    color: #e53935;
    font-size: 16px;
}

.btn-remove:hover {
    color: #c62828;
}

.cart-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 28px;
    background: #757575;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

.btn-secondary:hover {
    background: #616161;
}

.empty-cart {
    text-align: center;
    padding: 60px;
}

.empty-cart i {
    color: #ddd;
    margin-bottom: 14px;
}

.empty-cart p {
    margin-bottom: 20px;
    color: #888;
    font-size: 16px;
}

.auth-form {
    max-width: 440px;
    margin: 40px auto;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.auth-form h1 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 24px;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    border-color: #1a237e;
}

.auth-form .btn-primary {
    width: 100%;
    justify-content: center;
}

.auth-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #888;
}

.auth-link a {
    color: #1a237e;
    font-weight: 600;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-layout {
    display: flex;
    gap: 30px;
}

.checkout-form {
    flex: 1;
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.checkout-form h3 {
    font-size: 17px;
    margin-bottom: 18px;
}

.order-summary {
    width: 340px;
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #eee;
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    font-size: 17px;
    margin-bottom: 16px;
}

.order-summary p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.order-summary p strong {
    color: #333;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 17px;
    justify-content: center;
}

.order-success {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}

.success-icon {
    font-size: 64px;
    color: #4caf50;
    margin-bottom: 16px;
}

.order-success h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

.order-success p {
    margin-bottom: 8px;
    font-size: 15px;
    color: #555;
}

.order-success-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fff3e0;
    color: #e65100;
}

.status-processing {
    background: #e3f2fd;
    color: #1565c0;
}

.status-shipped {
    background: #f3e5f5;
    color: #7b1fa2;
}

.status-delivered {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-cancelled {
    background: #ffebee;
    color: #c62828;
}

.status-returning {
    background: #fff8e1;
    color: #f57f17;
}

.status-returned {
    background: #e8eaf6;
    color: #283593;
}

.status-approved {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-rejected {
    background: #ffebee;
    color: #c62828;
}

.order-info {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.order-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.prescription-form {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.prescription-form .form-group {
    margin-bottom: 16px;
}

.prescription-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.prescription-form input,
.prescription-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.prescription-form input:focus,
.prescription-form textarea:focus {
    border-color: #1a237e;
}

.prescription-form .btn-primary {
    width: 100%;
    justify-content: center;
}

.about-content {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #eee;
    line-height: 1.9;
}

.about-content p {
    margin-bottom: 12px;
}

.about-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.about-content ul li {
    list-style: disc;
    margin-bottom: 8px;
}

.contact-info {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-info i {
    color: #1a237e;
    width: 24px;
}

.account-form {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.account-form .form-group {
    margin-bottom: 16px;
}

.account-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.account-form input,
.account-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.account-form input:focus,
.account-form textarea:focus {
    border-color: #1a237e;
}

.account-form .btn-primary {
    width: 100%;
    justify-content: center;
}

.empty-state {
    text-align: center;
    padding: 50px;
    color: #999;
}

.empty-state i {
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 15px;
}

.btn-remove-wishlist {
    display: block;
    text-align: center;
    padding: 8px;
    color: #e53935;
    font-size: 13px;
}

.btn-remove-wishlist:hover {
    background: #fff5f5;
    border-radius: 0 0 10px 10px;
}

.order-list table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.order-list th {
    background: #f8fafb;
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.order-list td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.btn-small {
    display: inline-block;
    padding: 5px 14px;
    background: #1a237e;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.btn-small:hover {
    background: #0d47a1;
}

#footer {
    margin-top: 40px;
}

.footer-newsletter {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    padding: 36px 0;
    color: #fff;
}

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

.newsletter-inner h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.newsletter-inner p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 18px;
}

.newsletter-form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.newsletter-form button {
    padding: 12px 28px;
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #c62828;
}

.footer-main {
    background: #263238;
    color: #b0bec5;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-col p {
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-col i {
    width: 20px;
    color: #7986cb;
}

.footer-col ul li {
    margin-bottom: 7px;
}

.footer-col ul li a {
    font-size: 13px;
    color: #b0bec5;
}

.footer-col ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.social-links .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

/* 1. Facebook Brand Blue */
.social-links .social-facebook {
    background: #1877F2 !important;
}
.social-links .social-facebook:hover {
    background: #0d65d9 !important;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.45);
}

/* 2. YouTube Brand Red */
.social-links .social-youtube {
    background: #FF0000 !important;
}
.social-links .social-youtube:hover {
    background: #d60000 !important;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.45);
}

/* 3. Instagram Authentic Brand Gradient */
.social-links .social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}
.social-links .social-instagram:hover {
    filter: brightness(1.12);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.45);
}

/* 4. TikTok Official Dark & Vibrant Glow */
.social-links .social-tiktok {
    background: #010101 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.social-links .social-tiktok:hover {
    background: #0a0a0a !important;
    transform: translateY(-3px) scale(1.08);
    box-shadow: -2px -2px 10px rgba(37, 244, 238, 0.5), 2px 2px 10px rgba(254, 44, 85, 0.5);
}

/* 5. Zalo Official Brand Blue */
.social-links .social-zalo {
    background: #0068FF !important;
}
.social-links .social-zalo .zalo-text {
    font-size: 11px;
    font-weight: 900;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.3px;
    line-height: 1;
    color: #ffffff;
}
.social-links .social-zalo:hover {
    background: #0052cc !important;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 104, 255, 0.45);
}

.footer-badges img {
    height: 40px;
    opacity: 0.7;
}

.footer-bottom {
    background: #1c2a30;
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: #78909c;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cat-icon-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-search {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions {
        margin-left: auto;
    }

    .head-prescription span {
        display: none;
    }

    .nav-main-wrapper {
        position: relative;
    }

    .nav-main {
        height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-list.open {
        display: flex;
    }

    .nav-mobile-user {
        display: flex;
        flex-direction: column;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .nav-mobile-user li a {
        display: block;
        padding: 10px 16px;
        font-size: 14px;
        color: #fff;
    }

    .nav-mobile-user li a:hover {
        background: rgba(255,255,255,0.1);
    }

    .mega-menu {
        position: static;
        box-shadow: none;
        display: none;
    }

    .has-mega:hover .mega-menu {
        display: none;
    }

    .has-mega.open .mega-menu {
        display: block;
    }

    .mega-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cat-icon-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .shop-layout {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
    }

    .product-detail-wrapper {
        flex-direction: column;
    }

    .product-gallery {
        flex: none;
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    .qty-group {
        width: 100%;
    }

    .checkout-layout {
        flex-direction: column;
    }

    .order-summary {
        width: 100%;
        position: static;
    }

    .blog-layout {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        padding: 40px 24px;
    }

    .hero-content h1 {
        font-size: 28px;
    }
}

/* =========================================================
   GIAO DIỆN "NHÀ THUỐC THÂN THIỆN"
   Chỉ thay đổi phần trình bày, không thay đổi chức năng PHP.
   ========================================================= */

:root {
    --green-700: #1e5faf;
    --green-600: #2f80ed;
    --green-500: #4a95f0;
    --green-100: #dcebfd;
    --mint-050: #eef5fe;
    --cream-050: #f7fbff;
    --orange-500: #6cc24a;
    --orange-100: #eff9ea;
    --white: #ffffff;
    --text-900: #17324a;
    --text-600: #60758a;
    --border: #dce8f5;
    --shadow-sm: 0 6px 18px rgba(23, 50, 74, 0.07);
    --shadow-md: 0 12px 32px rgba(23, 50, 74, 0.11);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--text-900);
    background: #f7fbff;
    overflow-x: hidden;
}

a,
button,
input,
select,
textarea {
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(108, 194, 74, 0.7);
    outline-offset: 2px;
}

input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
    outline: none !important;
}

.container {
    max-width: 1312px;
    padding-left: 24px;
    padding-right: 24px;
}

.header-top {
    background: var(--cream-050);
    color: var(--green-700);
    border-bottom: 1px solid rgba(220, 232, 245, 0.85);
}

.header-top-inner {
    height: 42px;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-top-left span {
    margin: 0;
}

.header-top-left i,
.header-top-right i {
    color: var(--green-600);
}

.header-top-right a {
    color: var(--green-700);
    margin-left: 20px;
}

.header-top-right a:hover {
    color: var(--green-500);
}

.header-main {
    background: var(--white);
    box-shadow: 0 4px 18px rgba(23, 50, 74, 0.08);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.header-inner {
    min-height: 84px;
    height: auto;
    gap: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo {
    flex-shrink: 0;
    min-width: auto;
}

.brand-link {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 175px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.header-search {
    flex: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.header-search form {
    height: 56px;
    align-items: center;
    border: 1.5px solid var(--green-600);
    border-radius: 999px;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(23, 50, 74, 0.04);
}

.header-search form:focus-within {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(108, 194, 74, 0.24);
}

.search-leading-icon {
    margin-left: 20px;
    color: var(--text-600);
    font-size: 17px;
}

.header-search input {
    min-width: 0;
    padding: 12px 14px;
    color: var(--text-900);
    font-family: inherit;
}

.header-search input::placeholder {
    color: var(--text-600);
}

.header-search button {
    height: 42px;
    margin-right: 6px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--green-600);
    font-family: inherit;
    font-weight: 700;
}

.header-search button:hover {
    background: var(--green-500);
}

.header-actions {
    gap: 8px;
}

.head-prescription {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--green-100);
    border-radius: 999px;
    background: var(--mint-050);
    color: var(--green-700);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.head-prescription:hover {
    background: var(--green-100);
    color: var(--green-700);
    transform: translateY(-1px);
}

.head-icon-action,
.head-cart {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 14px;
    color: var(--green-700);
    font-size: 20px;
}

.head-icon-action:hover {
    background: var(--mint-050);
    color: var(--green-500);
}

.head-cart {
    background: var(--orange-100);
}

.head-cart:hover {
    background: var(--orange-100);
    color: var(--green-600);
}

.cart-count {
    top: -4px;
    right: -3px;
    width: 21px;
    height: 21px;
    background: var(--green-600);
    border: 2px solid var(--white);
    font-size: 10px;
}

.mobile-menu-btn button {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 13px;
    background: var(--mint-050);
    color: var(--green-700);
    font-size: 20px;
    cursor: pointer;
}

.nav-main-wrapper {
    position: relative;
    z-index: 990;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(23, 50, 74, 0.05);
}

.nav-main {
    height: 54px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list > li {
    display: flex;
    align-items: center;
}

.nav-list > li.has-mega {
    position: static !important;
}

.nav-list > li > a {
    height: 54px;
    padding: 0 4px;
    border-bottom: 3px solid transparent;
    color: #334155;
    font-size: 14.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.nav-list > li > a.active,
.nav-list > li > a:hover {
    border-bottom-color: #2563eb;
    color: #2563eb;
}

.nav-list > li > a i:first-child {
    width: auto;
    color: #2563eb;
    text-align: center;
}

.has-mega:hover .mega-menu,
.mega-menu:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    z-index: 99999;
    border-top: 3px solid #2563eb;
    border-radius: 0 0 20px 20px;
}

.mega-inner {
    max-width: 1250px;
    margin: 0 auto;
    padding: 24px 20px;
}

.mega-inner h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #1e293b;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f0f7ff;
    border: 1px solid #e0f2fe;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 13.5px;
}

.mega-item:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.mega-icon {
    width: 34px;
    height: 34px;
    background: #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 15px;
    flex-shrink: 0;
}

.main-content {
    min-height: 560px;
    padding-top: 28px;
    padding-bottom: 12px;
}

.main-content > .section > .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.hero-banner {
    margin-top: -28px;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(23, 50, 74, 0.08);
    border-bottom: 1px solid rgba(23, 50, 74, 0.05);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 480px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 64px 0;
    border-radius: 0;
    background-position: center, center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hero-dots {
    display: none !important;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(23, 50, 74, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    background: var(--green-600);
    width: 24px;
    border-radius: 999px;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(238, 245, 254, 0.92);
    color: var(--green-600);
    font-size: 13px;
    font-weight: 700;
}

.hero-content h1 {
    margin-bottom: 18px;
    color: var(--text-900);
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.13;
    letter-spacing: -0.035em;
}

.hero-content p {
    max-width: 540px;
    margin-bottom: 28px;
    color: var(--text-600);
    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary,
.btn-outline-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 26px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
}

.btn-primary {
    background: var(--green-600);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(47, 128, 237, 0.2);
}

.btn-primary:hover {
    background: var(--green-500);
    transform: translateY(-1px);
}

.btn-outline-green {
    border: 2px solid var(--green-600);
    background: rgba(255, 255, 255, 0.9);
    color: var(--green-700);
}

.btn-outline-green:hover {
    background: var(--mint-050);
    transform: translateY(-1px);
}

.trust-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: -38px 0 24px;
}

.trust-card {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mint-050);
    color: var(--green-600);
    font-size: 25px;
}

.trust-card > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.trust-card strong {
    color: var(--text-900);
    font-size: 14px;
    line-height: 1.35;
}

.trust-card small {
    margin-top: 4px;
    color: var(--text-600);
    font-size: 11px;
    line-height: 1.4;
}

.section {
    padding: 52px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 26px;
}

.section-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--green-600);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-heading .section-title {
    margin: 0;
    padding: 0;
    color: var(--text-900);
    text-align: left;
    font-size: 26px;
}

.section-heading .section-title::after {
    display: none;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green-600);
    font-size: 13px;
    font-weight: 700;
}

.section-link:hover {
    color: var(--green-500);
    gap: 10px;
}

.cat-icon-grid {
    gap: 18px;
}

.cat-icon-card {
    min-height: 148px;
    justify-content: center;
    gap: 14px;
    padding: 22px 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 5px 16px rgba(23, 50, 74, 0.05);
}

.cat-icon-card:hover {
    border-color: var(--green-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.cat-icon {
    width: 62px;
    height: 62px;
    background: var(--mint-050);
    color: var(--green-600);
}

.cat-name {
    color: var(--text-900);
    font-size: 13px;
}

.featured-products {
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, var(--mint-050), var(--cream-050));
}

.product-grid {
    gap: 22px;
}

.product-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 5px 16px rgba(23, 50, 74, 0.05);
}

.product-card:hover {
    border-color: var(--green-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.product-img {
    height: 220px;
    padding: 0;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info-card {
    padding: 15px 18px 20px;
    border-top: 1px solid var(--border);
}

.product-info-card h3 {
    color: var(--text-900);
    font-size: 14px;
    line-height: 1.55;
    height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price,
.current-price,
.total-price,
.variant-option .variant-price {
    color: var(--green-600);
}

.news-section {
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 28px;
    background: var(--cream-050);
}

.news-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 5px 16px rgba(23, 50, 74, 0.05);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
}

.news-img {
    height: 210px;
    background: var(--mint-050);
}

.news-cat {
    border-radius: 999px;
    background: var(--mint-050);
    color: var(--green-700);
}

.news-info {
    padding: 20px;
}

.news-info h3 {
    color: var(--text-900);
    font-size: 16px;
    line-height: 1.5;
}

.news-info p,
.news-date {
    color: var(--text-600);
}

.page-header-shop {
    margin: -28px -24px 30px;
    padding: 28px 24px;
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 24px 24px;
    background: linear-gradient(110deg, var(--cream-050), #ffffff 55%, var(--mint-050));
}

.page-header-shop .page-title {
    color: var(--green-700);
    font-size: 27px;
}

.breadcrumb,
.shop-count,
.price-note,
.product-meta {
    color: var(--text-600);
}

.breadcrumb a,
.auth-link a {
    color: var(--green-600);
}

.sidebar-widget,
.product-tabs,
.cart-table,
.auth-form,
.checkout-form,
.order-summary,
.order-success,
.order-info,
.prescription-form,
.about-content,
.contact-info,
.account-form,
.order-list table,
.main-image,
.add-cart-form,
.review-form {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 5px 18px rgba(23, 50, 74, 0.05);
}

.widget-title,
.tab-nav,
.cart-table th,
.order-list th {
    border-color: var(--border);
    background: var(--mint-050);
    color: var(--green-700);
}

.widget-cats li,
.cart-table td,
.order-list td {
    border-color: var(--border);
}

.widget-cats li a:hover,
.widget-cats li.active a,
.blog-sidebar ul li a:hover,
.blog-sidebar ul li a.active {
    background: var(--mint-050);
    color: var(--green-700);
}

.widget-cats li.active a {
    border-left-color: var(--green-600);
}

.pagination a {
    border-color: var(--border);
    border-radius: 11px;
}

.pagination a.active,
.btn-small,
.btn-submit-review,
.btn-add-cart {
    border-color: var(--green-600);
    background: var(--green-600);
}

.pagination a:hover:not(.active),
.btn-secondary:hover {
    background: var(--mint-050);
    color: var(--green-700);
}

.product-name,
.single-post h1,
.auth-form h1,
.order-success h1 {
    color: var(--text-900);
}

.prescription-warning {
    border: 1px solid #cfe9c4;
    border-radius: 12px;
    background: var(--orange-100);
    color: #4e8f34;
}

.variant-option,
.qty-selector,
.form-group select,
.form-group input,
.form-group textarea,
.auth-form input,
.auth-form select,
.auth-form textarea,
.prescription-form input,
.prescription-form textarea,
.account-form input,
.account-form textarea {
    border-color: var(--border);
    border-radius: 12px;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus,
.auth-form input:focus,
.prescription-form input:focus,
.prescription-form textarea:focus,
.account-form input:focus,
.account-form textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.variant-option:hover,
.variant-option.selected {
    border-color: var(--green-600);
}

.variant-option.selected {
    background: var(--mint-050);
}

.tab-btn.active {
    border-bottom-color: var(--green-600);
    color: var(--green-700);
}

.rating-overview,
.review-form,
.add-cart-form {
    background: var(--mint-050);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--green-700);
}

.error-message {
    border: 1px solid #f4c7c7;
}

.success-message {
    border: 1px solid #bfdfca;
    background: var(--mint-050);
    color: var(--green-700);
}

#footer {
    margin-top: 56px;
}

.footer-newsletter {
    padding: 36px 0;
    background: linear-gradient(110deg, var(--green-700), var(--green-600));
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    text-align: left;
}

.newsletter-copy {
    display: flex;
    align-items: center;
    gap: 16px;
}

.newsletter-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 23px;
}

.newsletter-inner h3,
.newsletter-inner p {
    margin-bottom: 0;
}

.newsletter-inner p {
    margin-top: 5px;
}

.newsletter-form {
    width: min(440px, 100%);
    margin: 0;
}

.newsletter-form input {
    min-height: 48px;
}

.newsletter-form button {
    min-height: 48px;
    background: var(--orange-500);
}

.newsletter-form button:hover {
    background: #58ad39;
}

.footer-main {
    padding: 48px 0;
    background: #174c8f;
    color: #dceafd;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-brand-mark {
    width: 194px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.footer-brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.footer-col h4 {
    color: var(--white);
}

.footer-col i {
    color: #9bc7ff;
}

.footer-col ul li a,
.footer-col p {
    color: #dceafd;
}

.footer-col ul li a:hover {
    color: #93c5fd;
}

.footer-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #e7f1ff;
    font-size: 11px;
    line-height: 1.45;
}

.footer-trust i {
    color: var(--orange-500);
    font-size: 22px;
}

.footer-bottom {
    background: #103866;
    color: #bad5f7;
}

@media (max-width: 1120px) {
    #logo {
        min-width: 200px;
    }

    .head-prescription span {
        display: none;
    }

    .head-prescription {
        width: 48px;
        justify-content: center;
        padding: 0;
    }

    .nav-list > li > a {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 13px;
    }

    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-top {
        display: none;
    }

    .header-inner {
        min-height: 82px;
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 14px;
    }

    #logo {
        min-width: 0;
        margin-right: auto;
    }

    .brand-logo {
        width: 190px;
        height: 62px;
    }

    .header-actions {
        margin-left: 0;
    }

    .header-actions .head-icon-action {
        display: none;
    }

    .header-search {
        order: 5;
        display: block;
        flex: 0 0 100%;
        max-width: none;
    }

    .header-search form {
        height: 48px;
    }

    .header-search button {
        height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }

    .mobile-menu-btn {
        display: block;
        padding: 0;
        color: var(--green-700);
    }

    .nav-main {
        height: auto;
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-list,
    .nav-mobile-user {
        display: none;
    }

    .nav-main.open .nav-list,
    .nav-main.open .nav-mobile-user {
        display: flex;
    }

    .nav-list > li > a {
        min-height: 48px;
        padding: 0 12px;
        border-bottom: 1px solid var(--border);
        color: var(--text-900);
    }

    .nav-list > li > a.active,
    .nav-list > li > a:hover {
        border-bottom-color: var(--border);
        background: var(--mint-050);
    }

    .nav-mobile-user {
        border-top: 1px solid var(--border);
        padding: 8px 0 12px;
    }

    .nav-mobile-user li a {
        color: var(--text-900);
    }

    .nav-mobile-user li a:hover {
        background: var(--mint-050);
    }

    .mega-menu {
        border: 0;
        border-radius: 0;
    }

    .mega-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-content {
        padding-top: 18px;
    }

    .hero-banner {
        height: 500px;
    }

    .hero-slide {
        height: 100%;
        padding: 46px 0;
        border-radius: 0;
        background-position: center, 62% center;
    }

    .hero-content {
        max-width: 92%;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .trust-strip {
        margin-left: 0;
        margin-right: 0;
    }

    .section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .section-heading {
        align-items: center;
    }

    .section-heading .section-title {
        font-size: 22px;
    }

    .featured-products,
    .news-section {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        border-radius: 20px;
    }

    .page-header-shop {
        margin-left: -16px;
        margin-right: -16px;
    }

    .newsletter-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .newsletter-form {
        max-width: none;
    }

    .hero-banner {
        margin-top: -18px;
    }
}

@media (max-width: 520px) {
    .head-prescription {
        display: none;
    }

    .hero-banner {
        height: 470px;
    }

    .hero-slide {
        height: 100%;
        padding: 38px 0;
        border-radius: 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        margin-top: -28px;
    }

    .section-link {
        display: none;
    }

    .cat-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-img {
        height: 170px;
        padding: 10px;
    }

    .product-info-card {
        padding: 12px;
    }

    .newsletter-copy {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   TRANG GIỚI THIỆU (ABOUT US PAGE)
   ========================================================= */
.about-container {
    padding: 20px 0 60px;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-intro h2 {
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--green-700);
    margin-bottom: 16px;
    line-height: 1.25;
}

.about-intro .subtitle {
    font-size: 18px;
    color: var(--text-600);
    line-height: 1.65;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-story-text h3 {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    color: var(--text-900);
    margin: 10px 0 16px;
    line-height: 1.3;
}

.about-story-text p {
    font-size: 16px;
    color: var(--text-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-story-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-story-image:hover .about-img {
    transform: scale(1.05);
}

.about-mission-section {
    margin-bottom: 70px;
}

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

.mission-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--mint-050);
    color: var(--green-600);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.mission-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: 14px;
}

.mission-card p {
    font-size: 15px;
    color: var(--text-600);
    line-height: 1.7;
}

.about-values-section {
    margin-bottom: 70px;
    text-align: center;
}

.section-title-center {
    margin-bottom: 45px;
}

.section-title-center h3 {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    color: var(--text-900);
    margin-top: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.value-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.value-number {
    font-size: 54px;
    font-weight: 800;
    color: var(--green-100);
    opacity: 0.7;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    user-select: none;
}

.value-item h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.value-item p {
    font-size: 14px;
    color: var(--text-600);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.about-stats-section {
    background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
    border-radius: 28px;
    padding: 50px 30px;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-num {
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 800;
    color: var(--orange-500);
    line-height: 1;
}

.stat-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-story-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
}

@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mission-card {
        padding: 30px;
    }
}

/* =========================================================
   TRANG LIÊN HỆ (CONTACT PAGE)
   ========================================================= */
.contact-wrapper {
    padding: 20px 0 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info-panel,
.contact-form-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.info-card-header h3,
.contact-form-panel h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: 12px;
}

.info-card-header p,
.contact-form-panel > p {
    font-size: 15px;
    color: var(--text-600);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 35px;
}

.method-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.method-icon {
    width: 46px;
    height: 46px;
    background: var(--mint-050);
    color: var(--green-600);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.method-details h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: 4px;
}

.method-details p {
    font-size: 14.5px;
    color: var(--text-600);
    line-height: 1.5;
}

.method-details p strong {
    font-size: 16px;
    color: var(--green-700);
}

.contact-social h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.youtube {
    background: #ff0000;
}

.social-btn.zalo {
    background: #0068ff;
    font-weight: 800;
    font-family: Arial, sans-serif;
}

.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group label .required {
    color: #e53935;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 14.5px;
    font-family: inherit;
    color: var(--text-900);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-600);
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.15);
}

.btn-submit-contact {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--green-600);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-contact:hover {
    background: var(--green-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.contact-map-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-map-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: 20px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.alert-success-contact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--orange-100);
    border: 1px solid var(--orange-500);
    color: var(--green-700);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.alert-success-contact i {
    color: #6cc24a;
    font-size: 24px;
    flex-shrink: 0;
}

.alert-success-contact strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-900);
}

.alert-success-contact p {
    font-size: 14.5px;
    margin: 0;
    line-height: 1.5;
    color: var(--text-600);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .contact-info-panel,
    .contact-form-panel,
    .contact-map-section {
        padding: 24px;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .btn-submit-contact {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   FLASH SALE SECTION
   ========================================================= */
.flash-sale-section {
    background: linear-gradient(180deg, rgba(239, 71, 111, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 28px;
    margin-bottom: 20px;
}

.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.flash-sale-title {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.flash-sale-title h2 {
    font-size: 26px;
    font-weight: 800;
    color: #ef476f;
    letter-spacing: -0.02em;
    margin: 0;
}

.flash-icon {
    color: #ffd166;
    font-size: 28px;
    animation: flash-bounce 1.5s infinite alternate ease-in-out;
}

@keyframes flash-bounce {
    0% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 2px rgba(255,209,102,0.4)); }
    100% { transform: scale(1.15) translateY(-3px); filter: drop-shadow(0 0 8px rgba(255,209,102,0.8)); }
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 6px;
}

.time-box {
    background: #17324a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    min-width: 36px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(23, 50, 74, 0.15);
}

.time-divider {
    font-weight: 700;
    color: #17324a;
    font-size: 16px;
}

.sale-status-badge {
    background: rgba(239, 71, 111, 0.1);
    color: #ef476f;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
}

.flash-sale-slider-container {
    position: relative;
    width: 100%;
}

.flash-sale-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
}

.flash-sale-slider::-webkit-scrollbar {
    display: none;
}

.flash-sale-card {
    flex: 0 0 calc((100% - 80px) / 5);
    scroll-snap-align: start;
    box-sizing: border-box;
}

.flash-sale-card:hover {
    border-color: rgba(239, 71, 111, 0.4);
}

.sale-progress-bar {
    position: relative;
    height: 18px;
    background: #eef2f6;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #ef476f 0%, #ff5c8a 100%);
    border-radius: 999px;
    transition: width 0.5s ease;
}

.progress-text {
    position: relative;
    z-index: 2;
    font-size: 10.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* FLASH SALE ACTION BUTTONS (MÀU XANH) */
.flash-sale-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.btn-flash-cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 34px;
    border-radius: 8px;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1.5px solid #bfdbfe !important;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.btn-flash-cart:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.btn-flash-buynow {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
    box-sizing: border-box;
}

.btn-flash-buynow:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.38);
    color: #ffffff !important;
}

.btn-flash-buynow i {
    font-size: 11px;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(23, 50, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #17324a;
}

.slider-nav-btn:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.slider-nav-btn.prev {
    left: -20px;
}

.slider-nav-btn.next {
    right: -20px;
}

@media (max-width: 1200px) {
    .flash-sale-card {
        flex: 0 0 calc((100% - 60px) / 4);
    }
}

@media (max-width: 992px) {
    .flash-sale-card {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .slider-nav-btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .flash-sale-card {
        flex: 0 0 calc((100% - 12px) / 2);
    }
    .flash-sale-slider {
        gap: 12px;
    }
    .flash-sale-header {
        margin-bottom: 16px;
    }
}

/* =========================================================
   HELI AI CHATBOT WIDGET
   ========================================================= */
.heli-chat-widget-ai {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.heli-chat-widget-pharma {
    position: fixed;
    bottom: 105px;
    right: 30px;
    z-index: 9999;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.heli-chat-widget-ai .chat-toggle-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.heli-chat-widget-pharma .chat-toggle-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
}

.heli-chat-widget-ai .pulse-ring {
    border-color: rgba(16, 185, 129, 0.5);
}

.heli-chat-widget-pharma .pulse-ring {
    border-color: rgba(2, 132, 199, 0.5);
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    outline: none;
}

.chat-toggle-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(16, 185, 129, 0.5);
    animation: ring-pulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes ring-pulse {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.unread-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef476f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(239, 71, 111, 0.3);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(23, 50, 74, 0.08);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(23, 50, 74, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-header {
    background: #17324a;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    color: #fff;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #17324a;
}

.status-dot.online {
    background: #10b981;
}

.chat-title-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.chat-title-info p {
    margin: 0;
    font-size: 11.5px;
    opacity: 0.7;
    color: #a3b8cc;
}

.chat-close-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #fff;
    opacity: 0.6;
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
}

.chat-close-btn:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f7fbff;
}

.msg-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.5;
}

.msg-bubble.assistant {
    background: #ffffff;
    color: var(--text-900);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 12px rgba(23, 50, 74, 0.03);
    border: 1px solid rgba(23, 50, 74, 0.04);
}

.msg-bubble.user {
    background: #10b981;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.quick-suggests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.quick-suggests button {
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-suggests button:hover {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.chat-footer {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid rgba(23, 50, 74, 0.06);
}

.chat-footer form {
    display: flex;
    gap: 8px;
}

.chat-footer input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.heli-chat-widget-ai .chat-footer input:focus {
    border-color: #10b981;
}

.heli-chat-widget-pharma .chat-footer input:focus {
    border-color: #0284c7;
}

.chat-footer button {
    background: #10b981;
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s;
    padding: 0;
}

.chat-footer button:hover {
    background: #059669;
}

/* Typing Indicator Animation */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(23, 50, 74, 0.03);
    border: 1px solid rgba(23, 50, 74, 0.04);
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #888;
    border-radius: 50%;
    animation: typing-bounce 1s infinite alternate;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

@media (max-width: 480px) {
    .heli-chat-widget-ai {
        bottom: 20px;
        right: 20px;
    }
    .heli-chat-widget-pharma {
        bottom: 95px;
        right: 20px;
    }
    .chat-window {
        width: 310px;
        height: 440px;
        bottom: 70px;
    }
}

/* =========================================================
   PRODUCT CARD QUICK ACTIONS
   ========================================================= */
.product-card-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
    background: #fff;
    align-items: center;
}

.btn-quick-buy {
    flex: 1;
    background: var(--green-600);
    color: #fff !important;
    text-align: center;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn-quick-buy:hover {
    background: var(--green-700);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-quick-cart {
    background: var(--mint-050);
    color: var(--green-700) !important;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid rgba(16, 185, 129, 0.2);
    line-height: 1.4;
}

.btn-quick-cart:hover {
    background: var(--green-600);
    color: #fff !important;
    border-color: var(--green-600);
}

.btn-quick-view {
    width: 100%;
    background: #f1f5f9;
    color: var(--text-900) !important;
    text-align: center;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn-quick-view:hover {
    background: #e2e8f0;
}

/* Wishlist Button Styling */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #ef476f;
    padding: 0;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 71, 111, 0.25);
}

.wishlist-btn i {
    font-size: 15px;
    transition: transform 0.2s ease;
}

.wishlist-btn.active i {
    font-weight: 900;
    color: #ef476f;
}

/* =========================================================
   ACCOUNT DROPDOWN MENU (TOPBAR & HEADER ACTIONS)
   ========================================================= */
.topbar-user-dropdown,
.head-account-dropdown {
    position: relative;
    display: inline-block;
}

.topbar-user-toggle {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.topbar-user-toggle:hover {
    opacity: 0.85;
}

.topbar-dropdown-menu,
.account-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: #ffffff;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(23, 50, 74, 0.15);
    border: 1px solid #dce8f5;
    padding: 8px 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

/* Position adjustment for main header dropdown to avoid being cut off */
.account-dropdown-menu {
    top: calc(100% + 12px);
}

.topbar-user-dropdown:hover .topbar-dropdown-menu,
.head-account-dropdown:hover .account-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-user-info {
    padding: 12px 18px;
    border-bottom: 1px solid #eef2f6;
    color: var(--text-900);
}

.dropdown-user-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.dropdown-user-info .user-role {
    display: block;
    font-size: 11px;
    color: var(--text-600);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topbar-dropdown-menu a,
.account-dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 18px !important;
    color: var(--text-900) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.topbar-dropdown-menu a i,
.account-dropdown-menu a i {
    font-size: 15px;
    color: var(--text-600);
    width: 18px;
    text-align: center;
}

.topbar-dropdown-menu a:hover,
.account-dropdown-menu a:hover {
    background: #eef5fe;
    color: var(--green-700) !important;
}

.topbar-dropdown-menu a:hover i,
.account-dropdown-menu a:hover i {
    color: var(--green-700);
}






