/* ===================================
   C2C Marketplace - E-Commerce Layout
   =================================== */

/* CSS Variables */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #1a1a1a;
    --color-accent: #f8fafc;
    --color-background: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-premium: #7c3aed;

    --font-heading: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-primary: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Corporate Typography Scale */
    --font-xs: 12px;
    --font-sm: 13px;
    --font-base: 14px;
    /* Standard Body Text */
    --font-md: 16px;
    --font-lg: 18px;
    --font-xl: 24px;
    --font-2xl: 32px;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.12);

    --transition: all 0.2s ease;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Browser Default Reference */
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-base);
    line-height: 1.5;
    color: var(--color-text);
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

/* Typography Standards */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: var(--font-2xl);
}

h2 {
    font-size: var(--font-xl);
}

h3 {
    font-size: var(--font-lg);
}

h4 {
    font-size: var(--font-md);
}

h5 {
    font-size: var(--font-base);
}

h6 {
    font-size: var(--font-sm);
}

p {
    margin-bottom: 1rem;
}

/* Control Form & Button Sizes Globally */
.form-control,
.form-select,
.btn {
    font-size: var(--font-base) !important;
    /* Force consistency */
}

.small,
small {
    font-size: var(--font-xs);
}

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER
   =================================== */

/* Top Bar */
.header-top-bar {
    background: white;
    border-bottom: 1px solid var(--color-border);
    font-size: 12px;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left .header-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-right a {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: var(--transition);
}

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

.top-bar-right a.highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.top-bar-right a.premium-link {
    background: var(--color-premium);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.top-bar-right a.premium-link:hover {
    background: #6d28d9;
}

/* Main Header */
.header-main {
    background: white;
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

.header-main-content {
    display: flex;
    gap: 24px;
    align-items: center;
}

/* Search */
.header-search {
    flex: 1;
    max-width: 800px;
}

.search-form {
    display: flex;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-form input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    font-family: var(--font-primary);
}

.search-form input::placeholder {
    color: var(--color-text-light);
}

.search-form button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--color-primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.header-action-link:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

.header-action-link svg {
    flex-shrink: 0;
}

.header-action-link.user-link {
    color: var(--color-text);
    font-weight: 600;
}

.header-action-link.cart-link {
    color: var(--color-text);
    font-weight: 600;
    position: relative;
}

.cart-badge {
    background: var(--color-danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Category Navigation */
.category-nav {
    background: var(--color-secondary);
    color: white;
    padding: 0;
}

.category-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

.category-list li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-list a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    width: 100%;
}

.category-list li:last-child a {
    border-right: none;
}

.category-list a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.category-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-list a span {
    text-align: center;
}

/* ===================================
   HERO & SLIDERS
   =================================== */

.hero-section {
    padding: 24px 0;
}

.hero-sliders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.slider {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.slider-dot.active {
    background: white;
}

/* ===================================
   PRODUCT SECTIONS
   =================================== */

.products-section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}

.section-link {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
}

.section-link:hover {
    text-decoration: underline;
}

.products-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Product Card */
.product-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    background: var(--color-danger);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

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

.product-favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: none;
    font-size: 18px;
}

.product-favorite:hover {
    transform: scale(1.1);
}

.product-info {
    padding: 12px;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--color-text);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-bottom: 8px;
}

.rating-stars {
    color: #fbbf24;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

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

.price-discount {
    font-size: 11px;
    color: var(--color-danger);
    font-weight: 600;
}

/* ===================================
   BRANDS SECTION
   =================================== */

.brands-section {
    background: white;
    padding: 32px 0;
    margin-bottom: 48px;
    border-radius: var(--radius-lg);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.brand-item {
    aspect-ratio: 16/9;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: var(--transition);
    cursor: pointer;
    background: white;
}

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

.brand-logo {
    font-size: 24px;
    opacity: 0.7;
}

/* ===================================
   FOOTER
   =================================== */

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
    margin-top: 60px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #666;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ff6000;
}

.social-links a,
.mobile-apps a {
    font-size: 13px;
    transition: opacity 0.2s;
}

.social-links a:hover,
.mobile-apps a:hover {
    opacity: 0.7;
}

.payment-logos img {
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.payment-logos img:hover {
    filter: grayscale(0%);
}

/* ===================================
   RESPONSIVE
   =================================== */

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

    .category-list a {
        font-size: 12px;
        padding: 12px 8px;
    }
}

@media (max-width: 992px) {
    .hero-sliders {
        grid-template-columns: 1fr;
    }

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

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

    .top-bar-right {
        gap: 12px;
        font-size: 11px;
    }

    .category-list {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-main-content {
        flex-direction: column;
        gap: 12px;
    }

    .header-search {
        max-width: 100%;
        width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: space-around;
    }

    .top-bar-right {
        display: none;
    }

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

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .category-list {
        flex-direction: column;
    }

    .category-list a {
        text-align: left;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
   CATEGORY PAGE STYLES - Pazarama Style
   ======================================== */

/* Category Layout */
.category-page {
    background: var(--color-gray-50);
    min-height: 100vh;
}

.category-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb svg {
    color: var(--color-gray-300);
    width: 8px;
}

.breadcrumb span {
    color: var(--color-gray-600);
    font-weight: 600;
}

/* Sidebar Filters */
.category-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 2rem;
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: 0.5rem;
    overflow: hidden;
}

.filter-section {
    border-bottom: 1px solid var(--color-gray-200);
}

.filter-section:last-child {
    border-bottom: none;
}

.category-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gray-600);
    margin: 0;
    padding: 1.25rem;
}

.product-count {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    padding: 0 1.25rem 1.25rem;
    margin: 0;
}

/* Filter Accordion */
.filter-accordion .filter-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-500);
    transition: background 0.2s;
}

.filter-accordion .filter-header:hover {
    background: var(--color-gray-50);
}

.filter-accordion .arrow {
    transition: transform 0.3s;
    fill: var(--color-gray-500);
}

.filter-accordion.open .arrow {
    transform: rotate(180deg);
}

.filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filter-accordion.open .filter-content {
    max-height: 400px;
    overflow-y: auto;
}

/* Filter Search */
.filter-search {
    width: calc(100% - 2.5rem);
    margin: 0 1.25rem 1rem;
    padding: 0.625rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.375rem;
    font-size: 0.75rem;
}

/* Filter List */
.filter-list {
    padding: 0 1.25rem 1rem;
}

.filter-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s;
}

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

