/* ========================================
   Marketplace - Mobile-First Styles
   Base = mobile, scale up with min-width
   ======================================== */

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #0ea5e9;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --radius: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --transition: all 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ========================================
   NAVBAR (mobile base)
   ======================================== */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 0 12px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    gap: 8px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navbar-search {
    display: none;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navbar-actions .btn-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.navbar-actions .btn-icon:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.navbar-actions .btn-icon .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* ========================================
   LOGO (SVG-based)
   ======================================== */
.logo {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.logo svg {
    width: 22px;
    height: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .lt-name {
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.logo-text .lt-tag {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 2px;
}

/* Footer logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo .logo {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
}

.footer-logo .logo svg {
    width: 18px;
    height: 18px;
}

.footer-logo h3 { color: #fff; font-size: 1.1rem; font-weight: 800; }

/* ========================================
   NAV AUTH BUTTONS
   ======================================== */
.btn-nav-link {
    display: none; /* hidden on mobile */
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.btn-nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.btn-nav-register {
    background: var(--primary);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    transition: background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-nav-register:hover {
    background: var(--primary-hover);
}

/* ========================================
   NAV ACTION BUTTON (Dashboard / Crear Cuenta)
   Mobile/Tablet: icon only (circle)
   Desktop: icon + text
   ======================================== */
.btn-nav-action {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-nav-action:hover {
    background: var(--primary-hover);
}

.btn-nav-action__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-nav-action__text {
    display: none;
}

/* ========================================
   NAV ICON BUTTONS (bell, user - public pages)
   ======================================== */
.btn-nav-icon {
    position: relative;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}
.btn-nav-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-nav-icon.has-notifs svg {
    animation: bell-ring 2s ease-in-out infinite;
    animation-delay: 1s;
}
.btn-nav-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    background: var(--danger);
    border-radius: 10px;
    border: 2px solid #fff;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ========================================
   MENU BUTTON (4 squares)
   ======================================== */
.btn-menu {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.btn-menu:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ========================================
   MENU MODAL
   ======================================== */
.menu-modal {
    max-width: 360px;
    width: 90%;
    padding: 20px;
    border-radius: 16px;
}

.menu-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: background 0.15s ease;
    cursor: pointer;
    text-decoration: none;
}

.menu-item:hover {
    background: var(--gray-50);
}

.menu-item svg {
    flex-shrink: 0;
    color: var(--gray-400);
}

.menu-item--sm {
    font-size: 0.8rem;
    padding: 8px 12px;
    color: var(--gray-500);
}

.menu-item--info {
    font-size: 0.8rem;
    color: var(--gray-400);
    cursor: default;
    font-style: italic;
}

.menu-item--info:hover {
    background: none;
}

.menu-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0;
}

.menu-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px 8px;
}

.menu-countries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    max-height: 280px;
    overflow-y: auto;
}

.menu-country {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: background 0.15s ease;
    text-decoration: none;
}

.menu-country:hover {
    background: var(--gray-50);
}

.menu-country.active {
    background: var(--primary);
    color: #fff;
}

/* ========================================
   REQUIRE AUTH MODAL
   ======================================== */
.require-auth-modal {
    max-width: 340px;
    width: 88%;
    padding: 32px 24px 24px;
    border-radius: 16px;
    text-align: center;
}

.require-auth-icon {
    margin-bottom: 16px;
}

.require-auth-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.require-auth-text {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 20px;
}

.require-auth-login {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.require-auth-login a {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   FEED CONTAINER (no padding top for seamless scroll)
   ======================================== */
.container--feed {
    padding-top: 8px;
}

/* ========================================
   COUNTRY DROPDOWN
   ======================================== */
.country-dropdown {
    position: relative;
    flex-shrink: 0;
}

.country-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: border-color 0.2s ease;
    white-space: nowrap;
}

.country-dropdown .dropdown-toggle:hover {
    border-color: var(--primary);
}

.country-dropdown .dropdown-toggle .toggle-flag {
    font-size: 1rem;
}

.country-dropdown .dropdown-toggle .toggle-text {
    display: none; /* hidden on mobile */
}

.country-dropdown .dropdown-toggle .toggle-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.country-dropdown.open .dropdown-toggle .toggle-arrow {
    transform: rotate(180deg);
}

.country-dropdown .dropdown-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--gray-200);
    padding: 12px;
    display: none;
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.country-dropdown.open .dropdown-menu {
    display: block;
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dropdown-menu .dropdown-header {
    padding: 8px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-menu .dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.dropdown-menu .country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.dropdown-menu .country-item:hover {
    background: var(--gray-50);
}

.dropdown-menu .country-item.active {
    background: var(--primary);
}

.dropdown-menu .country-item.active .ci-name { color: #fff; }
.dropdown-menu .country-item.active .ci-code { color: rgba(255,255,255,0.7); }

.dropdown-menu .country-item .ci-flag {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.dropdown-menu .country-item .ci-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.2;
}

.dropdown-menu .country-item .ci-code {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-transform: uppercase;
}

/* ========================================
   HERO (mobile base)
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, var(--secondary) 100%);
    padding: 36px 16px;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero p {
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.hero-stats .stat { text-align: center; }

.hero-stats .stat-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.hero-stats .stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ========================================
   CATEGORIES BAR
   ======================================== */
.categories-bar {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.categories-bar::-webkit-scrollbar { display: none; }

.categories-bar .categories-list {
    display: flex;
    gap: 6px;
    list-style: none;
    min-width: max-content;
}

.categories-bar .cat-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    border: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.categories-bar .cat-chip:hover,
.categories-bar .cat-chip.active {
    background: var(--primary);
    color: #fff;
}

/* ========================================
   CONTAINER
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 12px;
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.section-header .view-all {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ========================================
   PRODUCT GRID + CARD (mobile base)
   ======================================== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 32px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: box-shadow 0.2s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    box-shadow: var(--shadow);
}

.product-card .card-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 2.2rem;
    position: relative;
    overflow: hidden;
}
.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
}

.card-badge.new { background: var(--success); }
.card-badge.sale { background: var(--danger); }
.card-badge.hot { background: var(--warning); }

.product-card .card-body {
    padding: 10px;
}

.product-card .card-category {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.product-card .card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 6px;
}

.card-rating .stars {
    color: var(--warning);
    font-size: 0.7rem;
}

.card-rating .count {
    font-size: 0.65rem;
    color: var(--gray-400);
}

.product-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.product-card .card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    min-width: 0;
}

.product-card .card-price .old-price {
    font-size: 0.65rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: 4px;
    font-weight: 400;
}

.product-card .btn-cart {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
}

.product-card .btn-cart svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.product-card .btn-cart:hover {
    background: var(--primary-hover);
}

.product-card .btn-cart:active {
    transform: scale(0.92);
}

/* ========================================
   SELLERS GRID
   ======================================== */
.sellers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 32px;
}

.seller-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gray-200);
    transition: box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.seller-card:hover { box-shadow: var(--shadow); }

.seller-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.seller-info h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 1px; }
.seller-info .seller-meta { font-size: 0.75rem; color: var(--gray-500); }
.seller-info .seller-rating { color: var(--warning); font-size: 0.75rem; margin-top: 1px; }

/* ========================================
   COUNTRY CARDS
   ======================================== */
.country-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.country-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.country-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.country-card .cc-header {
    padding: 16px 16px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.country-card .cc-flag { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }

.country-card .cc-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1px;
}

.country-card .cc-info .cc-currency {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
}

.country-card .cc-stats {
    padding: 0 16px 14px;
    display: flex;
    gap: 16px;
}

.country-card .cc-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.country-card .cc-stat svg { width: 14px; height: 14px; color: var(--gray-400); flex-shrink: 0; }
.country-card .cc-stat span { font-size: 0.75rem; color: var(--gray-500); }
.country-card .cc-stat strong { font-weight: 600; color: var(--gray-700); }

.country-card .cc-action {
    padding: 12px 16px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.country-card:hover .cc-action { background: var(--primary); color: #fff; }

.country-card .cc-action svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.country-card:hover .cc-action svg { transform: translateX(4px); }

/* ========================================
   COUNTRY MINI CARDS
   ======================================== */
.country-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 32px;
}

.country-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 6px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.country-mini:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.country-mini-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.country-mini-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.how-step {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 20px 14px;
    text-align: center;
}

.how-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.how-step h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.how-step p {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ========================================
   SECTION SUBTITLE
   ======================================== */
.section-subtitle {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: -10px 0 20px;
    line-height: 1.5;
}

/* ========================================
   CATEGORY SHOWCASE
   ======================================== */
.cat-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 32px;
}

.cat-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px 12px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.cat-showcase-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.cat-showcase-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-showcase-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.cat-showcase-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
}

.cat-showcase-sub {
    font-size: 0.65rem;
    color: var(--gray-400);
    line-height: 1.3;
}

/* ========================================
   BENEFITS
   ======================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.benefit-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 20px 14px;
    text-align: center;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.benefit-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.benefit-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.benefit-card p {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ========================================
   PROMO BANNER
   ======================================== */
.promo-banner {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: var(--radius);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 32px;
    color: #fff;
}

.promo-banner h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.promo-banner p { opacity: 0.8; font-size: 0.85rem; }

.btn-primary {
    padding: 12px 24px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s ease;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
    text-align: center;
}

.btn-primary:hover { background: var(--primary-hover); }
.btn-primary--success { background: var(--success) !important; }
.btn-primary:disabled { opacity: 0.7; cursor: wait; }

/* Floating autosave badge */
.autosave-float {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.autosave-float.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.autosave-float .autosave-icon { display: none; }
.autosave-float.is-saving { color: var(--primary); border-color: rgba(99,102,241,0.3); }
.autosave-float.is-saving .autosave-icon--spin { display: inline-block; animation: autosave-spin 0.8s linear infinite; }
.autosave-float.is-saved { color: var(--success); border-color: rgba(34,197,94,0.3); }
.autosave-float.is-saved .autosave-icon--check { display: inline-block; }
.autosave-float.is-error { color: var(--danger); border-color: rgba(239,68,68,0.3); }
@keyframes autosave-spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
    .autosave-float {
        bottom: auto;
        top: 62px;
        left: auto;
        right: 12px;
        transform: translateY(-10px);
        padding: 7px 14px;
        font-size: 0.75rem;
        border-radius: 8px;
    }
    .autosave-float.visible {
        transform: translateY(0);
    }
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
    text-align: center;
    padding: 48px 16px;
}

.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state h2 { font-size: 1.2rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.empty-state p { color: var(--gray-500); max-width: 360px; margin: 0 auto 20px; font-size: 0.9rem; }

/* ========================================
   STORE BANNER
   ======================================== */
.store-banner {
    padding: 32px 16px 24px;
    color: #fff;
    text-align: center;
}

.store-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.store-avatar-lg {
    width: 64px;
    height: 64px;
    min-width: 64px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.store-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }

.store-header-info { text-align: center; }

.store-header-info h1 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 3px;
}

.store-owner { opacity: 0.85; font-size: 0.85rem; margin-bottom: 4px; }

.store-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
    opacity: 0.9;
}

.store-meta-item .stars { color: var(--warning); }

.store-description {
    max-width: 500px;
    margin: 0 auto 12px;
    opacity: 0.9;
    font-size: 0.85rem;
    text-align: center;
}

.store-contact-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-store-contact {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,0.2);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-store-contact:hover { background: rgba(255,255,255,0.35); }

/* ========================================
   AUTH PAGES
   ======================================== */
.auth-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: calc(100vh - 56px - 60px);
    min-height: calc(100dvh - 56px - 60px);
    padding: 20px 12px;
    background: var(--gray-50);
}

.auth-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    padding: 24px 16px;
    width: 100%;
    max-width: 480px;
}

.auth-header { text-align: center; margin-bottom: 24px; }

.auth-header h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.auth-header p { color: var(--gray-500); font-size: 0.85rem; }

.auth-form .form-group { margin-bottom: 16px; }

.auth-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 5px;
}

.auth-form .form-hint {
    font-weight: 400;
    color: var(--gray-400);
    font-size: 0.75rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 16px; /* prevents iOS zoom */
    background: var(--gray-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-family: inherit;
    -webkit-appearance: none;
}

.auth-form input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 20px 0;
}

.slug-preview {
    margin-top: 5px;
    font-size: 0.75rem;
    color: var(--primary);
    min-height: 18px;
    word-break: break-all;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 8px;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 18px;
    word-break: break-word;
}

.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-success a { color: var(--primary); font-weight: 600; }

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.auth-footer a { color: var(--primary); font-weight: 600; }

/* ========================================
   BENEFIT MORE LINK
   ======================================== */
.benefit-card[data-modal] { cursor: pointer; }

.benefit-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.benefit-card[data-modal]:hover .benefit-more {
    text-decoration: underline;
}

/* ========================================
   CUSTOM MODAL
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: #fff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 640px;
    padding: 24px 16px;
    position: relative;
    margin: 20px 0;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Modal Plans (3 mini cards) */
.modal-plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.modal-plan {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 16px;
    position: relative;
}

.modal-plan.popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.modal-plan-popular-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

.modal-plan-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-plan-badge.free { background: var(--gray-100); color: var(--gray-600); }
.modal-plan-badge.pro { background: rgba(99,102,241,0.1); color: var(--primary); }
.modal-plan-badge.business { background: rgba(245,158,11,0.1); color: #d97706; }

.modal-plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.modal-plan-price span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-500);
}

