/* =========================================================
   MEDISTORE FRONTEND
   Global Stylesheet
   ========================================================= */


/* =========================================================
   1. ROOT / DESIGN SYSTEM
   ========================================================= */

:root {

    /* Brand */
    --primary: #147d72;
    --primary-dark: #0e655c;
    --primary-light: #e8f6f3;
    --primary-soft: #f2faf8;

    /* Secondary */
    --blue: #2563eb;
    --blue-light: #eff6ff;

    /* Status */
    --success: #16803c;
    --success-light: #eaf8ef;

    --warning: #b7791f;
    --warning-light: #fff8e7;

    --danger: #c0392b;
    --danger-light: #fff0ee;

    /* Text */
    --text: #172b2a;
    --text-secondary: #526463;
    --text-muted: #7c8b8a;

    /* Background */
    --body-bg: #f8faf9;
    --white: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f5f8f7;

    /* Border */
    --border: #e4ebe9;
    --border-light: #edf2f1;

    /* Shadow */
    --shadow-xs: 0 2px 8px rgba(20, 61, 57, 0.04);
    --shadow-sm: 0 5px 20px rgba(20, 61, 57, 0.07);
    --shadow-md: 0 12px 35px rgba(20, 61, 57, 0.10);
    --shadow-lg: 0 20px 55px rgba(20, 61, 57, 0.13);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    /* Container */
    --container-width: 1240px;

    /* Header */
    --header-height: 78px;

    /* Transition */
    --transition: 0.25s ease;

}


/* =========================================================
   2. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    font-size: 16px;
}


body {
    margin: 0;
    padding: 0;

    background: var(--body-bg);
    color: var(--text);

    font-family: "DM Sans", sans-serif;

    font-size: 15px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


body.menu-open {
    overflow: hidden;
}


img {
    display: block;
    max-width: 100%;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


a {
    color: inherit;
    text-decoration: none;
}


ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
    line-height: 1.25;
    color: var(--text);
}


::selection {
    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   3. COMMON
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    margin-inline: auto;
}


.site-main {
    min-height: 500px;
}


.text-center {
    text-align: center;
}


.text-left {
    text-align: left;
}


.text-right {
    text-align: right;
}


.hidden {
    display: none !important;
}


.no-scroll {
    overflow: hidden;
}


/* =========================================================
   4. HEADER TOPBAR
   ========================================================= */

.header-topbar {
    background: #0e5f57;
    color: rgba(255, 255, 255, 0.88);

    font-size: 12px;
}


.header-topbar-inner {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.header-topbar-left,
.header-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}


.header-topbar-left span,
.header-topbar-right a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.header-topbar i {
    font-size: 13px;
}


.header-topbar-right a {
    transition: var(--transition);
}


.header-topbar-right a:hover {
    color: var(--white);
}


.header-topbar-divider {
    width: 1px;
    height: 14px;

    background: rgba(255, 255, 255, 0.20);
}


/* =========================================================
   5. MAIN HEADER
   ========================================================= */

.header-main {
    position: relative;
    z-index: 100;

    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}


.header-main-inner {
    min-height: 82px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================================================
   6. LOGO
   ========================================================= */

.site-logo {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    min-width: 205px;
}


.site-logo-icon {
    width: 43px;
    height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 43px;

    border-radius: 13px;

    background: var(--primary);
    color: var(--white);

    font-size: 21px;

    box-shadow: 0 7px 18px rgba(20, 125, 114, 0.18);
}


.site-logo-content {
    display: flex;
    flex-direction: column;
}


.site-logo-content strong {
    font-family: "Manrope", sans-serif;

    color: var(--text);

    font-size: 20px;
    font-weight: 800;

    line-height: 1.1;
}


.site-logo-content small {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.5px;
}


/* =========================================================
   7. HEADER SEARCH
   ========================================================= */

.header-search {
    position: relative;

    flex: 1;

    max-width: 600px;

    display: flex;
    align-items: center;

    height: 46px;

    border: 1px solid var(--border);
    border-radius: var(--radius-pill);

    background: var(--surface-soft);

    transition: var(--transition);
}


.header-search:focus-within {
    border-color: rgba(20, 125, 114, 0.45);

    background: var(--white);

    box-shadow: 0 0 0 4px rgba(20, 125, 114, 0.07);
}


.header-search-icon {
    margin-left: 17px;

    color: var(--text-muted);

    font-size: 16px;
}


.header-search input {
    width: 100%;
    height: 100%;

    padding: 0 12px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 13px;
}


.header-search input::placeholder {
    color: #98a5a4;
}


.header-search button {
    height: 36px;

    margin-right: 5px;
    padding: 0 18px;

    border: 0;
    border-radius: 20px;

    background: var(--primary);
    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    transition: var(--transition);
}


.header-search button:hover {
    background: var(--primary-dark);
}


/* =========================================================
   8. HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-left: auto;
}


.header-action {
    display: flex;
    align-items: center;

    gap: 9px;

    transition: var(--transition);
}


.header-action:hover {
    color: var(--primary);
}


.header-action-icon,
.header-cart-icon {
    position: relative;

    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 18px;
}


.header-action-content {
    display: flex;
    flex-direction: column;
}


.header-action-content small {
    color: var(--text-muted);

    font-size: 10px;
    line-height: 1.2;
}


.header-action-content strong {
    max-width: 115px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 12px;
}


.header-cart {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}


.header-cart:hover {
    color: var(--primary);
}


.cart-count {
    position: absolute;

    top: -6px;
    right: -7px;

    min-width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 5px;

    border-radius: 20px;

    background: #e24a3b;
    color: var(--white);

    font-size: 9px;
    font-weight: 800;

    border: 2px solid var(--white);
}


/* =========================================================
   9. MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-btn {
    display: none;

    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--white);
    color: var(--text);

    font-size: 21px;
}


/* =========================================================
   10. NAVIGATION
   ========================================================= */

.navigation-wrapper {
    position: relative;
    z-index: 90;

    background: var(--white);

    border-bottom: 1px solid var(--border);
}


.main-navigation {
    min-height: 52px;

    display: flex;
    align-items: center;
}


.nav-links {
    display: flex;
    align-items: center;

    gap: 5px;
}


.nav-links a {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 16px 15px;

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 700;

    transition: var(--transition);
}


.nav-links a i {
    color: var(--text-muted);
    font-size: 14px;

    transition: var(--transition);
}


.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}


.nav-links a:hover i,
.nav-links a.active i {
    color: var(--primary);
}


.nav-links a.active::after {
    content: "";

    position: absolute;

    left: 15px;
    right: 15px;
    bottom: -1px;

    height: 3px;

    border-radius: 4px 4px 0 0;

    background: var(--primary);
}


/* =========================================================
   11. NAV SUPPORT
   ========================================================= */

.nav-support {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--primary);
}


.nav-support > i {
    font-size: 22px;
}


.nav-support > div {
    display: flex;
    flex-direction: column;
}


.nav-support small {
    color: var(--text-muted);

    font-size: 9px;
    line-height: 1.2;
}


.nav-support strong {
    font-size: 12px;
}


.nav-support a:hover {
    color: var(--primary-dark);
}


/* =========================================================
   12. MOBILE NAV
   ========================================================= */

.mobile-nav-header {
    display: none;
}


.mobile-nav-close {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 10px;

    background: var(--surface-soft);
    color: var(--text);

    font-size: 17px;
}


.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}


.mobile-nav-brand .site-logo-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;

    font-size: 18px;
}


.mobile-nav-brand strong {
    font-family: "Manrope", sans-serif;

    font-size: 17px;
    font-weight: 800;
}


/* =========================================================
   13. MOBILE OVERLAY
   ========================================================= */

.mobile-menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 200;

    background: rgba(8, 32, 29, 0.45);

    opacity: 0;
    visibility: hidden;

    transition: 0.25s ease;
}


.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   14. BUTTONS
   ========================================================= */

.btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: var(--radius-md);

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}


.btn-primary {
    background: var(--primary);
    color: var(--white);
}


.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(20, 125, 114, 0.18);
}


