﻿:root {
    --bg-page: #121212; /* Dark grey */
    --bg-navbar: #1a1a1a;
    --bg-card: #242424; /* Lighter grey */
    --bg-input: #1e1e1e;
    
    --primary-orange: #ff6a00;
    --primary-orange-hover: #ff8c00;
    --secondary-orange: #ff6a00;
    --secondary-orange-hover: #ff8c00;
    --tertiary-mint: #00f0a8;
    --tertiary-mint-hover: #1affb5;
    --text-white: #ffffff;
    --text-muted: #8493a5;
    
    --price-green: #cbe12c; /* That distinct yellow-green price color */
    
    --tag-green-bg: #193322; /* Slightly adjusted to match pure greys better */
    --tag-green-text: #41b95b;
    --tag-red-bg: #331a1f;
    --tag-red-text: #e23b49;
    
    --border-color: #333333;
    --border-input: #383838;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-page);
    color: var(--text-white);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar (Now Sidebar) */
.navbar {
    background-color: var(--bg-navbar);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    z-index: 100;
}

.nav-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    padding: 0;
    gap: 0.5rem;
}

.logo-area {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.logo-img {
    width: 85%;
    max-width: 100%;
    height: auto; 
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 1rem;
    width: 100%;
}

.nav-links li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.submenu {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    width: 100%;
}

.submenu a {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
}

.submenu a:hover {
    color: var(--primary-orange) !important;
}

.has-submenu.open .submenu {
    max-height: 300px;
    opacity: 1;
    margin-bottom: 10px;
}

.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s;
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 4px;
}

.nav-links a.active {
    color: var(--primary-orange) !important;
    background-color: rgba(255, 106, 0, 0.08);
}

.nav-links a:hover {
    color: var(--primary-orange);
    background-color: rgba(255, 106, 0, 0.03);
}

.nav-links a i {
    font-size: 1.1rem;
    opacity: 0.8;
    width: 20px;
    text-align: center;
}

.nav-links a:hover, .nav-links li.active a {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-links li.active a {
    background-color: rgba(255, 106, 0, 0.1);
    color: var(--primary-orange);
}

.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: auto;
    width: 100%;
}

.login-btn {
    background: #444444;
    border: none;
    color: var(--text-white);
    padding: 0.7rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn:hover {
    color: var(--text-white);
    background: radial-gradient(80px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 106, 0, 0.15), transparent 100%), #444444;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: #2a2a2a;
    border-radius: 8px;
    width: 100%;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.user-profile:hover {
    border-color: var(--primary-orange);
    background: #303030;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-orange);
    flex-shrink: 0;
}

.user-name {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Custom Dropdowns */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    font-family: inherit;
    font-weight: 500;
    outline: none;
}

.sort-dropdown .custom-dropdown-btn {
    width: 180px;
    justify-content: space-between;
}

.custom-dropdown-btn:hover {
    color: var(--primary-orange);
}

.custom-dropdown-btn:focus-visible,
.custom-dropdown-menu a:focus-visible {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.custom-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    background: #151515;
    min-width: 170px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.8);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 6px;
}

.custom-dropdown.active .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.custom-dropdown-menu a {
    padding: 10px 14px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.custom-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.check-icon {
    font-size: 0.8rem;
    opacity: 0;
    margin-left: auto;
}

.custom-dropdown-menu a.active-option {
    color: var(--primary-orange);
}

.custom-dropdown-menu a.active-option .check-icon {
    opacity: 1;
}

.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(255,255,255,0.1);
}


/* Main Content Area */
.container {
    margin-left: 260px;
    padding: 3rem 4rem;
}

/* Header Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.accent-box {
    width: 16px;
    height: 16px;
    background-color: var(--secondary-orange);
    border-radius: 4px;
}

.header-title h2 {
    font-family: 'Teko', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1;
    transition: color 0.2s;
}

.title-btn {
    padding: 0;
    margin: 0;
    gap: 4px;
}

.title-btn:hover h2 {
    color: var(--primary-orange);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.search-box, .sort-box {
    background: var(--bg-input);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    height: 40px;
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--text-white);
    padding-left: 0.5rem;
    outline: none;
    width: 180px;
    font-size: 0.9rem;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-icon, .sort-icon {
    color: var(--text-muted);
    font-size: 0.9rem;
}


.filter-tags {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.filter-tags span {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tags span:hover, .filter-tags span.active {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.header-cart-btn {
    background-color: #444444;
    color: var(--text-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin-left: auto;
}

.header-cart-btn:hover {
    background: radial-gradient(80px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 106, 0, 0.15), transparent 100%), #444444;
    color: var(--text-white);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--bg-card);
    border-radius: 6px;
    padding: 1rem;
    border: none;
    position: relative;
}

.card::before, .glow-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle 120px at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(255, 106, 0, 0.15),
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.card:hover::before, .glow-card:hover::before {
    opacity: 1;
}

.glow-card {
    position: relative;
}

.glow-card > * {
    position: relative;
    z-index: 2;
}

.card-image {
    height: 170px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 2;
}

.card-content {
    padding: 0;
    position: relative;
    z-index: 2;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.7rem 1rem;
    background-color: var(--bg-input);
    border: none;
    border-radius: 4px;
}

.card-title-row h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.price {
    color: var(--price-green);
    font-weight: 700;
    font-size: 1rem;
    background-color: rgba(203, 225, 44, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.framework-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.tag-icon {
    font-size: 0.8rem;
    margin-right: 0.25rem;
    font-weight: 800;
}

.tag.green {
    background-color: var(--tag-green-bg);
    color: var(--tag-green-text);
}

.tag.red {
    background-color: var(--tag-red-bg);
    color: var(--tag-red-text);
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    flex-grow: 1;
    background: #444444;
    border: none;
    color: var(--text-white);
    padding: 0.7rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    transition: background-color 0.2s;
}

.view-btn i {
    font-size: 0.8rem;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.cart-btn {
    background: #444444;
    border: none;
    color: var(--text-white);
    width: 42px;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

/* Custom Cursor */
@media (pointer: fine) {
    body, a, button, input, select, .filter-tags span {
        cursor: none !important;
    }
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 999999;
    transition: width 0.15s ease-out, height 0.15s ease-out, background-color 0.15s ease-out, border 0.15s ease-out;
}