.modal-plan-period {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-bottom: 10px;
}

.modal-plan ul {
    list-style: none;
}

.modal-plan ul li {
    font-size: 0.8rem;
    color: var(--gray-600);
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.modal-plan ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 0.75rem;
}

.modal-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-400);
    font-style: italic;
}

/* Modal Feature Cards */
.modal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.modal-feature-card {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
}

.mf-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.mf-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.modal-feature-card h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.modal-feature-card p {
    font-size: 0.7rem;
    color: var(--gray-500);
    line-height: 1.4;
}

/* Modal Compare Columns */
.modal-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.modal-compare-col {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.modal-compare-col.popular {
    border-color: var(--primary);
}

.modal-compare-header {
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.modal-compare-header.free {
    background: var(--gray-100);
    color: var(--gray-600);
}

.modal-compare-header.pro {
    background: var(--primary);
    color: #fff;
}

.modal-compare-col ul {
    list-style: none;
    padding: 12px;
}

.modal-compare-col ul li {
    font-size: 0.8rem;
    color: var(--gray-600);
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
    line-height: 1.5;
}

.modal-compare-col ul li:last-child { border-bottom: none; }

.modal-compare-col ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 0.75rem;
}

.modal-compare-col ul.modal-compare-warn li::before {
    content: '✗';
    color: var(--danger);
}

/* Modal Highlight Box */
.modal-highlight {
    background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.08));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 10px;
    padding: 14px;
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.modal-highlight strong {
    color: var(--gray-800);
}

