/**
 * MegaPrice Header Styles
 * Priority stylesheet for header components
 */

/* =================================================================
   TOP BAR
   ================================================================= */
.mp-top-bar {
    background: #1a1a2e !important;
    color: #ffffff !important;
    font-size: 0.875rem;
    padding: 8px 0;
}

.mp-top-bar__content {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.mp-top-bar__left {
    display: flex;
    align-items: center;
}

.mp-top-bar__promo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mp-top-bar__promo svg {
    opacity: 0.7;
}

.mp-top-bar__right {
    display: flex;
    gap: 20px;
}

.mp-top-bar__link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s;
}

.mp-top-bar__link:hover {
    opacity: 1;
    color: #ffffff;
}

/* =================================================================
   MAIN HEADER
   ================================================================= */
.mp-header {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mp-header__inner {
    display: flex !important;
    align-items: center;
    gap: 24px;
    padding: 16px 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.mp-header__logo {
    flex-shrink: 0;
}

.mp-logo {
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mp-logo__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ff6b35;
    border-radius: 10px;
    color: white;
}

.mp-logo__text {
    display: flex;
    flex-direction: column;
}

.mp-logo__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.mp-logo__tagline {
    font-size: 0.75rem;
    color: #6b7280;
}

/* =================================================================
   HEADER SEARCH
   ================================================================= */
.mp-header__search {
    flex: 1;
    max-width: 600px;
}

.mp-search-form {
    width: 100%;
}

.mp-search-form__wrapper {
    display: flex !important;
    background: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.mp-search-form__wrapper:focus-within {
    background: white;
    border-color: #ff6b35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.mp-search-form__category {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-right: 1px solid #e5e7eb;
    background: transparent;
}

.mp-search-form__select {
    appearance: none;
    background: none;
    border: none;
    padding-right: 24px;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    min-width: 120px;
}

.mp-search-form__select:focus {
    outline: none;
}

.mp-search-form__arrow {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: #9ca3af;
}

.mp-search-form__input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: none;
    font-size: 1rem;
    min-width: 200px;
    color: #1f2937;
}

.mp-search-form__input:focus {
    outline: none;
}

.mp-search-form__input::placeholder {
    color: #9ca3af;
}

.mp-search-form__submit {
    padding: 14px 20px;
    background: #ff6b35;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-search-form__submit:hover {
    background: #e55a2b;
}

/* =================================================================
   HEADER ACTIONS
   ================================================================= */
.mp-header__actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.mp-header__action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    color: #4b5563;
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none;
}

.mp-header__action:hover {
    background: #f3f4f6;
    color: #ff6b35;
}

.mp-header__action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.mp-header__action-icon {
    position: relative;
}

.mp-header__action-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ff6b35;
    color: white;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-header__action-text,
.mp-header__action-label {
    font-size: 0.75rem;
    margin-top: 4px;
}

/* =================================================================
   MOBILE TOGGLE - Hidden on desktop
   ================================================================= */
.mp-mobile-toggle {
    display: none !important;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mp-mobile-toggle__bar {
    width: 22px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s;
}

/* =================================================================
   CATEGORIES NAV
   ================================================================= */
.mp-categories-nav {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.mp-categories-nav__inner {
    display: flex !important;
    align-items: center;
    gap: 8px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.mp-categories-nav__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.mp-categories-nav__toggle:hover {
    background: #e55a2b;
}

.mp-categories-nav__list {
    display: flex !important;
    flex: 1;
    overflow-x: auto;
    gap: 4px;
    padding: 8px 0;
    scrollbar-width: none;
    list-style: none;
    margin: 0;
}

.mp-categories-nav__list::-webkit-scrollbar {
    display: none;
}

.mp-categories-nav__item {
    position: relative;
}

.mp-categories-nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    white-space: nowrap;
    color: #374151;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.2s;
    text-decoration: none;
}

.mp-categories-nav__link:hover {
    background: white;
    color: #ff6b35;
}

.mp-categories-nav__icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.mp-categories-nav__more {
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #6b7280;
}

.mp-categories-nav__more:hover {
    background: #f3f4f6;
}

/* Dropdown */
.mp-categories-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 280px;
    z-index: 100;
    padding: 16px;
}

.mp-categories-nav__item:hover .mp-categories-nav__dropdown {
    display: block;
}

.mp-categories-nav__dropdown-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.mp-categories-nav__dropdown-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
}

.mp-categories-nav__dropdown-title:hover {
    color: #ff6b35;
}

.mp-categories-nav__dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.mp-categories-nav__dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
}

