/* Modern Style for BuyAxis.com - 2024 Design - Blue Theme */

/* Ensure modern CSS takes precedence */
body * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Fix any inline styles that might be interfering */
[style*="float"] {
    float: none !important;
}

[style*="position: absolute"] {
    position: relative !important;
}

[style*="width:"] {
    width: auto !important;
}

/* Ensure proper box model */
* {
    box-sizing: border-box !important;
}

/* Fix any remaining old-style elements */
.searchBar, .searchBar_l, .searchBar_r, .searchBar_mid, .searchBar_txt, #searchBar, .searchBar_box, .searchBar_go,
.topTabs, .topTab_l, .topTab_r, .topTab_r.on_r,
.navBar_bg, .navBar, .navBar_content, .navBar_subnav,
.anylinkcss, .menubox,
.pList, .pListUnderLine, .pHeader {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Hide any old images that might be causing clutter */
img[src*="electronics1.jpg"],
img[src*="electronics2.jpg"],
img[src*="electronics3.jpg"],
img[src*="electronics4.jpg"],
img[src*="electronics5.jpg"],
img[src*="electronics6.gif"],
img[src*="electronics7.gif"],
img[src*="electronics8.gif"],
img[src*="electronics9.gif"],
img[src*="electronics10.gif"],
img[src*="electronics11.gif"],
img[src*="electronics12.gif"],
img[src*="electronics13.gif"],
img[src*="electronics14.gif"],
img[src*="electronics15.gif"],
img[src*="digital_cameras.jpg"],
img[src*="lcd_flat_tv.jpg"],
img[src*="mp3_players.jpg"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide old navigation elements that might be overlapping */
.anylinkcss,
.menubox,
.navBar_bg,
.navBar,
.navBar_content,
.navBar_subnav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

/* Ensure clean layout without old table structures */
table[border="0"][cellspacing="0"][cellpadding="0"] {
    display: block !important;
    width: 100% !important;
}

table[border="0"][cellspacing="0"][cellpadding="0"] td,
table[border="0"][cellspacing="0"][cellpadding="0"] tr {
    display: block !important;
    width: 100% !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Clean up any remaining old elements */
.sbbTitle,
#BrandsBoxAPI,
#screen,
.sup,
.featuredCategories,
.featuredCategory,
.featuredProductTitle,
.featuredProductPrice,
.featuredProductDescription,
.featuredProductNavLinks {
    all: unset !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Ensure the middle section is clean */
.left-panel,
.right-panel {
    background: white !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
}

/* Clean up any remaining old images in the middle section */
.left-panel img[src*="electronics"],
.right-panel img[src*="electronics"],
.left-panel img[src*="digital_cameras"],
.right-panel img[src*="digital_cameras"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Reset and Base Styles - More aggressive to override old CSS */
* {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    background-color: #f8fafc !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-align: left !important;
}

/* Override old table-based layouts */
table, td, tr {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Override old search bar styles */
.searchBar, .searchBar_l, .searchBar_r, .searchBar_mid, .searchBar_txt, #searchBar, .searchBar_box, .searchBar_go {
    all: unset !important;
}

/* Override old top tabs */
.topTabs, .topTab_l, .topTab_r, .topTab_r.on_r {
    all: unset !important;
}

/* Override old navigation */
.navBar_bg, .navBar, .navBar_content, .navBar_subnav {
    all: unset !important;
}

/* Override old menu styles */
.anylinkcss, .menubox {
    all: unset !important;
}

/* Override old product list styles */
.pList, .pListUnderLine, .pHeader {
    all: unset !important;
}

/* Override old form styles */
form {
    margin: 0 !important;
    padding: 0 !important;
}

/* Override old link styles */
a {
    text-decoration: none !important;
    color: #3b82f6 !important;
}

a:hover {
    text-decoration: underline !important;
    color: #2563eb !important;
}

/* Override old heading styles */
H1, H2, H3 {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: normal !important;
    color: #333 !important;
}

/* Container */
.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Header */
.header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    padding: 1rem 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    float: none !important;
}

.header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2rem !important;
    width: 100% !important;
}

.logo {
    flex-shrink: 0 !important;
}

.logo img {
    max-height: 50px !important;
    width: auto !important;
    border: none !important;
}

/* Search Container */
.search-container {
    flex: 1 !important;
    max-width: 500px !important;
    float: none !important;
    width: auto !important;
}

.search-form {
    width: 100% !important;
}

.search-input-group {
    display: flex !important;
    background: white !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.search-input-group:focus-within {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px) !important;
}

.search-input {
    flex: 1 !important;
    border: none !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    outline: none !important;
    background: transparent !important;
    font-family: inherit !important;
}

.search-input::placeholder {
    color: #9ca3af !important;
}

.search-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    border: none !important;
    padding: 15px 25px !important;
    color: white !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
}

.search-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    transform: scale(1.05) !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none !important;
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
}

.mobile-menu-toggle:hover {
    opacity: 0.8 !important;
}

/* Top Tabs Container */
.top-tabs-container {
    background: #f1f5f9 !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Navigation */
.navigation {
    background: white !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 1rem 0 !important;
    position: relative !important;
    z-index: 100 !important;
}

.nav-content {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
}

.nav-content a {
    color: #64748b !important;
    text-decoration: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.nav-content a:hover {
    color: #3b82f6 !important;
    background: #f1f5f9 !important;
    text-decoration: none !important;
}

/* Header Panel */
.header-panel {
    background: white !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Main Content */
.main-content {
    padding: 2rem 0 !important;
    min-height: 60vh !important;
}

.content-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
}

.content-wrapper {
    display: grid !important;
    grid-template-columns: 250px 1fr 300px !important;
    gap: 2rem !important;
    align-items: start !important;
}

.top-panel,
.bottom-panel {
    grid-column: 1 / -1 !important;
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.left-panel {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    position: sticky !important;
    top: 2rem !important;
}

.right-panel {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.right-ads-panel {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    position: sticky !important;
    top: 2rem !important;
}

/* Footer */
.footer {
    background: #1e293b !important;
    color: white !important;
    padding: 3rem 0 1rem !important;
    margin-top: 3rem !important;
}

.footer-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
}

.footer-panel {
    text-align: center !important;
}

.bottom-search {
    text-align: center !important;
    margin: 2rem 0 !important;
}

.bottom-search-form {
    max-width: 500px !important;
    margin: 0 auto !important;
}

.footer-links {
    display: flex !important;
    justify-content: center !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
    margin: 2rem 0 !important;
}

.footer-links a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-links a:hover {
    color: white !important;
    text-decoration: none !important;
}

.copyright-section {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid #334155 !important;
}

.copyright-info p {
    margin: 0 !important;
    color: #94a3b8 !important;
    font-size: 0.875rem !important;
}

.copyright-info a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
}

.copyright-details {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
}

.info-text {
    color: #94a3b8 !important;
    font-size: 0.875rem !important;
}

.powered-by img,
.script-by {
    max-height: 30px !important;
    width: auto !important;
}

.script-by {
    color: #94a3b8 !important;
    font-size: 0.875rem !important;
}

.script-by a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
}

h1 { font-size: 2.5rem !important; }
h2 { font-size: 2rem !important; }
h3 { font-size: 1.5rem !important; }
h4 { font-size: 1.25rem !important; }
h5 { font-size: 1.125rem !important; }
h6 { font-size: 1rem !important; }

p {
    margin: 0 0 1rem 0 !important;
    color: #64748b !important;
    line-height: 1.6 !important;
}

/* Buttons */
.btn {
    display: inline-block !important;
    padding: 0.75rem 1.5rem !important;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 0.5rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 1rem !important;
}

.btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
    text-decoration: none !important;
    color: white !important;
}

.btn-secondary {
    background: #64748b !important;
    color: white !important;
}

.btn-secondary:hover {
    background: #475569 !important;
    color: white !important;
}

.btn-compare {
    background: #10b981 !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

.btn-compare:hover {
    background: #059669 !important;
    color: white !important;
}

/* Form Elements */
input, select, textarea {
    font-family: inherit !important;
    font-size: 1rem !important;
    padding: 0.75rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    background: white !important;
    transition: all 0.3s ease !important;
}

input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Cards */
.card {
    background: white !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    padding: 1.5rem !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e2e8f0 !important;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px) !important;
}

/* Product Grid */
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
}