.filter-item input[type="checkbox"] {
    margin-right: 0.75rem;
    cursor: pointer;
}

/* Price Inputs */
.price-inputs {
    display: flex;
    gap: 0.5rem;
    padding: 0 1.25rem 1rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.625rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.375rem;
    font-size: 0.75rem;
}

.price-inputs .btn-apply {
    padding: 0.625rem 1rem;
    background: var(--color-gray-150);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.2s;
}

.price-inputs .btn-apply:hover {
    background: var(--color-gray-200);
}

/* Sort Bar */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sort-dropdown select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path fill="%23666" d="M5 6L0 0h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Product Card */
.product-card {
    position: relative;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
    padding-bottom: 3.75rem;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.favorite-btn {
    position: absolute;
    top: 0.625rem;
    right: 0.75rem;
    z-index: 10;
    background: none;
    border: none;
    color: var(--color-gray-300);
    cursor: pointer;
    transition: color 0.2s;
}

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

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

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.product-title {
    font-size: 0.75rem;
    line-height: 1rem;
    height: 2rem;
    margin: 0;
    color: var(--color-gray-600);
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.rating-score {
    font-weight: 700;
}

.rating-stars {
    display: flex;
    gap: 0.125rem;
}

.star {
    fill: var(--color-gray-200);
}

.star.filled {
    fill: #FFA726;
}

.review-count {
    font-weight: 600;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.original-price {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-600);
}

.add-to-cart-btn {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.75rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.page-btn {
    min-width: 2.5rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.375rem;
    color: var(--color-gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.page-btn:hover {
    background: var(--color-gray-50);
}

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

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

@media (max-width: 768px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 1000;
        transition: left 0.3s;
        background: white;
        overflow-y: auto;
    }

    .category-sidebar.open {
        left: 0;
    }

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

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


/* ========================================
   STORE APPLICATION FORM STYLES
   ======================================== */

/* Application Container */
.application-container {
    background: var(--color-gray-50);
    min-height: 100vh;
    padding: 3rem 0;
}

/* Progress Bar */
.application-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 4px;
    background: var(--color-gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    transition: width 0.3s;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--color-gray-200);
    color: var(--color-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.progress-step.active .step-number {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.progress-step.completed .step-number {
    background: var(--color-success);
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--color-primary);
    font-weight: 600;
}

/* Application Header */
.application-header {
    text-align: center;
    margin-bottom: 3rem;
}

.application-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
}

.application-header p {
    font-size: 1.125rem;
    color: var(--color-gray-500);
}

/* Application Form */
.application-form {
    background: white;
    border-radius: 0.75rem;
    padding: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
}

.form-label.required::after {
    content: '*';
    color: var(--color-danger);
    margin-left: 0.25rem;
}

.label-icon {
    color: var(--color-gray-400);
}

.info-tooltip {
    background: none;
    border: none;
    color: var(--color-gray-400);
    cursor: help;
    padding: 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.info-tooltip:hover {
    color: var(--color-primary);
}

.form-input,
.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: white;
}

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

.form-input.error,
.form-select.error {
    border-color: var(--color-danger);
}

.form-error {
    font-size: 0.75rem;
    color: var(--color-danger);
    margin-top: 0.5rem;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
}

/* Checkbox */
.form-checkbox-wrapper {
    display: flex;
    flex-direction: column;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
    cursor: pointer;
}

.link-primary {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s;
}

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

/* Info Box */
.info-box,
.form-notice {
    background: var(--color-blue-50);
    border: 1px solid var(--color-primary);
    border-radius: 0.5rem;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-box svg,
.form-notice svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-box strong {
    display: block;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--color-gray-600);
    font-size: 0.875rem;
    margin: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

/* Success Page */
.success-page {
    background: var(--color-gray-50);
    min-height: 100vh;
    padding: 4rem 0;
}

.success-card {
    background: white;
    border-radius: 1rem;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.success-icon {
    margin: 0 auto 2rem;
}

.success-icon svg {
    color: var(--color-success);
}

.success-card h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.success-description {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    padding: 2rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.info-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-card svg {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin: 0;
}

.next-steps {
    background: var(--color-gray-50);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.next-steps h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--color-gray-600);
    font-size: 0.938rem;
}

.next-steps li svg {
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.contact-info {
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

.contact-info p {
    color: var(--color-gray-500);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--color-primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .application-form {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .success-card {
        padding: 3rem 2rem;
    }
}

/* ========================================
   SELLER LANDING PAGE
   ======================================== */

.seller-landing {
    background: white;
}

/* Hero Section */
.seller-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 600px;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Stats Section */
.seller-stats {
    background: var(--color-primary);
    padding: 3rem 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Features Section */
.seller-features {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--color-gray-200);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: var(--color-blue-50);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Steps Section */
.seller-steps {
    background: var(--color-gray-50);
    padding: 6rem 0;
}

.steps-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 4rem;
    height: 4rem;
    background: white;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.step-item:hover .step-circle {
    background: var(--color-primary);
    color: white;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--color-gray-300);
    margin: 0 1rem 3rem;
}

.step-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--color-gray-600);
    font-size: 0.938rem;
}

.steps-action {
    text-align: center;
}

/* FAQ Section */
.seller-faq {
    padding: 6rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--color-gray-200);
    border-radius: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    cursor: pointer;
    text-align: left;
}

.faq-question svg {
    transition: transform 0.3s;
    color: var(--color-gray-400);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fcfcfc;
    color: var(--color-gray-600);
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

/* CTA Section */
.seller-cta {
    padding: 6rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 2rem;
    padding: 4rem;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--color-primary);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

    .hero-image {
        opacity: 0.1;
        width: 100%;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .steps-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===================================
   BUTTONS AND UTILITIES
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1.25;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-gray-300);
    color: var(--color-primary);
}

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

.btn-success:hover {
    background-color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

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

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.text-danger {
    color: var(--color-danger);
}

.text-success {
    color: var(--color-success);
}

/* ===================================
   MISSING COLOR VARIABLES
   =================================== */

:root {
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    --color-blue-50: #eff6ff;
}

/* ===================================
   TYPOGRAPHY & CARD FIXES (v2.0)
   =================================== */

/* Global Font Sizes for Hierarchy */
h1,
.h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2,
.h2 {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3,
.h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h4,
.h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-600);
}

/* Body Background Contrast */
body {
    background-color: #f3f4f6;
    /* Slightly darker gray for better card contrast */
    font-size: 16px;
    /* Increased base size from 14px */
}

/* Product Card Enhanced Visibility */
.product-card {
    background: #ffffff;
    border: 1px solid var(--color-gray-200);
    /* Defines the border clearly */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for depth */
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
    z-index: 10;
}

/* Product Title Fix */
.product-title {
    font-size: 1rem;
    /* Increased specific size */
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-gray-800);
}

/* Price Visibility */
.current-price {
    font-size: 1.5rem;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.application-form {
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ===================================
   VISUAL REFINEMENTS v2.1
   =================================== */

/* Global Typography Standardization */
h1,
.h1 {
    font-size: 2.25rem !important;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

h2,
.h2 {
    font-size: 1.875rem !important;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

h3,
.h3 {
    font-size: 1.5rem !important;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

h4,
.h4 {
    font-size: 1.25rem !important;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

h5,
.h5 {
    font-size: 1rem !important;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

p {
    font-size: 1rem !important;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--color-gray-600);
}

small,
.text-sm {
    font-size: 0.875rem !important;
}

/* Product Card Premium Design */
.product-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--color-primary) !important;
    z-index: 2;
}

/* Image Area */
.product-image {
    aspect-ratio: 1;
    width: 100%;
    background: #ffffff !important;
    /* White background for product images */
    padding: 1rem;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Card Content */
.product-info {
    padding: 1.25rem !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-title {
    font-size: 0.938rem !important;
    /* 15px */
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--color-gray-800) !important;
    margin-bottom: 0.25rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    /* Force 2 lines height consistency */
}

/* Price Tag */
.product-price {
    margin-top: auto;
    align-items: flex-start !important;
    /* Left align prices */
}

.header-actions .dropdown-item {
    font-size: 13px !important;
    /* Sepetim ile aynı - Kesin zorla */
    font-weight: 500;
    color: var(--color-text);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.current-price {
    font-size: 1.25rem !important;
    /* 20px */
    font-weight: 800 !important;
    color: var(--color-primary-dark) !important;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.current-price::after {
    content: 'TL';
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 2px;
}

.original-price {
    color: #9ca3af !important;
    font-size: 0.875rem !important;
    text-decoration: line-through;
    margin-bottom: -4px;
}

/* Rating */
.product-rating {
    margin-bottom: 0.5rem;
}

.rating-score {
    color: var(--color-gray-600);
    font-size: 0.8rem;
    margin-left: 4px;
}

/* Badges */
.product-badge {
    top: 12px !important;
    left: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    padding: 4px 8px !important;
    font-size: 10px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Action Button */
.add-to-cart-btn {
    position: static !important;
    /* Make it flow naturally, not absolute */
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem !important;
    border-radius: 8px !important;
    background-color: var(--color-primary) !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
    opacity: 0;
    /* Hidden by default */
    transform: translateY(10px);
    height: 0;
    padding: 0 !important;
    overflow: hidden;
    margin: 0;
}

.product-card:hover .add-to-cart-btn {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    padding: 0.75rem !important;
    margin-top: 1rem;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .product-card:hover .add-to-cart-btn {
        display: block;
        /* Always show on mobile or handle differently */
    }

    .add-to-cart-btn {
        opacity: 1 !important;
        height: auto !important;
        padding: 0.6rem !important;
        margin-top: 0.75rem !important;
        transform: none !important;
        position: static !important;
    }

    h1,
    .h1 {
        font-size: 1.75rem !important;
    }

    h2,
    .h2 {
        font-size: 1.5rem !important;
    }
}

/* ===================================
   SIDEBAR & FILTER STYLES v2.2
   =================================== */

.category-sidebar {
    background: white;
    border-radius: 8px;
    border: 1px solid var(--color-gray-200);
    padding: 0;
    /* Removing padding from container to let sections flush */
    overflow: hidden;
}

.filter-section {
    border-bottom: 1px solid var(--color-gray-200);
    padding: 1rem 1.25rem;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-header {
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-search {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.filter-search:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* Custom Checkbox */
.filter-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-gray-700);
    user-select: none;
}

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

.filter-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid var(--color-gray-300);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.filter-item input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.filter-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Price Inputs */
.price-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-inputs input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    font-size: 0.875rem;
    text-align: center;
}

.btn-apply {
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    padding: 0 0.75rem;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-apply:hover {
    background: var(--color-gray-200);
}

.btn-apply svg {
    width: 16px;
    height: 16px;
    color: var(--color-gray-600);
}

/* Scrollable Filter List */
.filter-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom Aspect Ratios */
.ratio-3x4 {
    --bs-aspect-ratio: 133.3333%;
    /* 4/3 * 100% */
}

/* Scrollbar Styling */
.filter-list::-webkit-scrollbar {
    width: 4px;
}

.filter-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.filter-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.filter-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ===================================
   PRODUCT DETAIL PAGE STYLES v2.3
   =================================== */

.product-detail-page {
    padding-bottom: 4rem;
    background: white;
}

.product-main-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 2rem;
}

.main-image {
    aspect-ratio: 4/3;
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-height: 100%;
    object-fit: contain;
}

.thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
}

.thumb {
    width: 80px;
    height: 80px;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
}

.thumb.active,
.thumb:hover {
    border-color: var(--color-primary);
    opacity: 1;
}

/* Info Box */
.product-title-large {
    font-size: 1.75rem !important;
    line-height: 1.3;
    color: var(--color-gray-900);
    margin-bottom: 1rem;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

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

.stars svg {
    width: 20px;
    height: 20px;
    fill: var(--color-gray-300);
}

.stars svg.filled {
    fill: #FBBF24;
}

.price-box {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.current-price-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.shipping-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ecfdf5;
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Variants */
.variants-section {
    margin-bottom: 2rem;
}

.variant-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.variant-options {
    display: flex;
    gap: 0.75rem;
}

.variant-option {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
}

.variant-option:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Actions */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-full {
    flex: 1;
    justify-content: center;
}

.btn-icon {
    padding: 0 1rem;
    width: auto;
}

.product-meta {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--color-gray-200);
}

/* Tabs */
.tab-headers {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: 2rem;
}

.tab-header {
    padding: 1rem 0;
    font-weight: 600;
    color: var(--color-gray-500);
    cursor: pointer;
    position: relative;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-header.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rich-description {
    line-height: 1.8;
    color: var(--color-gray-700);
}

.review-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stars-small .star {
    color: var(--color-gray-300);
    font-size: 1rem;
}

.stars-small .star.filled {
    color: #FBBF24;
}

.review-text {
    margin-bottom: 0.5rem;
    color: var(--color-gray-800);
}

.review-user {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

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

/* ===================================
   PRODUCT CARD REDESIGN v2.4 (Pink Button Style)
   =================================== */

.product-card {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 10px !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s;
    position: relative;
    background: white;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db !important;
    transform: none !important;
    /* Reset lift effect */
}

/* Badges */
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-delivery {
    background-color: #0047BA;
    /* Blue */
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.2;
}

/* Wishlist Icon */
.btn-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    color: #9ca3af;
    z-index: 2;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-wishlist:hover {
    color: #ef4444;
    border-color: #ef4444;
}

/* Image */
.product-image-container {
    position: relative;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.product-image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    /* Reset */
    border-bottom: none !important;
}

/* Review Badge / Best Seller Banner */
.banner-best-seller {
    background-color: #0047BA;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    padding: 4px;
    width: calc(100% + 20px);
    margin-left: -10px;
    /* Full width breakout */
    margin-bottom: 10px;
}

/* Info Data */
.product-title {
    font-size: 0.9rem !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
    height: 2.8em;
    overflow: hidden;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #fbbf24;
    margin-bottom: 8px;
}

.review-count {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Pricing */
.price-container {
    margin-top: auto;
    margin-bottom: 12px;
    text-align: center;
}

.old-price {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}

.final-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

/* Pink Button */
.btn-add-cart-pink {
    background-color: #F0006F;
    /* Vibrant Pink */
    color: white;
    font-weight: 700;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: capitalize;
}

.btn-add-cart-pink:hover {
    background-color: #d40062;
}


/* ===================================
   AUTH PAGES STYLES v2.5
   =================================== */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    background-color: #f9fafb;
    padding: 2rem 1rem;
}

.auth-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 440px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-gray-900);
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: 0.5rem;
}

.auth-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s;
}

.auth-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(240, 0, 111, 0.1);
    outline: none;
}

.btn-block {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.auth-links a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links span {
    margin: 0 0.5rem;
    color: var(--color-gray-400);
}

/* ===================================
   ALERT & NOTIFICATION STYLES v2.6
   =================================== */

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert svg {
    flex-shrink: 0;
}

.alert-success {
    color: #065f46;
    background-color: #d1fae5;
    border-color: #a7f3d0;
}

.alert-danger {
    color: #991b1b;
    background-color: #fee2e2;
    border-color: #fecaca;
}

.alert ul {
    margin: 0;
    padding-left: 1.25rem;
}

.alert li {
    margin-bottom: 0.25rem;
}

.alert li:last-child {
    margin-bottom: 0;
}