.mp-categories-nav__dropdown-link:hover {
    background: #f3f4f6;
    color: #ff6b35;
}

.mp-categories-nav__dropdown-count {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* =================================================================
   MOBILE MENU - Hidden by default
   ================================================================= */
.mp-mobile-menu {
    display: none !important;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.mp-mobile-menu.active {
    display: block !important;
}

.mp-mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.mp-mobile-menu.active .mp-mobile-menu__overlay {
    opacity: 1;
}

.mp-mobile-menu__container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mp-mobile-menu.active .mp-mobile-menu__container {
    transform: translateX(0);
}

.mp-mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.mp-mobile-menu__title {
    font-weight: 600;
    font-size: 1.125rem;
}

.mp-mobile-menu__close {
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
}

.mp-mobile-menu__search {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.mp-mobile-menu__search form {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
}

.mp-mobile-menu__search input {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
}

.mp-mobile-menu__search button {
    padding: 12px;
    background: none;
    border: none;
    color: #6b7280;
}

.mp-mobile-menu__categories {
    padding: 16px;
}

.mp-mobile-menu__section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 12px;
}

.mp-mobile-menu__item {
    border-bottom: 1px solid #f3f4f6;
    position: relative;
}

.mp-mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: #1f2937;
    text-decoration: none;
}

.mp-mobile-menu__count {
    font-size: 0.875rem;
    color: #6b7280;
}

.mp-mobile-menu__expand {
    position: absolute;
    right: 0;
    top: 8px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    transition: transform 0.2s;
}

.mp-mobile-menu__item.expanded .mp-mobile-menu__expand {
    transform: rotate(180deg);
}

.mp-mobile-menu__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 16px;
}

.mp-mobile-menu__sublink {
    display: block;
    padding: 10px 0;
    color: #4b5563;
    font-size: 0.9375rem;
    text-decoration: none;
}

.mp-mobile-menu__sublink--all {
    color: #ff6b35;
    font-weight: 500;
}

.mp-mobile-menu__links {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

.mp-mobile-menu__links .mp-mobile-menu__link {
    gap: 12px;
    justify-content: flex-start;
}

.mp-mobile-menu__footer {
    padding: 16px;
    display: flex;
    gap: 16px;
    background: #f9fafb;
    font-size: 0.875rem;
}

.mp-mobile-menu__footer a {
    color: #4b5563;
    text-decoration: none;
}

/* =================================================================
   STICKY NAV - Hidden by default
   ================================================================= */
.mp-sticky-nav {
    position: fixed;
    top: -60px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: top 0.3s ease;
}

.mp-sticky-nav[hidden] {
    display: block !important;
}

.mp-sticky-nav.visible {
    top: 0;
}

.mp-sticky-nav.hidden {
    top: -60px;
}

.mp-sticky-nav__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.mp-sticky-nav__logo {
    font-weight: 700;
    font-size: 1.125rem;
    color: #1f2937;
    text-decoration: none;
}

.mp-sticky-nav__categories {
    display: flex;
    flex: 1;
    gap: 8px;
    overflow: hidden;
}

.mp-sticky-nav__search-btn {
    padding: 8px;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #4b5563;
}

/* =================================================================
   CONTAINER
   ================================================================= */
.mp-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 1800px) {
    .mp-container {
        max-width: 1800px;
    }
}

@media (max-width: 768px) {
    .mp-container {
        padding: 0 16px;
    }
}

/* =================================================================
   UTILITIES
   ================================================================= */
.mp-skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 10px 20px;
    background: #ff6b35;
    color: white;
    z-index: 9999;
}

.mp-skip-link:focus {
    top: 0;
}

.mp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =================================================================
   RESPONSIVE - Mobile
   ================================================================= */
