/**
 * Shop Before You Fly - Standard Theme
 * Clean, modern duty-free shopping design
 * Primary: Blue (#0066CC)
 */

/* ============================================
   CSS VARIABLES - STANDARD THEME
   ============================================ */
:root {
    /* Primary Colors */
    --color-primary: #0066CC;
    --color-primary-dark: #0052A3;
    --color-secondary: #222222;

    /* Backgrounds & Surfaces */
    --color-background: #FFFFFF;
    --color-surface: #FAFAFA;
    --color-border: #E8E8E8;

    /* Text Colors */
    --color-text: #222222;
    --color-text-muted: #757575;

    /* Accent Colors */
    --color-success: #059669;
    --color-warning: #FBBF24;
    --color-error: #EF4444;
    --color-exclusive: #7C3AED;

    /* Grays */
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #E8E8E8;
    --color-gray-300: #E0E0E0;
    --color-gray-400: #BDBDBD;
    --color-gray-500: #9E9E9E;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #222222;

    /* Typography */
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --letter-spacing: 0;
    --letter-spacing-wide: 0.05em;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border radius */
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-full: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    flex: 1;
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
    background: var(--color-primary);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
}

.promo-banner strong {
    font-weight: 700;
}

.promo-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 8px;
}

.promo-banner a:hover {
    opacity: 0.9;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 20px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.header-logo .logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 17px;
    color: var(--color-primary);
    letter-spacing: var(--letter-spacing);
}

/* Collection Point Selector */
.collection-point {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
}

.collection-point:hover {
    border-color: var(--color-primary);
}

.collection-point .icon {
    color: var(--color-primary);
}

.collection-point .label {
    font-size: 11px;
    color: var(--color-text-muted);
}

.collection-point .value {
    font-weight: 600;
    color: var(--color-text);
}

/* Search */
.header-search {
    display: flex;
    align-items: center;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    width: 300px;
}

.header-search svg {
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.header-search input {
    border: none;
    background: transparent;
    margin-left: 10px;
    font-size: 14px;
    width: 100%;
    outline: none;
    font-family: var(--font-body);
}

.header-search input::placeholder {
    color: var(--color-text-muted);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.header-actions a {
    color: var(--color-text-muted);
}

.header-actions a:hover {
    color: var(--color-primary);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--color-text-muted);
}

.header-user:hover {
    color: var(--color-primary);
}

/* Mini Cart */
.mini-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    cursor: pointer;
}

.mini-cart:hover {
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--color-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category Navigation */
.category-nav {
    border-top: 1px solid var(--color-border);
}

.category-nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-nav .nav-toggle {
    padding: 14px 16px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border-bottom: 2px solid var(--color-primary);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-body);
}

.category-nav .nav-link {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

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

.category-nav .nav-link.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F7FC 100%);
    padding: 40px 20px;
    border-bottom: 1px solid var(--color-border);
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 500px;
}

.hero-label {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 14px;
    line-height: 1.2;
    letter-spacing: var(--letter-spacing);
}

.hero-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 16px;
}

.hero-feature {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    width: 140px;
}