/* ========================================
   BADGE ICONS (inline SVG status indicators)
   ======================================== */
.badge-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    flex-shrink: 0;
}
/* Legacy dot fallback */
.badge-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 2px;
}
.badge-dot--red { background: var(--danger); }
.badge-dot--yellow { background: var(--warning); }
.badge-dot--green { background: var(--success); }

/* ========================================
   MODAL PLANS - 2 COLUMN LAYOUT
   ======================================== */
.modal-plans--two {
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 540px) {
    .modal-plans--two {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========================================
   BADGE EXPLAIN GRID (verification modal)
   ======================================== */
.badge-explain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
}

.badge-explain-card {
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    border: 1px solid var(--gray-200);
    background: #fff;
}

.badge-explain-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin: 0 auto 8px;
}
.badge-explain-icon {
    margin: 0 auto 8px;
    text-align: center;
}

.badge-explain-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.badge-explain-type {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 10px;
    font-weight: 500;
}

.badge-explain-card ul {
    list-style: none;
    text-align: left;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.badge-explain-card ul li {
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.badge-explain-card ul li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Red badge card */
.badge-explain--red {
    border-color: rgba(239,68,68,0.2);
    background: rgba(239,68,68,0.03);
}
.badge-explain--red ul li::before {
    content: '✗';
    color: var(--danger);
}

/* Yellow badge card */
.badge-explain--yellow {
    border-color: rgba(245,158,11,0.25);
    background: rgba(245,158,11,0.04);
}
.badge-explain--yellow ul li::before {
    content: '~';
    color: var(--warning);
    font-size: 1.1rem;
}

/* Green badge card */
.badge-explain--green {
    border-color: rgba(34,197,94,0.25);
    background: rgba(34,197,94,0.04);
}
.badge-explain--green ul li::before {
    content: '✓';
    color: var(--success);
}

@media (min-width: 540px) {
    .badge-explain-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   AUTH MODAL (Login / Register)
   ======================================== */
.auth-modal {
    max-width: 480px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
}

.auth-modal-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.auth-modal-form .form-group {
    margin-bottom: 14px;
}

.auth-modal-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.auth-modal-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #fff;
}

.auth-modal-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.auth-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auth-modal-form .form-divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 16px 0;
}

.auth-modal-form .btn-full {
    margin-top: 6px;
}

.auth-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
    color: var(--gray-800);
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.auth-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

/* Auth Steps */
.auth-step { display: none; padding: 24px; }
.auth-step.active { display: block; }

.auth-choose {
    text-align: center;
    padding: 12px 0;
}

.auth-choose-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.auth-choose-title {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-choose-subtitle {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.auth-choose-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: left;
    transition: var(--transition);
    margin-bottom: 10px;
    position: relative;
    font-family: inherit;
}

.auth-choose-btn:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.02);
    transform: translateY(-1px);
}

.auth-choose-btn svg { flex-shrink: 0; color: var(--primary); }

.auth-choose-hint {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-400);
    margin-top: 2px;
}

.auth-back {
    border: none;
    background: none;
    color: var(--gray-500);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 12px;
    font-family: inherit;
}
.auth-back:hover { color: var(--primary); }

.auth-step-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 16px;
}

/* URL Preview */
.url-preview {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
}

.url-preview-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.url-preview-box {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.78rem;
    word-break: break-all;
    line-height: 1.5;
}

.url-preview-base {
    color: var(--gray-400);
}

.url-preview-slug {
    color: var(--primary);
    font-weight: 700;
}

.url-preview-product {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--gray-200);
}

.url-preview-label-sm {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.url-preview-example {
    display: block;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 8px 10px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.72rem;
    word-break: break-all;
    line-height: 1.5;
    color: var(--gray-400);
}

.url-preview-example .url-preview-slug,
.url-preview-example #authSlugInProduct {
    color: var(--primary);
    font-weight: 600;
}

.url-preview-product-name {
    color: var(--success) !important;
    font-weight: 600;
}

/* ========================================
   FOOTER (mobile base)
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 32px 16px 20px;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-brand h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.footer-brand p { font-size: 0.8rem; line-height: 1.5; }

.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: var(--gray-400); font-size: 0.8rem; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid var(--gray-700);
    text-align: center;
    font-size: 0.75rem;
}

/* ========================================
   TABLET (min-width: 540px)
   ======================================== */
