:root {
    --primary: #0046be; /* Trustworthy Blue (similar to BestBuy/US tech retailers) */
    --primary-hover: #003696;
    --secondary: #000000;
    --background: #ffffff;
    --surface: #ffffff;
    --text-main: #111827;
    --text-muted: #4b5563;
    --border: #e5e7eb;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    
    /* Clean, crisp shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* New Header */
.store-header-new {
    background: #f8f7f4;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.store-brand-new {
    font-size: 1.8rem;
    font-family: Georgia, serif;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.header-search-input {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    font-size: 0.95rem;
    color: #333;
}
.header-search-input:focus {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    outline: none;
}
.header-search-btn {
    width: 34px;
    height: 34px;
    background: #111;
    color: #fff;
    transition: transform 0.2s;
}
.header-search-btn:hover {
    transform: scale(1.05);
    color: #fff;
    background: #333;
}

.action-btn-new {
    color: #111;
    font-size: 1.4rem;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.action-btn-new:hover {
    color: #555;
}

.cart-badge-new {
    top: 0;
    right: -10px;
    background: #6347ff;
    color: #fff;
    font-size: 0.65rem;
    padding: 0.3em 0.5em;
}

.store-nav-new {
    border-color: rgba(0,0,0,0.05) !important;
}

.store-nav-new .nav-link {
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    padding: 0;
}
.store-nav-new .nav-link:hover {
    color: #111;
}

/* Scrolling Ticker */
.ticker-bar {
    background: #111;
    color: #fff;
    overflow: hidden;
    padding: 0.5rem 0;
    white-space: nowrap;
    position: relative;
    display: flex;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: scroll-ticker 30s linear infinite;
}

.ticker-content span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-content small {
    color: #999;
    font-size: 0.7rem;
    font-weight: 500;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 14px 0 rgba(0, 70, 190, 0.39);
    letter-spacing: 0.02em;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(0, 70, 190, 0.23);
    transform: translateY(-1px);
}

.btn-add-to-cart {
    background-color: #ffcc00; /* Amazon-style CTA */
    color: #000;
    border: none;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-add-to-cart:hover {
    background-color: #f2c200;
    color: #000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-card-img-wrap {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #f8f9fa;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

/* Cart Drawer */
.cart-drawer-new {
    background-color: #f8f7f4;
    width: 400px !important;
}

.qty-selector-new button {
    cursor: pointer;
    transition: color 0.2s;
}

.qty-selector-new button:hover {
    color: #111 !important;
}

.btn-white {
    background-color: #fff;
    border: 1px solid #111;
    color: #111;
    transition: all 0.2s;
}

.btn-white:hover {
    background-color: #f3f4f6;
    color: #111;
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 2;
}

.product-badge-discount {
    background: #5a54f9; /* Purple/Blue */
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    text-transform: uppercase;
}

.product-badge-new {
    background: #ffffff;
    color: #111;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product-wishlist-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
}

.product-wishlist-btn:hover {
    color: #ef4444;
    transform: scale(1.05);
}

.product-add-hover {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 85%;
    background: #111;
    color: #fff;
    border: none;
    padding: 0.6rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 2;
}

.product-card:hover .product-add-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.product-card-body {
    padding: 1.25rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.product-category {
    font-size: 0.65rem;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.product-title:hover {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.product-rating .stars {
    color: #d1b06b;
    font-size: 0.65rem;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
}

.product-price-old {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.product-quick-add {
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
    border: none;
    transition: all var(--transition-fast);
}

.product-quick-add:hover {
    background: #e5e7eb;
    transform: scale(1.05);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}
.trust-badges i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: #000;
    color: #fff;
    margin-top: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-content {
    padding: 6rem 2rem;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Category Cards */
.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-normal);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--text-main);
}

.category-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.category-card:hover .category-icon-wrapper {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.category-name {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.category-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.add-to-cart-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    margin-top: 1rem;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.add-to-cart-btn:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

/* Dark Footer */
.store-footer-dark {
    background-color: #121110;
    color: #fff;
    border-top: none;
}

.store-brand-dark {
    font-size: 1.6rem;
    font-family: Georgia, serif;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.fs-8 { font-size: 0.75rem; }
.tracking-wider { letter-spacing: 0.05em; }

.footer-links-dark a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-links-dark a:hover, .hover-white:hover {
    color: #fff !important;
}

.footer-bottom-dark {
    border-top: 1px solid #2d2d2d;
}

/* Custom Pagination */
.pagination {
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-item .page-link {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 600;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all var(--transition-fast);
}

.page-item .page-link:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: var(--primary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 70, 190, 0.2);
}

.page-item.disabled .page-link {
    background-color: transparent;
    color: #9ca3af;
    border-color: var(--border);
}

/* Product Detail Page */
.product-gallery-main {
    border: 1px solid var(--border);
    background: #fff;
    margin-bottom: 1rem;
    padding: 2rem;
}

.product-gallery-thumb {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 1px solid var(--border);
    padding: 0.25rem;
    cursor: pointer;
    background: #fff;
    transition: border var(--transition-fast);
}

.product-gallery-thumb.active, .product-gallery-thumb:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 0 1px var(--secondary);
}

.variant-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-option {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.variant-option.active {
    border-color: var(--primary);
    background: rgba(0, 70, 190, 0.05);
    box-shadow: 0 0 0 1px var(--primary);
}