.product-card {
    background: white !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e2e8f0 !important;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px) !important;
}

.product-card-list {
    display: grid !important;
    grid-template-columns: 150px 1fr !important;
    gap: 1rem !important;
    background: white !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    padding: 1rem !important;
    border: 1px solid #e2e8f0 !important;
}

.product-image-container {
    position: relative !important;
    overflow: hidden !important;
}

.product-image {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    border-radius: 0.25rem !important;
}

.product-card:hover .product-image {
    transform: scale(1.05) !important;
}

.product-card-list .product-image {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
}

.product-info {
    padding: 1rem !important;
}

.product-card-list .product-info {
    padding: 0 !important;
}

.product-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
}

.product-title a {
    color: #1e293b !important;
    text-decoration: none !important;
}

.product-title a:hover {
    color: #3b82f6 !important;
    text-decoration: none !important;
}

.product-description {
    color: #64748b !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
}

.product-short-desc {
    color: #64748b !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
}

.read-more {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
}

.read-more:hover {
    text-decoration: underline !important;
}

.product-price {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #059669 !important;
    margin-bottom: 0.5rem !important;
}

.product-price a {
    color: #059669 !important;
    text-decoration: none !important;
}

.product-price a:hover {
    color: #047857 !important;
    text-decoration: none !important;
}