@media (min-width: 540px) {
    .navbar { padding: 0 16px; height: 60px; }
    .navbar-actions { gap: 10px; }

    .hero { padding: 44px 20px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .hero-stats { gap: 32px; }
    .hero-stats .stat-value { font-size: 1.5rem; }

    .container { padding: 24px 16px; }

    .product-grid { gap: 14px; }
    .product-card .card-img { aspect-ratio: 1; }
    .product-card .card-title { font-size: 0.9rem; }

    .sellers-grid { grid-template-columns: 1fr 1fr; }
    .country-grid { grid-template-columns: 1fr 1fr; }

    .dropdown-menu .dropdown-grid { grid-template-columns: 1fr 1fr 1fr; }

    .country-mini-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
    .country-mini { padding: 16px 8px; }
    .country-mini-flag img { width: 36px !important; height: auto !important; }
    .country-mini-name { font-size: 0.75rem; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .form-row { grid-template-columns: 1fr 1fr; gap: 12px; }

    .auth-card { padding: 32px 24px; }

    .store-header-info h1 { font-size: 1.5rem; }

    .cat-showcase-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .how-step h3 { font-size: 0.9rem; }
    .benefit-card h3 { font-size: 0.9rem; }

    .modal-plans { grid-template-columns: repeat(3, 1fr); }
    .modal-content { padding: 28px 24px; }
}

/* ========================================
   TABLET LANDSCAPE / SMALL DESKTOP (min-width: 768px)
   ======================================== */
@media (min-width: 768px) {
    .navbar { padding: 0 20px; height: 64px; gap: 12px; }

    .navbar-search {
        display: block;
        flex: 1;
        max-width: 400px;
        margin: 0 16px;
        position: relative;
    }

    .navbar-search input {
        width: 100%;
        padding: 9px 14px 9px 38px;
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        font-size: 0.85rem;
        background: var(--gray-50);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        outline: none;
    }

    .navbar-search input:focus {
        border-color: var(--primary);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
    }

    .navbar-search .search-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray-400);
        width: 16px;
        height: 16px;
    }

    .btn-nav-link { display: inline-block; }

    .country-dropdown .dropdown-toggle { padding: 7px 12px; gap: 7px; }
    .country-dropdown .dropdown-toggle .toggle-text { display: inline; }

    .country-dropdown .dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translateX(-50%);
        min-width: 480px;
        border: 1px solid var(--gray-200);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        overflow-y: visible;
    }

    .country-dropdown.open .dropdown-menu {
        animation: dropdownSlide 0.2s ease;
    }

    @keyframes dropdownSlide {
        from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
        to { opacity: 1; transform: translateX(-50%) translateY(0); }
    }

    .hero { padding: 56px 24px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-stats { gap: 40px; }
    .hero-stats .stat-value { font-size: 1.7rem; }
    .hero-stats .stat-label { font-size: 0.85rem; }

    .container { padding: 28px 20px; }
    .section-header h2 { font-size: 1.35rem; }

    .product-grid { gap: 18px; }
    .product-card .card-img { aspect-ratio: 1; font-size: 2.6rem; }
    .product-card .card-body { padding: 14px; }
    .product-card .card-title { font-size: 0.95rem; }
    .product-card .card-price { font-size: 1.05rem; }
    .product-card .btn-cart { width: 34px; height: 34px; min-width: 34px; min-height: 34px; }
    .product-card .btn-cart svg { width: 17px; height: 17px; }

    .sellers-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .seller-avatar { width: 50px; height: 50px; min-width: 50px; font-size: 1.3rem; }

    .country-mini-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
    .country-mini { padding: 20px 10px; border-radius: var(--radius); }
    .country-mini-flag img { width: 40px !important; height: auto !important; }
    .country-mini-name { font-size: 0.8rem; }

    .how-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .how-step { padding: 24px 16px; }
    .how-step h3 { font-size: 0.95rem; }
    .how-step p { font-size: 0.8rem; }
    .how-number { width: 40px; height: 40px; font-size: 1.1rem; }

    .cat-showcase-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
    .cat-showcase-icon { width: 46px; height: 46px; }
    .cat-showcase-icon svg { width: 24px; height: 24px; }
    .cat-showcase-name { font-size: 0.85rem; }
    .cat-showcase-sub { font-size: 0.7rem; }

    .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .benefit-card { padding: 24px 16px; }
    .benefit-card h3 { font-size: 0.95rem; }
    .benefit-card p { font-size: 0.8rem; }

    .section-subtitle { font-size: 0.95rem; }

    .promo-banner {
        flex-direction: row;
        text-align: left;
        padding: 36px 32px;
        justify-content: space-between;
    }
    .promo-banner h3 { font-size: 1.4rem; }

    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
    .footer { padding: 40px 20px 24px; }

    .store-banner { padding: 40px 20px 28px; }
    .store-banner-content { flex-direction: row; gap: 16px; }
    .store-header-info { text-align: left; }
    .store-meta-row { justify-content: flex-start; }
    .store-avatar-lg { width: 72px; height: 72px; min-width: 72px; font-size: 1.8rem; }
    .store-header-info h1 { font-size: 1.6rem; }
}

/* ========================================
   DESKTOP (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
    .navbar { padding: 0 24px; }
    .navbar-search { max-width: 520px; margin: 0 24px; }
    .navbar-actions { gap: 14px; }

    /* Nav action: icon + text on desktop */
    .btn-nav-action {
        width: auto;
        height: auto;
        min-width: unset;
        border-radius: 8px;
        padding: 7px 14px;
        gap: 6px;
    }
    .btn-nav-action__icon {
        width: 16px;
        height: 16px;
    }
    .btn-nav-action__text {
        display: inline;
        font-size: 0.8rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .hero { padding: 64px 24px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.15rem; margin-bottom: 28px; }
    .hero-stats { gap: 48px; margin-top: 24px; }
    .hero-stats .stat-value { font-size: 1.8rem; }

    .container { padding: 32px 24px; }
    .section-header { margin-bottom: 20px; }
    .section-header h2 { font-size: 1.5rem; }

    .product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
    .product-card .card-img { aspect-ratio: 1; font-size: 3rem; }
    .product-card .card-body { padding: 16px; }
    .product-card .card-category { font-size: 0.7rem; }
    .product-card .card-title { font-size: 1rem; }
    .product-card .card-price { font-size: 1.1rem; }
    .product-card .btn-cart { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
    .product-card .btn-cart svg { width: 18px; height: 18px; }

    .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

    .sellers-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
    .seller-card { padding: 20px; gap: 14px; }
    .seller-avatar { width: 52px; height: 52px; min-width: 52px; font-size: 1.4rem; }

    .country-mini-grid { grid-template-columns: repeat(9, 1fr); gap: 16px; }
    .country-mini { padding: 22px 10px; }
    .country-mini-flag img { width: 44px !important; height: auto !important; }
    .country-mini-name { font-size: 0.85rem; }

    .how-grid { gap: 20px; }
    .how-step { padding: 28px 20px; }
    .how-step h3 { font-size: 1rem; }
    .how-step p { font-size: 0.85rem; }
    .how-number { width: 44px; height: 44px; font-size: 1.2rem; }

    .cat-showcase-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
    .cat-showcase-item { padding: 20px 10px 16px; }
    .cat-showcase-icon { width: 52px; height: 52px; border-radius: var(--radius); }
    .cat-showcase-icon svg { width: 26px; height: 26px; }
    .cat-showcase-name { font-size: 0.9rem; }
    .cat-showcase-sub { font-size: 0.75rem; }

    .benefits-grid { gap: 20px; }
    .benefit-card { padding: 28px 20px; }
    .benefit-icon { width: 52px; height: 52px; }
    .benefit-icon svg { width: 26px; height: 26px; }
    .benefit-card h3 { font-size: 1rem; }
    .benefit-card p { font-size: 0.85rem; }

    .section-subtitle { font-size: 1rem; }

    .promo-banner { padding: 44px 40px; margin-bottom: 40px; }
    .promo-banner h3 { font-size: 1.5rem; }

    .footer-grid { gap: 40px; }
    .footer { padding: 48px 24px 24px; }

    .store-banner { padding: 48px 24px 32px; }
    .store-avatar-lg { width: 80px; height: 80px; min-width: 80px; font-size: 2rem; }
    .store-header-info h1 { font-size: 1.8rem; }

    .auth-card { padding: 40px; }

    .country-dropdown .dropdown-menu { min-width: 540px; }
}

/* ========================================
   SPONSORED & BOOST BADGES
   ======================================== */
.card-badge.sponsored {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.card-badge.boosted {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.product-card--boosted {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.1), var(--shadow-sm);
}

.product-card--ad {
    border-color: rgba(245, 158, 11, 0.3);
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-category--ad {
    color: var(--warning) !important;
}

.card-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-ad-label {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========================================
   PRICING PAGE
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: var(--radius);
    border: 2px solid var(--gray-200);
    padding: 28px 20px;
    position: relative;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.pricing-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.pricing-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.highlight {
    color: var(--gray-800);
    font-weight: 500;
}

.pricing-features .feat-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.pricing-btn--outline {
    background: #fff !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.pricing-btn--outline:hover {
    background: var(--gray-50) !important;
}

/* Extras grid */
.extras-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.extra-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 24px 20px;
    text-align: center;
}

.extra-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.extra-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.extra-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 14px;
}

.extra-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.extra-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-500);
}