.btn-secondary {
    background: var(--white);
    color: var(--primary);

    border-color: rgba(20, 125, 114, 0.22);
}


.btn-secondary:hover {
    background: var(--primary-light);

    border-color: var(--primary);
}


.btn-outline {
    background: transparent;

    color: var(--text);

    border-color: var(--border);
}


.btn-outline:hover {
    color: var(--primary);

    border-color: var(--primary);
}


.btn-danger {
    background: var(--danger);
    color: var(--white);
}


.btn-sm {
    min-height: 38px;

    padding: 0 15px;

    border-radius: 9px;

    font-size: 12px;
}


.btn-lg {
    min-height: 50px;

    padding: 0 25px;

    font-size: 14px;
}


/* =========================================================
   15. FORMS
   ========================================================= */

.form-group {
    margin-bottom: 18px;
}


.form-label {
    display: block;

    margin-bottom: 7px;

    color: var(--text);

    font-size: 12px;
    font-weight: 700;
}


.form-control,
.form-select,
.form-input {
    width: 100%;
    min-height: 46px;

    padding: 0 14px;

    border: 1px solid var(--border);
    border-radius: 10px;

    outline: none;

    background: var(--white);
    color: var(--text);

    font-size: 13px;

    transition: var(--transition);
}


textarea.form-control,
textarea.form-input {
    min-height: 110px;

    padding-top: 12px;
    padding-bottom: 12px;

    resize: vertical;
}


.form-control:focus,
.form-select:focus,
.form-input:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(20, 125, 114, 0.08);
}


.form-control::placeholder,
.form-input::placeholder {
    color: #9aa7a6;
}


.form-error {
    margin-top: 5px;

    color: var(--danger);

    font-size: 11px;
}


.required {
    color: var(--danger);
}


/* =========================================================
   16. PAGE HERO
   ========================================================= */

.page-hero {
    padding: 55px 0;

    background:
        linear-gradient(
            135deg,
            #eaf7f4 0%,
            #f6fbfa 55%,
            #edf5ff 100%
        );

    border-bottom: 1px solid var(--border);
}


.page-hero-content {
    max-width: 760px;
}


.page-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 15px;

    color: var(--text-muted);

    font-size: 11px;
    font-weight: 600;
}


.page-breadcrumb a:hover {
    color: var(--primary);
}


.page-breadcrumb i {
    font-size: 9px;
}


.page-hero h1 {
    margin-bottom: 10px;

    font-size: clamp(30px, 4vw, 45px);
    font-weight: 800;
}


.page-hero p {
    max-width: 650px;

    margin-bottom: 0;

    color: var(--text-secondary);

    font-size: 15px;
}


/* =========================================================
   17. SECTION COMMON
   ========================================================= */

.section {
    padding: 75px 0;
}


.section-sm {
    padding: 45px 0;
}


.section-header {
    margin-bottom: 32px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}


.section-heading {
    max-width: 700px;
}


.section-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 9px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.6px;
    text-transform: uppercase;
}


.section-eyebrow::before {
    content: "";

    width: 22px;
    height: 2px;

    border-radius: 3px;

    background: var(--primary);
}


.section-title {
    margin-bottom: 8px;

    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
}


.section-description {
    margin-bottom: 0;

    color: var(--text-secondary);

    font-size: 13px;
}


.section-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;
}


.section-link:hover {
    color: var(--primary-dark);
}


/* =========================================================
   18. CARDS
   ========================================================= */

.card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-xs);
}


.card-hover {
    transition: var(--transition);
}


.card-hover:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);

    border-color: rgba(20, 125, 114, 0.15);
}


/* =========================================================
   19. PRODUCT GRID
   ========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.product-card {
    position: relative;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    transition: var(--transition);
}


.product-card:hover {
    transform: translateY(-4px);

    border-color: rgba(20, 125, 114, 0.18);

    box-shadow: var(--shadow-md);
}


.product-image {
    position: relative;

    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: #f7faf9;
}


.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.35s ease;
}


.product-card:hover .product-image img {
    transform: scale(1.04);
}


.product-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 2;

    padding: 5px 9px;

    border-radius: 7px;

    background: var(--primary);
    color: var(--white);

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}


.product-badge.sale {
    background: #e56b3f;
}


.product-badge.prescription {
    background: #2563eb;
}


.product-content {
    padding: 18px;

    display: flex;
    flex-direction: column;

    flex: 1;
}


.product-category {
    margin-bottom: 6px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.4px;
}


.product-name {
    display: -webkit-box;

    margin-bottom: 9px;

    overflow: hidden;

    color: var(--text);

    font-family: "Manrope", sans-serif;

   font-size: 22px !important;
    font-weight: 700;

    line-height: 1.4;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.product-name:hover {
    color: var(--primary);
}


.product-meta {
    margin-bottom: 12px;

    color: var(--text-muted);

    font-size: 11px;
}


.product-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: auto;
}


.product-price {
    color: var(--text);

    font-family: "Manrope", sans-serif;

    font-size: 17px;
    font-weight: 800;
}


.product-old-price {
    color: var(--text-muted);

    font-size: 11px;

    text-decoration: line-through;
}


.product-discount {
    padding: 3px 6px;

    border-radius: 5px;

    background: var(--success-light);
    color: var(--success);

    font-size: 9px;
    font-weight: 800;
}


.product-stock {
    margin-top: 8px;

    font-size: 10px;
    font-weight: 700;
}


.product-stock.in-stock {
    color: var(--success);
}


.product-stock.low-stock {
    color: var(--warning);
}


.product-stock.out-of-stock {
    color: var(--danger);
}


.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
    justify-content: space-between;
}


.product-add-btn {
    flex: 1;

    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    border: 0;
    border-radius: 9px;

    background: var(--primary);
    color: var(--white);

    font-size: 11px;
    font-weight: 800;

    transition: var(--transition);
}


.product-add-btn:hover {
    background: var(--primary-dark);
}


.product-view-btn {
       width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--white);
    color: var(--text-secondary);

    transition: var(--transition);
}


.product-view-btn:hover {
    color: var(--primary);

    border-color: var(--primary);

    background: var(--primary-light);
}


/* =========================================================
   20. CATEGORY GRID
   ========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


.category-card {
    position: relative;

    min-height: 150px;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--white);

    transition: var(--transition);
}


.category-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);

    border-color: rgba(20, 125, 114, 0.20);
}


.category-card-image {
    position: absolute;

    inset: 0;

    opacity: 0.10;
}


.category-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.category-card-content {
    position: relative;
    z-index: 2;
}


.category-card-content h3 {
    margin-bottom: 4px;

    font-size: 15px;
    font-weight: 800;
}


.category-card-content span {
    color: var(--text-muted);

    font-size: 10px;
}


/* =========================================================
   21. ALERTS
   ========================================================= */

.alert {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 13px 15px;

    margin-bottom: 20px;

    border-radius: 10px;

    font-size: 12px;
}


.alert-success {
    background: var(--success-light);
    color: var(--success);

    border: 1px solid rgba(22, 128, 60, 0.12);
}


.alert-error {
    background: var(--danger-light);
    color: var(--danger);

    border: 1px solid rgba(192, 57, 43, 0.12);
}


.alert-warning {
    background: var(--warning-light);
    color: var(--warning);

    border: 1px solid rgba(183, 121, 31, 0.12);
}


.alert-info {
    background: var(--blue-light);
    color: var(--blue);

    border: 1px solid rgba(37, 99, 235, 0.12);
}


/* =========================================================
   22. BADGES
   ========================================================= */

.badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 800;
}


.badge-success {
    background: var(--success-light);
    color: var(--success);
}


.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}


.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
}


.badge-info {
    background: var(--blue-light);
    color: var(--blue);
}


.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}


/* =========================================================
   23. EMPTY STATE
   ========================================================= */

.empty-state {
    padding: 60px 20px;

    text-align: center;

    background: var(--white);

    border: 1px dashed var(--border);

    border-radius: var(--radius-lg);
}


.empty-state-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: var(--primary-light);
    color: var(--primary);

    font-size: 27px;
}


.empty-state h3 {
    margin-bottom: 6px;

    font-size: 18px;
}