.product-price-section {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
}

.product-offers {
    color: #64748b !important;
    font-size: 0.875rem !important;
}

.product-actions {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
}

.product-rating {
    margin-bottom: 0.5rem !important;
}

.product-rating img {
    height: 16px !important;
    width: auto !important;
    vertical-align: middle !important;
}

.no-products {
    text-align: center !important;
    padding: 3rem 1rem !important;
}

.no-products .card {
    max-width: 500px !important;
    margin: 0 auto !important;
}

.no-products h2 {
    color: #64748b !important;
    margin-bottom: 1rem !important;
}

/* Additional fixes for layout issues */
/* Fix overlapping tabs */
.top-tabs-container {
    position: relative !important;
    z-index: 10 !important;
    overflow: hidden !important;
}

/* Fix cluttered right sidebar */
.right-ads-panel {
    max-height: 80vh !important;
    overflow-y: auto !important;
    padding: 1rem !important;
}

.right-ads-panel::-webkit-scrollbar {
    width: 6px !important;
}

.right-ads-panel::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 3px !important;
}

.right-ads-panel::-webkit-scrollbar-thumb {
    background: #c1c1c1 !important;
    border-radius: 3px !important;
}

.right-ads-panel::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8 !important;
}

/* Fix category lists in sidebar */
.right-ads-panel a,
.left-panel a {
    display: block !important;
    padding: 0.5rem 0 !important;
    color: #64748b !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
}

.right-ads-panel a:hover,
.left-panel a:hover {
    color: #3b82f6 !important;
    background: #f8fafc !important;
    padding-left: 0.5rem !important;
}

/* Fix featured products section */
.featured-products {
    background: white !important;
    border-radius: 0.5rem !important;
    padding: 2rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    margin-bottom: 2rem !important;
    overflow: hidden !important;
}

.featured-products h2 {
    color: #1e293b !important;
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #3b82f6 !important;
}

/* Featured Categories Tabs */
.featured-categories {
    display: flex !important;
    background: #f8fafc !important;
    border-radius: 0.5rem 0.5rem 0 0 !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}

.featured-category-tab {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    border-right: 1px solid #e2e8f0 !important;
}

.featured-category-tab:last-child {
    border-right: none !important;
}

.featured-category-tab:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

.featured-category-tab.active {
    background: #3b82f6 !important;
    color: white !important;
}