.extra-prices-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.extra-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: var(--gray-50);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.extra-price-row strong {
    color: var(--gray-900);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto 32px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 10px;
}

.faq-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.faq-item p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   PRICING RESPONSIVE
   ======================================== */
@media (min-width: 540px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .extras-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-card { padding: 36px 28px; }
    .pricing-amount { font-size: 2.5rem; }
    .extra-card { padding: 28px 24px; }
}

@media (min-width: 1024px) {
    .pricing-card { padding: 40px 32px; }
    .pricing-amount { font-size: 2.8rem; }
}

/* ========================================
   DASHBOARD
   ======================================== */
.dash-body {
    background: var(--gray-100);
    overflow-x: hidden;
}

.dash-topbar {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 0 16px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-view-store {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-500);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}
.dash-view-store:hover { background: var(--gray-50); }

.dash-user-badge {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
}

.dash-notif-btn {
    position: relative;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.dash-notif-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.dash-notif-btn.has-notifs svg {
    animation: bell-ring 2s ease-in-out infinite;
    animation-delay: 1s;
}
@keyframes bell-ring {
    0%, 100% { transform: rotate(0); }
    5% { transform: rotate(12deg); }
    10% { transform: rotate(-10deg); }
    15% { transform: rotate(8deg); }
    20% { transform: rotate(-6deg); }
    25% { transform: rotate(0); }
}
.dash-notif-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    background: var(--danger);
    border-radius: 10px;
    border: 2px solid #fff;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Notification Modal */
.notif-modal {
    max-width: 420px;
    width: 95%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}
.notif-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
}
.notif-modal-header h3 { font-size: 1rem; font-weight: 700; flex: 1; min-width: 0; }
.notif-back-btn {
    background: none; border: none; cursor: pointer; color: var(--gray-500);
    padding: 2px; display: flex; align-items: center; transition: var(--transition);
}
.notif-back-btn:hover { color: var(--gray-800); }
.notif-tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-100);
}
.notif-tab {
    flex: 1;
    padding: 10px 12px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}
