/* ==========================================================================
   DADARBARI E-COMMERCE COMPONENTS MASTER STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOP UTILITY BAR
   -------------------------------------------------------------------------- */
.top-utility-bar {
    background-color: var(--surface-subtle);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.775rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
}

.top-utility-bar a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.top-utility-bar a:hover {
    color: var(--brand-primary);
}

.utility-link-divider {
    color: var(--border-hover);
    margin: 0 0.5rem;
}

/* --------------------------------------------------------------------------
   2. MAIN HEADER & STICKY BEHAVIOR
   -------------------------------------------------------------------------- */
.header-wrapper {
    position: relative;
    z-index: var(--z-sticky);
    background-color: var(--surface);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
}

.header-wrapper.is-sticky {
    position: sticky;
    top: 0;
    box-shadow: var(--shadow-md);
}

.main-header {
    padding: 0.85rem 0;
}

/* Logo Design */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none !important;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 90, 31, 0.3);
}

.brand-logo-text {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-navy);
    line-height: 1;
}

.brand-logo-text span {
    color: var(--brand-primary);
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

/* Search Bar Component */
.header-search-container {
    position: relative;
    max-width: 680px;
    width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    background-color: var(--surface-muted);
    border: 2px solid var(--brand-primary-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input-group:focus-within {
    border-color: var(--brand-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.15);
}

.search-input-group .form-control {
    border: none;
    background: transparent;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    box-shadow: none !important;
}

.search-category-select {
    border: none;
    border-right: 1px solid var(--border-color);
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    outline: none;
}

.btn-search {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.4rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.btn-search:hover {
    opacity: 0.92;
}

/* Autocomplete Panel */
.search-autocomplete-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background-color: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    z-index: var(--z-dropdown);
    display: none;
    max-height: 420px;
    overflow-y: auto;
    padding: 1rem;
}

.search-autocomplete-panel.show {
    display: block;
}

.autocomplete-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trending-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.trending-chip {
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
    background-color: var(--surface-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.trending-chip:hover {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.4rem;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
    cursor: pointer;
}

.search-result-item:hover {
    background-color: var(--surface-subtle);
}

.search-result-thumb {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: var(--radius-xs);
}

/* Header User Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    position: relative;
    cursor: pointer;
}

.action-icon-wrap {
    position: relative;
    font-size: 1.45rem;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
}

.action-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
}

.action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.action-text .label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.action-text .title {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   3. MAIN NAVIGATION & MEGA MENU
   -------------------------------------------------------------------------- */
.main-nav-bar {
    background-color: var(--surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
}

/* Category Trigger Button */
.cat-menu-trigger {
    background-color: var(--brand-navy);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    min-width: 240px;
    border: none;
    transition: background-color var(--transition-fast);
}

.cat-menu-trigger:hover {
    background-color: var(--brand-primary);
    color: #ffffff;
}

/* Navigation Links */
.nav-links-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0 1.25rem;
}

.nav-link-item {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.65rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}

.nav-link-item i {
    color: var(--brand-primary);
    font-size: 1rem;
}

.nav-link-item:hover {
    color: var(--brand-primary);
}

.nav-link-item.highlight {
    color: var(--brand-primary);
}

.nav-link-item.highlight::after {
    content: 'HOT';
    font-size: 0.6rem;
    font-weight: 800;
    background-color: var(--danger);
    color: #ffffff;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 3px;
}

/* --------------------------------------------------------------------------
   4. MEGA MENU DROPDOWN & SIDEBAR
   -------------------------------------------------------------------------- */
.hero-category-sidebar {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.sidebar-cat-list {
    list-style: none;
    margin: 0;
    padding: 0.4rem 0;
}

.sidebar-cat-item {
    position: relative;
}

.sidebar-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.sidebar-cat-link .left-content {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.sidebar-cat-link i {
    font-size: 1.05rem;
    color: var(--text-secondary);
    width: 20px;
    text-align: center;
}

.sidebar-cat-item:hover > .sidebar-cat-link {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
}

.sidebar-cat-item:hover > .sidebar-cat-link i {
    color: var(--brand-primary);
}

/* Mega Menu Multi-column Flyout */
.mega-menu-flyout {
    position: absolute;
    left: 100%;
    top: 0;
    width: 780px;
    min-height: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    display: none;
    padding: 1.25rem;
}

.sidebar-cat-item:hover .mega-menu-flyout {
    display: block;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.mega-subcat-group h6 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--brand-primary-border);
}

.mega-subcat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-subcat-list li a {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.2rem 0;
    display: block;
}

.mega-subcat-list li a:hover {
    color: var(--brand-primary);
    padding-left: 3px;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION & PROMOTIONAL PANEL
   -------------------------------------------------------------------------- */
.hero-section-grid {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-slider-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
    min-height: 380px;
}

.swiper-hero {
    width: 100%;
    height: 100%;
}

.hero-slide-item {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.2) 65%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    color: #ffffff;
}

.hero-slide-badge {
    align-self: flex-start;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-xs);
    margin-bottom: 0.75rem;
}

.hero-slide-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    max-width: 480px;
    margin-bottom: 0.5rem;
}

.hero-slide-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 440px;
    margin-bottom: 1.5rem;
}

/* Swiper Navigation Customization */
.swiper-hero .swiper-button-next,
.swiper-hero .swiper-button-prev {
    color: #ffffff;
    background-color: rgba(15, 23, 42, 0.4);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background-color var(--transition-fast);
}

.swiper-hero .swiper-button-next::after,
.swiper-hero .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: 800;
}

.swiper-hero .swiper-button-next:hover,
.swiper-hero .swiper-button-prev:hover {
    background-color: var(--brand-primary);
}

.swiper-hero .swiper-pagination-bullet-active {
    background-color: var(--brand-primary);
    width: 20px;
    border-radius: 4px;
}

/* Right Hero Promotional Panel */
.hero-promo-panel {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.user-welcome-card {
    text-align: center;
    background: linear-gradient(135deg, var(--brand-primary-light), #ffffff);
    border: 1px solid var(--brand-primary-border);
    border-radius: var(--radius-sm);
    padding: 1rem 0.75rem;
    margin-bottom: 0.75rem;
}

.user-welcome-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 0.5rem auto;
}

.user-welcome-card h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.user-welcome-card p {
    font-size: 0.725rem;
    color: var(--text-secondary);
    margin-bottom: 0.65rem;
}

.user-auth-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.user-auth-btns .btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    font-weight: 700;
}

.hero-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-benefit-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.775rem;
    color: var(--text-secondary);
}

.hero-benefit-item:last-child {
    border-bottom: none;
}

.hero-benefit-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   6. QUICK SERVICE SHORTCUT CARDS
   -------------------------------------------------------------------------- */
.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xs);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-card-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   7. FLASH SALE & LIVE COUNTDOWN
   -------------------------------------------------------------------------- */
