
/* ============================================================
   myShopStyles.css
   Main stylesheet for myShop — consolidated
   Version 2.0 — Light Blue (Sky) theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');


/* ============================================================
   ROOT VARIABLES
   ============================================================ */

:root {
    /* Brand */
    --primary: #0ea5e9;
    --primary-dark: #0369a1;
    --primary-light: #38bdf8;
    --secondary: #2563eb;
    --accent: #bae6fd;

    /* Backgrounds — clear light sky blue */
    --dark: #dff3fc;
    --dark-card: #f0f9ff;
    --dark-card-hover: #d0ebf8;
    --bg-input: rgba(14, 165, 233, 0.08);
    --bg-input-focus: rgba(14, 165, 233, 0.15);
    --bg-hover: rgba(14, 165, 233, 0.06);

    /* Text — deep blue, readable on light background */
    --text-light: #0c4a6e;
    --text-secondary: #075985;
    --text-muted: #0369a1;
    --text-dim: #0284c7;

    /* Borders — clear sky blue */
    --border-color: rgba(14, 165, 233, 0.25);
    --border-hover: rgba(14, 165, 233, 0.45);

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Shadows — soft blue glow */
    --shadow: 0 8px 32px rgba(14, 165, 233, 0.15);
    --shadow-hover: 0 12px 48px rgba(14, 165, 233, 0.25);

    /* Shape */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Motion */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-btn: linear-gradient(135deg, var(--primary), var(--secondary));
}


/* ============================================================
   RESET + BODY
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--dark);
    color: var(--text-light);
    min-height: 100vh;
    padding-top: 70px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}


/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}


/* ============================================================
   CONTAINERS
   ============================================================ */

.container-fluid {
    padding: 0 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ============================================================
   HEADER
   ============================================================ */

.shop-header-component {
    font-family: var(--font-family);
}

.shop-header-component .sh-header {
    background: rgba(240, 249, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.shop-header-component .sh-inner {
    max-width: 1200px;
    margin: 0 auto;

    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.shop-header-component .sh-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-light);
}

.shop-header-component .sh-logo .sh-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}

.shop-header-component .sh-logo .sh-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-header-component .sh-logo .sh-logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shop-header-component .sh-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-header-component .sh-nav-links li {
    position: relative;
}

.shop-header-component .sh-nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.shop-header-component .sh-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.shop-header-component .sh-nav-links a:hover {
    color: var(--text-light);
}

.shop-header-component .sh-nav-links a:hover::after {
    width: 100%;
}

.shop-header-component .sh-nav-links a i {
    font-size: 12px;
    opacity: 0.8;
}

.shop-header-component .sh-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(240, 249, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: var(--transition);
    z-index: 1001;
    box-shadow: var(--shadow);
}

.shop-header-component .sh-nav-links li.sh-has-dropdown:hover > .sh-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shop-header-component .sh-dropdown-menu li {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.shop-header-component .sh-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.shop-header-component .sh-dropdown-menu a:hover {
    background: rgba(14, 165, 233, 0.08);
    color: var(--text-light);
}

.shop-header-component .sh-dropdown-menu a::after {
    display: none;
}

.shop-header-component .sh-dropdown-menu li.sh-has-dropdown > a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    margin-left: auto;
    color: var(--text-dim);
    display: inline-block;
    position: static;
    width: auto;
    height: auto;
    background: none;
}

.shop-header-component .sh-dropdown-menu .sh-dropdown-menu {
    position: absolute;
    top: -8px;
    left: 100%;
    margin: 0;
    transform: translateX(4px);
    min-width: 180px;
}

.shop-header-component .sh-dropdown-menu li.sh-has-dropdown:hover > .sh-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(4px);
}

.shop-header-component .sh-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-header-component .sh-search-box {
    display: flex;
    align-items: center;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 4px 6px 4px 16px;
    transition: var(--transition);
}

.shop-header-component .sh-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

