/**
 * Overgear Style - Complete Rewrite v2.0
 */

:root {
    --og-bg-primary: #0d0d14;
    --og-bg-secondary: #13131f;
    --og-bg-card: #1a1a2e;
    --og-bg-card-hover: #232340;
    --og-text-primary: #ffffff;
    --og-text-secondary: #a0a0b0;
    --og-text-muted: #6b6b7b;
    --og-accent-primary: #7c3aed;
    --og-accent-secondary: #a855f7;
    --og-accent-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    --og-success: #8B5CF6;
    --og-warning: #f59e0b;
    --og-danger: #ef4444;
    --og-border-color: #2a2a3e;
    --og-border-radius: 12px;
    --og-border-radius-sm: 8px;
    --og-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --og-transition: all 0.2s ease;
}

* {
    box-sizing: border-box;
}

body.single-product {
    background: var(--og-bg-primary) !important;
}

/* ========================================
   SINGLE PRODUCT LAYOUT
   ======================================== */
.overgear-product-layout {
    display: grid;
    grid-template-columns: 240px 1fr 420px;
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 20px 100px;
    min-height: 100vh;
}

.overgear-sidebar-col {
    position: relative;
}

.overgear-content-col {
    background: var(--og-bg-secondary);
    border-radius: var(--og-border-radius);
    padding: 30px;
    min-width: 0;
}

.overgear-config-col {
    position: relative;
    height: fit-content;
}

/* ========================================
   RIGHT PANEL - CONFIG (FIXED BOTTOM PRICE)
   ======================================== */
.overgear-config-panel {
    background: var(--og-bg-secondary);
    border-radius: var(--og-border-radius);
    border: 1px solid var(--og-border-color);
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Scrollable content area */
.overgear-config-panel .config-panel-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    padding-bottom: 10px;
}

/* Custom scrollbar */
.overgear-config-panel .config-panel-scroll::-webkit-scrollbar {
    width: 6px;
}

.overgear-config-panel .config-panel-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.overgear-config-panel .config-panel-scroll::-webkit-scrollbar-thumb {
    background: var(--og-border-color);
    border-radius: 3px;
}

.overgear-config-panel .config-panel-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--og-accent-primary);
}

/* Fixed bottom section */
.overgear-config-panel .config-panel-fixed {
    flex-shrink: 0;
    padding: 20px 24px 24px;
    background: var(--og-bg-secondary);
    border-top: 1px solid var(--og-border-color);
}
/* Product Image - Horizontal 2:3 ratio */
.overgear-config-panel .product-image-wrapper {
    aspect-ratio: 3 / 2 !important;
    width: 100% !important;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.overgear-config-panel .product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}


/* ========================================
   CONFIGURATOR STYLES
   ======================================== */
.overgear-configurator {
    margin-bottom: 20px;
}

.overgear-configurator .config-group {
    margin-bottom: 24px;
}

.overgear-configurator .config-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--og-text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overgear-configurator .config-label .required {
    color: var(--og-danger);
    margin-left: 3px;
}

/* ========================================
   BUTTON GROUP - OVERGEAR STYLE
   ======================================== */
.overgear-configurator .config-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.overgear-configurator .config-btn {
    flex: 1 1 auto;
    min-width: 90px;
    padding: 14px 18px;
    background: var(--og-bg-card);
    border: 2px solid var(--og-border-color);
    border-radius: var(--og-border-radius-sm);
    color: var(--og-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--og-transition);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    outline: none;
}

.overgear-configurator .config-btn:hover {
    border-color: var(--og-accent-primary);
    color: var(--og-text-primary);
    background: var(--og-bg-card-hover);
}

.overgear-configurator .config-btn.active {
    background: var(--og-accent-gradient) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.overgear-configurator .config-btn .price-mod {
    font-size: 11px;
    opacity: 0.8;
    display: block;
}

.overgear-configurator .config-btn.active .price-mod {
    color: rgba(255,255,255,0.9);
}

/* ========================================
   RANGE SLIDER - OVERGEAR STYLE (SINGLE TRACK)
   ======================================== */
.overgear-configurator .config-range {
    background: var(--og-bg-card);
    border-radius: var(--og-border-radius-sm);
    padding: 24px;
    border: 1px solid var(--og-border-color);
}

.overgear-configurator .range-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.overgear-configurator .range-box {
    flex: 1;
    background: var(--og-bg-secondary);
    border: 1px solid var(--og-border-color);
    border-radius: var(--og-border-radius-sm);
    padding: 16px;
    text-align: center;
}

.overgear-configurator .range-box-label {
    display: block;
    font-size: 11px;
    color: var(--og-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overgear-configurator .range-box-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--og-text-primary);
    line-height: 1;
}

/* Slider Track Container */
.overgear-configurator .range-slider-wrapper {
    position: relative;
    height: 50px;
    margin: 20px 0;
    padding: 0 12px;
}

/* Background Track */
.overgear-configurator .range-track {
    position: absolute;
    top: 50%;
    left: 12px;
    right: 12px;
    height: 8px;
    background: var(--og-border-color);
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 1;
}

/* Filled Track */
.overgear-configurator .range-track-fill {
    position: absolute;
    top: 50%;
    height: 8px;
    background: var(--og-accent-gradient);
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

/* Range Inputs */
.overgear-configurator .range-slider-wrapper input[type="range"] {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 3;
}

/* Webkit Thumb */
.overgear-configurator .range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    background: var(--og-accent-primary);
    border: 4px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    transition: transform 0.15s ease;
}

.overgear-configurator .range-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.overgear-configurator .range-slider-wrapper input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

/* Firefox Thumb */
.overgear-configurator .range-slider-wrapper input[type="range"]::-moz-range-thumb {
    width: 26px;
    height: 26px;
    background: var(--og-accent-primary);
    border: 4px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.overgear-configurator .range-slider-wrapper input[type="range"]::-moz-range-track {
    background: transparent;
    border: none;
}

/* Range Info */
.overgear-configurator .range-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--og-border-color);
}

.overgear-configurator .range-info span {
    font-size: 13px;
    color: var(--og-text-secondary);
}

.overgear-configurator .range-info strong {
    color: var(--og-accent-secondary);
    font-weight: 600;
}

/* ========================================
   CHECKBOXES - OVERGEAR STYLE
   ======================================== */
.overgear-configurator .config-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.overgear-configurator .checkbox-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: var(--og-bg-card);
    border: 2px solid var(--og-border-color);
    border-radius: var(--og-border-radius-sm);
    cursor: pointer;
    transition: var(--og-transition);
}

.overgear-configurator .checkbox-item:hover {
    border-color: var(--og-accent-primary);
    background: var(--og-bg-card-hover);
}

.overgear-configurator .checkbox-item.checked {
    border-color: var(--og-accent-primary);
    background: rgba(124, 58, 237, 0.15);
}

.overgear-configurator .checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 14px;
    accent-color: var(--og-accent-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.overgear-configurator .checkbox-label {
    flex: 1;
    font-size: 14px;
    color: var(--og-text-secondary);
}

.overgear-configurator .checkbox-item.checked .checkbox-label {
    color: var(--og-text-primary);
}

.overgear-configurator .addon-price {
    font-size: 14px;
    color: var(--og-success);
    font-weight: 600;
    margin-left: 10px;
}

/* ========================================
   SELECT DROPDOWN
   ======================================== */
.overgear-configurator .config-select {
    width: 100%;
    padding: 14px 16px;
    background: var(--og-bg-card);
    border: 2px solid var(--og-border-color);
    border-radius: var(--og-border-radius-sm);
    color: var(--og-text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--og-transition);
    outline: none;
}

.overgear-configurator .config-select:hover,
.overgear-configurator .config-select:focus {
    border-color: var(--og-accent-primary);
}

.overgear-configurator .config-select option {
    background: var(--og-bg-card);
    color: var(--og-text-primary);
}

/* ========================================
   PRICE DISPLAY
   ======================================== */
.overgear-price-display {
    background: var(--og-bg-card);
    border-radius: var(--og-border-radius-sm);
    padding: 24px;
    text-align: center;
    margin: 24px 0;
    border: 1px solid var(--og-border-color);
}

.overgear-price-display .original-price {
    font-size: 18px;
    color: var(--og-text-muted);
    text-decoration: line-through;
    margin-bottom: 8px;
}

.overgear-price-display .final-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--og-text-primary);
    line-height: 1.1;
}