.flash-sale-container {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.flash-sale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.flash-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flash-badge-title {
    color: var(--brand-primary);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.flash-countdown {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.timer-unit {
    background-color: var(--brand-navy);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    min-width: 28px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   8. REUSABLE PRODUCT CARD SYSTEM
   -------------------------------------------------------------------------- */
.product-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    border-color: var(--brand-primary-border);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.product-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Square Aspect Ratio */
    background-color: var(--surface-subtle);
    overflow: hidden;
}

.product-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
    transition: transform var(--transition-smooth);
}

.product-card:hover .product-thumb-img {
    transform: scale(1.05);
}

/* Wishlist Heart Button */
.btn-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.btn-wishlist:hover,
.btn-wishlist.active {
    background-color: #ffffff;
    color: var(--danger);
    border-color: var(--danger-light);
}

/* Product Badges */
.product-badge-group {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 2;
}

.product-discount-pill {
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-xs);
}

.product-card-body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-seller-tag {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-title {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
}

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

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.rating-stars {
    color: #f59e0b;
}

.sold-count {
    color: var(--text-muted);
    margin-left: auto;
    font-size: 0.68rem;
}

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

.current-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.old-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Free Delivery Tag */
.free-delivery-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.btn-quick-add {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.775rem;
    padding: 0.4rem;
    font-weight: 700;
    border-radius: var(--radius-xs);
}

.flash-progress-wrap {
    margin-top: 0.4rem;
}

.flash-progress-bar {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 99px;
    overflow: hidden;
}

.flash-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

.flash-progress-text {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. PROMOTIONAL CAMPAIGN STRIP
   -------------------------------------------------------------------------- */
.campaign-banner-strip {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
}

.campaign-banner-strip img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   10. CATEGORY GRID SECTION
   -------------------------------------------------------------------------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0.75rem;
}

.category-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.5rem;
    text-align: center;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.category-card-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.4rem;
}

.category-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

/* --------------------------------------------------------------------------
   11. OFFICIAL BRAND STORES (DADARBARI MALL)
   -------------------------------------------------------------------------- */
.official-stores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.store-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.store-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

.store-banner {
    height: 70px;
    background-color: var(--brand-navy);
    position: relative;
}

.store-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-body {
    padding: 0.75rem;
    text-align: center;
    position: relative;
    margin-top: -24px;
}

.store-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-sm);
    margin: 0 auto 0.4rem auto;
    overflow: hidden;
}