.notif-tab:hover { color: var(--gray-600); }
.notif-tab.active { color: var(--primary); }
.notif-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
}
.notif-tab-count {
    display: inline-block;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--gray-200);
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 16px;
    margin-left: 4px;
    color: var(--gray-500);
}
.notif-tab.active .notif-tab-count { background: rgba(99,102,241,0.12); color: var(--primary); }
.notif-list {
    overflow-y: auto;
    flex: 1;
    padding: 4px 0;
}
.notif-loading, .notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
    font-size: 0.85rem;
}
.notif-empty svg { margin-bottom: 8px; }
.notif-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-50);
    cursor: pointer;
    transition: background 0.15s;
}
.notif-item:hover { background: var(--gray-50); }
.notif-item.unread { background: rgba(99,102,241,0.04); }
.notif-item.unread:hover { background: rgba(99,102,241,0.07); }
.notif-item.unread .notif-item-title { font-weight: 700; }
.notif-item-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--gray-50);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
}
.notif-item.unread .notif-item-icon { background: rgba(99,102,241,0.1); color: var(--primary); }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-title { font-size: 0.82rem; color: var(--gray-800); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-item-text { font-size: 0.75rem; color: var(--gray-500); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-item-meta { font-size: 0.68rem; color: var(--gray-400); margin-top: 2px; }
.notif-unread-dot {
    width: 8px; height: 8px; min-width: 8px;
    border-radius: 50%; background: var(--primary);
    align-self: center;
}
.notif-action-btn {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition);
}
.notif-action-btn:hover { background: var(--primary-hover); }

/* Detail view */
.notif-detail { padding: 24px 20px; }
.notif-detail-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(99,102,241,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.notif-detail-meta { text-align: center; font-size: 0.72rem; color: var(--gray-400); margin-bottom: 16px; }
.notif-detail-body { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; }
.notif-detail-actions { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.notif-detail-archive {
    display: flex; align-items: center; gap: 6px;
    background: none; border: 1px solid var(--gray-200); border-radius: 8px;
    padding: 8px 16px; font-size: 0.78rem; color: var(--gray-500);
    cursor: pointer; transition: var(--transition);
}
.notif-detail-archive:hover { border-color: var(--primary); color: var(--primary); }

/* Verify page */
.verify-benefits { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.verify-benefit { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; color: var(--gray-600); }
.verify-upload { margin-bottom: 4px; }
.verify-upload-placeholder {
    border: 2px dashed var(--gray-200);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.verify-upload-placeholder span { font-size: 0.8rem; color: var(--gray-500); }
.verify-upload-placeholder:hover { border-color: var(--primary); background: rgba(99,102,241,0.03); }
.verify-upload-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    max-height: 200px;
}
.verify-upload-preview img { width: 100%; height: 200px; object-fit: cover; display: block; }

.dash-wrapper {
    display: flex;
    min-height: calc(100vh - 56px);
    overflow-x: hidden;
}

.dash-sidebar {
    display: none;
    width: 240px;
    background: #fff;
    border-right: 1px solid var(--gray-200);
    padding: 16px 0;
    flex-shrink: 0;
}

.dash-store-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 16px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 8px;
}

.dash-store-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.dash-store-name { font-size: 0.85rem; font-weight: 700; color: var(--gray-800); }
.dash-store-plan { font-size: 0.7rem; color: var(--gray-400); }

.dash-nav { padding: 4px 8px; }

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: var(--transition);
    margin-bottom: 2px;
}
.dash-nav-item:hover { background: var(--gray-50); color: var(--gray-800); }
.dash-nav-item.active { background: rgba(99,102,241,0.08); color: var(--primary); font-weight: 600; }
.dash-nav-item.active svg { stroke: var(--primary); }
.dash-nav-logout { color: var(--danger); }
.dash-nav-logout:hover { background: rgba(239,68,68,0.05); }
.dash-nav-divider { border: none; border-top: 1px solid var(--gray-100); margin: 8px 12px; }

.dash-main {
    flex: 1;
    padding: 20px 16px 80px;
    max-width: 1200px;
    min-width: 0;
    overflow-x: hidden;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.dash-header h1 { font-size: 1.3rem; font-weight: 800; color: var(--gray-800); }

/* Stats Cards */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.dash-stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gray-200);
}

.dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-stat-value { font-size: 1.2rem; font-weight: 800; color: var(--gray-800); }
.dash-stat-label { font-size: 0.75rem; color: var(--gray-400); }

/* Alerts */
.dash-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.dash-alert--success { background: rgba(34,197,94,0.1); color: #15803d; border: 1px solid rgba(34,197,94,0.2); }
.dash-alert--warning { background: rgba(245,158,11,0.1); color: #92400e; border: 1px solid rgba(245,158,11,0.2); }
.dash-alert--error { background: rgba(239,68,68,0.1); color: #991b1b; border: 1px solid rgba(239,68,68,0.2); }
.dash-alert a { color: var(--primary); font-weight: 600; margin-left: 8px; }

/* Verify banner */
.dash-verify-banner {
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(14,165,233,0.08));
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--radius);
    overflow: hidden;
}
.dash-verify-banner-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    flex-wrap: wrap;
}
.dash-verify-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(99,102,241,0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dash-verify-text {
    flex: 1;
    min-width: 180px;
}
.dash-verify-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-800);
    margin-bottom: 2px;
}
.dash-verify-text span {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.4;
}
.dash-verify-btn {
    padding: 8px 20px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}
.dash-verify-btn:hover { background: var(--primary-hover); }
.dash-verify-close {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.dash-verify-close:hover { color: var(--gray-600); }
@keyframes dash-check { to { stroke-dashoffset: 0; } }

/* Cards & Sections */
.dash-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--gray-200);
}
.dash-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--gray-800); margin-bottom: 14px; }

.dash-section { margin-bottom: 24px; }
.dash-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dash-section-header h2 { font-size: 1.05rem; font-weight: 700; }
.dash-link { font-size: 0.8rem; color: var(--primary); font-weight: 600; }

.dash-empty {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.dash-empty p { color: var(--gray-500); font-size: 0.9rem; }

/* Table */
.dash-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.dash-table th { text-align: left; padding: 10px 14px; background: var(--gray-50); color: var(--gray-500); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
.dash-table td { padding: 10px 14px; border-top: 1px solid var(--gray-100); }
.dash-table tr:hover td { background: var(--gray-50); }

.dash-product-cell { display: flex; align-items: center; gap: 10px; }
.dash-product-thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.dash-product-thumb--empty { background: var(--gray-100); display: flex; align-items: center; justify-content: center; }

.dash-status { font-size: 0.72rem; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.dash-status--active { background: rgba(34,197,94,0.1); color: #15803d; }
.dash-status--draft { background: rgba(100,116,139,0.1); color: var(--gray-500); }
.dash-status--paused { background: rgba(245,158,11,0.1); color: #92400e; }
.dash-status--sold_out { background: rgba(239,68,68,0.1); color: #991b1b; }

.dash-actions { display: flex; gap: 6px; }
.dash-action-btn {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; border: 1px solid var(--gray-200);
    background: #fff; cursor: pointer; color: var(--gray-500);
    transition: var(--transition);
}
.dash-action-btn:hover { background: var(--gray-50); color: var(--gray-700); }
.dash-action-btn--danger:hover { background: rgba(239,68,68,0.05); color: var(--danger); border-color: rgba(239,68,68,0.3); }

.dash-counter { font-size: 0.8rem; color: var(--gray-500); font-weight: 600; }

/* Form layout */
.dash-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.dash-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
}
.dash-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.dash-form input[type="text"],
.dash-form input[type="number"],
.dash-form input[type="tel"],
.dash-form input[type="email"],
.dash-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}
.dash-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.dash-form input:disabled {
    background: var(--gray-50);
    color: var(--gray-400);
    cursor: not-allowed;
    opacity: 0.7;
}
.dash-form label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.dash-form .form-group { margin-bottom: 14px; }
.dash-form .form-hint { display: block; font-size: 0.75rem; color: var(--gray-400); margin-top: 4px; }
.form-char-count { float: right; font-size: 0.72rem; font-weight: 400; color: var(--gray-400); }
.dash-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
}
.dash-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.dash-form .btn-primary { margin-top: 4px; }

/* Upload area */
.dash-upload-area { margin-bottom: 12px; }
.dash-upload-placeholder {
    border: 2px dashed var(--gray-200);
    border-radius: 10px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.dash-upload-placeholder:hover, .dash-upload-area.dragging .dash-upload-placeholder {
    border-color: var(--primary);
    background: rgba(99,102,241,0.03);
}
.dash-upload-placeholder p { font-size: 0.85rem; color: var(--gray-600); margin: 8px 0 4px; }
.dash-upload-placeholder small { font-size: 0.75rem; color: var(--gray-400); }

.dash-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.dash-image-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dash-image-item:active { cursor: grabbing; }
.dash-image-item.dragging {
    opacity: 0.4;
    transform: scale(0.95);
}
.dash-image-item.drag-over {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99,102,241,0.3);
    transform: scale(1.03);
}
.dash-image-item img, .dash-image-item video { width: 100%; height: 100%; object-fit: cover; }
.dash-media-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}
.dash-order-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.65rem;
    font-weight: 700;
}
.dash-image-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Plan page */
.dash-plan-badge {
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--gray-100);
    color: var(--gray-500);
}
.dash-plan-badge--pago { background: rgba(34,197,94,0.1); color: #15803d; }
.dash-plan-stats { display: flex; flex-direction: column; gap: 12px; }
.dash-plan-stat { font-size: 0.85rem; color: var(--gray-600); }
.dash-plan-stat-bar { height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; margin-bottom: 4px; }
.dash-plan-stat-bar div { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.3s ease; }

/* Plan comparison rows */
.plan-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 8px;
}
.plan-compare-row:last-of-type { border-bottom: none; }
.plan-compare-label {
    font-size: 0.82rem;
    color: var(--gray-600);
    flex-shrink: 0;
    min-width: 0;
}
.plan-compare-vals {
    display: flex;
    gap: 0;
    text-align: center;
}
.plan-compare-free, .plan-compare-paid {
    font-size: 0.78rem;
    padding: 2px 10px;
    min-width: 70px;
}
.plan-compare-free { color: var(--gray-500); }
.plan-compare-paid { color: var(--primary); font-weight: 700; }
.plan-compare-legend {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
}
.plan-compare-legend span {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    min-width: 70px;
    text-align: center;
    padding: 0 10px;
}
.plan-compare-legend-free { color: var(--gray-400); }
.plan-compare-legend-paid { color: var(--primary); }