.overgear-price-display .cashback {
    font-size: 13px;
    color: var(--og-success);
    margin-top: 10px;
}

/* ========================================
   DELIVERY INFO
   ======================================== */
.overgear-delivery-info {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: var(--og-bg-card);
    border-radius: var(--og-border-radius-sm);
    margin-bottom: 20px;
    border: 1px solid var(--og-border-color);
}

.overgear-delivery-info .delivery-item {
    text-align: center;
}

.overgear-delivery-info .delivery-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--og-text-primary);
    margin-bottom: 4px;
}

.overgear-delivery-info .delivery-label {
    font-size: 11px;
    color: var(--og-text-muted);
    text-transform: uppercase;
}

/* ========================================
   ADD TO CART BUTTON
   ======================================== */
.overgear-add-to-cart {
    width: 100%;
    padding: 18px 30px;
    background: var(--og-accent-gradient);
    border: none;
    border-radius: var(--og-border-radius-sm);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--og-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overgear-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.overgear-add-to-cart:active {
    transform: translateY(0);
}

.overgear-add-to-cart.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ========================================
   PAYMENT METHODS
   ======================================== */
.overgear-payment-methods {
    margin-top: 24px;
    text-align: center;
}

.overgear-payment-methods .payment-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.overgear-payment-methods .payment-icon {
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.overgear-payment-methods .payment-icon:hover {
    opacity: 1;
}

.overgear-payment-methods .money-back-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--og-text-secondary);
}

.overgear-payment-methods .guarantee-icon {
    color: var(--og-success);
}

/* ========================================
   LEFT SIDEBAR - OVERGEAR BOX STYLE
   ======================================== */
.overgear-sidebar {
    background: var(--og-bg-secondary);
    border-radius: var(--og-border-radius);
    padding: 0;
    position: sticky;
    top: 20px;
    overflow: hidden;
    border: 1px solid var(--og-border-color);
}

.overgear-sidebar .sidebar-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--og-text-secondary);
    padding: 20px 20px 16px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--og-border-color);
}

.overgear-sidebar .category-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

/* Parent category item */
.overgear-sidebar .cat-item {
    margin: 0;
}

/* Category item row - contains link and toggle */
.overgear-sidebar .cat-item-row {
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.overgear-sidebar .cat-item-row:hover {
    background: rgba(124, 58, 237, 0.08);
    border-left-color: var(--og-accent-primary);
}

.overgear-sidebar .cat-item.current > .cat-item-row {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.15) 0%, transparent 100%);
    border-left-color: var(--og-accent-primary);
}

.overgear-sidebar .cat-item.ancestor > .cat-item-row {
    border-left-color: transparent;
}

.overgear-sidebar .cat-item-row > a {
    flex: 1;
    display: block;
    padding: 14px 20px;
    color: var(--og-text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.overgear-sidebar .cat-item.current > .cat-item-row > a {
    color: var(--og-accent-secondary);
    font-weight: 600;
}

.overgear-sidebar .cat-item.ancestor > .cat-item-row > a {
    color: var(--og-text-primary);
    font-weight: 600;
}

/* Toggle button for expandable categories */
.overgear-sidebar .toggle-children {
    flex-shrink: 0;
    width: 44px;
    height: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--og-text-muted);
    transition: all 0.2s ease;
}

.overgear-sidebar .toggle-children:hover {
    background: rgba(124, 58, 237, 0.15);
    color: var(--og-text-primary);
}

.overgear-sidebar .toggle-children i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.overgear-sidebar .cat-item.expanded > .cat-item-row > .toggle-children i {
    transform: rotate(180deg);
}

/* Sub-categories container */
.overgear-sidebar .sub-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.overgear-sidebar .sub-categories[style*="display: none"] {
    max-height: 0;
    opacity: 0;
}

/* Sub-category items */
.overgear-sidebar .sub-categories .cat-item-row {
    border-left: none;
}

.overgear-sidebar .sub-categories .cat-item-row > a {
    padding: 12px 20px 12px 36px;
    font-size: 14px;
    font-weight: 400;
    color: var(--og-text-secondary);
    position: relative;
}

.overgear-sidebar .sub-categories .cat-item-row > a::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--og-border-color);
    transition: all 0.2s ease;
}

.overgear-sidebar .sub-categories .cat-item-row:hover {
    background: rgba(124, 58, 237, 0.08);
    border-left: none;
}

.overgear-sidebar .sub-categories .cat-item-row:hover > a {
    color: var(--og-text-primary);
}

.overgear-sidebar .sub-categories .cat-item-row:hover > a::before {
    background: var(--og-accent-primary);
}

.overgear-sidebar .sub-categories .cat-item.current > .cat-item-row {
    background: rgba(124, 58, 237, 0.12);
}

.overgear-sidebar .sub-categories .cat-item.current > .cat-item-row > a {
    color: var(--og-accent-secondary);
    font-weight: 500;
}

.overgear-sidebar .sub-categories .cat-item.current > .cat-item-row > a::before {
    background: var(--og-accent-primary);
    box-shadow: 0 0 8px var(--og-accent-primary);
}

/* Nested sub-categories (depth 2+) */
.overgear-sidebar .sub-categories .sub-categories .cat-item-row > a {
    padding-left: 52px;
}

.overgear-sidebar .sub-categories .sub-categories .cat-item-row > a::before {
    left: 36px;
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.overgear-breadcrumbs {
    margin-bottom: 20px;
    font-size: 13px;
}

.overgear-breadcrumbs a {
    color: var(--og-text-secondary);
    text-decoration: none;
}

.overgear-breadcrumbs a:hover {
    color: var(--og-accent-secondary);
}

.overgear-breadcrumbs .sep {
    margin: 0 8px;
    color: var(--og-text-muted);
}

.overgear-breadcrumbs .current {
    color: var(--og-text-primary);
}

/* Product Title */
.product_title {
    font-size: 28px;
    font-weight: 700;
    color: var(--og-text-primary);
    margin-bottom: 15px;
}

/* Highlights */
.overgear-highlights {
    background: var(--og-bg-card);
    border-radius: var(--og-border-radius-sm);
    padding: 20px;
    margin: 25px 0;
    border: 1px solid var(--og-border-color);
}

.overgear-highlights .highlights-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--og-text-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.overgear-highlights .highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overgear-highlights .highlights-list li {
    padding: 8px 0;
    color: var(--og-text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--og-border-color);
}

.overgear-highlights .highlights-list li:last-child {
    border-bottom: none;
}

/* Why Choose Us */
.overgear-why-choose {
    margin: 40px 0;
}

.overgear-why-choose .section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--og-text-primary);
    margin-bottom: 20px;
}

.overgear-why-choose .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.overgear-why-choose .feature-item {
    background: var(--og-bg-card);
    border-radius: var(--og-border-radius-sm);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--og-border-color);
}

.overgear-why-choose .feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.overgear-why-choose .feature-item h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--og-text-primary);
    margin-bottom: 6px;
}