.store-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.store-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.btn-visit-store {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   12. RECOMMENDATION TABS & JUST FOR YOU
   -------------------------------------------------------------------------- */
.recommendation-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.tab-btn {
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 0.65rem 1.25rem;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.tab-btn:hover {
    color: var(--brand-primary);
}

.tab-btn.active {
    color: var(--brand-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--brand-primary);
    border-radius: 3px 3px 0 0;
}

.just-for-you-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.85rem;
}

.catalog-layout-grid .just-for-you-grid {
    grid-template-columns: repeat(4, 1fr);
}

.load-more-wrap {
    text-align: center;
    margin-top: 2rem;
}

.btn-load-more {
    min-width: 220px;
    padding: 0.65rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   13. RECENTLY VIEWED & FALLBACK
   -------------------------------------------------------------------------- */
.recently-viewed-wrap {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   14. NEWSLETTER & TRUST BADGES
   -------------------------------------------------------------------------- */
.newsletter-card {
    background: linear-gradient(135deg, var(--brand-navy), #090d16);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.newsletter-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    gap: 0.5rem;
}

.newsletter-form input {
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    border: none;
}

.form-feedback-msg {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    display: none;
}

.form-feedback-msg.show-success {
    display: block;
    color: var(--success);
}

.form-feedback-msg.show-error {
    display: block;
    color: var(--danger);
}

/* Trust Badges Footer Bar */
.trust-badges-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.trust-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.trust-badge-text h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.trust-badge-text p {
    font-size: 0.725rem;
    color: var(--text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   15. FOOTER COMPONENT
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: #0b1120;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 3.5rem;
    padding-bottom: 1.5rem;
    border-top: 4px solid var(--brand-primary);
    font-size: 0.825rem;
}

.footer-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.5rem;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition-fast);
}

.footer-links-list a:hover {
    color: var(--brand-primary);
}

.payment-methods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.payment-badge {
    background-color: #ffffff;
    color: var(--brand-navy);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background-color var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--brand-primary);
    color: #ffffff;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   16. MOBILE BOTTOM NAVIGATION BAR
   -------------------------------------------------------------------------- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    z-index: var(--z-fixed);
}

.mobile-nav-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 100%;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 600;
    gap: 2px;
    position: relative;
}

.mobile-nav-item i {
    font-size: 1.25rem;
}

.mobile-nav-item.active {
    color: var(--brand-primary);
}

.mobile-nav-badge {
    position: absolute;
    top: 4px;
    right: 24%;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   17. CATALOG & LISTING PAGES (CATEGORY & SEARCH)
   -------------------------------------------------------------------------- */

/* Breadcrumb Navigation */
.catalog-breadcrumb {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.catalog-breadcrumb a {
    color: var(--text-secondary);
    font-weight: 500;
}

.catalog-breadcrumb a:hover {
    color: var(--brand-primary);
}

.catalog-breadcrumb .active-item {
    color: var(--text-primary);
    font-weight: 700;
}

/* Category & Search Page Header Card */
.catalog-header-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-xs);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.catalog-header-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.catalog-header-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 650px;
}

.catalog-header-count {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary-border);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
}