.empty-state p {
    max-width: 450px;

    margin: 0 auto 20px;

    color: var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   24. FOOTER TRUST
   ========================================================= */

.footer-trust-section {
    background: var(--white);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.footer-trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}


.footer-trust-item {
    min-height: 105px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 18px 22px;

    border-right: 1px solid var(--border);
}


.footer-trust-item:first-child {
    padding-left: 0;
}


.footer-trust-item:last-child {
    border-right: 0;
}


.footer-trust-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--primary-light);
    color: var(--primary);

    font-size: 18px;
}


.footer-trust-item strong {
    display: block;

    margin-bottom: 3px;

    font-size: 12px;
}


.footer-trust-item span {
    display: block;

    color: var(--text-muted);

    font-size: 10px;
}


/* =========================================================
   25. MAIN FOOTER
   ========================================================= */

.site-footer {
    background: #102f2d;

    color: rgba(255, 255, 255, 0.75);
}


.footer-main {
    display: grid;

    grid-template-columns:
        1.7fr
        0.9fr
        0.9fr
        0.9fr
        1.3fr;

    gap: 45px;

    padding: 65px 0 50px;
}


.footer-brand {
    max-width: 330px;
}


.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: var(--white);
}


.footer-logo-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--primary);

    color: var(--white);

    font-size: 19px;
}


.footer-logo > span:last-child {
    display: flex;
    flex-direction: column;
}


.footer-logo strong {
    font-family: "Manrope", sans-serif;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.1;
}


.footer-logo small {
    margin-top: 4px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 8px;
    letter-spacing: 0.4px;
}


.footer-description {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 11px;
    line-height: 1.8;
}


/* =========================================================
   26. FOOTER COLUMNS
   ========================================================= */

.footer-column h3 {
    margin-bottom: 18px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 13px;
    font-weight: 800;
}


.footer-column ul {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.footer-column li a {
    color: rgba(255, 255, 255, 0.57);

    font-size: 11px;

    transition: var(--transition);
}


.footer-column li a:hover {
    padding-left: 3px;

    color: var(--white);
}


/* =========================================================
   27. FOOTER SOCIAL
   ========================================================= */

.footer-social {
    display: flex;
    align-items: center;

    gap: 8px;
}


.footer-social a {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 9px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;

    transition: var(--transition);
}


.footer-social a:hover {
    background: var(--primary);
    color: var(--white);

    border-color: var(--primary);

    transform: translateY(-2px);
}


/* =========================================================
   28. FOOTER CONTACT
   ========================================================= */

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 14px;
}


.footer-contact-item > span {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.06);

    color: #7ed5ca;

    font-size: 13px;
}


.footer-contact-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 10px;
    line-height: 1.5;
}


.footer-contact-item p small {
    display: block;

    margin-bottom: 2px;

    color: rgba(255, 255, 255, 0.38);

    font-size: 9px;
}


.footer-contact-item a {
    color: rgba(255, 255, 255, 0.75);

    transition: var(--transition);
}


.footer-contact-item a:hover {
    color: var(--white);
}


/* =========================================================
   29. FOOTER WHATSAPP
   ========================================================= */

.footer-whatsapp-btn {
    min-height: 40px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 0 13px;

    margin-top: 5px;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 9px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 10px;
    font-weight: 700;

    transition: var(--transition);
}


.footer-whatsapp-btn i:first-child {
    color: #43d17c;

    font-size: 15px;
}


.footer-whatsapp-btn i:last-child {
    margin-left: 3px;

    font-size: 11px;
}


.footer-whatsapp-btn:hover {
    background: rgba(255, 255, 255, 0.06);

    border-color: rgba(255, 255, 255, 0.20);

    color: var(--white);
}


/* =========================================================
   30. FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    min-height: 70px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.footer-copyright {
    color: rgba(255, 255, 255, 0.40);

    font-size: 9px;
}


.footer-bottom-links {
    display: flex;
    align-items: center;

    gap: 17px;
}


.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.45);

    font-size: 9px;

    transition: var(--transition);
}


.footer-bottom-links a:hover {
    color: var(--white);
}


.footer-payment {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 9px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 9px;
}


.footer-payment i {
    font-size: 14px;
}


/* =========================================================
   31. FLOATING WHATSAPP
   ========================================================= */

.floating-whatsapp {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 150;

    min-height: 47px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 0 16px;

    border-radius: 25px;

    background: #20b968;
    color: var(--white);

    box-shadow: 0 10px 30px rgba(32, 185, 104, 0.25);

    font-size: 11px;
    font-weight: 800;

    transition: var(--transition);
}


.floating-whatsapp i {
    font-size: 19px;
}


.floating-whatsapp:hover {
    background: #159953;

    transform: translateY(-3px);

    box-shadow: 0 15px 35px rgba(32, 185, 104, 0.30);
}


/* =========================================================
   32. BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 80px;

    z-index: 140;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: var(--white);
    color: var(--text);

    box-shadow: var(--shadow-sm);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: var(--transition);
}


.back-to-top.visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


.back-to-top:hover {
    color: var(--primary);

    border-color: var(--primary);

    transform: translateY(-2px);
}


/* =========================================================
   33. PAGINATION
   ========================================================= */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    margin-top: 35px;
}


.pagination a,
.pagination span {
    min-width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 9px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--white);

    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 700;
}


.pagination a {
    transition: var(--transition);
}


.pagination a:hover,
.pagination .active {
    border-color: var(--primary);

    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   34. PRODUCT DETAILS
   ========================================================= */

.product-detail {
    padding: 60px 0;
}


.product-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 55px;

    align-items: start;
}


.product-gallery {
    position: sticky;
    top: 25px;
}


.product-main-image {
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-xl);
}


.product-main-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.product-detail-info .product-category {
    margin-bottom: 9px;
}


.product-detail-title {
    margin-bottom: 12px;

    font-size: clamp(27px, 3vw, 39px);
    font-weight: 800;
}


.product-detail-description {
    margin-bottom: 22px;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.8;
}


.product-detail-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 22px;
}


.product-detail-price .product-price {
    font-size: 27px;
}


.product-detail-meta {
    margin-bottom: 25px;

    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--surface-soft);
}


.product-detail-meta-row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 9px 0;

    border-bottom: 1px solid var(--border);
}


.product-detail-meta-row:last-child {
    border-bottom: 0;
}


.product-detail-meta-row span:first-child {
    color: var(--text-muted);

    font-size: 11px;
}


.product-detail-meta-row span:last-child {
    color: var(--text);

    font-size: 11px;
    font-weight: 700;

    text-align: right;
}


.quantity-control {
    display: inline-flex;
    align-items: center;

    height: 44px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--white);
}


.quantity-control button {
    width: 40px;
    height: 100%;

    border: 0;

    background: transparent;
    color: var(--text-secondary);
}


.quantity-control input {
    width: 45px;
    height: 100%;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    text-align: center;

    font-size: 12px;
    font-weight: 700;
}


.product-detail-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 20px;
}


/* =========================================================
   35. CART
   ========================================================= */

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        350px;

    gap: 25px;

    align-items: start;
}


.cart-items {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}


.cart-item {
    display: grid;

    grid-template-columns:
        90px
        minmax(0, 1fr)
        auto;

    gap: 18px;

    align-items: center;

    padding: 18px;

    border-bottom: 1px solid var(--border);
}


.cart-item:last-child {
    border-bottom: 0;
}


.cart-item-image {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px;

    border-radius: 10px;

    background: var(--surface-soft);
}


.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.cart-item-name {
    margin-bottom: 5px;

    font-size: 13px;
    font-weight: 800;
}


.cart-item-name:hover {
    color: var(--primary);
}


.cart-item-price {
    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}


.cart-item-total {
    font-size: 14px;
    font-weight: 800;
}


.cart-summary {
    position: sticky;
    top: 25px;

    padding: 22px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}


.cart-summary h3 {
    margin-bottom: 18px;

    font-size: 17px;
}


.summary-row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 9px 0;

    color: var(--text-secondary);

    font-size: 12px;
}