.shop-header-component .sh-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-size: 13px;
    padding: 6px 0;
    width: 160px;
}

.shop-header-component .sh-search-box input::placeholder {
    color: var(--text-dim);
}

.shop-header-component .sh-search-box button {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: #fff;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.shop-header-component .sh-search-box button:hover {
    transform: scale(1.05);
}

.shop-header-component .sh-cart-icon {
    position: relative;
    font-size: 20px;
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.shop-header-component .sh-cart-icon:hover {
    color: var(--text-light);
}

.shop-header-component .sh-cart-icon .sh-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    background: linear-gradient(135deg, #fc8181, #e53e3e);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.shop-header-component .sh-login-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-header-component .sh-login-link:hover {
    color: var(--text-light);
}

.shop-header-component .sh-login-link.sh-account-active {
    color: var(--text-light);
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.35);
    padding: 6px 14px;
    border-radius: 50px;
}

.shop-header-component .sh-logout-link {
    padding: 6px 10px;
    border-radius: 50%;
}

.shop-header-component .sh-logout-link:hover {
    color: #f87171;
    background: rgba(239, 68, 68, 0.10);
}

.shop-header-component .sh-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}


/* ============================================================
   BANNER
   ============================================================ */

.sb-banner {
    position: relative;
    width: 100%;
    font-family: var(--font-family);
}

.sb-banner .sb-hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.sb-banner .sb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--dark-card);
}

.sb-banner .sb-slide.sb-active {
    opacity: 1;
}

.sb-banner .sb-slide .sb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.20) 100%
    );
}

.sb-banner .sb-slide .sb-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 700px;
    z-index: 2;
}

.sb-banner .sb-slide .sb-content .sb-badge {
    display: inline-block;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.sb-banner .sb-slide .sb-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.sb-banner .sb-slide .sb-content p {
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.sb-banner .sb-slide .sb-content .sb-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}

.sb-banner .sb-slide .sb-content .sb-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.30);
    color: #ffffff;
}

.sb-banner .sb-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.sb-banner .sb-controls button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.30);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.sb-banner .sb-controls button.sb-active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.sb-banner .sb-controls button:hover {
    border-color: var(--primary);
}

.sb-banner .sb-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    pointer-events: none;
}

.sb-banner .sb-arrows button {
    pointer-events: all;
    background: rgba(240, 249, 255, 0.90);
    border: 1px solid rgba(14, 165, 233, 0.30);
    border-radius: 50%;
    color: var(--primary-dark);
    width: 48px;
    height: 48px;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sb-banner .sb-arrows button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}


/* ============================================================
   PRODUCTS SECTION + CARDS
   ============================================================ */

.products-section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.product-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.30);
    box-shadow: var(--shadow-hover);
}

.product-card .image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--bg-input);
}

.product-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.product-card .image-wrapper .badge-pos {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-card .image-wrapper .badge-pos.sale {
    background: #ef4444;
    color: white;
}

.product-card .image-wrapper .badge-pos.new {

    background: #22c55e;
    color: white;
}

.product-card .image-wrapper .badge-pos.featured {
    background: var(--gradient-primary);
    color: white;
}

.product-card .image-wrapper .badge-pos.out-of-stock {
    background: #6b7280;
    color: white;
}

.product-card .image-wrapper .stock-status {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    backdrop-filter: blur(5px);
}

.product-card .image-wrapper .stock-status.in-stock {
    background: rgba(34, 197, 94, 0.85);
}

.product-card .image-wrapper .stock-status.out-of-stock {
    background: rgba(239, 68, 68, 0.85);
}

.product-card .image-wrapper .stock-status.backorder {
    background: rgba(251, 191, 36, 0.85);
    color: #000;
}

.product-card .image-wrapper .variant-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    backdrop-filter: blur(5px);
}

.product-card .image-wrapper .wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    width: 36px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.product-card .image-wrapper .wishlist-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.product-card .product-body {
    padding: 16px 18px 18px;
}