/* Subcategory Discovery Cards */
.subcat-discovery-wrap {
    margin-bottom: 1.25rem;
}

.subcat-chips-group {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.subcat-chip {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

.subcat-chip:hover,
.subcat-chip.active {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
}

/* Popular Brands Row */
.brand-filter-chips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.brand-chip-btn {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.25rem 0.75rem;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.brand-chip-btn:hover,
.brand-chip-btn.active {
    background-color: var(--brand-navy);
    color: #ffffff;
    border-color: var(--brand-navy);
}

/* Catalog Master Layout Grid (Desktop Sidebar + Main Content) */
.catalog-layout-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.25rem;
}

/* Filter Sidebar System */
.filter-sidebar {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
}

.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.filter-sidebar-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-navy);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-clear-all-filters {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--danger);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.btn-clear-all-filters:hover {
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

.filter-check-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter-check-item:hover {
    color: var(--brand-primary);
}

.filter-check-item input[type="checkbox"],
.filter-check-item input[type="radio"] {
    accent-color: var(--brand-primary);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.filter-check-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1;
    cursor: pointer;
}

.filter-count-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Price Range Inputs */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.price-range-inputs input {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-xs);
}

.btn-apply-price {
    width: 100%;
    font-size: 0.775rem;
    padding: 0.35rem;
    font-weight: 700;
}

/* Active Filter Chips Bar */
.active-filters-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
}

.active-filter-chip {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary-border);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.active-filter-chip i {
    cursor: pointer;
}

.active-filter-chip i:hover {
    color: var(--danger);
}

/* Product Catalog Toolbar */
.catalog-toolbar {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.toolbar-result-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.toolbar-result-text strong {
    color: var(--text-primary);
}

.toolbar-sort-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toolbar-sort-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.toolbar-sort-select {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
    padding: 0.35rem 0.65rem;
    outline: none;
    background-color: #ffffff;
    cursor: pointer;
}

.toolbar-sort-select:focus {
    border-color: var(--brand-primary);
}

/* Pagination Bar */
.catalog-pagination-wrap {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-item .page-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-color: var(--border-color);
    padding: 0.45rem 0.85rem;
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
}

.pagination .page-item .page-link:hover {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
}

/* Skeleton Loading Placeholder Cards */
.product-card-skeleton {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    height: 320px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skeleton-thumb {
    width: 100%;
    height: 160px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty / No Results State */
.empty-results-box {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.empty-results-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 1rem auto;
}

.empty-results-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
}

.empty-results-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto 1.5rem auto;
}


/* ==========================================================================
   18. PRODUCT DETAILS PAGE SPECIFIC STYLES
   ========================================================================== */

/* Main 3-Column Layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 360px 1fr 280px;
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 2rem;
}

/* Gallery System */
.pd-gallery-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 90px;
}

.pd-main-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-color: var(--surface-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 0.75rem;
    cursor: zoom-in;
}

.pd-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.pd-main-img-wrap:hover .pd-main-img {
    transform: scale(1.1);
}

.pd-zoom-hint {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-xs);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.pd-thumb-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.pd-thumb-item {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xs);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--surface-subtle);
    transition: all var(--transition-fast);
}

.pd-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.pd-thumb-item:hover,
.pd-thumb-item.active {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px rgba(255, 90, 31, 0.2);
}

/* Primary Product Info (Center Column) */
.pd-info-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-xs);
}

.pd-badge-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
}

.pd-badge-mall {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-xs);
    letter-spacing: 0.04em;
}

.pd-badge-official {
    background-color: var(--brand-navy);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-xs);
}