/* Mobile bottom nav */
.dash-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-around;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    z-index: 100;
}

.dash-bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    font-size: 0.6rem;
    color: var(--gray-400);
}
.dash-bnav-item.active { color: var(--primary); }
.dash-bnav-item.active svg { stroke: var(--primary); }

.dash-bnav-add {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -16px;
    box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}
.dash-bnav-add svg { stroke: #fff; }

/* Desktop */
@media (min-width: 768px) {
    .dash-sidebar { display: block; }
    .dash-bottom-nav { display: none; }
    .dash-main { padding: 24px 32px; }
    .dash-view-store { display: flex; }
    .dash-user-badge { display: flex; }
    .dash-stats { grid-template-columns: repeat(4, 1fr); }
    .dash-form-grid { grid-template-columns: 1fr 280px; }
    .dash-image-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1024px) {
    .dash-sidebar { width: 260px; }
    .dash-main { padding: 28px 40px; }
}

/* ========================================
   DASHBOARD - PRODUCT CARDS GRID
   ======================================== */
.dash-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 540px) { .dash-products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .dash-products-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.dash-prod-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
    display: block;
    color: inherit;
}
.dash-prod-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.dash-prod-img {
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dash-prod-img img { width: 100%; height: 100%; object-fit: cover; }

.dash-prod-status {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.dash-prod-status.dash-status--active { background: #fff; color: #15803d; }
.dash-prod-status.dash-status--draft { background: #fff; color: var(--gray-500); }
.dash-prod-status.dash-status--paused { background: #fff; color: #b45309; }
.dash-prod-status.dash-status--sold_out { background: #fff; color: #dc2626; }

.dash-prod-body { padding: 10px; }

.dash-prod-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.dash-prod-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.dash-prod-badges {
    display: flex;
    gap: 10px;
}

.dash-prod-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ========================================
   DASHBOARD - TABS
   ======================================== */
.dash-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 20px;
}

.dash-tab {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}
.dash-tab:hover { color: var(--gray-600); }
.dash-tab.active {
    color: var(--primary);
}
.dash-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
}

.dash-tab-content { display: none; }
.dash-tab-content.active { display: block; }

/* ========================================
   DASHBOARD - OUTLINE BUTTONS
   ======================================== */
.btn-outline {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-600);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover { border-color: var(--gray-300); background: var(--gray-50); }
.btn-outline--danger { color: var(--danger); border-color: rgba(239,68,68,0.3); }
.btn-outline--danger:hover { background: rgba(239,68,68,0.05); border-color: var(--danger); }

/* ========================================
   CATEGORY PICKER MODAL
   ======================================== */
.cat-picker-btn {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gray-400);
    transition: var(--transition);
    text-align: left;
}
.cat-picker-btn:hover { border-color: var(--gray-300); }
.cat-picker-btn span.selected { color: var(--gray-800); }

.cat-picker-modal {
    max-width: 520px;
    width: 92%;
    padding: 24px;
    border-radius: 16px;
    max-height: 80vh;
    overflow-y: auto;
}

.cat-picker-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.cat-picker-step { display: none; }
.cat-picker-step.active { display: block; }

.cat-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (min-width: 540px) { .cat-picker-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-picker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.cat-picker-card:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.03);
}
.cat-picker-icon { color: var(--gray-500); }
.cat-picker-card:hover .cat-picker-icon { color: var(--primary); }
.cat-picker-name { font-size: 0.75rem; font-weight: 600; color: var(--gray-700); line-height: 1.2; }

.cat-picker-back {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-500);
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 12px;
    padding: 0;
}
.cat-picker-back:hover { color: var(--primary); }

.cat-sub-item {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    background: #fff;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 6px;
}
.cat-sub-item:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.03);
    color: var(--primary);
}

/* ========================================
   PRODUCT PAGE
   ======================================== */
.prod-breadcrumb {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 16px;
}
.prod-breadcrumb a { color: var(--gray-500); }
.prod-breadcrumb a:hover { color: var(--primary); }
.prod-breadcrumb span { margin: 0 6px; }

.prod-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.prod-gallery-main {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}
.prod-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.prod-gallery-empty { background: var(--gray-50); }