.product-card .product-body .product-category {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .product-body .product-name {
    font-size: 15px;
    font-weight: 600;
    margin: 4px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    color: var(--text-light);
}

.product-card .product-body .product-name:hover {
    color: var(--primary-light);
}

.product-card .product-body .product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.product-card .product-body .product-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-card .product-body .product-price .current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-card .product-body .product-price .old {
    font-size: 15px;
    color: var(--text-dim);
    text-decoration: line-through;
}

.product-card .product-body .product-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.product-card .product-body .product-actions .btn-add {
    flex: 1;
    padding: 8px 0;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.product-card .product-body .product-actions .btn-add:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.product-card .product-body .product-actions .btn-add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.product-card .product-body .product-actions .btn-view {
    padding: 8px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.product-card .product-body .product-actions .btn-view:hover {
    background: var(--bg-input-focus);
    color: var(--text-light);
}


/* ============================================================
   TOASTS
   ============================================================ */

.toast-container-cart {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.toast-cart {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    color: var(--text-light);
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-cart .toast-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-cart .toast-icon.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.toast-cart .toast-icon.error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.toast-cart .toast-content {
    flex: 1;
}

.toast-cart .toast-content .toast-title {
    font-weight: 600;
    font-size: 14px;
}

.toast-cart .toast-content .toast-message {
    font-size: 13px;
    color: var(--text-muted);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* ============================================================
   FOOTER
   ============================================================ */

.fp-footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    font-family: var(--font-family);
    color: var(--text-light);
    margin-top: 40px;
}

.fp-footer .fp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.fp-footer .fp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.fp-footer .fp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.fp-footer .fp-brand .fp-brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.fp-footer .fp-brand .fp-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fp-footer .fp-brand .fp-brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fp-footer .fp-desc {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 260px;
    margin: 0;
    line-height: 1.5;
}

.fp-footer h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-light);
}

.fp-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-footer ul li {
    margin-bottom: 10px;
}

.fp-footer ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.fp-footer ul li a:hover {
    color: var(--text-light);
}

.fp-footer .fp-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-dim);
}

.fp-footer .fp-bottom .fp-heart {
    color: #ef4444;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn i {
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
    color: white;
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-input-focus);
    color: var(--text-light);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-info {
    background: var(--info);
    color: white;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.btn-outline-secondary:hover {
    background: var(--bg-input);
    color: var(--text-light);
}

.btn-outline-danger {
    background: transparent;
    color: var(--danger);
    border-color: var(--danger);
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: white;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}


/* ============================================================
   FORMS
   ============================================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-light);
    font-family: var(--font-family);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--dark-card);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-control-sm {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.form-control-lg {
    padding: 16px 20px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.form-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230369a1' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

select.form-control option {
    background: var(--dark-card);
    color: var(--text-light);
}


/* ============================================================
   TABLES
   ============================================================ */

.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table thead th {
    padding: 12px 16px;
    text-align: left;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.table tbody tr:hover {
    background: var(--bg-hover);
}

.table tbody tr:last-child td {
    border-bottom: none;
}


/* ============================================================
   BADGES + ALERTS + STATS + MODAL
   ============================================================ */

.badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-primary { background: var(--primary); color: white; }
.badge-secondary { background: var(--bg-input); color: var(--text-secondary); }
.badge-success { background: var(--success); color: white; }
.badge-danger { background: var(--danger); color: white; }
.badge-warning { background: var(--warning); color: white; }
.badge-info { background: var(--info); color: white; }

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    margin-bottom: 16px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.10);
    border-color: rgba(16, 185, 129, 0.25);
    color: #047857;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.10);
    border-color: rgba(239, 68, 68, 0.25);
    color: #b91c1c;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.10);
    border-color: rgba(245, 158, 11, 0.25);
    color: #b45309;
}

.alert-info {
    background: rgba(59, 130, 246, 0.10);
    border-color: rgba(59, 130, 246, 0.25);
    color: #1d4ed8;
}

.stat-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.stat-card .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.modal-content {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
}

.modal-header .modal-title {
    color: var(--text-light);
    font-weight: 700;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
}


/* ============================================================
   UTILITIES
   ============================================================ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary-color { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.m-0 { margin: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }

.p-0 { padding: 0; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }

.shadow { box-shadow: var(--shadow); }
.border { border: 1px solid var(--border-color); }
.hidden { display: none !important; }


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {

    .shop-header-component .sh-nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 16px 0;
        gap: 12px;
        align-items: flex-start;
    }

    .shop-header-component .sh-nav-links.sh-open {
        display: flex;
    }

    .shop-header-component .sh-mobile-toggle {
        display: block;
    }

    .shop-header-component .sh-search-box input {
        width: 100px;
    }

    .shop-header-component .sh-dropdown-menu,
    .shop-header-component .sh-dropdown-menu .sh-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        border-left: 2px solid rgba(14, 165, 233, 0.3);
        border-radius: 0;
        padding: 0 0 0 16px;
        margin: 6px 0 0 0;
        box-shadow: none;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {

    body { padding-top: 60px; }

    .container-fluid { padding: 0 16px; }
    .container { padding: 0 16px; }

    .shop-header-component .sh-search-box input { width: 80px; }
    .shop-header-component .sh-search-box { padding: 4px 4px 4px 10px; }

    .sb-banner .sb-hero { height: 60vh; min-height: 400px; }
    .sb-banner .sb-slide .sb-content h1 { font-size: 26px; }
    .sb-banner .sb-slide .sb-content p { font-size: 15px; }
    .sb-banner .sb-arrows button { width: 36px; height: 36px; font-size: 14px; }

    .section-title { font-size: 22px; }
    .products-section { padding: 40px 0; }

    .fp-footer { padding: 32px 0 16px; }
    .fp-footer .fp-container { padding: 0 20px; }
    .fp-footer .fp-grid { gap: 24px; margin-bottom: 24px; }
    .fp-footer .fp-brand { font-size: 20px; }
    .fp-footer h5 { font-size: 15px; }
    .fp-footer .fp-bottom {
        flex-direction: column;
        align-items: flex-start;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .container-fluid { padding: 0 12px; }

    .shop-header-component .sh-logo { font-size: 18px; }
    .shop-header-component .sh-logo .sh-logo-icon { width: 32px; height: 32px; font-size: 14px; }
    .shop-header-component .sh-search-box input { width: 60px; font-size: 12px; }
    .shop-header-component .sh-search-box button { padding: 4px 10px; font-size: 12px; }
    .shop-header-component .sh-login-link { font-size: 12px; }

    .sb-banner .sb-slide .sb-content h1 { font-size: 22px; }
    .sb-banner .sb-slide .sb-content .sb-btn { padding: 10px 28px; font-size: 14px; }
    .sb-banner .sb-arrows button { width: 30px; height: 30px; font-size: 12px; }

    .product-card .product-body .product-price .current { font-size: 17px; }
}


/* ============================================================
   CART PAGE (myShopCartPage.php)
   ============================================================ */

.cart-page {
    padding: 40px 0;
    min-height: 60vh;
    color: var(--text-light);
}

.cart-page .page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-light);
}