.summary-row.total {
    margin-top: 8px;
    padding-top: 16px;

    border-top: 1px solid var(--border);

    color: var(--text);

    font-size: 16px;
    font-weight: 800;
}


.summary-note {
    margin-top: 15px;

    padding: 10px;

    border-radius: 9px;

    background: var(--primary-soft);

    color: var(--text-secondary);

    font-size: 10px;
}


/* =========================================================
   36. CHECKOUT
   ========================================================= */

.checkout-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        370px;

    gap: 25px;

    align-items: start;
}


.checkout-card {
    margin-bottom: 20px;

    padding: 25px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);
}


.checkout-card:last-child {
    margin-bottom: 0;
}


.checkout-card-title {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 20px;
}


.checkout-card-title-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--primary-light);
    color: var(--primary);

    font-size: 15px;
}


.checkout-card-title h2 {
    margin: 0;

    font-size: 16px;
    font-weight: 800;
}


.address-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


.address-card {
    position: relative;

    padding: 15px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--white);

    transition: var(--transition);
}


.address-card:hover,
.address-card.selected {
    border-color: var(--primary);

    background: var(--primary-soft);
}


.address-card input {
    position: absolute;

    opacity: 0;
}


.address-card label {
    display: block;

    cursor: pointer;
}


.address-card-title {
    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 800;
}


.address-card p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 10px;
    line-height: 1.7;
}


.payment-options {
    display: grid;

    gap: 10px;
}


.payment-option {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 13px;

    border: 1px solid var(--border);
    border-radius: 10px;

    cursor: pointer;

    transition: var(--transition);
}


.payment-option:hover,
.payment-option.selected {
    border-color: var(--primary);

    background: var(--primary-soft);
}


.payment-option input {
    accent-color: var(--primary);
}


.payment-option strong {
    font-size: 12px;
}


.payment-option span {
    display: block;

    color: var(--text-muted);

    font-size: 9px;
}


/* =========================================================
   37. ACCOUNT
   ========================================================= */

.account-layout {
    display: grid;

    grid-template-columns: 240px minmax(0, 1fr);

    gap: 25px;

    align-items: start;
}


.account-sidebar {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}


.account-user {
    padding: 22px;

    background: var(--primary-soft);

    border-bottom: 1px solid var(--border);
}


.account-avatar {
    width: 50px;
    height: 50px;

    margin-bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--primary);
    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 17px;
    font-weight: 800;
}


.account-user strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
}


.account-user span {
    color: var(--text-muted);

    font-size: 10px;
}


.account-menu {
    padding: 8px;
}


.account-menu a {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 11px;

    border-radius: 9px;

    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 700;

    transition: var(--transition);
}


.account-menu a:hover,
.account-menu a.active {
    background: var(--primary-light);

    color: var(--primary);
}


.account-menu a i {
    width: 18px;

    text-align: center;

    font-size: 14px;
}


/* =========================================================
   38. LOGIN / REGISTER
   ========================================================= */

.auth-section {
    min-height: calc(100vh - 200px);

    display: flex;
    align-items: center;

    padding: 65px 0;
}


.auth-wrapper {
    width: min(
        100%,
        470px
    );

    margin: 0 auto;
}


.auth-card {
    padding: 35px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-sm);
}


.auth-brand {
    margin-bottom: 25px;

    text-align: center;
}


.auth-brand .site-logo-icon {
    margin: 0 auto 13px;
}


.auth-title {
    margin-bottom: 7px;

    font-size: 25px;
    font-weight: 800;
}


.auth-subtitle {
    margin-bottom: 0;

    color: var(--text-muted);

    font-size: 11px;
}


.auth-footer {
    margin-top: 20px;

    padding-top: 18px;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 11px;

    text-align: center;
}


.auth-footer a {
    color: var(--primary);
    font-weight: 800;
}


/* =========================================================
   39. ORDER TABLE
   ========================================================= */

.responsive-table {
    width: 100%;

    overflow-x: auto;
}


.data-table {
    width: 100%;

    border-collapse: collapse;
}


.data-table th {
    padding: 13px 15px;

    background: var(--surface-soft);

    color: var(--text-muted);

    font-size: 10px;
    font-weight: 800;

    text-align: left;

    white-space: nowrap;
}


.data-table td {
    padding: 15px;

    border-bottom: 1px solid var(--border);

    color: var(--text-secondary);

    font-size: 11px;
}


.data-table tr:last-child td {
    border-bottom: 0;
}


.data-table tr:hover td {
    background: #fbfdfc;
}


.order-number {
    color: var(--primary);

    font-weight: 800;
}


/* =========================================================
   40. RESPONSIVE
========================================================= */


/* ---------------------------------------------------------
   Large Desktop
--------------------------------------------------------- */

@media (max-width: 1200px) {

    .header-main-inner {
        gap: 18px;
    }


    .site-logo {
        min-width: 185px;
    }


    .nav-links a {
        padding-inline: 11px;
    }


    .footer-main {
        grid-template-columns:
            1.5fr
            1fr
            1fr
            1fr;

        gap: 35px;
    }


    .footer-contact-column {
        grid-column: span 2;
    }

}


/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */

@media (max-width: 992px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container-width)
        );
    }


    .header-topbar-left span:last-child,
    .header-topbar-left .header-topbar-divider:last-of-type {
        display: none;
    }


    .header-main-inner {
        min-height: 72px;

        gap: 12px;
    }


    .site-logo {
        min-width: auto;
    }


    .site-logo-content small {
        display: none;
    }


    .header-search {
        max-width: none;
    }


    .header-action-content {
        display: none;
    }


    .header-actions {
        gap: 8px;
    }


    .header-cart-text {
        display: none;
    }


    .nav-links a {
        padding-inline: 8px;

        font-size: 10px;
    }


    .nav-links a i {
        display: none;
    }


    .nav-support {
        display: none;
    }


    .product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .category-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .footer-trust-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .footer-trust-item:nth-child(2) {
        border-right: 0;
    }


    .footer-trust-item:nth-child(3),
    .footer-trust-item:nth-child(4) {
        border-top: 1px solid var(--border);
    }


    .footer-main {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .footer-brand {
        grid-column: span 3;

        max-width: 600px;
    }


    .footer-contact-column {
        grid-column: span 1;
    }


    .cart-layout,
    .checkout-layout {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .cart-summary {
        position: static;
    }


    .product-detail-grid {
        gap: 35px;
    }


    .product-main-image {
        height: 400px;
    }


    .account-layout {
        grid-template-columns:
            200px minmax(0, 1fr);
    }

}


/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 28px);
    }


    .header-topbar {
        display: none;
    }


    .header-main-inner {
        min-height: 68px;
    }


    .mobile-menu-btn {
        display: inline-flex;

        flex: 0 0 40px;
    }


    .site-logo {
        flex: 1;

        min-width: 0;
    }


    .site-logo-content strong {
        font-size: 17px;
    }


    .site-logo-icon {
        width: 39px;
        height: 39px;

        flex-basis: 39px;

        border-radius: 11px;

        font-size: 18px;
    }


    .header-search {
        position: absolute;

        top: calc(100% + 10px);
        left: 14px;
        right: 14px;

        width: auto;

        max-width: none;

        z-index: 50;

        box-shadow: var(--shadow-sm);
    }


    .header-actions {
        margin-left: 0;
    }


    .header-action {
        display: none;
    }


    .header-cart-icon {
        width: 39px;
        height: 39px;
    }


    .navigation-wrapper {
        position: fixed;

        top: 0;
        left: 0;
        bottom: 0;

        width: min(
            320px,
            86vw
        );

        z-index: 250;

        overflow-y: auto;

        transform: translateX(-100%);

        transition: transform 0.3s ease;

        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.12);
    }


    .navigation-wrapper.active {
        transform: translateX(0);
    }


    .main-navigation {
        min-height: 100%;

        display: block;

        padding: 0;
    }


    .mobile-nav-header {
        min-height: 72px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0 18px;

        border-bottom: 1px solid var(--border);
    }


    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 2px;

        padding: 14px;
    }


    .nav-links a {
        min-height: 46px;

        padding: 0 13px;

        border-radius: 9px;

        font-size: 12px;
    }


    .nav-links a i {
        display: inline-block;

        width: 20px;

        color: var(--text-muted);

        font-size: 15px;

        text-align: center;
    }


    .nav-links a.active::after {
        display: none;
    }


    .nav-links a.active {
        background: var(--primary-light);
    }


    .nav-support {
        display: flex;

        margin: 5px 14px 20px;

        padding: 15px;

        border-radius: 11px;

        background: var(--primary-soft);
    }


    .section {
        padding: 55px 0;
    }


    .section-header {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 24px;
    }


    .section-link {
        align-self: flex-start;
    }


    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 13px;
    }


    .product-image {
        height: 170px;

        padding: 15px;
    }


    .product-content {
        padding: 13px;
    }


    .product-name {
        font-size: 12px;
    }


    .product-price {
        font-size: 15px;
    }


    .product-actions {
        margin-top: 10px;
    }


    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    .category-card {
        min-height: 125px;

        padding: 15px;
    }


    .page-hero {
        padding: 42px 0;
    }


    .page-hero h1 {
        font-size: 30px;
    }


    .product-detail {
        padding: 40px 0;
    }


    .product-detail-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 30px;
    }


    .product-gallery {
        position: static;
    }


    .product-main-image {
        height: 330px;
    }


    .cart-item {
        grid-template-columns:
            70px
            minmax(0, 1fr);

        gap: 13px;
    }


    .cart-item-image {
        width: 70px;
        height: 70px;
    }


    .cart-item-total {
        grid-column: 2;

        margin-top: -5px;
    }


    .address-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .account-layout {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .account-sidebar {
        position: static;
    }


    .account-user {
        display: flex;
        align-items: center;

        gap: 12px;
    }


    .account-avatar {
        margin-bottom: 0;
    }


    .footer-trust-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .footer-trust-item,
    .footer-trust-item:first-child {
        padding: 17px 0;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }


    .footer-trust-item:last-child {
        border-bottom: 0;
    }


    .footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 35px 25px;

        padding: 50px 0 35px;
    }


    .footer-brand {
        grid-column: span 2;
    }


    .footer-contact-column {
        grid-column: span 2;
    }


    .footer-bottom {
        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

        padding: 22px 0;
    }


    .footer-bottom-links {
        flex-wrap: wrap;

        gap: 10px 15px;
    }


    .footer-payment {
        justify-content: flex-start;
    }


    .floating-whatsapp {
        right: 14px;
        bottom: 14px;

        width: 47px;
        height: 47px;

        min-height: 47px;

        justify-content: center;

        padding: 0;

        border-radius: 50%;
    }


    .floating-whatsapp span {
        display: none;
    }


    .back-to-top {
        right: 14px;
        bottom: 70px;
    }

}