.cursor-dot.active {
    width: 25px;
    height: 25px;
    background-color: rgba(255, 106, 0, 0.15);
    border: 2px solid var(--primary-orange);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content */
.modal-content {
    background: var(--bg-card);
    padding: 2.5rem 3.5rem;
    border-radius: 8px;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}
.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    margin: 0;
    font-weight: 700;
}

/* Modal Buttons */
.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.modal-btn-primary, .modal-btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}
.modal-btn-primary {
    background: #444444;
    border: none;
    color: var(--text-white);
}
.modal-btn-primary:hover {
    background: radial-gradient(80px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 106, 0, 0.15), transparent 100%), #444444;
    color: var(--text-white);
}
.modal-btn-secondary {
    background-color: #444444;
    color: var(--text-white);
    border: none;
}
.modal-btn-secondary:hover {
    background: radial-gradient(80px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 106, 0, 0.15), transparent 100%), #444444;
}

/* Animated Checkmark */
.checkmark {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--tertiary-mint);
    stroke-miterlimit: 10;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--tertiary-mint);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
    100% { background-color: rgba(0, 240, 168, 0.1); }
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        position: static;
        width: 100%;
        height: auto;
        padding: 1rem;
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-container {
        gap: 1rem;
    }
    .logo-img {
        width: 150px;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .nav-links > li {
        flex: 1 1 160px;
    }
    .nav-right {
        margin-top: 0;
    }
    .container {
        margin-left: 0;
        padding: 1.5rem 1rem;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-controls {
        margin-left: 0;
        width: 100%;
    }
    .header-title {
        flex-wrap: wrap;
        max-width: 100%;
    }
    .filter-tags {
        flex-wrap: wrap;
        margin-left: 0;
    }
    .cart-page .cart-trust-badges,
    .cart-page .cart-action-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-section {
        flex-direction: column;
    }
    .hero-content {
        min-width: 0;
        width: 100%;
    }
    .hero-content h1 {
        font-size: clamp(1.7rem, 7vw, 2.8rem) !important;
        overflow-wrap: anywhere;
    }
    .product-detail-left {
        flex: 1 1 100% !important;
        min-width: 0;
        max-width: 100%;
    }
    .product-detail-right {
        min-width: 0 !important;
        width: 100%;
    }
    .card-title-row {
        flex-wrap: wrap;
    }
    .custom-dropdown-menu {
        min-width: min(170px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
    }
    .custom-dropdown-menu a {
        white-space: normal;
    }
    .title-dropdown .custom-dropdown-menu {
        left: 0;
        right: auto;
    }
    .cart-total-section {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .cart-total-text {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }
    .coupon-section {
        width: 100%;
    }
}

/* Cart Page Styles */
.cart-page {
    width: 100%;
    margin-top: 2rem;
}

.cart-table-container {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow-x: auto;
}

#coupon-input {
    min-width: 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.cart-table td {
    padding: 1rem 1.5rem;
    color: var(--text-white);
    font-size: 0.95rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.cart-remove-btn {
    background-color: rgba(226, 59, 73, 0.1);
    color: var(--tag-red-text);
    border: 1px solid rgba(226, 59, 73, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cart-remove-btn:hover {
    background-color: rgba(226, 59, 73, 0.2);
}

.cart-total-section {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.cart-total-text {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badge {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    background-color: rgba(255, 106, 0, 0.1);
    color: var(--primary-orange);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.trust-text h4 {
    color: var(--text-white);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.trust-text p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cart-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cart-action-block {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 1.5rem;
}

.cart-action-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.cart-action-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-action-btn:hover {
    filter: brightness(1.1);
}

/* Premium Feature Cards */
.premium-feature-card {
    position: relative;
    background: linear-gradient(145deg, rgba(35,35,35,0.8) 0%, rgba(20,20,20,0.95) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.premium-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255,106,0,0.1);
}

.premium-feature-card .bg-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--primary-orange);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.premium-feature-card:hover .bg-decoration {
    opacity: 0.12;
}

.premium-feature-card .icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255,106,0,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.2rem;
    border: 1px solid rgba(255,106,0,0.2);
    box-shadow: 0 0 15px rgba(255,106,0,0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.premium-feature-card:hover .icon-wrapper {
    background: rgba(255,106,0,0.15);
    box-shadow: 0 0 20px rgba(255,106,0,0.25);
    transform: scale(1.05);
}

.premium-feature-card .content-wrapper {
    z-index: 2;
    position: relative;
}

.premium-feature-card h3 {
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.5px;
}

.premium-feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Product Detail Page Styles */
.product-description p { margin-bottom: 1rem; }
.product-description ul { margin-left: 1.5rem; margin-bottom: 1rem; }
.product-description li { margin-bottom: 0.5rem; }
.product-description strong { color: var(--text-white); }
.product-description h1, .product-description h2, .product-description h3 { color: var(--text-white); margin-top: 1.5rem; margin-bottom: 1rem; }

/* ========================================= */
/* LATEST PURCHASES WIDGET                   */
/* ========================================= */
.latest-purchases-widget {
    background: rgba(18, 18, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    width: 350px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.widget-header i {
    color: var(--primary-orange);
}

.widget-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 250px;
    overflow-y: auto;
}

.widget-body::-webkit-scrollbar {
    width: 4px;
}
.widget-body::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 4px;
}

.purchase-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: transform 0.2s, background 0.2s;
}

.purchase-item:hover {
    transform: translateX(5px);
    background: rgba(255, 115, 0, 0.1);
}

.purchase-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.purchase-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.purchase-user {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
}

.purchase-product {
    font-size: 0.8rem;
    color: #aaa;
}

.purchase-time {
    font-size: 0.75rem;
    color: var(--primary-orange);
    opacity: 0.8;
}

.loading-purchases {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    padding: 15px 0;
}

/* Responsive adjustment for hero image */
@media (max-width: 1024px) {
    .latest-purchases-widget {
        width: 100%;
        max-width: 400px;
        margin-top: 30px;
    }
}



/* ========================================= */
/* EXTENSIVE MOBILE RESPONSIVENESS           */
/* ========================================= */
@media (max-width: 768px) {
    /* Navbar adjustments */
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .nav-links > li {
        width: 100%;
        flex: none;
    }
    .nav-links a {
        text-align: center;
        justify-content: center;
    }
    .header-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box {
        width: 100%;
    }
    .search-box input {
        width: 100%;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem !important; /* Scale down giant title */
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .hero-content div {
        flex-direction: column;
        align-items: stretch !important;
    }
    .hero-content button, .hero-content a {
        width: 100% !important;
        justify-content: center;
    }
    
    /* Product Modal */
    .modal-content {
        padding: 1.5rem 1rem !important;
        width: 95% !important;
        max-height: 85vh;
        overflow-y: auto;
    }
    .product-detail-modal {
        padding: 1.5rem !important;
    }
    
    /* Product Grid */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Product Details Page */
    .product-detail-layout {
        flex-direction: column !important;
    }
    .product-detail-left, .product-detail-right {
        width: 100% !important;
        flex: none !important;
    }

    /* Cart Page */
    .cart-trust-badges {
        grid-template-columns: 1fr; /* Stack trust badges */
    }
    .cart-action-buttons {
        grid-template-columns: 1fr;
    }
    .cart-total-section {
        flex-direction: column;
        align-items: stretch !important;
    }
    .cart-total-text {
        flex-direction: column;
        align-items: flex-end;
        margin-top: 1rem;
    }
    .cart-table th, .cart-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }

    /* Modals & Dialogs */
    .cart-modal, #cart-modal .modal-content {
        width: 90% !important;
        padding: 1.5rem;
    }

    /* Floating Cart Button */
    .floating-cart-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Misc spacings */
    .section-header h2 {
        font-size: 1.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr !important;
    }
    .faq-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.7rem !important;
    }
    .latest-purchases-widget {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
    }
    .purchase-item {
        flex-direction: column;
        text-align: center;
    }
    .purchase-info {
        align-items: center;
    }
}


/* ========================================= */
/* HAMBURGER MENU                            */
/* ========================================= */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Hide nav links and login button by default on mobile */
    .nav-links, .nav-right {
        display: none !important;
        width: 100%;
        animation: fadeIn 0.3s ease;
    }
    
    /* Show them when mobile-open class is added */
    .nav-container.mobile-open .nav-links {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 1rem;
    }
    
    .nav-container.mobile-open .nav-right {
        display: flex !important;
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links > li {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-links a, .nav-main-link {
        width: 100%;
        padding: 0.8rem 1rem !important;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 8px;
        display: flex;
        align-items: center;
    }
    
    .submenu-toggle {
        justify-content: space-between !important;
    }
    
    .submenu {
        padding-left: 0 !important;
        margin-top: 0.5rem !important;
    }
    
    .submenu a {
        background: rgba(255, 255, 255, 0.01);
        padding-left: 2rem !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