.overgear-why-choose .feature-item p {
    font-size: 12px;
    color: var(--og-text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   NOTIFICATION
   ======================================== */
.overgear-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 28px;
    border-radius: var(--og-border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    z-index: 99999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.overgear-notification.show {
    transform: translateX(0);
}

.overgear-notification.success {
    background: var(--og-success);
    color: #fff;
}

.overgear-notification.error {
    background: var(--og-danger);
    color: #fff;
}

/* ========================================
   ARCHIVE/CATEGORY PAGE LAYOUT - Full Width Like Overgear
   ======================================== */
.overgear-archive-wrapper {
    background: var(--og-bg-primary);
    min-height: 100vh;
    padding: 30px 0 60px;
    width: 100%;
}

.overgear-archive-wrapper .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.overgear-archive-layout {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.overgear-archive-sidebar {
    position: fixed;
    top: 0;
    left: 20px;
    width: 260px;
    height: 100vh;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.overgear-archive-sidebar::-webkit-scrollbar {
    display: none;
}


.overgear-archive-content {
    flex: 1;
    min-width: 0;
    margin-left: 300px;
    padding: 0 30px;
}

/* Archive Header */
.archive-header {
    margin-bottom: 30px;
}

.archive-header .archive-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--og-text-primary);
    margin: 0 0 15px;
}

.archive-header .archive-description {
    font-size: 15px;
    color: var(--og-text-secondary);
    line-height: 1.6;
}

/* Shop Toolbar */
.overgear-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--og-bg-secondary);
    border-radius: var(--og-border-radius);
    margin-bottom: 24px;
    border: 1px solid var(--og-border-color);
}

.overgear-shop-toolbar .woocommerce-result-count {
    margin: 0;
    font-size: 14px;
    color: var(--og-text-secondary);
}

.overgear-shop-toolbar .woocommerce-ordering select {
    background: var(--og-bg-card);
    border: 1px solid var(--og-border-color);
    color: var(--og-text-primary);
    padding: 10px 35px 10px 15px;
    border-radius: var(--og-border-radius-sm);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.overgear-shop-toolbar .woocommerce-ordering select:hover,
.overgear-shop-toolbar .woocommerce-ordering select:focus {
    border-color: var(--og-accent-primary);
}

/* Products Grid - Overgear Style 5 columns */
.overgear-archive-content ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.overgear-archive-content ul.products::before,
.overgear-archive-content ul.products::after {
    display: none !important;
    content: none !important;
}

.overgear-archive-content ul.products li.product,
.overgear-archive-content ul.products li.overgear-product-card {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: none !important;
}

/* Product Card - Overgear Image Overlay Style */
.overgear-archive-content .overgear-product-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--og-bg-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overgear-archive-content .overgear-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.overgear-archive-content .overgear-product-card .product-card-inner {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 140%;
    overflow: hidden;
}

/* Product Image - Full cover with zoom effect */
.overgear-archive-content .overgear-product-card .product-image-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.overgear-archive-content .overgear-product-card .product-image-link img,
.overgear-archive-content .overgear-product-card .product-thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.overgear-archive-content .overgear-product-card:hover .product-image-link img,
.overgear-archive-content .overgear-product-card:hover .product-thumbnail {
    transform: scale(1.08);
}

/* Inner shadow overlay on image */
.overgear-archive-content .overgear-product-card .product-image-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
}

/* Bottom gradient overlay for text readability - only bottom 1/3 */
.overgear-archive-content .overgear-product-card .product-card-inner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Product Content - Positioned at bottom, more space for text */
.overgear-archive-content .overgear-product-card .product-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 3;
}

/* Product Title - Larger */
.overgear-archive-content .overgear-product-card .product-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overgear-archive-content .overgear-product-card .product-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.overgear-archive-content .overgear-product-card:hover .product-title a {
    color: var(--og-accent-secondary);
}

/* Product Highlights - Compact like overgear */
.overgear-archive-content .overgear-product-card .product-highlights-preview {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.overgear-archive-content .overgear-product-card .product-highlights-preview li {
    padding-left: 14px;
    position: relative;
    line-height: 1.4;
    margin-bottom: 2px;
}

.overgear-archive-content .overgear-product-card .product-highlights-preview li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 5px;
    height: 5px;
    background: var(--og-accent-secondary);
    border-radius: 50%;
}

/* Price Section - Compact */
.overgear-archive-content .overgear-product-card .product-price-wrapper {
    margin-top: 4px;
}

.overgear-archive-content .overgear-product-card .sale-badge {
    display: inline-block;
    background: var(--og-success);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 2px;
    margin-bottom: 3px;
    margin-right: 6px;
}

.overgear-archive-content .overgear-product-card .price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.overgear-archive-content .overgear-product-card .price-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.overgear-archive-content .overgear-product-card .price-display .price {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.overgear-archive-content .overgear-product-card .price-display .price del {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 400;
}

.overgear-archive-content .overgear-product-card .price-display .price ins {
    text-decoration: none;
    color: var(--og-accent-secondary);
}

/* Product Label */
.overgear-archive-content .overgear-product-card .overgear-product-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 4;
    letter-spacing: 0.5px;
}

.overgear-archive-content .overgear-product-card .label-hot {
    background: #ef4444;
    color: #fff;
}

.overgear-archive-content .overgear-product-card .label-bundle {
    background: var(--og-accent-primary);
    color: #fff;
}

.overgear-archive-content .overgear-product-card .label-new {
    background: var(--og-success);
    color: #fff;
}

.overgear-archive-content .overgear-product-card .label-weekly {
    background: #f59e0b;
    color: #fff;
}

/* Hide category badge in this layout */
.overgear-archive-content .overgear-product-card .product-category-badge {
    display: none;
}

/* Fallback for standard WooCommerce product cards */
.overgear-archive-content ul.products li.product:not(.overgear-product-card) {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--og-bg-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 280px;
}

.overgear-archive-content ul.products li.product:not(.overgear-product-card):hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.overgear-archive-content ul.products li.product:not(.overgear-product-card) a.woocommerce-LoopProduct-link {
    display: block;
    position: relative;
    height: 100%;
}

.overgear-archive-content ul.products li.product:not(.overgear-product-card) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.overgear-archive-content ul.products li.product:not(.overgear-product-card):hover img {
    transform: scale(1.08);
}

.overgear-archive-content ul.products li.product:not(.overgear-product-card) a.woocommerce-LoopProduct-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

.overgear-archive-content ul.products li.product:not(.overgear-product-card) .woocommerce-loop-product__title {
    position: absolute;
    bottom: 40px;
    left: 16px;
    right: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    z-index: 2;
}