/* ---------------------------------------------------------
   Small Mobile
--------------------------------------------------------- */

@media (max-width: 480px) {

    html {
        font-size: 15px;
    }


    .container {
        width: calc(100% - 22px);
    }


    .site-logo-content strong {
        font-size: 16px;
    }


    .site-logo-icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        font-size: 16px;
    }


    .header-main-inner {
        gap: 7px;
    }


    .mobile-menu-btn {
        width: 36px;
        height: 36px;
    }


    .header-cart-icon {
        width: 36px;
        height: 36px;
    }


    .header-search button {
        padding: 0 13px;
    }


    .section {
        padding: 45px 0;
    }


    .section-title {
        font-size: 24px;
    }


    .product-grid {
        gap: 9px;
    }


    .product-image {
        height: 145px;

        padding: 10px;
    }


    .product-content {
        padding: 11px;
    }


    .product-category {
        font-size: 8px;
    }


    .product-name {
        font-size: 11px;
    }


    .product-price {
        font-size: 14px;
    }


    .product-old-price {
        font-size: 9px;
    }


    .product-discount {
        font-size: 8px;
    }


    .product-add-btn {
        min-height: 35px;

        font-size: 9px;
    }


    .product-view-btn {
        width: 35px;
        min-height: 35px;
    }


    .category-card {
        min-height: 110px;

        padding: 12px;
    }


    .category-card-content h3 {
        font-size: 12px;
    }


    .category-card-content span {
        font-size: 9px;
    }


    .auth-card {
        padding: 25px 18px;
    }


    .checkout-card {
        padding: 18px;
    }


    .cart-item {
        padding: 14px;
    }


    .cart-summary {
        padding: 18px;
    }


    .footer-main {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .footer-brand,
    .footer-contact-column {
        grid-column: span 1;
    }

}


/* =========================================================
   HOMEPAGE
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.home-hero {
    position: relative;

    overflow: hidden;

    padding: 75px 0 80px;

    background:
        linear-gradient(
            135deg,
            #e9f7f4 0%,
            #f7fbfa 50%,
            #edf4ff 100%
        );
}


.home-hero::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    top: -180px;
    right: -100px;

    border-radius: 50%;

    background: rgba(20, 125, 114, 0.07);
}


.home-hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    bottom: -170px;
    left: -80px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.05);
}


.home-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    gap: 60px;

    align-items: center;
}


.home-hero-content {
    max-width: 650px;
}


.home-hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 18px;

    padding: 7px 11px;

    border: 1px solid rgba(20, 125, 114, 0.12);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.70);

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.home-hero-badge i {
    font-size: 13px;
}


.home-hero h1 {
    max-width: 650px;

    margin-bottom: 17px;

    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;

    letter-spacing: -2.2px;
}


.home-hero h1 span {
    color: var(--primary);
}


.home-hero-content > p {
    max-width: 550px;

    margin-bottom: 26px;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.8;
}


.home-hero-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-wrap: wrap;
}


.home-hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 27px;
}


.home-hero-trust div {
    display: flex;
    align-items: center;

    gap: 6px;

    color: var(--text-secondary);

    font-size: 10px;
    font-weight: 700;
}


.home-hero-trust i {
    color: var(--primary);

    font-size: 13px;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.home-hero-visual {
    position: relative;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-main-card {
    position: relative;

    width: min(
        100%,
        410px
    );

    height: 360px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 35px;

    background:
        linear-gradient(
            145deg,
            #147d72,
            #0d5e57
        );

    box-shadow:
        0 30px 70px
        rgba(14, 95, 87, 0.22);

    transform: rotate(2deg);
}


.hero-main-card-glow {
    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    filter: blur(2px);
}


.hero-medical-symbol {
    position: relative;
    z-index: 2;

    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 32px;

    background: rgba(255, 255, 255, 0.13);

    color: var(--white);

    font-size: 54px;

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.08);
}


.hero-card-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    margin-top: 25px;

    color: var(--white);

    text-align: center;
}


.hero-card-content span {
    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 10px;
    font-weight: 600;
}


.hero-card-content strong {
    font-family: "Manrope", sans-serif;

    font-size: 20px;
    font-weight: 800;
}


.hero-product-icons {
    position: relative;
    z-index: 2;

    display: flex;

    gap: 9px;

    margin-top: 25px;
}


.hero-product-icons span {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.11);

    color: rgba(255, 255, 255, 0.82);

    font-size: 15px;
}


.hero-floating-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 11px 14px;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow: var(--shadow-md);

    backdrop-filter: blur(10px);
}


.hero-floating-card-one {
    left: 0;
    bottom: 55px;
}


.hero-floating-card-two {
    right: -5px;
    top: 50px;
}


.hero-floating-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 15px;
}


.hero-floating-card > span:last-child {
    display: flex;
    flex-direction: column;
}


.hero-floating-card small {
    color: var(--text-muted);

    font-size: 8px;
}


.hero-floating-card strong {
    color: var(--text);

    font-size: 10px;
}


/* =========================================================
   BENEFITS
   ========================================================= */

.home-benefits {
    position: relative;
    z-index: 5;

    margin-top: -1px;

    background: var(--white);

    border-bottom: 1px solid var(--border);
}


.home-benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}


.home-benefit {
    min-height: 100px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 18px 20px;

    border-right: 1px solid var(--border);
}


.home-benefit:first-child {
    padding-left: 0;
}