.cart-page .page-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cart-table {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table .table {
    margin-bottom: 0;
    color: var(--text-light);
    background: var(--dark-card);
}

.cart-table .table thead {
    background: var(--bg-input);
}

.cart-table .table thead th {
    background: var(--bg-input);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.cart-table .table tbody {
    background: var(--dark-card);
}

.cart-table .table tbody tr {
    background: var(--dark-card);
    transition: background 0.2s ease;
}

.cart-table .table tbody tr:hover {
    background: var(--bg-hover);
}

.cart-table .table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    background: transparent;
}

.cart-table .table tbody tr:last-child td {
    border-bottom: none;
}

.cart-table .product-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-table .product-info img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    flex-shrink: 0;
}

.cart-table .product-info .product-name {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.4;
}

.cart-table .product-info .product-variant {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}

.cart-table .product-info .product-variant i {
    color: var(--primary);
}

.cart-table .item-price {
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
    font-size: 15px;
}

.cart-table .quantity-input {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 150px;
}

.cart-table .quantity-input button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-table .quantity-input button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.cart-table .quantity-input input {
    width: 52px;
    height: 34px;
    text-align: center;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-light);
    font-weight: 700;
    font-size: 15px;
    padding: 6px 4px;
    outline: none;
}

.cart-table .quantity-input input:focus {
    border-color: var(--primary);
    outline: none;
    background: var(--dark-card);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}