.overgear-archive-content ul.products li.product:not(.overgear-product-card) .price {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

/* Pagination */
.overgear-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.overgear-pagination .woocommerce-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.overgear-pagination .woocommerce-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.overgear-pagination .woocommerce-pagination ul li {
    margin: 0;
}

.overgear-pagination .woocommerce-pagination ul li a,
.overgear-pagination .woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--og-bg-secondary);
    border: 1px solid var(--og-border-color);
    border-radius: var(--og-border-radius-sm);
    color: var(--og-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.overgear-pagination .woocommerce-pagination ul li a:hover {
    border-color: var(--og-accent-primary);
    color: var(--og-text-primary);
}

.overgear-pagination .woocommerce-pagination ul li span.current {
    background: var(--og-accent-gradient);
    border-color: transparent;
    color: #fff;
}

/* No Products Found */
.overgear-archive-content .woocommerce-info {
    background: var(--og-bg-secondary);
    border: 1px solid var(--og-border-color);
    border-radius: var(--og-border-radius);
    padding: 40px;
    text-align: center;
    color: var(--og-text-secondary);
    font-size: 16px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1400px) {
    .overgear-archive-content ul.products {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1200px) {
    .overgear-product-layout {
        grid-template-columns: 1fr 400px;
    }
    .overgear-sidebar-col {
        display: none;
    }
    
    .overgear-archive-content ul.products {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 992px) {
    .overgear-archive-layout {
        grid-template-columns: 1fr;
    }
    
    .overgear-archive-sidebar {
        display: none;
    }
    
    .overgear-archive-content ul.products {
        grid-template-columns: 1fr !important;
    }
}











@media (max-width: 992px) {
    .overgear-product-layout {
        grid-template-columns: 1fr;
        padding-bottom: 50px;
    }
    .overgear-config-panel {
        position: relative;
        top: 0;
        max-height: none;
    }
}

@media (max-width: 600px) {
    .overgear-configurator .config-buttons {
        flex-direction: column;
    }
    .overgear-configurator .config-btn {
        width: 100%;
    }
    .overgear-configurator .range-header {
        flex-direction: column;
        gap: 12px;
    }
    .overgear-configurator .range-box {
        width: 100%;
    }
    .overgear-price-display .final-price {
        font-size: 32px;
    }
}

/* ========================================
   GOLD PRODUCT CONFIGURATOR
   ======================================== */
.overgear-gold-configurator {
    padding: 0;
}

.overgear-gold-configurator .config-group {
    margin-bottom: 20px;
}

.overgear-gold-configurator .config-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--og-text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overgear-gold-configurator .config-label .required {
    color: var(--og-accent-primary);
}

/* Region & Faction Buttons */
.overgear-gold-configurator .config-buttons {
    display: flex;
    gap: 10px;
}

.overgear-gold-configurator .config-btn {
    flex: 1;
    padding: 12px 16px;
    background: var(--og-bg-secondary);
    border: 2px solid var(--og-border-color);
    border-radius: var(--og-border-radius-sm);
    color: var(--og-text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.overgear-gold-configurator .config-btn:hover {
    border-color: var(--og-accent-primary);
    background: rgba(124, 58, 237, 0.1);
}

.overgear-gold-configurator .config-btn.active {
    border-color: var(--og-accent-primary);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(168, 85, 247, 0.2));
    color: #fff;
}

.overgear-gold-configurator .config-btn .faction-icon {
    margin-right: 6px;
}

/* Realm Select */
.overgear-gold-configurator .config-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--og-bg-secondary);
    border: 2px solid var(--og-border-color);
    border-radius: var(--og-border-radius-sm);
    color: var(--og-text-primary);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.overgear-gold-configurator .config-select:hover,
.overgear-gold-configurator .config-select:focus {
    border-color: var(--og-accent-primary);
}

/* Gold Amount Display */
.overgear-gold-configurator .gold-amount-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.overgear-gold-configurator .gold-amount-input {
    flex: 1;
    padding: 14px 16px;
    background: var(--og-bg-secondary);
    border: 2px solid var(--og-border-color);
    border-radius: var(--og-border-radius-sm);
    color: var(--og-text-primary);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease;
}

.overgear-gold-configurator .gold-amount-input:focus {
    border-color: var(--og-accent-primary);
}

.overgear-gold-configurator .gold-icon {
    font-size: 28px;
}

/* Gold Slider */
.overgear-gold-configurator .gold-slider-wrapper {
    position: relative;
    padding: 0 5px;
}

.overgear-gold-configurator .gold-slider {
    --slider-percent: 0%;
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #8B5CF6 var(--slider-percent), #3a3f4b var(--slider-percent));
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.overgear-gold-configurator .gold-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--og-accent-primary), var(--og-accent-secondary));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
    transition: transform 0.2s ease;
}

.overgear-gold-configurator .gold-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.overgear-gold-configurator .gold-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--og-accent-primary), var(--og-accent-secondary));
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.overgear-gold-configurator .gold-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--og-text-muted);
}

/* Bonus Info */
.overgear-gold-configurator .gold-bonus-info {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--og-border-radius-sm);
    padding: 15px;
    margin-top: 20px;
}

.overgear-gold-configurator .bonus-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.overgear-gold-configurator .bonus-icon {
    font-size: 18px;
}

.overgear-gold-configurator .bonus-text {
    font-size: 14px;
    color: var(--og-success);
    font-weight: 500;
}

.overgear-gold-configurator .total-gold {
    font-size: 16px;
    color: var(--og-text-primary);
}

.overgear-gold-configurator .total-gold-amount {
    color: #fbbf24;
    font-size: 20px;
}

/* Discount Info */
.overgear-gold-configurator .gold-discount-info {
    margin-top: 10px;
}

.overgear-gold-configurator .discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--og-accent-primary), var(--og-accent-secondary));
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* ========================================
   ITEM PRODUCT CONFIGURATOR (mmoexp style)
   ======================================== */
.overgear-item-configurator {
    padding: 0;
}

/* Server Selector - 横向按钮组 */
.item-server-selector {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--og-border-color);
}

.item-server-selector .config-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--og-text-secondary);
    margin-bottom: 10px;
}

.server-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.server-btn {
    background: var(--og-bg-secondary);
    border: 1px solid var(--og-border-color);
    color: var(--og-text-secondary);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--og-transition);
    font-size: 13px;
}

.server-btn:hover {
    border-color: var(--og-accent-primary);
    color: var(--og-text-primary);
}

.server-btn.active {
    background: var(--og-accent-primary);
    border-color: var(--og-accent-primary);
    color: #fff;
}

/* Category Filter - 横向标签 */
.item-category-filter {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--og-border-color);
}

.item-category-filter .config-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--og-text-secondary);
    margin-bottom: 10px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-tab {
    background: transparent;
    border: 1px solid var(--og-border-color);
    color: var(--og-text-secondary);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--og-transition);
    font-size: 12px;
}

.category-tab:hover {
    border-color: var(--og-accent-primary);
    color: var(--og-text-primary);
}

.category-tab.active {
    background: var(--og-accent-primary);
    border-color: var(--og-accent-primary);
    color: #fff;
}

/* Item Grid - mmoexp风格 6列紧凑布局 */
.item-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

/* Item Card - mmoexp风格紧凑卡片 */
.item-card {
    background: var(--og-bg-secondary);
    border: 1px solid var(--og-border-color);
    border-radius: 8px;
    padding: 10px;
    transition: var(--og-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.item-card:hover {
    border-color: var(--og-accent-primary);
    background: var(--og-bg-card-hover);
}

.item-card.selected {
    border-color: var(--og-success);
    background: rgba(34, 197, 94, 0.1);
}

/* Item Image - 80x80 正方形 */
.item-card .item-image {
    width: 80px;
    height: 80px;
    background: var(--og-bg-card);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-card .item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-card .item-placeholder {
    font-size: 28px;
    opacity: 0.4;
}

/* Item Info */
.item-card .item-info {
    width: 100%;
    margin-bottom: 8px;
}

.item-card .item-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--og-text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-card .item-desc {
    display: none;
}

.item-card .item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--og-success);
}

/* Quantity Controls - 紧凑横排 */
.item-card .item-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin-top: auto;
}

.item-card .qty-btn {
    width: 24px;
    height: 24px;
    background: var(--og-bg-card);
    border: 1px solid var(--og-border-color);
    color: var(--og-text-primary);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--og-transition);
    padding: 0;
    line-height: 1;
}

.item-card .qty-btn:hover {
    background: var(--og-accent-primary);
    border-color: var(--og-accent-primary);
}

.item-card .qty-input {
    width: 36px;
    height: 24px;
    background: var(--og-bg-card);
    border: 1px solid var(--og-border-color);
    color: var(--og-text-primary);
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
}

.item-card .qty-input:focus {
    outline: none;
    border-color: var(--og-accent-primary);
}

/* Item Subtotal - 隐藏，简化显示 */
.item-card .item-subtotal {
    display: none;
}

/* Selected Items Summary */
.selected-items-summary {
    background: var(--og-bg-secondary);
    border: 1px solid var(--og-border-color);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.selected-items-summary h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--og-text-primary);
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--og-border-color);
}

.selected-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 12px;
}

.selected-item-name {
    flex: 1;
    color: var(--og-text-primary);
}

.selected-item-qty {
    color: var(--og-text-muted);
    margin: 0 10px;
}