.pd-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.pd-social-proof {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.825rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.pd-rating-box {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pd-reviews-link {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.pd-brand-link {
    color: var(--brand-navy);
    font-weight: 700;
}

/* Flash Sale Special Banner inside Product Detail */
.pd-flash-strip {
    background: linear-gradient(135deg, #ef4444, var(--brand-primary));
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.pd-flash-title {
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Price Box */
.pd-price-box {
    background-color: var(--brand-primary-light);
    border: 1px solid var(--brand-primary-border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.pd-current-price {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.pd-old-price {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pd-discount-pill {
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-xs);
}

.pd-savings-pill {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Vouchers & Promotions */
.pd-vouchers-wrap {
    margin-bottom: 1.25rem;
}

.pd-voucher-card {
    background-color: #fff7ed;
    border: 1px dashed #fdba74;
    border-radius: var(--radius-xs);
    padding: 0.45rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.775rem;
}

.btn-collect-voucher {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
}

/* Variants System */
.pd-variant-group {
    margin-bottom: 1.15rem;
}

.pd-variant-label {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

.pd-variant-chip {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pd-variant-chip:hover {
    border-color: var(--brand-primary);
}

.pd-variant-chip.active {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--brand-primary);
}

.pd-variant-chip.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
    background-color: var(--surface-subtle);
    border-color: var(--border-light);
}

/* Quantity Selector */
.pd-quantity-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pd-quantity-input-group {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
    overflow: hidden;
    background-color: #ffffff;
}

.pd-qty-btn {
    background-color: var(--surface-subtle);
    border: none;
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.pd-qty-btn:hover:not(:disabled) {
    background-color: var(--border-color);
}

.pd-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pd-qty-val {
    width: 44px;
    height: 34px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    outline: none;
}

.pd-stock-status {
    font-size: 0.775rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pd-stock-status.low-stock {
    color: var(--danger);
    font-weight: 700;
}

/* Actions Buttons */
.pd-actions-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.btn-buy-now {
    flex: 1;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(255, 90, 31, 0.25);
}

.btn-add-cart-pd {
    flex: 1;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
}

.btn-wishlist-pd {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-muted);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-wishlist-pd:hover,
.btn-wishlist-pd.active {
    border-color: var(--danger);
    color: var(--danger);
    background-color: #fff1f2;
}

/* Share Product Row */
.pd-share-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.775rem;
    color: var(--text-muted);
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light);
}

.pd-share-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--surface-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pd-share-btn:hover {
    background-color: var(--brand-navy);
    color: #ffffff;
}

/* Right Column (Delivery & Seller Cards) */
.pd-side-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-xs);
    margin-bottom: 1rem;
}

.pd-side-card-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-navy);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pd-delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.pd-delivery-item i {
    font-size: 1.1rem;
    color: var(--brand-primary);
    margin-top: 2px;
}

/* Seller Card Details */
.pd-seller-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.pd-seller-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-color);
    object-fit: contain;
}

.pd-seller-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.pd-seller-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    text-align: center;
    background-color: var(--surface-subtle);
    border-radius: var(--radius-xs);
    padding: 0.6rem 0.4rem;
    margin-bottom: 0.85rem;
}

.pd-metric-val {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--brand-navy);
}

.pd-metric-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Lower Details Tabs & Specs */
.pd-tab-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
    background-color: #ffffff;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 0 1rem;
}

.pd-tab-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 0.85rem 1.25rem;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.pd-tab-link.active {
    color: var(--brand-primary);
}

.pd-tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--brand-primary);
    border-radius: 3px 3px 0 0;
}

.pd-section-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
    margin-bottom: 1.5rem;
}

.pd-specs-table {
    width: 100%;
    font-size: 0.85rem;
    border-collapse: collapse;
}

.pd-specs-table tr:nth-child(even) {
    background-color: var(--surface-subtle);
}

.pd-specs-table td {
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-light);
}

.pd-specs-table td.spec-key {
    font-weight: 700;
    color: var(--text-primary);
    width: 30%;
}

/* Customer Reviews Breakdown */
.pd-reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.pd-score-box {
    text-align: center;
    background-color: var(--brand-primary-light);
    border: 1px solid var(--brand-primary-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.pd-score-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-primary);
    line-height: 1;
}