.home-benefit:last-child {
    border-right: 0;
}


.home-benefit-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 18px;
}


.home-benefit strong {
    display: block;

    margin-bottom: 3px;

    font-size: 11px;
}


.home-benefit span {
    color: var(--text-muted);

    font-size: 9px;
}


/* =========================================================
   CATEGORY ARROW
   ========================================================= */

.category-arrow {
    position: absolute;

    right: 15px;
    top: 15px;

    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(20, 125, 114, 0.08);

    color: var(--primary);

    font-size: 12px;

    opacity: 0;

    transform: translate(
        4px,
        4px
    );

    transition: var(--transition);
}


.category-card:hover .category-arrow {
    opacity: 1;

    transform: translate(
        0,
        0
    );
}


/* =========================================================
   PRESCRIPTION BANNER
   ========================================================= */

.home-prescription-section {
    padding: 10px 0 0;
}


.prescription-banner {
    position: relative;

    overflow: hidden;

    display: flex;
    align-items: center;

    gap: 20px;

    padding: 27px 30px;

    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            110deg,
            #123f3b,
            #147d72
        );

    color: var(--white);

    box-shadow: var(--shadow-md);
}


.prescription-banner::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -80px;
    top: -110px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);
}


.prescription-banner-icon {
    position: relative;
    z-index: 2;

    width: 55px;
    height: 55px;

    flex: 0 0 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.11);

    color: var(--white);

    font-size: 24px;
}


.prescription-banner-content {
    position: relative;
    z-index: 2;

    flex: 1;
}


.prescription-banner-content > span {
    display: block;

    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.prescription-banner-content h2 {
    margin-bottom: 4px;

    color: var(--white);

    font-size: 20px;
}


.prescription-banner-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.67);

    font-size: 10px;
}


.prescription-banner .btn {
    position: relative;
    z-index: 2;

    flex: 0 0 auto;

    border: 0;

    background: var(--white);
    color: var(--primary);
}


.prescription-banner .btn:hover {
    background: #f3f8f7;
}


/* =========================================================
   WHY MEDISTORE
   ========================================================= */

.home-why-section {
    padding: 75px 0;

    background: var(--white);

    border-top: 1px solid var(--border);
}


.home-why-grid {
    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 75px;

    align-items: center;
}


.home-why-content {
    max-width: 500px;
}


.home-why-content .section-title {
    margin-bottom: 15px;
}


.home-why-content > p {
    margin-bottom: 23px;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.8;
}


.home-why-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


.home-why-feature {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    padding: 18px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: var(--surface-soft);

    transition: var(--transition);
}


.home-why-feature:hover {
    background: var(--white);

    border-color: rgba(20, 125, 114, 0.16);

    box-shadow: var(--shadow-sm);

    transform: translateY(-2px);
}


.home-why-feature > span {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 13px;
}


.home-why-feature strong {
    display: block;

    margin-bottom: 4px;

    font-size: 11px;
}


.home-why-feature p {
    margin: 0;

    color: var(--text-muted);

    font-size: 9px;

    line-height: 1.6;
}


/* =========================================================
   HOMEPAGE RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {

    .home-hero {
        padding: 60px 0;
    }


    .home-hero-grid {
        gap: 35px;
    }


    .home-hero h1 {
        font-size: 45px;
    }


    .home-hero-visual {
        min-height: 350px;
    }


    .hero-main-card {
        height: 310px;
    }


    .hero-floating-card-one {
        left: -10px;
    }


    .hero-floating-card-two {
        right: -10px;
    }


    .home-benefit {
        padding-inline: 12px;
    }


    .home-why-grid {
        gap: 40px;
    }

}


@media (max-width: 768px) {

    .home-hero {
        padding: 45px 0 50px;
    }


    .home-hero-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 40px;
    }


    .home-hero-content {
        max-width: none;

        text-align: center;
    }


    .home-hero-badge {
        margin-bottom: 14px;
    }


    .home-hero h1 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }


    .home-hero-content > p {
        margin-inline: auto;

        font-size: 13px;
    }


    .home-hero-actions {
        justify-content: center;
    }


    .home-hero-trust {
        justify-content: center;

        gap: 10px 15px;
    }


    .home-hero-visual {
        min-height: 330px;
    }


    .hero-main-card {
        width: 330px;

        height: 300px;
    }


    .hero-floating-card-one {
        left: 0;
        bottom: 20px;
    }


    .hero-floating-card-two {
        right: 0;
        top: 15px;
    }


    .home-benefits-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .home-benefit {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }


    .home-benefit:nth-child(odd) {
        border-right: 1px solid var(--border);
    }


    .home-benefit:nth-child(3),
    .home-benefit:nth-child(4) {
        border-bottom: 0;
    }


    .home-benefit:first-child {
        padding-left: 15px;
    }


    .prescription-banner {
        align-items: flex-start;

        flex-wrap: wrap;

        padding: 22px;
    }


    .prescription-banner-content {
        min-width: calc(
            100% - 80px
        );
    }


    .prescription-banner .btn {
        width: 100%;
    }


    .home-why-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 30px;
    }


    .home-why-content {
        max-width: none;
    }

}


@media (max-width: 480px) {

    .home-hero h1 {
        font-size: 34px;
    }


    .home-hero-actions {
        flex-direction: column;
    }


    .home-hero-actions .btn {
        width: 100%;
    }


    .home-hero-trust {
        flex-direction: column;
        align-items: center;
    }


    .home-hero-visual {
        min-height: 285px;
    }


    .hero-main-card {
        width: 285px;

        height: 265px;

        border-radius: 28px;
    }


    .hero-medical-symbol {
        width: 75px;
        height: 75px;

        border-radius: 23px;

        font-size: 38px;
    }


    .hero-card-content {
        margin-top: 16px;
    }


    .hero-card-content strong {
        font-size: 16px;
    }


    .hero-product-icons {
        margin-top: 16px;
    }


    .hero-floating-card {
        padding: 8px;

        gap: 7px;
    }


    .hero-floating-card-one {
        left: -3px;
    }


    .hero-floating-card-two {
        right: -3px;
    }


    .hero-floating-icon {
        width: 29px;
        height: 29px;
    }


    .hero-floating-card strong {
        font-size: 8px;
    }


    .home-benefits-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .home-benefit,
    .home-benefit:first-child {
        padding: 15px 0;

        border-right: 0 !important;
        border-bottom: 1px solid var(--border);
    }


    .home-benefit:last-child {
        border-bottom: 0;
    }


    .home-why-features {
        grid-template-columns:
            minmax(0, 1fr);
    }

}
/* =========================================================
   MEDISTORE - TYPOGRAPHY IMPROVEMENT
   Add this at the VERY END of style.css
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL
--------------------------------------------------------- */

html {
    font-size: 16px;
}

body {
    font-size: 16px;
    line-height: 1.65;
}

p {
    font-size: 15px;
    line-height: 1.7;
}

small {
    font-size: 13px;
}


/* ---------------------------------------------------------
   HEADER TOPBAR
--------------------------------------------------------- */

.header-topbar {
    font-size: 13px;
}

.header-topbar i {
    font-size: 14px;
}


/* ---------------------------------------------------------
   LOGO
--------------------------------------------------------- */

.site-logo-content strong {
    font-size: 21px;
}

.site-logo-content small {
    font-size: 11px;
}


/* ---------------------------------------------------------
   HEADER SEARCH
--------------------------------------------------------- */

.header-search input {
    font-size: 15px;
}

.header-search input::placeholder {
    font-size: 14px;
}

.header-search button {
    font-size: 13px;
}


/* ---------------------------------------------------------
   HEADER ACTIONS
--------------------------------------------------------- */

.header-action-content small {
    font-size: 12px;
}

.header-action-content strong {
    font-size: 14px;
}

.header-cart {
    font-size: 14px;
}


/* ---------------------------------------------------------
   NAVIGATION
--------------------------------------------------------- */

.nav-links a {
    font-size: 14px;
    font-weight: 700;
}

.nav-links a i {
    font-size: 15px;
}

.nav-support small {
    font-size: 11px;
}