.prod-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}
.prod-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition);
}
.prod-thumb.active, .prod-thumb:hover, .prod-thumb-vid.active, .prod-thumb-vid:hover { opacity: 1; border-color: var(--primary); }
.prod-thumb-vid {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

.prod-category { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.prod-title { font-size: 1.4rem; font-weight: 800; color: var(--gray-800); margin-bottom: 12px; line-height: 1.3; }

.prod-price-box { margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; }
.prod-price { font-size: 1.6rem; font-weight: 800; color: var(--gray-800); }
.prod-old-price { font-size: 1rem; color: var(--gray-400); text-decoration: line-through; }

.prod-stock { font-size: 0.8rem; color: var(--success); margin-bottom: 16px; }

.prod-seller {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 10px;
    margin-bottom: 16px;
}
.prod-seller-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}
.prod-seller-name { font-weight: 700; font-size: 0.9rem; color: var(--gray-800); display: flex; align-items: center; gap: 6px; }
.prod-seller-status {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1;
    margin-top: 1px;
}
.prod-seller-status--red { color: var(--gray-400); }
.prod-seller-status--yellow { color: var(--warning); }
.prod-seller-status--green { color: var(--success); }
.prod-seller-loc { font-size: 0.75rem; color: var(--gray-400); }

.prod-actions { display: flex; gap: 10px; margin-bottom: 20px; }
.prod-btn-wa, .prod-btn-call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff !important;
}
.prod-btn-wa { background: #25D366; }
.prod-btn-wa:hover { background: #20bd5a; }

.prod-description { margin-bottom: 20px; }
.prod-description h3 { font-size: 0.9rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.prod-description p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }

.prod-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--gray-400);
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

@media (min-width: 768px) {
    .prod-layout { grid-template-columns: 1fr 1fr; }
    .prod-title { font-size: 1.6rem; }
    .prod-price { font-size: 1.8rem; }
}

@media (min-width: 1024px) {
    .prod-layout { grid-template-columns: 1.2fr 1fr; gap: 40px; }
}

/* ========================================
   FORM VALIDATION FEEDBACK
   ======================================== */
.field-feedback {
    display: block;
    font-size: 0.75rem;
    min-height: 1.1em;
    margin-top: 3px;
    transition: all 0.2s ease;
}
.field-feedback:empty { min-height: 0; margin-top: 0; }
.field-feedback--ok { color: var(--success); }
.field-feedback--error { color: var(--danger); }
.field-feedback--loading { color: var(--gray-400); font-style: italic; }

.field-feedback--ok::before { content: '\2713 '; font-weight: 700; }
.field-feedback--error::before { content: '\2717 '; font-weight: 700; }
.field-feedback--loading::before { content: '\25CB '; }

.input-valid {
    border-color: var(--success) !important;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15) !important;
}
.input-error {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15) !important;
}

/* ========================================
   HERO COMPACT
   ======================================== */
.hero--compact {
    padding: 20px 16px 14px;
}
.hero--compact h1 { font-size: 1.2rem; margin-bottom: 2px; }
.hero--compact p { font-size: 0.8rem; margin-bottom: 0; }

/* ========================================
   GRID CONTROLS (column switcher)
   ======================================== */
.grid-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}
.grid-controls-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}
.grid-btns {
    display: flex;
    gap: 4px;
}
.grid-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: #fff;
    color: var(--gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}
.grid-btn:hover { color: var(--gray-600); border-color: var(--gray-300); }
.grid-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Menu-modal grid buttons */
.menu-modal .grid-btns {
    gap: 6px;
    flex-wrap: wrap;
}
.menu-modal .grid-btn {
    width: 40px;
    height: 36px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
}

/* ========================================
   GRID COLUMN OVERRIDES
   ======================================== */
.product-grid.grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.product-grid.grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.product-grid.grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.product-grid.grid-cols-6 { grid-template-columns: repeat(6, 1fr) !important; }
.product-grid.grid-cols-8 { grid-template-columns: repeat(8, 1fr) !important; }
.product-grid.grid-cols-10 { grid-template-columns: repeat(10, 1fr) !important; }

/* ---- Móvil: 4 cols compact ---- */
.product-grid.grid-cols-4 .card-body { padding: 6px; }
.product-grid.grid-cols-4 .card-title { font-size: 0.72rem; -webkit-line-clamp: 1; }
.product-grid.grid-cols-4 .card-price { font-size: 0.8rem; }
.product-grid.grid-cols-4 .card-seller { display: none; }

/* ---- Tablet/Desktop: 6 cols compact ---- */
.product-grid.grid-cols-6 .card-body { padding: 6px; }
.product-grid.grid-cols-6 .card-title { font-size: 0.75rem; -webkit-line-clamp: 1; }
.product-grid.grid-cols-6 .card-price { font-size: 0.8rem; }
.product-grid.grid-cols-6 .card-seller { display: none; }

/* ---- 8 cols: extra compact ---- */
.product-grid.grid-cols-8 .card-body { padding: 5px; }
.product-grid.grid-cols-8 .card-title { font-size: 0.68rem; -webkit-line-clamp: 1; }
.product-grid.grid-cols-8 .card-price { font-size: 0.72rem; }
.product-grid.grid-cols-8 .card-seller { display: none; }
.product-grid.grid-cols-8 .card-price .old-price { display: none; }

/* ---- 10 cols: ultra compact ---- */
.product-grid.grid-cols-10 .card-body { padding: 4px; }
.product-grid.grid-cols-10 .card-title { font-size: 0.6rem; -webkit-line-clamp: 1; }
.product-grid.grid-cols-10 .card-price { font-size: 0.65rem; }
.product-grid.grid-cols-10 .card-seller { display: none; }
.product-grid.grid-cols-10 .card-price .old-price { display: none; }

/* ========================================
   GRID BUTTONS VISIBILITY PER DEVICE
   ======================================== */

/* Default: hide all, show mobile only */
.grid-btn { display: none; }
.grid-btn--mobile { display: flex; }

/* Tablet (768px+): hide mobile-only, show tablet */
@media (min-width: 768px) {
    .grid-btn--mobile { display: none; }
    .grid-btn--tablet { display: flex; }
}

/* Desktop (1024px+): show desktop */
@media (min-width: 1024px) {
    .grid-btn--tablet:not(.grid-btn--desktop) { display: none; }
    .grid-btn--desktop { display: flex; }
}

/* Seller line on cards */
.card-seller {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}
.card-seller-dot {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.card-seller-name {
    font-size: 0.7rem;
    color: var(--gray-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-seller-line {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   FLOATING PRODUCT ACTIONS (msg + report)
   ======================================== */
.prod-float-actions {
    position: fixed;
    bottom: 24px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 90;
}
.prod-float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.prod-float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.prod-float-msg { background: var(--primary); color: #fff; }
.prod-float-report { background: #fff; color: var(--gray-500); border: 1px solid var(--gray-200) !important; }
.prod-float-report:hover { color: var(--danger); border-color: var(--danger) !important; }

/* ========================================
   REPORT MODAL
   ======================================== */
.report-modal {
    max-width: 440px;
    width: 95%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}
.report-cats {
    overflow-y: auto;
    padding: 8px 0;
}
.report-cat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.15s;
}
.report-cat-card:hover { background: var(--gray-50); }
.report-cat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--gray-50);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
}
.report-cat-card:hover .report-cat-icon { background: rgba(99,102,241,0.08); color: var(--primary); }
.report-cat-label {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
}
.report-reasons {
    overflow-y: auto;
    padding: 4px 0;
}
.report-reason-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 0.84rem;
    color: var(--gray-600);
    transition: background 0.15s;
}
.report-reason-item:hover { background: var(--gray-50); }
.report-reason-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
}
.report-summary {
    padding: 14px 16px;
    background: var(--gray-50);
    border-radius: 10px;
    margin-bottom: 16px;
}