@media (max-width: 991px) {
    .mp-mobile-toggle {
        display: flex !important;
    }
    
    .mp-header__search {
        display: none !important;
    }
    
    .mp-header__actions {
        margin-left: auto;
    }
    
    .mp-categories-nav {
        display: none !important;
    }
    
    .mp-top-bar__promo {
        font-size: 0.8125rem;
    }
    
    .mp-top-bar__right {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mp-header__action-text,
    .mp-header__action-label {
        display: none;
    }
    
    .mp-logo__tagline {
        display: none;
    }
    
    .mp-header__inner {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .mp-top-bar__promo {
        font-size: 0.75rem;
    }
    
    .mp-logo__name {
        font-size: 1rem;
    }
}

/* =================================================================
   SINGLE PRODUCT PAGE
   ================================================================= */
.mp-single-product {
    padding: 30px 0 60px;
}

.mp-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 24px;
    color: #6b7280;
}

.mp-breadcrumbs a {
    color: #4b5563;
    text-decoration: none;
}

.mp-breadcrumbs a:hover {
    color: #ff6b35;
}

.mp-breadcrumbs__sep {
    display: flex;
    color: #d1d5db;
}

.mp-breadcrumbs__current {
    color: #1f2937;
    font-weight: 500;
}

.mp-product {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 48px !important;
    margin-bottom: 48px !important;
}

@media (max-width: 991px) {
    .mp-product {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

.mp-product__gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.mp-product__gallery-main {
    position: relative;
    background: #f9fafb;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
}

.mp-product__image-wrapper {
    position: relative;
    padding: 20px;
}

.mp-product__image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
}

.mp-product__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mp-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.mp-badge--sale {
    background: #ef4444;
    color: white;
}

.mp-badge--new {
    background: #10b981;
    color: white;
}

.mp-product__gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px;
}

.mp-product__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    padding: 0;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.mp-product__thumb:hover,
.mp-product__thumb.active {
    border-color: #ff6b35;
}

.mp-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-product__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mp-product__brand {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.mp-product__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin: 0;
}

.mp-product__rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mp-stars {
    display: flex;
    gap: 2px;
}

.mp-star {
    width: 18px;
    height: 18px;
}

.mp-star--filled {
    fill: #f59e0b;
    stroke: #f59e0b;
}

.mp-star--empty {
    fill: none;
    stroke: #d1d5db;
}

.mp-product__rating-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.mp-product__rating-link {
    color: #ff6b35;
    text-decoration: none;
}

.mp-product__rating-link:hover {
    text-decoration: underline;
}

.mp-product__price-block {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 20px;
}

.mp-product__price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.mp-product__price-old {
    font-size: 1.125rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.mp-product__price-current {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
}

.mp-product__price-savings {
    background: #10b981;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.mp-product__offers-count {
    font-size: 0.9375rem;
    color: #374151;
    margin-top: 8px;
}

.mp-product__short-desc {
    color: #4b5563;
    line-height: 1.7;
}

.mp-product__short-desc p {
    margin: 0 0 12px;
}

.mp-product__highlights {
    background: #f0fdf4;
    border-radius: 12px;
    padding: 20px;
}

.mp-product__highlights-title {
    font-weight: 600;
    color: #166534;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mp-product__highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mp-product__highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #374151;
}

.mp-product__highlights-list svg {
    flex-shrink: 0;
    color: #10b981;
    margin-top: 2px;
}

.mp-product__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.mp-btn--primary {
    background: #ff6b35;
    color: white;
}

.mp-btn--primary:hover {
    background: #e55a2b;
    color: white;
}

.mp-btn--secondary {
    background: #f3f4f6;
    color: #374151;
}

.mp-btn--secondary:hover {
    background: #e5e7eb;
}

.mp-btn--full {
    width: 100%;
}

/* =================================================================
   OFFERS TABLE
   ================================================================= */
.mp-offers {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 32px;
}

.mp-offers__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.mp-offers__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.mp-offers__count {
    font-size: 0.875rem;
    color: #6b7280;
}

.mp-offers__list {
    display: flex;
    flex-direction: column;
}

.mp-offer {
    display: grid;
    grid-template-columns: 140px 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.mp-offer:hover {
    background: #fef3c7;
}

.mp-offer:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .mp-offer {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.mp-offer__shop {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mp-offer__shop-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #f3f4f6;
    padding: 4px;
}

.mp-offer__shop-name {
    font-weight: 600;
    color: #1f2937;
}

.mp-offer__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mp-offer__delivery,
.mp-offer__stock {
    font-size: 0.875rem;
    color: #6b7280;
}

.mp-offer__stock--in {
    color: #10b981;
}

.mp-offer__price {
    text-align: right;
}

.mp-offer__price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
}

.mp-offer__price-old {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.mp-offer__action .mp-btn {
    white-space: nowrap;
}

/* =================================================================
   TABS / PRODUCT DESCRIPTION
   ================================================================= */
.mp-product-tabs {
    margin-bottom: 48px;
}

.mp-tabs__nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
    overflow-x: auto;
}

.mp-tabs__btn {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
}

.mp-tabs__btn:hover {
    color: #374151;
}

.mp-tabs__btn.active {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.mp-tabs__content {
    display: none;
}

.mp-tabs__content.active {
    display: block;
}

.mp-product-description {
    line-height: 1.8;
    color: #374151;
}

.mp-product-description h2,
.mp-product-description h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: #1f2937;
}

.mp-product-description p {
    margin-bottom: 16px;
}

.mp-product-description ul,
.mp-product-description ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.mp-product-description li {
    margin-bottom: 8px;
}

/* Specifications Table */
.mp-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.mp-specs-table th,
.mp-specs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.mp-specs-table th {
    width: 40%;
    font-weight: 500;
    color: #6b7280;
    background: #f9fafb;
}

.mp-specs-table td {
    color: #1f2937;
}

/* =================================================================
   RELATED PRODUCTS
   ================================================================= */
.mp-section {
    margin-bottom: 48px;
}

.mp-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mp-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.mp-products-grid {
    display: grid;
    gap: 24px;
}

.mp-products-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 1400px) {
    .mp-products-grid--4 {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1700px) {
    .mp-products-grid--4 {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .mp-products-grid--4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mp-products-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mp-products-grid--4 {
        grid-template-columns: 1fr;
    }
}

.mp-product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.mp-product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.mp-product-card__discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    z-index: 1;
}

.mp-product-card__image {
    aspect-ratio: 1;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mp-product-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mp-product-card__content {
    padding: 16px;
}

.mp-product-card__title {
    font-size: 0.9375rem;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.4;
}

.mp-product-card__title a {
    color: #1f2937;
    text-decoration: none;
}

.mp-product-card__title a:hover {
    color: #ff6b35;
}

.mp-product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.mp-product-card__rating .mp-stars {
    display: flex;
    gap: 1px;
}

.mp-product-card__rating .mp-star {
    width: 14px;
    height: 14px;
}

.mp-product-card__rating-count {
    font-size: 0.75rem;
    color: #9ca3af;
}

.mp-product-card__price {
    margin-bottom: 12px;
}

.mp-product-card__price-current {
    font-size: 1.125rem;
    font-weight: 700;
    color: #dc2626;
}

.mp-product-card__compare-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.mp-product-card__compare-btn:hover {
    background: #e55a2b;
    color: white;
}

/* =================================================================
   FULL WIDTH LAYOUTS
   ================================================================= */

/* Full-width top bar */
.mp-top-bar__content {
    max-width: 1600px !important;
}

@media (min-width: 1800px) {
    .mp-top-bar__content,
    .mp-header__inner,
    .mp-categories-nav__inner,
    .mp-sticky-nav__inner {
        max-width: 1800px !important;
    }
}

/* Hero section full width */
.mp-hero {
    width: 100%;
}

.mp-hero__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 1800px) {
    .mp-hero__inner {
        max-width: 1800px;
    }
}

/* Shop/Archive full width */
.mp-shop__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

@media (min-width: 1600px) {
    .mp-shop__layout {
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .mp-shop__layout {
        grid-template-columns: 1fr;
    }
}

/* Single product wider layout */
.mp-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (min-width: 1400px) {
    .mp-product {
        grid-template-columns: 600px 1fr;
        gap: 80px;
    }
}

@media (min-width: 1700px) {
    .mp-product {
        grid-template-columns: 700px 1fr;
    }
}

/* Offers table wider */
.mp-offer {
    display: grid;
    grid-template-columns: 180px 1fr auto auto;
    align-items: center;
    gap: 32px;
    padding: 24px 32px;
}

@media (min-width: 1400px) {
    .mp-offer {
        grid-template-columns: 200px 1fr 200px auto;
    }
}

/* Categories grid full width */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1500px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1800px) {
    .categories-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

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

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

/* Stats grid wider */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 1400px) {
    .stats-grid {
        max-width: 1100px;
        gap: 48px;
    }
}

/* Footer full width */
.mp-footer__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 1800px) {
    .mp-footer__inner {
        max-width: 1800px;
    }
}

.mp-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

@media (min-width: 1400px) {
    .mp-footer__grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 64px;
    }
}

@media (max-width: 991px) {
    .mp-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .mp-footer__grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   PRODUCT TABS - IMPROVED
   ================================================================= */
.mp-product-tabs {
    margin: 40px 0 !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
}

.mp-product-tabs__nav {
    display: flex !important;
    gap: 0 !important;
    border-bottom: 2px solid #e5e7eb !important;
    background: #f9fafb !important;
    overflow-x: auto !important;
    padding: 0 !important;
}

.mp-product-tabs__tab {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 16px 24px !important;
    background: none !important;
    border: none !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px !important;
    transition: all 0.2s !important;
    white-space: nowrap !important;
}

.mp-product-tabs__tab:hover {
    color: #374151 !important;
    background: rgba(0,0,0,0.02) !important;
}

.mp-product-tabs__tab--active,
.mp-product-tabs__tab.active {
    color: #ff6b35 !important;
    border-bottom-color: #ff6b35 !important;
    background: #fff !important;
}

.mp-product-tabs__tab svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

.mp-product-tabs__count {
    background: #e5e7eb !important;
    color: #374151 !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

.mp-product-tabs__tab--active .mp-product-tabs__count {
    background: #ff6b35 !important;
    color: #fff !important;
}

.mp-product-tabs__content {
    padding: 24px !important;
}

.mp-product-tabs__panel {
    display: none !important;
}

.mp-product-tabs__panel--active,
.mp-product-tabs__panel.active {
    display: block !important;
}

/* =================================================================
   OFFERS TABLE - IMPROVED
   ================================================================= */
.mp-offers-filter {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
}

.mp-offers-filter__pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    background: #f3f4f6 !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.mp-offers-filter__pill:hover {
    background: #e5e7eb !important;
}

.mp-offers-filter__pill--active {
    background: #ff6b35 !important;
    color: #fff !important;
}

.mp-offers-table {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.mp-offers-table__header {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto !important;
    gap: 16px !important;
    padding: 12px 20px !important;
    background: #f9fafb !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.mp-offers-table__body {
    display: flex !important;
    flex-direction: column !important;
}

.mp-offers-table__row {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto !important;
    gap: 16px !important;
    padding: 16px 20px !important;
    align-items: center !important;
    border-bottom: 1px solid #f3f4f6 !important;
    position: relative !important;
    transition: background 0.2s !important;
}

.mp-offers-table__row:hover {
    background: #fffbeb !important;
}

.mp-offers-table__row:last-child {
    border-bottom: none !important;
}

.mp-offers-table__row--featured {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
}

.mp-offers-table__best-badge {
    position: absolute !important;
    top: -1px !important;
    left: 20px !important;
    background: #10b981 !important;
    color: #fff !important;
    padding: 4px 12px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border-radius: 0 0 6px 6px !important;
}

.mp-offers-table__vendor {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.mp-offers-table__vendor-placeholder {
    width: 40px !important;
    height: 40px !important;
    background: #e5e7eb !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
}

.mp-offers-table__vendor-name {
    font-weight: 600 !important;
    color: #1f2937 !important;
}

.mp-offers-table__price-current {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
}

.mp-offers-table__price-old {
    font-size: 0.875rem !important;
    color: #9ca3af !important;
    text-decoration: line-through !important;
}

.mp-offers-table__shipping-free {
    color: #10b981 !important;
    font-weight: 600 !important;
}

@media (max-width: 991px) {
    .mp-offers-table__header {
        display: none !important;
    }
    
    .mp-offers-table__row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .mp-offers-table__cell {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .mp-offers-table__cell::before {
        content: attr(data-label) !important;
        font-weight: 600 !important;
        color: #6b7280 !important;
    }
}

/* =================================================================
   SPECS TABLE
   ================================================================= */
.mp-specs__table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.mp-specs__table th,
.mp-specs__table td {
    padding: 12px 16px !important;
    text-align: left !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.mp-specs__table th {
    width: 35% !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    background: #f9fafb !important;
}

.mp-specs__table td {
    color: #1f2937 !important;
}

.mp-specs__table tr:last-child th,
.mp-specs__table tr:last-child td {
    border-bottom: none !important;
}