.nav-support strong {
    font-size: 14px;
}


/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */

.btn {
    font-size: 14px;
}

.btn-sm {
    font-size: 13px;
}

.btn-lg {
    font-size: 15px;
}


/* ---------------------------------------------------------
   FORMS
--------------------------------------------------------- */

.form-label {
    font-size: 14px;
}

.form-control,
.form-select,
.form-input {
    font-size: 15px;
}

.form-control::placeholder,
.form-input::placeholder {
    font-size: 14px;
}

.form-error {
    font-size: 13px;
}


/* ---------------------------------------------------------
   PAGE HERO
--------------------------------------------------------- */

.page-breadcrumb {
    font-size: 13px;
}

.page-breadcrumb i {
    font-size: 11px;
}

.page-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
}

.page-hero p {
    font-size: 16px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   SECTION HEADINGS
--------------------------------------------------------- */

.section-eyebrow {
    font-size: 13px;
}

.section-title {
    font-size: clamp(27px, 3vw, 36px);
}

.section-description {
    font-size: 15px;
    line-height: 1.7;
}

.section-link {
    font-size: 14px;
}


/* ---------------------------------------------------------
   PRODUCT CARDS
--------------------------------------------------------- */

.product-category {
    font-size: 12px;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 16px;
    line-height: 1.45;
}

.product-meta {
    font-size: 13px;
    line-height: 1.5;
}

.product-price {
    font-size: 19px;
}

.product-old-price {
    font-size: 13px;
}

.product-discount {
    font-size: 11px;
}

.product-stock {
    font-size: 12px;
}

.product-add-btn {
    font-size: 13px;
}

.product-view-btn {
    font-size: 15px;
}

.product-badge {
    font-size: 11px;
}


/* ---------------------------------------------------------
   CATEGORY CARDS
--------------------------------------------------------- */

.category-card-content h3 {
    font-size: 17px;
}

.category-card-content span {
    font-size: 12px;
}


/* ---------------------------------------------------------
   ALERTS
--------------------------------------------------------- */

.alert {
    font-size: 14px;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   BADGES
--------------------------------------------------------- */

.badge {
    font-size: 12px;
}


/* ---------------------------------------------------------
   EMPTY STATE
--------------------------------------------------------- */

.empty-state h3 {
    font-size: 20px;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   PRODUCT DETAILS
--------------------------------------------------------- */

.product-detail-title {
    font-size: clamp(30px, 3vw, 42px);
}

.product-detail-description {
    font-size: 15px;
    line-height: 1.8;
}

.product-detail-price .product-price {
    font-size: 30px;
}

.product-detail-meta-row span:first-child {
    font-size: 13px;
}

.product-detail-meta-row span:last-child {
    font-size: 13px;
}

.quantity-control input {
    font-size: 14px;
}


/* ---------------------------------------------------------
   CART
--------------------------------------------------------- */

.cart-item-name {
    font-size: 15px;
}

.cart-item-price {
    font-size: 14px;
}

.cart-item-total {
    font-size: 16px;
}

.summary-row {
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
}

.summary-note {
    font-size: 13px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   CHECKOUT
--------------------------------------------------------- */

.checkout-card-title h2 {
    font-size: 18px;
}

.address-card-title {
    font-size: 14px;
}

.address-card p {
    font-size: 13px;
    line-height: 1.7;
}

.payment-option strong {
    font-size: 14px;
}

.payment-option span {
    font-size: 12px;
}


/* ---------------------------------------------------------
   ACCOUNT
--------------------------------------------------------- */

.account-sidebar a {
    font-size: 14px;
}

.account-user strong {
    font-size: 16px;
}

.account-user span {
    font-size: 13px;
}


/* ---------------------------------------------------------
   PAGINATION
--------------------------------------------------------- */

.pagination a,
.pagination span {
    font-size: 13px;
}


/* ---------------------------------------------------------
   FOOTER TRUST
--------------------------------------------------------- */

.footer-trust-item strong {
    font-size: 14px;
}

.footer-trust-item span {
    font-size: 12px;
}


/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.footer-logo strong {
    font-size: 20px;
}

.footer-logo small {
    font-size: 10px;
}

.footer-description {
    font-size: 13px;
    line-height: 1.8;
}

.footer-column h3 {
    font-size: 15px;
}

.footer-column li a {
    font-size: 13px;
}

.footer-contact-item p {
    font-size: 12px;
    line-height: 1.6;
}

.footer-contact-item p small {
    font-size: 11px;
}

.footer-whatsapp-btn {
    font-size: 13px;
}

.footer-copyright {
    font-size: 11px;
}

.footer-bottom-links a {
    font-size: 11px;
}

.footer-payment {
    font-size: 11px;
}


/* ---------------------------------------------------------
   FLOATING WHATSAPP
--------------------------------------------------------- */

.floating-whatsapp {
    font-size: 13px;
}

.floating-whatsapp i {
    font-size: 20px;
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    p {
        font-size: 14px;
    }

    .header-topbar {
        font-size: 12px;
    }

    .header-search input {
        font-size: 14px;
    }

    .header-search button {
        font-size: 12px;
    }

    .section {
        padding: 55px 0;
    }

    .section-title {
        font-size: 27px;
    }

    .section-description {
        font-size: 14px;
    }

    .page-hero {
        padding: 40px 0;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero p {
        font-size: 14px;
    }

    .product-name {
        font-size: 15px;
    }

    .product-meta {
        font-size: 12px;
    }

    .product-price {
        font-size: 18px;
    }

    .product-add-btn {
        font-size: 12px;
    }

    .category-card-content h3 {
        font-size: 16px;
    }

    .category-card-content span {
        font-size: 12px;
    }

    .footer-column li a {
        font-size: 13px;
    }

    .footer-description {
        font-size: 13px;
    }
}


/* ---------------------------------------------------------
   SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 480px) {

    body {
        font-size: 15px;
    }

    .container {
        width: min(calc(100% - 28px), var(--container-width));
    }

    .section {
        padding: 45px 0;
    }

    .section-title {
        font-size: 25px;
    }

    .section-description {
        font-size: 14px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-price {
        font-size: 17px;
    }

    .product-add-btn {
        font-size: 12px;
    }

    .btn {
        font-size: 13px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-control,
    .form-select,
    .form-input {
        font-size: 14px;
    }

    .footer-column li a {
        font-size: 13px;
    }

    .floating-whatsapp {
        font-size: 12px;
    }
}

.header-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-cart-count {
    position: absolute;
    top: -9px;
    right: -11px;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    border-radius: 999px;

    background: #e2e8f0;
    color: #64748b;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    line-height: 1;
    font-weight: 800;
}

.header-cart-count.has-items {
    background: #147d72;
    color: #ffffff;
}

/* =========================================================
   ADD TO CART SUCCESS MODAL
========================================================= */

.cart-success-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.cart-success-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cart-success-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
}

.cart-success-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 20px;
    padding: 38px 32px 30px;
    text-align: center;

    box-shadow:
        0 25px 70px rgba(15, 23, 42, 0.25);

    transform: translateY(20px) scale(0.96);

    transition:
        transform 0.3s ease;
}

.cart-success-modal.is-open
.cart-success-dialog {
    transform: translateY(0) scale(1);
}

/* Close */

.cart-success-close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 50%;

    background: #f1f5f9;
    color: #64748b;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.cart-success-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Success Icon */

.cart-success-icon {
    width: 68px;
    height: 68px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #e8f7f3;
    color: #147d72;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
}

.cart-success-dialog h3 {
    margin: 0 0 10px;

    color: #16202a;

    font-size: 23px;
    font-weight: 800;
}

.cart-success-message {
    margin: 0 auto;

    max-width: 340px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}

.cart-success-message strong {
    color: #334155;
}

/* Actions */

.cart-success-actions {
    display: flex;
    gap: 10px;

    margin-top: 26px;
}

.cart-success-actions .btn {
    flex: 1;

    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    font-size: 13px;
    font-weight: 700;
}

/* Continue button */

.cart-continue-btn {
    border: 1px solid #dbe3e8;
    background: #ffffff;
    color: #334155;
}

.cart-continue-btn:hover {
    background: #f8fafc;
}

/* Loading */

.product-cart-form {
    margin: 0;
}

.product-cart-form .product-add-btn {
    width: 100%;
}

.product-add-btn.is-loading {
    opacity: 0.75;
    cursor: wait;
    pointer-events: none;
}

.product-add-btn.is-loading i {
    animation: cartButtonSpin 0.8s linear infinite;
}

@keyframes cartButtonSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

/* Mobile */

@media (max-width: 480px) {

    .cart-success-dialog {
        max-width: 100%;
        border-radius: 18px;
        padding: 34px 20px 22px;
    }

    .cart-success-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .cart-success-dialog h3 {
        font-size: 21px;
    }

    .cart-success-actions {
        flex-direction: column;
    }

    .cart-success-actions .btn {
        width: 100%;
    }

}

/* =========================================================
   PRODUCT CART ACTIONS
========================================================= */

.product-card-actions {
   display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 8px;
    width: 85%;
}

.product-card-actions form {
    margin: 0;
    min-width: 0;
}

.product-add-btn,
.product-buy-btn {
    width: 100%;
    min-height: 42px;

    border-radius: 9px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 0 10px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}


/* Add To Cart */

.product-add-btn {
    border: 1px solid #147d72;
    background: #147d72;
    color: #ffffff;
}

.product-add-btn:hover {
    background: #106b62;
    border-color: #106b62;
    transform: translateY(-1px);
}


/* Buy Now */

.product-buy-btn {
    border: 1px solid #e2a100;
    background: #fff8e6;
    color: #9a6500;
}

.product-buy-btn:hover {
    background: #ffefbd;
    border-color: #e2a100;
    transform: translateY(-1px);
}


/* Large Buy Now */

.product-buy-btn-large {
    min-height: 46px;
    margin-top: 10px;
}


/* Loading */

.product-add-btn.is-loading,
.product-buy-btn.is-loading {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    pointer-events: none;
}

.product-add-btn.is-loading i,
.product-buy-btn.is-loading i {
    animation: cartButtonSpin 0.8s linear infinite;
}

@keyframes cartButtonSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* Product Details */

.product-detail-cart-form {
    margin: 0;
}

.product-detail-cart-form
.product-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-detail-cart-form
.product-add-btn {
    flex: 1;
    min-height: 46px;
}


/* =========================================================
   SUCCESS MODAL
========================================================= */

.cart-success-modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.cart-success-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cart-success-overlay {
    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, 0.58);

    backdrop-filter: blur(3px);
}

.cart-success-dialog {
    position: relative;

    width: 100%;
    max-width: 440px;

    padding: 38px 32px 30px;

    background: #ffffff;

    border-radius: 20px;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(15, 23, 42, 0.25);

    transform:
        translateY(20px)
        scale(0.96);

    transition:
        transform 0.3s ease;
}

.cart-success-modal.is-open
.cart-success-dialog {
    transform:
        translateY(0)
        scale(1);
}

.cart-success-close {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 50%;

    background: #f1f5f9;

    color: #64748b;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.cart-success-icon {
    width: 68px;
    height: 68px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #e8f7f3;

    color: #147d72;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
}

.cart-success-dialog h3 {
    margin: 0 0 8px;

    font-size: 23px;
    font-weight: 800;

    color: #16202a;
}

.cart-success-message {
    margin: 0 auto;

    max-width: 350px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}

.cart-success-message strong {
    color: #334155;
}

.cart-success-actions {
    display: flex;

    gap: 10px;

    margin-top: 26px;
}

.cart-success-actions .btn {
    flex: 1;

    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .product-card-actions {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .product-add-btn,
    .product-buy-btn {
        min-height: 40px;
        font-size: 11px;
    }

    .product-detail-cart-form
    .product-action-row {
        gap: 8px;
    }

    .product-detail-cart-form
    .product-add-btn {
        font-size: 11px;
    }

    .cart-success-dialog {
        max-width: 100%;
        padding: 34px 20px 22px;
        border-radius: 18px;
    }

    .cart-success-actions {
        flex-direction: column;
    }

    .cart-success-actions .btn {
        width: 100%;
    }

}
/* =========================================================
   STICKY HEADER
========================================================= */



/* =========================================================
   MAIN HEADER
========================================================= */

.header-sticky-area .header-main {
    background: #ffffff;
}


/* =========================================================
   NAVIGATION
========================================================= */

.header-sticky-area .navigation-wrapper {
    background: #ffffff;
}


/* =========================================================
   MEDISTORE STICKY HEADER
========================================================= */

.header-sticky-area {
    position: relative;
    width: 100%;
    z-index: 1000;

    background: #ffffff;

    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   FIXED STATE
========================================================= */

.header-sticky-area.is-fixed {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    background: #ffffff;

    box-shadow:
        0 5px 22px rgba(15, 23, 42, 0.10);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.header-sticky-placeholder {
    display: none;
}

.header-sticky-placeholder.is-active {
    display: block;
}


/* =========================================================
   MAIN HEADER
========================================================= */

.header-sticky-area .header-main {
    background: #ffffff;
}


/* =========================================================
   NAVIGATION
========================================================= */

.header-sticky-area .navigation-wrapper {
    background: #ffffff;
}


/* =========================================================
   SCROLL SHADOW
========================================================= */

.header-sticky-area.is-fixed .header-main {
    border-bottom-color: #e5e7eb;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .header-sticky-area.is-fixed {
        box-shadow:
            0 4px 18px rgba(15, 23, 42, 0.12);
    }

}

/* =========================================================
   CART AJAX QUANTITY
   ========================================================= */

.cart-item-quantity {
    position: relative;
}


/*
|--------------------------------------------------------------------------
| Updating State
|--------------------------------------------------------------------------
*/

.cart-item-quantity.is-updating {
    opacity: 0.65;
    pointer-events: none;
}


.cart-quantity-control {
    position: relative;
}


/*
|--------------------------------------------------------------------------
| Quantity Buttons
|--------------------------------------------------------------------------
*/

.cart-quantity-control .quantity-btn {
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.cart-quantity-control .quantity-btn:hover {
    background: var(--surface-soft);
    color: var(--primary);
}


.cart-quantity-control .quantity-btn:disabled {
    cursor: wait;
}


/*
|--------------------------------------------------------------------------
| Quantity Input
|--------------------------------------------------------------------------
*/

.cart-quantity-input {
    appearance: textfield;
    -moz-appearance: textfield;
}


.cart-quantity-input::-webkit-inner-spin-button,
.cart-quantity-input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}


/*
|--------------------------------------------------------------------------
| Updating Animation
|--------------------------------------------------------------------------
*/

.cart-item-quantity.is-updating
.cart-quantity-control::after {

    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 16px;
    height: 16px;

    margin-top: -8px;
    margin-left: -8px;

    border: 2px solid
        rgba(20, 125, 114, 0.20);

    border-top-color:
        var(--primary);

    border-radius: 50%;

    animation:
        cartQuantitySpin
        0.65s linear infinite;

    pointer-events: none;
}


@keyframes cartQuantitySpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

/* =========================================================
   AJAX CART CONTROLS
========================================================= */

.cart-item-quantity {
    position: relative;
}

.cart-quantity-control {
    transition: opacity .2s ease;
}

.cart-quantity-control.is-updating {
    opacity: .65;
    pointer-events: none;
}

.cart-quantity-btn.is-loading {
    cursor: wait;
}

.cart-quantity-input.is-loading {
    cursor: wait;
}

.cart-quantity-status {
    display: block;
    min-height: 12px;
    margin-top: 4px;
    font-size: 9px;
    color: var(--text-muted);
    text-align: center;
}

.cart-remove-btn {
    transition:
        color .2s ease,
        opacity .2s ease;
}

.cart-remove-btn.is-loading {
    opacity: .55;
    cursor: wait;
}

.cart-remove-btn.is-loading i {
    animation: cartRemoveSpin .7s linear infinite;
}

@keyframes cartRemoveSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@media (max-width: 480px) {

    .cart-quantity-status {
        font-size: 8px;
    }

}