.pd-review-card {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.pd-review-card:last-child {
    border-bottom: none;
}

/* Mobile Sticky Purchase Bar */
.sticky-mobile-purchase-bar {
    display: none;
    position: fixed;
    bottom: var(--mobile-nav-height);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    z-index: 998;
}

@media (max-width: 991.98px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .pd-gallery-card {
        position: static;
    }
    .sticky-mobile-purchase-bar {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}


/* ==========================================================================
   19. MULTI-PAGE CUSTOMER EXPERIENCE STYLES
   ========================================================================== */

/* Cart Page Multi-Vendor Layout */
.cart-vendor-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.cart-vendor-header {
    background-color: var(--surface-subtle);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
}

.cart-item-row {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 1rem;

}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-thumb {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-color);
    background-color: var(--surface-subtle);
    padding: 4px;
    flex-shrink: 0;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.cart-item-variant {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

/* Order Summary Box */
.summary-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 90px;
}

.summary-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-navy);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
    color: var(--text-secondary);
}

.summary-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
    padding-top: 0.85rem;
    border-top: 2px solid var(--border-light);
    margin-top: 0.85rem;
}

/* Auth Cards (Login & Register) */
.auth-container-card {
    max-width: 480px;
    margin: 2.5rem auto;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.35rem;
}

.social-login-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.btn-social-auth {
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.btn-social-auth:hover {
    background-color: var(--surface-subtle);
    border-color: var(--border-hover);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-light);
}

.auth-divider span {
    padding: 0 0.75rem;
}

/* Account Center Dashboard Layout */
.account-layout-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.account-sidebar-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.account-user-banner {
    background: linear-gradient(135deg, var(--brand-navy), #090d16);
    color: #ffffff;
    padding: 1.25rem;
    text-align: center;
}

.account-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
    border: 2px solid #ffffff;
}

.account-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-nav-item {
    border-bottom: 1px solid var(--border-light);
}

.account-nav-item:last-child {
    border-bottom: none;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-decoration: none !important;
}

.account-nav-link i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.account-nav-link:hover,
.account-nav-link.active {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 700;
}

.account-stat-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.account-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Order Timeline Status */
.order-timeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 2rem 0;
}

.order-timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--border-color);
    z-index: 1;
    transform: translateY(-50%);
}

.timeline-step {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    border: 3px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timeline-step.completed {
    border-color: var(--success);
    background-color: var(--success);
    color: #ffffff;
}

.timeline-step.current {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary);
    color: #ffffff;
}

/* Store Front Banner Header */
.store-header-banner {
    position: relative;
    background: linear-gradient(135deg, var(--brand-navy), #1e293b);
    color: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.store-header-content {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Flash Sale Master Banner */
.flash-page-header {
    background: linear-gradient(135deg, #ef4444, var(--brand-primary), #c026d3);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.flash-session-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.flash-session-tab {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.25rem;
    text-align: center;
    cursor: pointer;
    min-width: 130px;
    transition: all var(--transition-fast);
}

.flash-session-tab.active {
    background-color: var(--brand-navy);
    color: #ffffff;
    border-color: var(--brand-navy);
}

/* Responsiveness overrides */
@media (max-width: 991.98px) {
    .account-layout-grid {
        grid-template-columns: 1fr;
    }
}


/* Logo Image Styling */
.brand-logo-img {
    height: 44px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
}


/* Increased Logo Visibility */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    padding: 0.2rem 0;
}

.brand-logo-img {
    height: 62px !important;
    max-height: 70px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
    transform: scale(1.02);
}


/* Extra Large Logo Override */
.main-header {
    padding: 0.85rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    padding: 0;
}

.brand-logo-img {
    height: 88px !important;
    max-height: 96px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
    transform: scale(1.02);
}


/* Massive Logo Display Override */
.main-header {
    padding: 1rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    padding: 0;
}

.brand-logo-img {
    height: 125px !important;
    max-height: 140px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
    transform: scale(1.02);
}