.selected-item-price {
    font-weight: 600;
    color: var(--og-success);
}

/* Item Configurator Section in Content Area */
.item-configurator-section {
    background: var(--og-bg-card);
    border: 1px solid var(--og-border-color);
    border-radius: var(--og-border-radius);
    padding: 20px;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 1400px) {
    .item-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1100px) {
    .item-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .item-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 500px) {
    .item-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .item-card {
        padding: 8px;
    }
    
    .item-card .item-image {
        width: 60px;
        height: 60px;
    }
    
    .item-card .item-name {
        font-size: 11px;
        min-height: 28px;
    }
    
    .item-card .item-price {
        font-size: 12px;
    }
    
    .item-configurator-section {
        padding: 12px;
    }
    
    .server-buttons,
    .category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    .server-btn,
    .category-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ========================================
   PRODUCT TYPE NAVIGATION (Archive Page)
   mmoexp.com style - Premium Gaming Look
   ======================================== */
.product-type-nav {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1a1f2e 0%, #252b3d 100%);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.type-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 28px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #8b92a5;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    min-width: 100px;
    flex-shrink: 0;
}

.type-nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--og-accent-gradient);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.type-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.type-nav-item:hover::before {
    width: 40px;
}

.type-nav-item.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    color: #fff;
}

.type-nav-item.active::before {
    width: 50px;
    background: var(--og-accent-gradient);
}