/* Featured Product Container */
.featured-product-container {
    background: white !important;
    border-radius: 0 0 0.5rem 0.5rem !important;
    overflow: hidden !important;
}

#ContentContainer {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.featured-product-item {
    display: none !important;
    padding: 2rem !important;
}

.featured-product-item:first-child {
    display: block !important;
}

/* Featured Product Content */
.featured-product-content {
    display: grid !important;
    grid-template-columns: 1fr 300px !important;
    gap: 2rem !important;
    align-items: center !important;
}

/* Featured Product Info */
.featured-product-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.featured-product-title {
    margin: 0 !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.featured-product-title a {
    color: #1e293b !important;
    text-decoration: none !important;
}

.featured-product-title a:hover {
    color: #3b82f6 !important;
    text-decoration: none !important;
}

/* Featured Product Price */
.featured-product-price {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

.price-label {
    color: #64748b !important;
    font-size: 0.875rem !important;
}

.price-value {
    color: #059669 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.featured-product-rating {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.rating-label {
    color: #64748b !important;
    font-size: 0.875rem !important;
}

.rating-stars {
    height: 16px !important;
    width: auto !important;
    vertical-align: middle !important;
}

/* Featured Product Description */
.featured-product-description {
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
}

/* Featured Product Actions */
.featured-product-actions {
    margin-top: 1rem !important;
}

.featured-product-actions .btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.featured-product-actions .btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
    text-decoration: none !important;
    color: white !important;
}

/* Featured Product Image */
.featured-product-image {
    text-align: center !important;
}

.featured-product-image img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease !important;
}

.featured-product-image img:hover {
    transform: scale(1.05) !important;
}

/* Responsive Design for Featured Products */
@media (max-width: 768px) {
    .featured-products {
        padding: 1rem !important;
    }
    
    .featured-product-content {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        text-align: center !important;
    }
    
    .featured-product-price {
        justify-content: center !important;
    }
    
    .featured-categories {
        flex-wrap: wrap !important;
    }
    
    .featured-category-tab {
        flex: 1 1 calc(50% - 1px) !important;
        font-size: 0.75rem !important;
        padding: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .featured-category-tab {
        flex: 1 1 100% !important;
    }
    
    .featured-product-title {
        font-size: 1.25rem !important;
    }
    
    .price-value {
        font-size: 1.25rem !important;
    }
}

/* Override old featured products styles */
#featuredSectionContainer,
#featuredCategoriesContainer,
#featuredProductContainer,
.featuredCategories,
.featuredCategory,
.featuredProductTitle,
.featuredProductPrice,
.featuredProductDescription,
.featuredProductNavLinks {
    all: unset !important;
    display: none !important;
}

/* Fix brand section */
.brand-section {
    background: white !important;
    border-radius: 0.5rem !important;
    padding: 1.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    margin-bottom: 2rem !important;
}

.brand-section h3 {
    color: #1e293b !important;
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
}

/* Brand Carousel */
.brand-carousel {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    position: relative !important;
}

.brand-nav {
    background: #3b82f6 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    z-index: 10 !important;
}

.brand-nav:hover {
    background: #2563eb !important;
    transform: scale(1.1) !important;
}

.brand-nav:disabled {
    background: #cbd5e0 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.brand-nav i {
    font-size: 1rem !important;
}

/* Brand Container */
.brand-container {
    flex: 1 !important;
    overflow: hidden !important;
    position: relative !important;
}

.brand-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    transition: transform 0.3s ease !important;
}

.brand-group {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    min-width: 100% !important;
    padding: 0.5rem !important;
}

/* Brand Items */
.brand-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    min-width: 80px !important;
    min-height: 60px !important;
}

.brand-item:hover {
    background: white !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    transform: translateY(-2px) !important;
    border-color: #3b82f6 !important;
}

.brand-logo {
    max-width: 100% !important;
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    filter: grayscale(100%) !important;
    transition: filter 0.3s ease !important;
    object-fit: contain !important;
}

.brand-item:hover .brand-logo {
    filter: grayscale(0%) !important;
}