.cart-table .quantity-input input::-webkit-outer-spin-button,
.cart-table .quantity-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-table .quantity-input input[type=number] {
    -moz-appearance: textfield;
}

.cart-table .item-total {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

.cart-table .remove-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.cart-table .remove-btn:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.cart-summary {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 24px;
    position: sticky;
    top: 90px;
    color: var(--text-light);
    box-shadow: var(--shadow);
}

.cart-summary h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.cart-summary .summary-row span:last-child {
    color: var(--text-light);
}

.cart-summary .summary-row.total {
    font-size: 20px;
    font-weight: 700;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 8px;
    color: var(--text-light);
}

.cart-summary .summary-row.total span:last-child {
    color: var(--primary);
    font-size: 22px;
}

.cart-summary .btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
}

.cart-summary .btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--dark-card);
}

.empty-cart .empty-icon {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.empty-cart p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-cart .btn-shop {
    padding: 12px 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.empty-cart .btn-shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
}

.cart-page .btn-outline-secondary {
    color: var(--text-secondary);
    border-color: var(--border-color);
    background: transparent;
}

.cart-page .btn-outline-secondary:hover {
    color: var(--text-light);
    background: var(--bg-input);
    border-color: var(--primary);
}

.cart-page .btn-outline-danger {
    color: #dc2626;
    border-color: #fecaca;
    background: transparent;
}

.cart-page .btn-outline-danger:hover {
    color: #FFFFFF;
    background: #dc2626;
    border-color: #dc2626;
}

@media (max-width: 768px) {

    .cart-page .page-title {
        font-size: 24px;
    }

    .cart-table .product-info img {
        width: 48px;
        height: 48px;
    }

    .cart-table .product-info .product-name {
        font-size: 14px;
    }

    .cart-summary {
        margin-top: 20px;
        position: static;
    }
}

@media (max-width: 576px) {

    .cart-table .table thead {
        display: none;
    }

    .cart-table .table tbody td {
        display: block;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .cart-table .table tbody td:last-child {
        border-bottom: none;
    }

    .cart-table .table tbody tr {
        display: block;
        border-bottom: 2px solid var(--border-color);
        background: var(--dark-card);
    }

    .cart-table .table tbody tr:last-child {
        border-bottom: none;
    }

    .cart-table .product-info {
        gap: 12px;
    }

    .cart-table .quantity-input {
        max-width: 100%;
    }

    .cart-table .item-total {
        font-size: 17px;
    }
}

/* ============================================================
   23. ORDER SUCCESS PAGE (myShopOrderSuccess.php)
   ============================================================ */

.success-page {
    padding: 40px 0 60px;
    min-height: 60vh;
    color: var(--text-light);
}

/* HERO */

.success-hero {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
}

.success-hero .success-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
}

.success-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-light);
}

.success-hero p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.7;
}

/* CARD */

.success-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.success-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.success-card h3 i {
    color: var(--primary);
    margin-right: 8px;
}

/* ACCOUNT SETUP */

.account-setup {
    margin-top: 10px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
}