.type-nav-item .type-icon {
    font-size: 28px;
    line-height: 1;
    filter: grayscale(0.3);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.type-nav-item:hover .type-icon,
.type-nav-item.active .type-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.type-nav-item .type-label {
    white-space: nowrap;
}

/* Sub-category Filter - Card Style */
.subcat-filter {
    background: linear-gradient(135deg, #1a1f2e 0%, #1e2433 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.subcat-filter .filter-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.subcat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subcat-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.subcat-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--og-accent-gradient);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.subcat-tab span {
    position: relative;
    z-index: 1;
}

.subcat-tab:hover {
    border-color: rgba(139, 92, 246, 0.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.subcat-tab.active {
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    z-index: 1;
}

.subcat-tab.active::before {
    opacity: 1;
    z-index: -1;
}

.subcat-tab .count {
    font-size: 11px;
    opacity: 0.7;
    margin-left: 2px;
}

/* Hot badge for popular categories */
.subcat-tab.hot::after {
    content: 'HOT';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Archive Header Enhancement */
.archive-header {
    margin-bottom: 24px;
}

.archive-header .archive-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.archive-header .archive-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--og-accent-gradient);
    border-radius: 2px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-type-nav {
        padding: 6px;
        gap: 0;
        border-radius: 10px;
    }
    
    .type-nav-item {
        padding: 12px 16px;
        min-width: 80px;
        font-size: 11px;
    }
    
    .type-nav-item .type-icon {
        font-size: 22px;
    }
    
    .subcat-filter {
        padding: 15px;
    }
    
    .subcat-filter .filter-label {
        margin-bottom: 10px;
    }
    
    .subcat-tabs {
        gap: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
        padding: 0 15px 8px;
    }
    
    .subcat-tab {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .archive-header .archive-title {
        font-size: 22px;
    }
    
    .archive-header .archive-title::before {
        height: 22px;
    }
}

@media (max-width: 480px) {
    .type-nav-item {
        padding: 10px 12px;
        min-width: 70px;
        font-size: 10px;
    }
    
    .type-nav-item .type-icon {
        font-size: 20px;
    }
}

/* ========================================
   ITEM PRODUCT - FULLWIDTH LAYOUT (mmoexp style)
   ======================================== */
.overgear-item-fullwidth-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.item-page-container {
    width: 100%;
}

.item-page-header {
    margin-bottom: 24px;
}

.item-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-page-title::before {
    content: '';
    width: 5px;
    height: 32px;
    background: var(--og-accent-gradient);
    border-radius: 3px;
}

.item-fullwidth-configurator {
    width: 100%;
}

/* Item Filter Section - 独立区块，垂直排列 */
.item-filter-section {
    margin-bottom: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #1a1f2e 0%, #252b3d 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-filter-section .filter-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.item-filter-section .server-buttons,
.item-filter-section .category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.item-filter-section .server-btn,
.item-filter-section .category-tab {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.item-filter-section .server-btn:hover,
.item-filter-section .category-tab:hover {
    border-color: rgba(139, 92, 246, 0.5);
    color: #fff;
}

.item-filter-section .server-btn.active,
.item-filter-section .category-tab.active {
    background: var(--og-accent-gradient);
    border-color: transparent;
    color: #fff;
}

/* Item List Header - Search & Sort */
.item-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1a1f2e 0%, #1e2433 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.item-search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
}

.item-search-input::placeholder {
    color: #6b7280;
}

.item-search-input:focus {
    border-color: var(--og-accent-primary);
    background: rgba(255, 255, 255, 0.08);
}

.item-search-box .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.6;
}

.item-sort-box {
    flex-shrink: 0;
}

.item-sort-select {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    min-width: 150px;
}

.item-sort-select option {
    background: #1a1f2e;
    color: #fff;
}

/* Item Grid - Fullwidth mmoexp style */
.item-grid-fullwidth {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

/* Item Card - mmoexp竖版风格 */
.item-card-mmoexp {
    background: linear-gradient(135deg, #1a1f2e 0%, #252b3d 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.item-card-mmoexp:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.item-card-mmoexp .item-image {
    width: 100%;
    padding-top: 100%; /* 正方形 */
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
}

.item-card-mmoexp .item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-card-mmoexp:hover .item-image img {
    transform: scale(1.05);
}

.item-card-mmoexp .item-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
}

.item-card-mmoexp .item-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.item-card-mmoexp .item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--og-success);
    text-align: center;
    margin-bottom: 12px;
}

.item-card-mmoexp .item-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}

.item-card-mmoexp .qty-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.item-card-mmoexp .qty-btn:hover {
    background: var(--og-accent-primary);
}

.item-card-mmoexp .qty-input {
    width: 40px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.item-card-mmoexp .qty-input:focus {
    outline: none;
    border-color: var(--og-accent-primary);
}

/* Item Add to Cart Button */
.item-add-cart-btn {
    width: 36px;
    height: 32px;
    background: var(--og-accent-gradient);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-size: 16px;
}

.item-add-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.item-add-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.item-add-cart-btn.loading {
    animation: pulse 1s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* No Results */
.item-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
}

/* Item Pagination - mmoexp style */
.item-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.item-pagination .page-btn {
    background: #2d3748;
    color: #fff;
    border: 1px solid #4a5568;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-pagination .page-btn:hover:not(:disabled) {
    background: #8B5CF6;
    border-color: #8B5CF6;
}

.item-pagination .page-btn:disabled {
    background: #1f2937;
    color: #4b5563;
    border-color: #374151;
    cursor: not-allowed;
}

.item-pagination .page-numbers {
    display: flex;
    gap: 6px;
    align-items: center;
}

.item-pagination .page-number {
    background: #2d3748;
    color: #fff;
    border: 1px solid #4a5568;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.item-pagination .page-number:hover {
    background: #4a5568;
    border-color: #8B5CF6;
}

.item-pagination .page-number.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-color: #8B5CF6;
    color: #fff;
    font-weight: 600;
}

.item-pagination .page-ellipsis {
    color: #6b7280;
    padding: 0 6px;
    font-size: 14px;
}

.item-pagination .page-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid #374151;
}

.item-pagination .page-jump span {
    color: #9ca3af;
    font-size: 14px;
}

.item-pagination .page-jump-input {
    width: 60px;
    height: 36px;
    background: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 6px;
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.item-pagination .page-jump-input:focus {
    outline: none;
    border-color: #8B5CF6;
}

.item-pagination .page-jump-btn {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #fff;
    border: none;
    padding: 0 16px;
    height: 36px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.item-pagination .page-jump-btn:hover {
    background: linear-gradient(135deg, #9D6FFF 0%, #8B5CF6 100%);
}

/* Item Image Preview */
.item-image-preview {
    position: fixed;
    z-index: 99999;
    background: #1a1f2e;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
    pointer-events: none;
    max-width: 300px;
}

.item-image-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Item Image Hover Effect */
.item-card-mmoexp .item-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-card-mmoexp .item-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Item Page Description */
.item-page-description {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1a1f2e 0%, #1e2433 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #9ca3af;
    line-height: 1.7;
}

.item-page-description h2,
.item-page-description h3 {
    color: #fff;
    margin-top: 24px;
    margin-bottom: 12px;
}

/* Responsive - Item Fullwidth */
@media (max-width: 992px) {
    .item-filter-bar {
        flex-direction: column;
    }
    
    .item-list-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .item-search-box {
        max-width: none;
    }
    
    .item-grid-fullwidth {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .overgear-item-fullwidth-layout {
        padding: 15px;
    }
    
    .item-page-title {
        font-size: 24px;
    }
    
    .item-page-title::before {
        height: 24px;
    }
    
    .item-grid-fullwidth {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .item-card-mmoexp {
        padding: 12px;
    }
    
    .item-card-mmoexp .item-name {
        font-size: 13px;
        min-height: 36px;
    }
    
    .item-card-mmoexp .item-price {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .item-filter-bar .server-btn,
    .item-filter-bar .category-tab {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .item-card-mmoexp .item-name {
        font-size: 13px;
    }
    
    .item-card-mmoexp .qty-btn {
        width: 28px;
        height: 28px;
    }
    
    .item-card-mmoexp .qty-input {
        width: 35px;
        height: 28px;
    }
    
    .item-add-cart-btn {
        width: 38px;
        height: 38px;
    }
}

/* ===== Mobile Fix - Final Override ===== */
@media (max-width: 991px) {
    /* Product Grid - Force 2 columns */
    .overgear-archive-content ul.products,
    .overgear-archive-content ul.products.columns-3 {
        grid-template-columns: repeat(1, 1fr) !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* Product card - fill grid cell */
    .overgear-archive-content ul.products > li,
    .overgear-archive-content ul.products > li.overgear-product-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }
    
    /* Card inner - aspect ratio */
    .overgear-archive-content .overgear-product-card .product-card-inner {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 150% !important;
        overflow: hidden !important;
    }
    
    /* Image link - absolute fill */
    .overgear-archive-content .overgear-product-card .product-image-link {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Image - cover */
    .overgear-archive-content .overgear-product-card .product-image-link img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* Content at bottom */
    .overgear-archive-content .overgear-product-card .product-card-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 12px !important;
        z-index: 3 !important;
    }
    
    /* Hide extras */
    .overgear-archive-content .overgear-product-card .product-category-badge,
    .overgear-archive-content .overgear-product-card .product-highlights-preview,
    .overgear-archive-content .overgear-product-card .overgear-product-label,
    .overgear-archive-content .overgear-product-card .sale-badge {
        display: none !important;
    }
    
    /* Title */
    .overgear-archive-content .overgear-product-card .product-title {
        font-size: 13px !important;
        margin: 0 0 6px !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-title a {
        color: #fff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }
    
    /* Price */
    .overgear-archive-content .overgear-product-card .woocommerce-Price-amount {
        color: #8B5CF6 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 480px) {
    .overgear-archive-content ul.products {
        gap: 8px !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-card-content {
        padding: 10px !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-title {
        font-size: 12px !important;
    }
    
    .overgear-archive-content .overgear-product-card .woocommerce-Price-amount {
        font-size: 14px !important;
    }
}

/* ===== Mobile Fix - Force Override Inline Styles ===== */
@media (max-width: 991px) {
    .overgear-archive-content ul.products[style],
    .overgear-archive-content ul.products {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .overgear-archive-content .overgear-product-card[style],
    .overgear-archive-content .overgear-product-card {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
    
    .overgear-archive-content .product-card-inner[style],
    .overgear-archive-content .product-card-inner {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 150% !important;
        overflow: hidden !important;
    }
    
    .overgear-archive-content .product-image-link[style],
    .overgear-archive-content .product-image-link {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .overgear-archive-content .product-image-link img[style],
    .overgear-archive-content .product-image-link img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .overgear-archive-content .product-card-content[style],
    .overgear-archive-content .product-card-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 12px !important;
        z-index: 3 !important;
        height: auto !important;
    }
    
    .overgear-archive-content .product-title[style],
    .overgear-archive-content .product-title,
    .overgear-archive-content .product-title a[style],
    .overgear-archive-content .product-title a {
        height: auto !important;
    }
}

/* ===== Mobile Product Grid - FINAL FIX ===== */
@media screen and (max-width: 991px) {
    .overgear-archive-content ul.products,
    .overgear-archive-content ul.products.columns-3 {
        grid-template-columns: repeat(1, 1fr) !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    .overgear-archive-content ul.products > li,
    .overgear-archive-content ul.products > li.overgear-product-card,
    .overgear-archive-content .overgear-product-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        display: block !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-card-inner {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 150% !important;
        overflow: hidden !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-image-link {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-image-link img,
    .overgear-archive-content .overgear-product-card .product-thumbnail {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-card-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 12px !important;
        z-index: 3 !important;
        height: auto !important;
        background: transparent !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-category-badge,
    .overgear-archive-content .overgear-product-card .product-highlights-preview,
    .overgear-archive-content .overgear-product-card .overgear-product-label,
    .overgear-archive-content .overgear-product-card .sale-badge {
        display: none !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-title {
        font-size: 13px !important;
        margin: 0 0 6px !important;
        height: auto !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-title a {
        color: #fff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        height: auto !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-price-wrapper {
        margin: 0 !important;
        height: auto !important;
    }
    
    .overgear-archive-content .overgear-product-card .price-display {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        height: auto !important;
    }
    
    .overgear-archive-content .overgear-product-card .woocommerce-Price-amount {
        color: #8B5CF6 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
    }
}

/* ===== Mobile Product Card - Image with overlay title/price ===== */
@media (max-width: 991px) {
    /* Product card container */
    .overgear-product-card {
        position: relative !important;
        overflow: hidden !important;
        border-radius: 12px !important;
    }
    
    .overgear-product-card .product-card-inner {
        position: relative !important;
        height: 200px !important;
        overflow: hidden !important;
    }
    
    /* Image fills entire card */
    .overgear-product-card .product-image-link {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .overgear-product-card .product-image-link img,
    .overgear-product-card .product-thumbnail,
    .overgear-product-card .wp-post-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* Content overlay at bottom */
    .overgear-product-card .product-card-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 10px 12px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, transparent 100%) !important;
        z-index: 10 !important;
    }
    
    /* Hide unnecessary elements */
    .overgear-product-card .product-category-badge,
    .overgear-product-card .product-highlights-preview,
    .overgear-product-card .sale-badge,
    .overgear-product-card .price-label {
        display: none !important;
    }
    
    /* Title styling */
    .overgear-product-card .product-title {
        margin: 0 0 4px 0 !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
    
    .overgear-product-card .product-title a {
        color: #fff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }
    
    /* Price styling */
    .overgear-product-card .product-price-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .overgear-product-card .price-display {
        display: inline !important;
    }
    
    .overgear-product-card .woocommerce-Price-amount {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #8B5CF6 !important;
    }
    
    /* Keep label visible */
    .overgear-product-card .overgear-product-label {
        position: absolute !important;
        top: 8px !important;
        left: 8px !important;
        z-index: 15 !important;
        font-size: 10px !important;
        padding: 3px 8px !important;
    }
}

/* ===== Mobile Product Card Fix V2 - Remove background, only title/price ===== */
@media (max-width: 991px) {
    /* Card container */
    .overgear-archive-content .overgear-product-card .product-card-inner {
        position: relative !important;
        height: 180px !important;
    }
    
    /* Image fills card */
    .overgear-archive-content .overgear-product-card .product-image-link {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-image-link img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* Content - transparent background, only gradient overlay */
    .overgear-archive-content .overgear-product-card .product-card-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 8px 10px !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 80%, transparent 100%) !important;
        z-index: 10 !important;
    }
    
    /* Hide all except title and price */
    .overgear-archive-content .overgear-product-card .product-category-badge,
    .overgear-archive-content .overgear-product-card .product-highlights-preview,
    .overgear-archive-content .overgear-product-card .sale-badge,
    .overgear-archive-content .overgear-product-card .price-label {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Title */
    .overgear-archive-content .overgear-product-card .product-title {
        margin: 0 0 2px 0 !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-title a {
        color: #fff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }
    
    /* Price wrapper */
    .overgear-archive-content .overgear-product-card .product-price-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }
    
    /* Price display */
    .overgear-archive-content .overgear-product-card .price-display {
        display: inline !important;
        background: transparent !important;
    }
    
    .overgear-archive-content .overgear-product-card .woocommerce-Price-amount {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #8B5CF6 !important;
    }
}

/* ===== Mobile Product Card Fix V3 - Reduce gradient overlay ===== */
@media (max-width: 991px) {
    /* Reduce gradient overlay height on mobile */
    .overgear-archive-content .overgear-product-card .product-card-inner::before {
        height: 35% !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%) !important;
    }
    
    /* Compact content padding */
    .overgear-archive-content .overgear-product-card .product-card-content {
        padding: 8px 10px !important;
    }
}

/* ===== Mobile Product Card FINAL FIX ===== */
@media (max-width: 991px) {
    /* Hide gradient overlay on mobile */
    .overgear-archive-content .overgear-product-card .product-card-inner::before {
        display: none !important;
    }
    
    /* Content - minimal height, only title and price */
    .overgear-archive-content .overgear-product-card .product-card-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        height: auto !important;
        max-height: 60px !important;
        padding: 8px 10px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 80%, transparent 100%) !important;
        z-index: 10 !important;
        overflow: hidden !important;
    }
    
    /* Hide category badge */
    .overgear-archive-content .overgear-product-card .product-category-badge {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Hide highlights */
    .overgear-archive-content .overgear-product-card .product-highlights-preview {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Title - compact */
    .overgear-archive-content .overgear-product-card .product-title {
        margin: 0 0 4px 0 !important;
        padding: 0 !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
    
    /* Price wrapper - compact */
    .overgear-archive-content .overgear-product-card .product-price-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Hide sale badge and price label */
    .overgear-archive-content .overgear-product-card .sale-badge,
    .overgear-archive-content .overgear-product-card .price-label {
        display: none !important;
    }
    
    /* Price display - inline */
    .overgear-archive-content .overgear-product-card .price-display {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .overgear-archive-content .overgear-product-card .woocommerce-Price-amount {
        font-size: 14px !important;
        color: #8B5CF6 !important;
    }
}

/* ===== Mobile Product Card - Minimize content area ===== */
@media (max-width: 991px) {
    .overgear-archive-content .overgear-product-card .product-card-content {
        max-height: 45px !important;
        padding: 6px 8px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%) !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-title {
        margin: 0 0 2px 0 !important;
        font-size: 11px !important;
    }
    
    .overgear-archive-content .overgear-product-card .woocommerce-Price-amount {
        font-size: 13px !important;
    }
}

/* ===== Mobile Product Card - Balance image and content ===== */
@media (max-width: 991px) {
    .overgear-archive-content .overgear-product-card .product-card-content {
        max-height: 52px !important;
        padding: 8px 10px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%) !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-title {
        margin: 0 0 3px 0 !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
    
    .overgear-archive-content .overgear-product-card .woocommerce-Price-amount {
        font-size: 14px !important;
    }
}

/* ===== Mobile Product Card - Move price closer to title ===== */
@media (max-width: 991px) {
    .overgear-archive-content .overgear-product-card .product-price-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
    
    .overgear-archive-content .overgear-product-card .price-display {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-title {
        margin-bottom: 2px !important;
    }
}

/* ===== Mobile Fixed Bottom Cart Bar ===== */
@media (max-width: 991px) {
    /* Add padding to page content to prevent overlap */
    .overgear-config-panel {
        padding-bottom: 90px !important;
    }
    
    /* Fixed bottom bar */
    .overgear-config-panel .config-panel-fixed {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: #0d1117 !important;
        border-top: 1px solid #2a2f3e !important;
        padding: 12px 16px !important;
        z-index: 9999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6) !important;
    }
    
    /* Price display */
    .overgear-config-panel .config-panel-fixed .overgear-price-display {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: transparent !important;
        padding: 0 0 10px 0 !important;
        margin: 0 !important;
        border: none !important;
    }
    
    .overgear-config-panel .config-panel-fixed .final-price {
        font-size: 22px !important;
        font-weight: 700 !important;
        color: #fff !important;
    }
    
    .overgear-config-panel .config-panel-fixed .cashback {
        font-size: 11px !important;
        color: #8B5CF6 !important;
    }
    
    /* Hide delivery info */
    .overgear-config-panel .config-panel-fixed .overgear-delivery-info {
        display: none !important;
    }
    
    /* Add to cart button */
    .overgear-config-panel .config-panel-fixed .overgear-add-to-cart {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
        border: none !important;
        border-radius: 10px !important;
        color: #fff !important;
    }
    
    /* Hide payment methods */
    .overgear-config-panel .config-panel-fixed .overgear-payment-methods {
        display: none !important;
    }
}

/* ===== Mobile: Hide original config-panel-fixed area ===== */
@media (max-width: 991px) {
    /* Hide the original fixed area content that's now at bottom */
    .overgear-config-panel .config-panel-scroll .overgear-price-display,
    .overgear-config-panel .config-panel-scroll .overgear-delivery-info,
    .overgear-config-panel .config-panel-scroll .overgear-add-to-cart,
    .overgear-config-panel .config-panel-scroll .overgear-payment-methods {
        display: none !important;
    }
    
    /* Remove extra padding/margin from config-panel-scroll */
    .overgear-config-panel .config-panel-scroll {
        padding-bottom: 0 !important;
    }
}


/* ===== Breadcrumbs - Mobile ===== */
@media (max-width: 991px) {
    .woopt-breadcrumbs {
        display: flex !important;
        align-items: center !important;
        min-height: 50px !important;
        padding: 0 15px !important;
    }
    
    .woopt-breadcrumbs .container {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .woopt-breadcrumbs .row {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .woopt-breadcrumbs .col-md-12 {
        display: flex !important;
        align-items: center !important;
    }
    
    .woopt-breadcrumbs .breadcrumb {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* ===== Breadcrumbs - PC ===== */
@media (min-width: 992px) {
    .woopt-breadcrumbs {
        padding: 15px 0 !important;
    }
    
    .woopt-breadcrumbs .container {
        max-width: 1200px !important;
        padding-left: 15px !important;
    }
    
    .woopt-breadcrumbs .breadcrumb {
        justify-content: flex-start !important;
        text-align: left !important;
        margin: 0 !important;
        padding-left: 0 !important;
    }
    
    /* Align with sidebar column */
    .woopt-breadcrumbs .col-md-12 {
        text-align: left !important;
    }
}

/* ===== Hide woopt-breadcrumbs ===== */
.woopt-breadcrumbs {
    display: none !important;
}

/* ===== Fix fa-user-circle icon color ===== */
.fa-user-circle,
.fa.fa-user-circle {
    color: #fff !important;
}

/* ===== Reduce config-panel bottom padding on mobile ===== */
@media (max-width: 991px) {
    .overgear-config-panel {
        padding-bottom: 90px !important;
    }
    
    .overgear-config-panel .config-panel-scroll {
        margin-bottom: 0 !important;
    }
    
    .overgear-config-panel .config-panel-fixed {
        padding: 10px 16px !important;
    }
}

/* ===== Mobile: Fix config-panel-fixed duplicate issue ===== */
@media (max-width: 991px) {
    /* The original config-panel-fixed stays in place but content is moved to fixed bottom */
    /* We need to create a clone effect - hide original position content */
    .overgear-config-panel .config-panel-fixed {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        background: #0d1117 !important;
        border-top: 1px solid #2a2f3e !important;
        padding: 10px 16px !important;
        z-index: 9999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6) !important;
        margin: 0 !important;
        height: auto !important;
        max-height: 120px !important;
    }
    
    /* Reduce config-panel bottom padding since fixed bar is now at bottom */
    .overgear-config-panel {
        padding-bottom: 20px !important;
    }
    
    .overgear-config-panel .config-panel-scroll {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* ===== Mobile: Reduce bottom spacing for product page ===== */
@media (max-width: 991px) {
    .overgear-product-layout {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .high-padding {
        padding-bottom: 10px !important;
    }
    
    .container.blog-posts {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    #primary.content-area {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    #main.site-main {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* ===== Mobile: Item card actions optimization ===== */
@media (max-width: 991px) {
    /* Item card grid - 2 columns with more width */
    .item-grid-mmoexp {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    
    /* Item card */
    .item-card-mmoexp {
        padding: 8px !important;
        border-radius: 8px !important;
    }
    
    /* Item image */
    .item-card-mmoexp .item-image {
        height: 80px !important;
        margin-bottom: 6px !important;
    }
    
    /* Item name */
    .item-card-mmoexp .item-name {
        font-size: 11px !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }
    
    /* Item price */
    .item-card-mmoexp .item-price {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }
    
    /* Item actions - compact */
    .item-card-mmoexp .item-actions {
        gap: 3px !important;
        flex-wrap: nowrap !important;
    }
    
    /* Qty buttons - smaller */
    .item-card-mmoexp .qty-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 14px !important;
        border-radius: 4px !important;
        flex-shrink: 0 !important;
    }
    
    /* Qty input - smaller */
    .item-card-mmoexp .qty-input {
        width: 30px !important;
        height: 24px !important;
        font-size: 12px !important;
        border-radius: 4px !important;
        padding: 0 2px !important;
        flex-shrink: 0 !important;
    }
    
    /* Add to cart button - smaller */
    .item-card-mmoexp .item-add-cart-btn {
        width: 28px !important;
        height: 24px !important;
        font-size: 12px !important;
        border-radius: 4px !important;
        flex-shrink: 0 !important;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .item-card-mmoexp .item-actions {
        gap: 2px !important;
    }
    
    .item-card-mmoexp .qty-btn {
        width: 22px !important;
        height: 22px !important;
        font-size: 12px !important;
    }
    
    .item-card-mmoexp .qty-input {
        width: 26px !important;
        height: 22px !important;
        font-size: 11px !important;
    }
    
    .item-card-mmoexp .item-add-cart-btn {
        width: 26px !important;
        height: 22px !important;
        font-size: 11px !important;
    }
}

/* ===== Mobile Bottom Sheet Select ===== */
@media (max-width: 991px) {
    /* Hide nice-select dropdown on mobile */
    .overgear-configurator .nice-select .list,
    .overgear-gold-configurator .nice-select .list {
        display: none !important;
    }
    
    /* Mobile select trigger button style */
    .overgear-configurator .nice-select,
    .overgear-gold-configurator .nice-select,
    .overgear-configurator .config-select,
    .overgear-gold-configurator .config-select {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        background: #262d3d !important;
        border: 1px solid #3a4255 !important;
        border-radius: 8px !important;
        color: #fff !important;
        cursor: pointer !important;
    }
}

/* Mobile Bottom Sheet Overlay */
.mobile-select-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-select-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Bottom Sheet */
.mobile-select-sheet {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1f2e;
    border-radius: 16px 16px 0 0;
    z-index: 99999;
    max-height: 70vh;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-select-sheet.active {
    display: block;
    transform: translateY(0);
}

/* Sheet Header */
.mobile-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #2a2f3e;
}

.mobile-select-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.mobile-select-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sheet Options List */
.mobile-select-options {
    padding: 8px 0;
    max-height: calc(70vh - 60px);
    overflow-y: auto;
}

.mobile-select-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-select-option:hover,
.mobile-select-option:active {
    background: rgba(139, 92, 246, 0.15);
}

.mobile-select-option.selected {
    background: rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
}

.mobile-select-option .option-price {
    font-size: 13px;
    color: #8B5CF6;
}

.mobile-select-option.selected::after {
    content: '✓';
    color: #8B5CF6;
    font-weight: bold;
    margin-left: 10px;
}

/* Safe area for iOS */
.mobile-select-sheet::after {
    content: '';
    display: block;
    height: env(safe-area-inset-bottom, 20px);
}

/* ===== Mobile: Hide original nice-select dropdown list ===== */
@media (max-width: 991px) {
    .nice-select .list {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .nice-select.open .list {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .nice-select::after {
        display: none !important;
    }
    
    .nice-select.open {
        border-color: #3a4255 !important;
    }
}

/* ===== Mobile: Force hide nice-select dropdown ===== */
@media (max-width: 991px) {
    .nice-select .list,
    .nice-select.open .list,
    .nice-select .list.open,
    .overgear-configurator .nice-select .list,
    .overgear-configurator .nice-select.open .list,
    .overgear-gold-configurator .nice-select .list,
    .overgear-gold-configurator .nice-select.open .list {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: scale(0) !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
}

/* ===== Mobile: FINAL FIX - Hide nice-select dropdown ===== */
@media (max-width: 991px) {
    .nice-select .list,
    .nice-select.open .list,
    .no-csspointerevents .nice-select.open .list {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: scale(0) translateY(-9999px) !important;
        -webkit-transform: scale(0) translateY(-9999px) !important;
        -ms-transform: scale(0) translateY(-9999px) !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
        z-index: -9999 !important;
    }
}

/* ===== Mobile: Product Image Wrapper - Horizontal 2:3 ratio ===== */
@media (max-width: 991px) {
    .overgear-config-panel .product-image-wrapper {
    aspect-ratio: 3 / 2 !important;
    width: 100% !important;
    height: auto !important;
        width: 100% !important;
        padding-bottom: 66.67% !important;
        height: 0 !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .overgear-config-panel .product-image-wrapper img,
    .overgear-config-panel .product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .overgear-config-panel .config-panel-scroll {
        max-height: none !important;
        height: auto !important;
        overflow-y: visible !important;
        overflow-x: hidden !important;
        padding: 15px !important;
        flex: none !important;
    }
    
    .overgear-config-panel {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* ===== Mobile: Shop page products - 1 column layout ===== */
@media (max-width: 991px) {
    .woocommerce-page ul.products,
    .woocommerce-page ul.products.columns-3,
    .overgear-archive-content ul.products,
    .overgear-archive-content ul.products.columns-3 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .woocommerce-page ul.products > li,
    .overgear-archive-content ul.products > li,
    .overgear-archive-content .overgear-product-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-card-inner {
        padding-bottom: 75% !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-title {
        font-size: 18px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
    
    .overgear-archive-content .overgear-product-card .woocommerce-Price-amount {
        font-size: 20px !important;
    }
    
    .overgear-archive-content .overgear-product-card .product-card-content {
        padding: 16px !important;
    }
}

/* Related Products - PC端两列布局 */
.related-products-section .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

.related-products-section .related.products ul.products li.product,
.related-products-section .related.products ul.products li.overgear-product-card {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

/* 移动端保持一列 */
@media (max-width: 768px) {
    .related-products-section .related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}