/* Responsive Design for Brands */
@media (max-width: 768px) {
    .brand-carousel {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .brand-nav {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 20 !important;
    }
    
    .brand-nav.prev {
        left: -10px !important;
    }
    
    .brand-nav.next {
        right: -10px !important;
    }
    
    .brand-container {
        width: 100% !important;
        padding: 0 2rem !important;
    }
    
    .brand-group {
        gap: 0.5rem !important;
    }
    
    .brand-item {
        min-width: 60px !important;
        min-height: 50px !important;
        padding: 0.25rem !important;
    }
    
    .brand-logo {
        max-height: 30px !important;
    }
}

@media (max-width: 480px) {
    .brand-section {
        padding: 1rem !important;
    }
    
    .brand-group {
        gap: 0.25rem !important;
    }
    
    .brand-item {
        min-width: 50px !important;
        min-height: 40px !important;
    }
    
    .brand-logo {
        max-height: 25px !important;
    }
}

/* Override old brands styles */
#BrandsBoxAPI,
.sbbTitle,
#screen,
.sup,
.sbbTitle {
    all: unset !important;
    display: none !important;
}

/* Fix navigation spacing */
.nav-content {
    gap: 1rem !important;
}

.nav-content a {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 200px !important;
}

/* Fix product grid spacing */
.product-grid {
    gap: 1rem !important;
}

.product-card {
    margin-bottom: 0 !important;
}

/* Fix search bar positioning */
.search-container {
    position: relative !important;
    z-index: 100 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 200px 1fr !important;
    }
    
    .right-ads-panel {
        display: none !important;
    }
    
    .product-card-list {
        grid-template-columns: 120px 1fr !important;
    }
    
    .product-price-section {
        grid-column: 1 / -1 !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px !important;
    }
    
    .header-content {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .search-container {
        max-width: 100% !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        position: absolute !important;
        top: 1rem !important;
        right: 1rem !important;
    }
    
    .navigation {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 80% !important;
        height: 100vh !important;
        background: white !important;
        z-index: 1001 !important;
        transition: left 0.3s ease !important;
        overflow-y: auto !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1) !important;
    }
    
    .navigation.mobile-open {
        left: 0 !important;
    }
    
    .nav-content {
        flex-direction: column !important;
        padding: 2rem 1rem !important;
        gap: 1rem !important;
    }
    
    .nav-content a {
        width: 100% !important;
        text-align: center !important;
        padding: 1rem !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .left-panel {
        position: static !important;
        order: 2 !important;
    }
    
    .right-panel {
        order: 1 !important;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
        gap: 1rem !important;
    }
    
    .product-card-list {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        text-align: center !important;
    }
    
    .product-image-container {
        text-align: center !important;
    }
    
    .product-card-list .product-image {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto 1rem auto !important;
    }
    
    .product-price-section {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .footer-links {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .copyright-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    
    .copyright-details {
        justify-content: center !important;
    }
    
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.5rem !important; }
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0 !important;
    }
    
    .logo img {
        max-height: 40px !important;
    }
    
    .search-input-group {
        flex-direction: column !important;
        border-radius: 0.5rem !important;
    }
    
    .search-input {
        border-radius: 0.5rem 0.5rem 0 0 !important;
        text-align: center !important;
    }
    
    .search-button {
        border-radius: 0 0 0.5rem 0.5rem !important;
        width: 100% !important;
    }
    
    .main-content {
        padding: 1rem 0 !important;
    }
    
    .top-panel,
    .bottom-panel,
    .left-panel,
    .right-panel,
    .right-ads-panel {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .product-card-list .product-image {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Utility Classes */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2rem !important; }

.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 2rem !important; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* Loading states */
.loading {
    position: relative !important;
    overflow: hidden !important;
}

.loading::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 20px !important;
    height: 20px !important;
    margin: -10px 0 0 -10px !important;
    border: 2px solid #f3f3f3 !important;
    border-top: 2px solid #3b82f6 !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth !important;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #3b82f6 !important;
    outline-offset: 2px !important;
}

/* Print styles */
@media print {
    .header,
    .navigation,
    .footer,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
} 

/* Product Browser */
.product-browser {
    background: white !important;
    border-radius: 0.5rem !important;
    padding: 1.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    margin-bottom: 2rem !important;
}

.product-browser h3 {
    color: #1e293b !important;
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
}

/* Product Gallery */
.product-gallery {
    position: relative !important;
}

.gallery-container {
    overflow: hidden !important;
    position: relative !important;
    margin-bottom: 1rem !important;
}

.gallery-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    gap: 1rem !important;
    transition: left 0.3s ease !important;
}

.gallery-item {
    flex-shrink: 0 !important;
    width: 120px !important;
}

.gallery-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.3s ease !important;
}