.account-setup h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: var(--text-light);
    text-align: center;
}

.account-setup-intro {
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 14px;
}

.account-setup-intro strong {
    color: var(--text-light);
}

/* CUSTOMER INFO */

.customer-info {
    max-width: 600px;
    margin: 25px auto 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--dark-card);
    overflow: hidden;
}

.customer-info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.customer-info-row:last-child {
    border-bottom: none;
}

.customer-info-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.customer-info-value {
    color: var(--text-light);
    font-weight: 600;
    text-align: right;
    word-break: break-word;
    font-size: 14px;
}

.username-note {
    max-width: 600px;
    margin: 0 auto 25px;
    padding: 14px 18px;
    background: rgba(14, 165, 233, 0.10);
    border: 1px solid rgba(14, 165, 233, 0.35);
    border-radius: var(--radius);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 13px;
    text-align: center;
}

.username-note strong {
    color: var(--primary-dark);
}

/* ACCOUNT BENEFITS */

.account-benefits {
    margin: 20px auto 28px;
    max-width: 600px;
}

.account-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 14px;
}

.account-benefit-icon {
    color: var(--primary);
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ACCOUNT FORM */

.account-form {
    max-width: 500px;
    margin: 0 auto;
}

.account-form .form-group {
    margin-bottom: 18px;
}

.account-form .form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
}

.account-form .form-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    background: var(--dark-card);
    color: var(--text-light);
    transition: var(--transition);
}

.account-form .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--dark-card);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    color: var(--text-light);
}

.password-note {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

/* ERROR */

.setup-error {
    background: rgba(239, 68, 68, 0.10);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
}

/* BUTTONS */

.btn-create-account {
    display: block;
    width: 100%;
    border: none;
    border-radius: var(--radius);
    padding: 14px 20px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-create-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
}

.btn-area {
    text-align: center;
    margin-top: 24px;
}

.btn-continue,
.btn-account {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin: 5px;
    transition: var(--transition);
}

.btn-continue {
    background: var(--gradient-primary);
    color: #FFFFFF !important;
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
    color: #FFFFFF !important;
}

.btn-account {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary) !important;
}

.btn-account:hover {
    background: var(--bg-input-focus);
    border-color: var(--primary);
    color: var(--text-light) !important;
}

/* ORDER DETAILS */

.order-details {
    margin-top: 10px;
}

.order-details h3 {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.order-details h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.order-row:last-of-type {
    border-bottom: none;
}

.order-row strong {
    color: var(--text-light);
    font-weight: 700;
}

.shipping-box {
    margin-top: 20px;
    padding: 18px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 14px;
}

.shipping-box strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* RESPONSIVE */

@media (max-width: 600px) {

    .success-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .success-card {
        padding: 20px 16px;
    }

    .success-hero {
        padding: 32px 18px;
    }

    .success-hero h1 {
        font-size: 24px;
    }

    .success-hero .success-icon {
        width: 68px;
        height: 68px;
        font-size: 32px;
    }

    .account-setup {
        padding: 20px 14px;

    }

    .account-setup h2 {
        font-size: 20px;
    }

    .customer-info-row {
        flex-direction: column;
        gap: 4px;
    }

    .customer-info-value {
        text-align: left;
    }

    .order-row {
        flex-direction: column;
        gap: 3px;
    }

    .btn-continue,
    .btn-account {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* ============================================================
   24. BUYER LOGIN PAGE (myShopBuyerGatePass.php)
   ============================================================ */

.login-page {
    padding: 60px 0 80px;
    min-height: 60vh;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow);
}

.login-card .login-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 26px;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
}

.login-card h1 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-light);
}

.login-card .subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 26px;
    line-height: 1.6;
}

/* Alerts */

.login-alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 13.5px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.login-alert.error {
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #b91c1c;
}

.login-alert.info {
    background: rgba(59, 130, 246, 0.10);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #1d4ed8;
}