.hero-feature .icon {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.hero-feature .title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.hero-feature .desc {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    letter-spacing: var(--letter-spacing);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: white;
}

.btn-outline {
    background: white;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-secondary {
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.btn-secondary:hover {
    background: var(--color-gray-100);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ============================================
   CATEGORY PILLS
   ============================================ */
.category-pills {
    display: flex;
    gap: 8px;
    padding: 20px 0;
    overflow-x: auto;
}

.category-pill {
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    background: white;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font-body);
    color: var(--color-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.category-pill:hover {
    background: var(--color-gray-100);
}

.category-pill.active {
    border: 2px solid var(--color-primary);
    background: #E8F4FD;
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-section {
    padding: 0 0 40px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.products-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing);
}

.products-count {
    font-size: 14px;
    color: var(--color-text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Product Card - Modern e-commerce style */
.product-card {
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--color-gray-300);
}

.product-card:hover .wishlist-btn {
    opacity: 1;
}

.product-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.product-card .add-btn {
    margin: 0 16px 16px 16px;
    width: calc(100% - 32px);
}

.product-image {
    position: relative;
    background: #f8f9fa;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge {
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-new {
    background: var(--color-primary);
    color: white;
}

.badge-exclusive {
    background: var(--color-exclusive);
    color: white;
}

.badge-member {
    background: var(--color-success);
    color: white;
}

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

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}

.wishlist-btn:hover {
    background: #fff0f0;
}

.wishlist-btn:hover svg {
    color: #e11d48;
}

.wishlist-btn.active {
    opacity: 1;
}

.wishlist-btn.active svg {
    color: #e11d48;
    fill: #e11d48;
}

.wishlist-btn svg {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.product-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 13px;
    color: var(--color-text);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0;
    text-transform: none;
}

.product-name {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-size {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.product-variants {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
}

.price-label {
    font-size: 12px;
    color: var(--color-text-muted);
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}

.price-was {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.price-local {
    font-size: 12px;
    color: var(--color-text-muted);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.product-rating .stars {
    display: flex;
}

.product-rating .stars svg {
    width: 12px;
    height: 12px;
}

.product-rating .count {
    font-size: 11px;
    color: var(--color-text-muted);
}

.add-btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: 12px;
}

.add-btn:hover {
    background: var(--color-primary-dark);
}

/* Load More */
.load-more {
    text-align: center;
    margin-top: 32px;
}

/* ============================================
   SHOPS HERO SCROLLER
   ============================================ */
.shops-hero-section {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    margin-top: 20px;
}

.shops-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.shops-hero-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing);
    color: var(--color-text);
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.view-all-link:hover {
    color: var(--color-primary-dark);
    gap: 8px;
}

.shops-scroller-wrapper {
    position: relative;
}

.shops-scroller {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shops-scroller::-webkit-scrollbar {
    display: none;
}

.shops-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.shops-scroll-btn:hover:not(:disabled) {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.shops-scroll-btn:disabled {
    cursor: not-allowed;
}

.shops-scroll-left {
    left: -20px;
}

.shops-scroll-right {
    right: -20px;
}

.shop-card {
    flex: 0 0 220px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.shop-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.shop-card-image {
    height: 120px;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.shop-card-info {
    padding: 16px;
}

.shop-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.shop-card-location svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.shop-card-products {
    font-size: 12px;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .shops-scroll-btn {
        display: none;
    }

    .shop-card {
        flex: 0 0 180px;
    }

    .shop-card-image {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .shops-hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .shop-card {
        flex: 0 0 160px;
    }
}

/* ============================================
   INFO BANNER
   ============================================ */
.info-banner {
    background: #F8F9FA;
    padding: 40px 20px;
    border-top: 1px solid var(--color-border);
}

.info-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.info-item .number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 18px;
    font-weight: 700;
}

.info-item .title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
}

.info-item .desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-secondary);
    color: white;
    padding: 48px 20px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-brand .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.footer-brand .logo-text {
    font-weight: 600;
    font-size: 16px;
}

.footer-desc {
    font-size: 13px;
    color: #AAA;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 13px;
    color: #AAA;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #888;
}

.footer-links a:hover {
    color: white;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 10px;
    }

    .collection-point {
        display: none;
    }

    .header-actions > a:not(.mini-cart) {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .category-nav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

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

    .hero-title {
        font-size: 24px;
    }
}

/* ============================================
   VENDOR PAGE STYLES
   ============================================ */

/* Vendor Theme Variables */
:root {
    --vendor-primary: var(--color-primary);
    --vendor-secondary: var(--color-secondary);
}

/* Vendor Header */
.vendor-header {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F7FC 100%);
    padding: 40px 20px;
    border-bottom: 1px solid var(--color-border);
}

.vendor-header-content {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.vendor-logo-wrapper {
    flex-shrink: 0;
}

.vendor-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
}

.vendor-info {
    flex: 1;
}

.vendor-name {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.2;
}

.vendor-tagline {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: none;
}

.vendor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.vendor-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.vendor-meta-item svg {
    color: var(--vendor-primary);
}

.vendor-stars {
    display: flex;
}

.vendor-stars svg {
    width: 16px;
    height: 16px;
}

/* Vendor Description */
.vendor-description {
    padding: 24px 20px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.vendor-description-content {
    max-width: 1280px;
    margin: 0 auto;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Products Actions */
.products-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-body);
    background: white;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--color-text-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

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

/* Error State */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.error-state svg {
    color: var(--color-error);
    margin-bottom: 16px;
}

.error-state h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.error-state p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-state svg {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.empty-state p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Vendor Info Banner */
.vendor-info-banner {
    background: var(--color-surface);
    padding: 40px 20px;
    border-top: 1px solid var(--color-border);
}

.vendor-info-banner .info-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.vendor-info-banner .info-item .icon {
    width: 48px;
    height: 48px;
    background: var(--vendor-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.vendor-info-banner .info-item .title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
    color: var(--color-text);
}

.vendor-info-banner .info-item .desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Vendor Page Responsive */
@media (max-width: 768px) {
    .vendor-header-content {
        flex-direction: column;
        text-align: center;
    }

    .vendor-logo {
        width: 100px;
        height: 100px;
    }

    .vendor-name {
        font-size: 24px;
    }

    .vendor-meta {
        justify-content: center;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .products-actions {
        width: 100%;
        justify-content: space-between;
    }

    .vendor-info-banner .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .vendor-info-banner .info-grid {
        grid-template-columns: 1fr;
    }

    .products-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ============================================
   VENDORS LISTING PAGE STYLES
   ============================================ */
.vendors-hero {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F7FC 100%);
    padding: 40px 20px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.vendors-hero h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.vendors-hero p {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 32px 0;
}

.vendor-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

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

.vendor-card-header {
    background: var(--color-surface);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    overflow: hidden;
}

.vendor-card-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-card-body {
    padding: 20px;
}

.vendor-card-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.vendor-card-location {
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.vendor-card-location svg {
    width: 14px;
    height: 14px;
    color: var(--color-primary);
}

.vendor-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.vendor-card-products {
    font-size: 12px;
    color: var(--color-text-muted);
}

.vendor-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.vendor-card-rating svg {
    width: 14px;
    height: 14px;
}

.vendor-card-arrow {
    color: var(--color-primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.vendor-card:hover .vendor-card-arrow {
    opacity: 1;
}

/* Vendors Search/Filter */
.vendors-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 16px;
    flex-wrap: wrap;
}

.vendors-search {
    display: flex;
    align-items: center;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    flex: 1;
    max-width: 400px;
}

.vendors-search svg {
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.vendors-search input {
    border: none;
    background: transparent;
    margin-left: 10px;
    font-size: 14px;
    width: 100%;
    outline: none;
    font-family: var(--font-body);
}

.vendors-count {
    font-size: 14px;
    color: var(--color-text-muted);
}

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

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

    .vendors-hero h1 {
        font-size: 24px;
    }
}