.gallery-link:hover {
    transform: translateY(-2px) !important;
}

.gallery-image {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    transition: box-shadow 0.3s ease !important;
}

.gallery-link:hover .gallery-image {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.gallery-caption {
    display: block !important;
    text-align: center !important;
    margin-top: 0.5rem !important;
    font-size: 0.875rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Gallery Slider */
.gallery-slider {
    margin-top: 1rem !important;
}

.slider-track {
    background: #e2e8f0 !important;
    height: 4px !important;
    border-radius: 2px !important;
    position: relative !important;
    margin-bottom: 0.5rem !important;
}

.slider-handle {
    background: #3b82f6 !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: -6px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.slider-handle:hover {
    background: #2563eb !important;
}

.slider-labels {
    display: flex !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
}

.slider-label {
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Shopping Categories */
.shopping-categories {
    background: white !important;
    border-radius: 0.5rem !important;
    padding: 1.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    margin-bottom: 2rem !important;
}

.shopping-categories h3 {
    color: #1e293b !important;
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
}

.categories-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.category-section {
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 1rem !important;
}

.category-section:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.category-title {
    margin: 0 0 0.5rem 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.category-title a {
    color: #1e293b !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.category-title a:hover {
    color: #3b82f6 !important;
    text-decoration: none !important;
}

.category-items {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    align-items: center !important;
}

.category-item {
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    transition: color 0.3s ease !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.25rem !important;
}

.category-item:hover {
    color: #3b82f6 !important;
    background: #f8fafc !important;
    text-decoration: none !important;
}

.category-more {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    margin-left: auto !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.25rem !important;
    transition: all 0.3s ease !important;
}

.category-more:hover {
    background: #3b82f6 !important;
    color: white !important;
    text-decoration: none !important;
}

.category-break {
    height: 1rem !important;
    border-top: 1px solid #e2e8f0 !important;
    margin: 1rem 0 !important;
}

/* Responsive Design for Product Browser */
@media (max-width: 768px) {
    .product-browser {
        padding: 1rem !important;
    }
    
    .gallery-item {
        width: 100px !important;
    }
    
    .gallery-image {
        height: 100px !important;
    }
    
    .gallery-caption {
        font-size: 0.75rem !important;
    }
    
    .slider-labels {
        flex-wrap: wrap !important;
    }
    
    .slider-label {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 80px !important;
    }
    
    .gallery-image {
        height: 80px !important;
    }
    
    .gallery-caption {
        font-size: 0.7rem !important;
    }
}

/* Responsive Design for Shopping Categories */
@media (max-width: 768px) {
    .shopping-categories {
        padding: 1rem !important;
    }
    
    .category-items {
        gap: 0.25rem !important;
    }
    
    .category-item {
        font-size: 0.8rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .category-more {
        font-size: 0.8rem !important;
        padding: 0.2rem 0.4rem !important;
    }
}

@media (max-width: 480px) {
    .category-items {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    
    .category-item {
        font-size: 0.75rem !important;
    }
    
    .category-more {
        font-size: 0.75rem !important;
        margin-left: 0 !important;
    }
}

/* Override old ProductBrowser and ShoppingCategories styles */
#container,
.sliderGallery,
.slider,
.handle,
.slider-lbl,
.cats-content,
.sbbTitle,
.SectionTitle {
    all: unset !important;
    display: none !important;
}

/* Single Product Styles */
.single-product-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.single-product-header {
    margin-bottom: 30px !important;
    text-align: center !important;
}

.single-product-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.2 !important;
}

.single-product-subtitle {
    font-size: 1.1rem !important;
    color: #6b7280 !important;
    margin: 0 !important;
}

.single-product-content {
    display: grid !important;
    grid-template-columns: 1fr 2fr !important;
    gap: 40px !important;
    margin-bottom: 30px !important;
}

.single-product-image-section {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

.single-product-image-container {
    position: relative !important;
    max-width: 400px !important;
    width: 100% !important;
}

.single-product-image {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease !important;
}

.single-product-image:hover {
    transform: scale(1.02) !important;
}

.single-product-info-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.single-product-description {
    margin-bottom: 20px !important;
}

.single-product-name {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin: 0 0 15px 0 !important;
}

.single-product-desc-text {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #4b5563 !important;
}

.read-more-link {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.read-more-link:hover {
    color: #2563eb !important;
    text-decoration: underline !important;
}

.single-product-details {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.single-product-details-header {
    background: #f9fafb !important;
    padding: 15px 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: background-color 0.3s ease !important;
}

.single-product-details-header:hover {
    background: #f3f4f6 !important;
}

.toggle-icon {
    width: 16px !important;
    height: 16px !important;
}

.details-title {
    font-weight: 600 !important;
    color: #374151 !important;
}

.details-hint {
    font-size: 0.875rem !important;
    color: #9ca3af !important;
}

.single-product-details-content {
    padding: 20px !important;
}

.details-table {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.detail-row {
    display: grid !important;
    grid-template-columns: 1fr 2fr !important;
    gap: 20px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.detail-row:last-child {
    border-bottom: none !important;
}

.detail-row-alt {
    background: #f9fafb !important;
}

.detail-header {
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 0.9rem !important;
}

.detail-value {
    color: #4b5563 !important;
    font-size: 0.9rem !important;
}

.single-product-rating {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.single-product-offers-summary {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    padding: 20px !important;
    border-radius: 8px !important;
    text-align: center !important;
}

.offers-link {
    text-decoration: none !important;
    color: #fff !important;
    display: block !important;
}

.offers-count {
    display: block !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
}

.offers-price {
    display: block !important;
    font-size: 1.1rem !important;
    opacity: 0.9 !important;
}

.single-product-tabs {
    margin: 30px 0 !important;
    border-bottom: 2px solid #e5e7eb !important;
}

.single-product-tab-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    gap: 0 !important;
}

.single-product-tab-item {
    margin: 0 !important;
}

.single-product-tab-active {
    color: #3b82f6 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.single-product-tab-link {
    color: #6b7280 !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    transition: color 0.3s ease !important;
}

.single-product-tab-link:hover {
    color: #3b82f6 !important;
}

.single-product-navigation {
    margin-top: 20px !important;
}

.single-product-nav-container {
    display: flex !important;
    gap: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.single-product-nav-item {
    flex: 1 !important;
    text-align: center !important;
    background: #f9fafb !important;
    transition: background-color 0.3s ease !important;
}

.single-product-nav-item:hover {
    background: #f3f4f6 !important;
}

.single-product-nav-active {
    background: #3b82f6 !important;
    color: #fff !important;
    padding: 15px !important;
    font-weight: 600 !important;
}

.single-product-nav-link {
    padding: 15px !important;
    display: block !important;
}

.single-product-nav-a {
    color: #374151 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.single-product-nav-a:hover {
    color: #3b82f6 !important;
}

/* Responsive Design for Single Product */
@media (max-width: 768px) {
    .single-product-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .single-product-title {
        font-size: 2rem !important;
    }
    
    .single-product-image-container {
        max-width: 100% !important;
    }
    
    .detail-row {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }
    
    .single-product-tab-list {
        flex-direction: column !important;
    }
    
    .single-product-nav-container {
        flex-direction: column !important;
    }
} 