.login-alert i {
    margin-top: 2px;
}

/* Form */

.login-card .form-group {
    margin-bottom: 18px;
}

.login-card .form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
}

.login-card .form-group .input-wrap {
    position: relative;
}

.login-card .form-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    background: var(--dark-card);
    color: var(--text-light);
    transition: var(--transition);
}

.login-card .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--dark-card);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    color: var(--text-light);
}

.login-card .form-group input::placeholder {
    color: var(--text-muted);
}

/* Password toggle */

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
}

.toggle-password:hover {
    color: var(--text-secondary);
}

/* Buttons */

.btn-login {
    display: block;
    width: 100%;
    border: none;
    border-radius: var(--radius);
    padding: 14px 20px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 6px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer links */

.login-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.login-footer a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.login-footer a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.login-footer .hint {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive */

@media (max-width: 480px) {

    .login-page {
        padding: 30px 0 60px;
    }

    .login-card {
        padding: 28px 20px;
    }

    .login-card h1 {
        font-size: 20px;
    }

    .login-card .login-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
}

/* ============================================================
   25. BUYER DASHBOARD (myShopAccount.php)
   ============================================================ */

.buyer-dashboard {
    padding: 50px 0 70px;
}

.buyer-dashboard-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar */

.buyer-sidebar {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    position: sticky;
    top: 25px;
}

.buyer-sidebar-header {
    padding: 5px 5px 20px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.buyer-sidebar-title {
    margin: 0;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
}

.buyer-sidebar-subtitle {
    margin: 5px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

/* Main */

.buyer-main {
    min-width: 0;
}

.buyer-welcome-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.buyer-welcome-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    right: -50px;
    top: -60px;
}

.buyer-welcome-label {
    color: rgba(255,255,255,0.80);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.buyer-welcome-title {
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.buyer-welcome-email {
    margin-top: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* Statistics */

.buyer-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.buyer-stat-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    transition: var(--transition);
}

.buyer-stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.buyer-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 17px;
}

.buyer-stat-number {
    color: var(--text-light);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.buyer-stat-label {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 5px;
}

.buyer-order-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.buyer-order-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Section Cards */

.buyer-section-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
    overflow: hidden;
}

.buyer-section-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.buyer-section-title {
    margin: 0;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
}

.buyer-section-subtitle {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

/* Quick Actions */

.buyer-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 22px;
}

.buyer-action-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.buyer-action-card:hover {
    border-color: var(--border-hover);
    color: var(--text-light);
    transform: translateY(-2px);
}

.buyer-action-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    color: var(--primary);
}

.buyer-action-text strong {
    display: block;
    font-size: 14px;
}

.buyer-action-text span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    margin-top: 3px;
}

/* Recent Orders */

.buyer-table-wrap {
    overflow-x: auto;
}

.buyer-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.buyer-orders-table th {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.buyer-orders-table td {
    color: var(--text-secondary);
    font-size: 13px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.buyer-orders-table tr:last-child td {
    border-bottom: none;
}

.buyer-order-number {
    color: var(--text-light);
    font-weight: 600;
}

.buyer-order-total {
    color: var(--text-light);
    font-weight: 600;
}

/* Status Badges */

.buyer-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.buyer-status.status-success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.buyer-status.status-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.buyer-status.status-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.buyer-status.status-info {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

/* Account Info */

.buyer-account-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 22px;
}

.buyer-info-item {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px;
}

.buyer-info-label {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.buyer-info-value {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

/* Empty */

.buyer-empty {
    padding: 40px 20px;
    text-align: center;
}

.buyer-empty-icon {
    font-size: 34px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.buyer-empty-title {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
}

.buyer-empty-text {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 5px;
}

/* Responsive */

@media (max-width: 1100px) {
    .buyer-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .buyer-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .buyer-dashboard-layout {
        grid-template-columns: 1fr;
    }
    .buyer-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .buyer-dashboard {
        padding: 30px 0 50px;
    }
    .buyer-welcome-card {
        padding: 24px;
    }
    .buyer-welcome-title {
        font-size: 25px;
    }
    .buyer-stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .buyer-stat-card {
        padding: 17px;
    }
    .buyer-quick-actions {
        grid-template-columns: 1fr;
    }
    .buyer-account-info {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   26. BUYER ACCOUNT MENU (myShopAccountBuyerMenu.php)
   ============================================================ */

.buyer-menu-profile {
    text-align: center;
    padding: 5px 5px 20px;
}

.buyer-menu-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 27px;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}

.buyer-menu-name {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.buyer-menu-email {
    color: var(--text-muted);
    font-size: 11px;
    word-break: break-word;
    line-height: 1.5;
}

.buyer-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0 15px;
}

.buyer-menu-section {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 10px 6px;
}

.buyer-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    margin-bottom: 4px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.buyer-menu-link:hover {
    background: var(--bg-input);
    color: var(--text-light);
    border-color: var(--border-color);
    text-decoration: none;
}

.buyer-menu-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-input);
    color: var(--text-muted);
    font-size: 12px;
    transition: var(--transition);
}

.buyer-menu-link.buyer-menu-active {
    background: var(--bg-input);
    color: var(--primary);
    border-color: var(--border-hover);
    font-weight: 600;
}

.buyer-menu-link.buyer-menu-active .buyer-menu-icon {
    background: var(--primary);
    color: #fff;
}

.buyer-menu-logout {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.buyer-menu-logout .buyer-menu-link {
    color: var(--danger);
}

.buyer-menu-logout .buyer-menu-link:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.20);
    color: var(--danger);
}

.buyer-menu-logout .buyer-menu-icon {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
}

@media (max-width: 800px) {
    .buyer-menu-profile {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .buyer-menu-avatar {
        width: 55px;
        height: 55px;
        flex: 0 0 55px;
        margin: 0;
    }
    .buyer-menu-divider {
        margin-top: 10px;
    }
}

/* ============================================================
   27. BUYER ACCOUNT MENU (header, account pages)
   ============================================================ */

.shop-header-component .sh-account-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.shop-header-component .sh-account-nav > li {
    position: relative;
}

.shop-header-component .sh-account-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.shop-header-component .sh-account-nav > li > a:hover {
    background: var(--bg-input);
    color: var(--text-light);
}

.shop-header-component .sh-account-nav > li > a.sh-account-active {
    background: var(--bg-input-focus);
    border: 1px solid var(--primary);
    color: var(--text-light);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.20);
}

/* Dropdown panel */
.shop-header-component .sh-account-nav .sh-account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: rgba(240, 249, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: var(--transition);
    z-index: 1001;
    box-shadow: var(--shadow);
}

.shop-header-component .sh-account-nav > li:hover > .sh-account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shop-header-component .sh-account-dropdown li {
    display: block;
    width: 100%;
}

.shop-header-component .sh-account-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 20px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.shop-header-component .sh-account-dropdown a:hover {
    background: var(--bg-input);
    color: var(--text-light);
}

.shop-header-component .sh-account-dropdown a i {
    width: 16px;
    text-align: center;
    color: var(--primary);
}

/* Shop button on the right */
.shop-header-component .sh-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.shop-header-component .sh-shop-btn:hover {
    border-color: var(--primary);
    color: var(--text-light);
}

/* Mobile */
@media (max-width: 992px) {

    .shop-header-component .sh-account-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 16px 0;
        gap: 6px;
        align-items: stretch;
    }

    .shop-header-component .sh-account-nav.sh-open {
        display: flex;
    }

    .shop-header-component .sh-account-nav > li > a {
        width: 100%;
        justify-content: flex-start;
    }

    .shop-header-component .sh-account-nav .sh-account-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 18px;
        margin: 4px 0 0 0;
        min-width: 0;
        width: 100%;
    }
}

