/* ============================================
   MARKETPLACE STYLING - All utilities as plain CSS
   ============================================ */

/* CSS Variables for Colors */
:root {
    /* Primary Colors */
    --color-primary: var(--dark-green, #2B8A3E);
    --color-primary-light: var(--light-green, #40C057);
    --color-primary-dark: var(--darker-green, #1B5E20);
    
    /* Secondary Colors */
    --color-secondary: #E53E3E;
    --color-secondary-light: #FC8181;
    --color-secondary-dark: #B91C1C;
    
    /* Accent Colors */
    --color-accent: #D4AF37;
    --color-accent-light: #F7DC6F;
    --color-accent-dark: #B7950B;
    
    /* Neutral Colors */
    --color-neutral: #1A1A1A;
    --color-neutral-light: #4A5568;
    --color-neutral-dark: #000000;
    
    /* Gray Scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Yellow for ratings */
    --yellow-400: #facc15;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--color-neutral);
    background-color: #fff;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
/* h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
} */

/* h1 { font-size: calc(2.25 * 16px); }
h2 { font-size: calc(1.875 * 16px); }
h3 { font-size: calc(1.25 * 16px); }
h4 { font-size: calc(1.125 * 16px); }
h5 { font-size: calc(1 * 16px); }
h6 { font-size: calc(0.875 * 16px); } */
.sr-only {position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip: rect(0, 0, 0, 0);white-space: nowrap;border-width: 0;}
.bg-f5f5f5 {background-color: #f5f5f5;}
.bg-059669 {
    background-color: var(--dark-green, #059669);
}
button.bg-059669:hover {
    background-color: var(--darker-green, #064b36);
    color: white;
}

p { margin: 0; }

/* Typography Utilities */
.text-xs { font-size: 12px; line-height: 16px; }
.text-sm { font-size: 14px; line-height: 20px; }
.text-base { font-size: 16px; line-height: 24px; }
.text-lg { font-size: 18px; line-height: 28px; }
.text-xl { font-size: 20px; line-height: 28px; }
.text-2xl { font-size: 24px; line-height: 32px; }
.text-3xl { font-size: 30px; line-height: 36px; }
.text-4xl { font-size: 36px; line-height: 40px; }
.text-5xl { font-size: 48px; line-height: 1; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 640px) {
    .container { max-width: 640px; margin-left: auto; margin-right: auto; }
}

@media (min-width: 768px) {
    .container { max-width: 768px; margin-left: auto; margin-right: auto; }
}

@media (min-width: 1024px) {
    .container { max-width: 1024px; margin-left: auto; margin-right: auto; }
}

@media (min-width: 1280px) {
    .container { max-width: 1200px; margin-left: auto; margin-right: auto; }
}

.seller-thumb {border: 1px solid #eee; box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);}
/* ============================================
   SPACING & PADDING
   ============================================ */
.px-1 { padding-left: 4px; padding-right: 4px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.px-10 { padding-left: 40px; padding-right: 40px; }

.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-10 { padding-top: 40px; padding-bottom: 40px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }

.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-10 { padding: 40px; }

.pt-1 { padding-top: 4px; }
.pt-2 { padding-top: 8px; }
.pl-2 { padding-left: 8px; }
.pt-3 { padding-top: 12px; }
.pb-4 { padding-bottom: 16px; }
.pb-6 { padding-bottom: 24px; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-16 { margin-top: 64px; }

.mr-1 { margin-right: 4px; }
.ml-1 { margin-left: 4px; }
.ml-2 { margin-left: 8px; }
.ml-4 { margin-left: 16px; }
.mr-2 { margin-right: 8px; }
.mr-3 { margin-right: 12px; }
.mr-4 { margin-right: 16px; }
.mr-6 { margin-right: 24px; }

/* Space between */
.space-x-2 > * + * { margin-left: 8px; }
.space-x-3 > * + * { margin-left: 12px; }
.space-x-4 > * + * { margin-left: 16px; }
.space-x-6 > * + * { margin-left: 24px; }
.space-x-8 > * + * { margin-left: 32px; }

.space-y-1 > * + * { margin-top: 4px; }
.space-y-2 > * + * { margin-top: 8px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-6 > * + * { margin-top: 24px; }
.space-y-8 > * + * { margin-top: 32px; }
.space-y-10 > * + * { margin-top: 40px; }

/* ============================================
   FLEXBOX & GRID
   ============================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }

.flex-shrink-0{flex-shrink: 0;}

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }


.dropdown-menu {
    position: relative;
}
.dropdown-items {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    display: none;
    min-width: 160px;
    z-index: 10;
}
.dropdown-items:not(.hidden) {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-dropdown-toggle,
.dropdown-menu > button {
    padding: 0;
    background: none !important;
    border: none !important;
}

/* ============================================
   SIZING
   ============================================ */
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-auto { width: auto; }
.w-20 { width: 80px; }
.w-64 { width: 256px; }
.w-12 {width: 48px;}
.w-16 {width: 64px;}

.h-4 { height: 16px; }
.h-5 { height: 20px; }
.h-6 { height: 24px; }
.h-12 {height: 48px;}
.h-16 { height: 64px; }
.h-20 { height: 80px; }
.h-24 { height: 96px; }
.h-32 { height: 128px; }
.h-48 { height: 192px; }
.h-full {height:100%;}

.max-w-md { max-width: 448px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }

.object-cover {object-fit: cover;}

/* ============================================
   DISPLAY & VISIBILITY
   ============================================ */
.hidden { display: none; }
.d-block { display: block; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.fixed { position: fixed; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.inset-y-0 { top: 0; bottom: 0; }

.top-0 { top: 0; }
.top-1 { top: 4px; }
.top-1\/2 { top: 50%; }
.top-24 { top: 96px; }

.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-3 { left: 12px; }

.right-0 { right: 0; }
.right-4 { right: 16px; }

.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* ============================================
   COLORS & BACKGROUNDS
   ============================================ */
/* Text Colors */
.text-white { color: white; }
.text-666666 { color: #666666; }
.text-black { color: black; }
.text-neutral { color: var(--color-neutral); }
.text-neutral-light { color: var(--color-neutral-light); }
.text-neutral-dark { color: var(--color-neutral-dark); }
.text-primary { color: var(--color-primary); }
.text-primary-light { color: var(--color-primary-light); }
.text-primary-dark { color: var(--color-primary-dark); }
.text-secondary { color: var(--color-secondary); }
.text-secondary-light { color: var(--color-secondary-light); }
.text-secondary-dark { color: var(--color-secondary-dark); }
.text-accent { color: var(--color-accent); }
.text-yellow-400 { color: var(--yellow-400); }
.text-gray-200 { color: var(--gray-200); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }

/* Background Colors */
.bg-white { background-color: white; }
.bg-black { background-color: black; }
.bg-transparent { background-color: transparent; }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-200 { background-color: var(--gray-200); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-neutral { background-color: var(--color-neutral); }
.bg-neutral-dark { background-color: var(--color-neutral-dark); }

/* Border Colors */
.border { border: 1px solid var(--gray-300); }
.border-b { border-bottom: 1px solid var(--gray-300); }
.border-t { border-top: 1px solid var(--gray-300); }
.border-r { border-right: 1px solid var(--gray-300); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }
.border-gray-800 { border-color: var(--gray-800); }
.border-primary { border-color: var(--color-primary); }
.border-white { border-color: white; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }

/* ============================================
   ROUNDED CORNERS
   ============================================ */
.rounded { border-radius: 4px; }
.rounded-md { border-radius: 6px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl {border-radius: 16px;}
.rounded-full { border-radius: 9999px; }

/* ============================================
   SHADOWS
   ============================================ */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* ============================================
   OPACITY & COLORS
   ============================================ */
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-100 { opacity: 1; }

.bg-opacity-10 { --tw-bg-opacity: 0.1; }
.bg-opacity-20 { --tw-bg-opacity: 0.2; }
.bg-opacity-50 { --tw-bg-opacity: 0.5; }
.bg-opacity-60 { --tw-bg-opacity: 0.6; }

.bg-black.bg-opacity-50 { background-color: rgba(0, 0, 0, 0.5); }

/* ============================================
   TRANSFORM & TRANSITIONS
   ============================================ */
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)); }

.translate-y--1\/2 { --tw-translate-y: -50%; }
.translate-y-0 { --tw-translate-y: 0; }

.scale-100 { --tw-scale: 1; }
.scale-110 { --tw-scale: 1.1; }

.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.duration-300 { transition-duration: 300ms; }

/* ============================================
   HOVER & FOCUS STATES
   ============================================ */
.hover\:bg-gray-100:hover { background-color: var(--gray-100); }
.hover\:bg-primary-dark:hover { background-color: var(--color-primary-dark); }
.hover\:bg-secondary-dark:hover { background-color: var(--color-secondary-dark); }
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:text-white:hover { color: white; }
.hover\:text-gray-500:hover { color: var(--gray-500); }
.hover\:border-primary:hover { border-color: var(--color-primary); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:underline:hover { text-decoration-line: underline; }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow); --tw-ring-color: var(--color-primary); }
.focus\:ring-primary:focus { --tw-ring-color: var(--color-primary); }
.focus\:border-transparent:focus { border-color: transparent; }

/* ============================================
   CUSTOM COMPONENTS
   ============================================ */

/* Navigation Links */
.nav-link {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.group {
    position: relative;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
    visibility: visible;
}

.group-hover\:opacity-100 {
    opacity: 0;
    visibility: hidden;
}

.group-hover\:visible {
    visibility: hidden;
    transition: all 0.3s ease;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: white !important;
    padding: 12px 24px;
    border-radius: 6px;
    border: none !important;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
}

/* Cards */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Gradients */
.bg-gradient-to-r {
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
}

.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--color-primary-light), var(--color-primary));
}

.from-primary { --tw-gradient-from: var(--color-primary); }
.to-primary-dark { --tw-gradient-to: var(--color-primary-dark); }
.from-primary-dark { --tw-gradient-from: var(--color-primary-dark); }
.to-transparent { --tw-gradient-to: transparent; }

.gold-gradient {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
input, textarea, select {
    font-family: 'Poppins', sans-serif;
}

input, select {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 14px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(43, 138, 62, 0.1);
}

/* Filter Checkbox */
.filter-checkbox {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    display: block;
    margin-bottom: 8px;
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: white;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
}

.filter-checkbox:hover input ~ .checkmark {
    border-color: var(--color-primary);
}

.filter-checkbox input:checked ~ .checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.filter-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.filter-checkbox .checkmark:after {
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Range Slider */
.range-slider {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: var(--gray-300);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    border: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Shimmer Animation */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.skeleton::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-repeat: no-repeat;
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0)
    );
    background-size: 200px 100%;
    background-position: -150% 0;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    to {
        background-position: 350% 0;
    }
}

/* Spinner Animation */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--color-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Slide In Right Animation */
.notification {
    animation: slideInRight 0.3s forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   BADGES
   ============================================ */
.badge-green {
    background-color: var(--color-primary);
    color: white;
    border-radius: 9999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-red {
    background-color: var(--color-secondary);
    color: white;
    border-radius: 9999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-gold {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    color: black;
    border-radius: 9999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET (SM: 640px)
   ============================================ */
@media (max-width: 640px) {
    h1 { font-size: calc(1.875 * 16px); }
    h2 { font-size: calc(1.5 * 16px); }
    h3 { font-size: calc(1.125 * 16px); }
    
    .sm\:text-center { text-align: center; }
    .sm\:mt-0 { margin-top: 0; }
    .sm\:mb-0 { margin-bottom: 0; }
}

/* ============================================
   RESPONSIVE DESIGN - TABLET (MD: 768px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
    .md\:w-1\/2 { width: 50%; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:flex-col { flex-direction: column; }
    .md\:items-center { align-items: center; }
    .md\:justify-between { justify-content: space-between; }
    .md\:gap-6 { gap: 24px; }
    .md\:px-4 { padding-left: 16px; padding-right: 16px; }
    .md\:py-4 { padding-top: 16px; padding-bottom: 16px; }
    .md\:mb-0 { margin-bottom: 0; }
    .md\:mt-0 { margin-top: 0; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:border-b-0 { border-bottom: none; }
    .md\:border-r { border-right: 1px solid var(--gray-200); }
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP (LG: 1024px)
   ============================================ */
@media (min-width: 1024px) {
    .lg\:w-1\/4 { width: 25%; }
    .lg\:w-3\/4 { width: 75%; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:gap-8 { gap: 32px; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================
   MISC UTILITIES
   ============================================ */
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.user-select-none { user-select: none; }
.select-none { -webkit-user-select: none; -moz-user-select: none; user-select: none; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.appearance-none { -webkit-appearance: none; appearance: none; }

.line-through { text-decoration-line: line-through; }
.no-underline { text-decoration-line: none; }

/* ============================================
   RESPONSIVE UTILITIES - Mobile First
   ============================================ */

/* Mobile: Default (< 640px) */
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.px-3 { padding-left: 12px; padding-right: 12px; }

.gap-4 { gap: 16px; }
.gap-3 { gap: 12px; }

.h-200 { height: 200px; }
.h-250 { height: 250px; }
.h-300 { height: 300px; }

/* Small: 640px+ */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 24px; padding-right: 24px; }
    .sm\:py-6 { padding-top: 24px; padding-bottom: 24px; }
    .sm\:gap-6 { gap: 24px; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:h-300 { height: 300px; }
    .sm\:h-350 { height: 350px; }
}


/* Medium: 768px+ */
@media (min-width: 768px) {
    .md\:px-6 { padding-left: 24px; padding-right: 24px; }
    .md\:px-8 { padding-left: 32px; padding-right: 32px; }
    .md\:py-8 { padding-top: 32px; padding-bottom: 32px; }
    .md\:py-6 { padding-top: 24px; padding-bottom: 24px; }
    .md\:py-10 { padding-top: 40px; padding-bottom: 40px; }
    
    .md\:gap-6 { gap: 24px; }
    .md\:gap-8 { gap: 32px; }
    
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    
    .md\:flex-row { flex-direction: row; }
    .md\:flex-col { flex-direction: column; }
    
    .md\:w-1\/2 { width: 50%; }
    .md\:w-1\/3 { width: 33.333333%; }
    .md\:w-2\/3 { width: 66.666667%; }
    .md\:w-3\/4 { width: 75%; }
    
    .md\:h-400 { height: 400px; }
    .md\:h-500 { height: 500px; }
    
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:inline-flex { display: inline-flex; }
    
    .md\:mb-0 { margin-bottom: 0; }
    .md\:mb-4 { margin-bottom: 16px; }
    .md\:mb-8 { margin-bottom: 32px; }
}

/* Large: 1024px+ */
@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 32px; padding-right: 32px; }
    .lg\:px-10 { padding-left: 40px; padding-right: 40px; }
    .lg\:py-12 { padding-top: 48px; padding-bottom: 48px; }
    
    .lg\:gap-8 { gap: 32px; }
    .lg\:gap-10 { gap: 40px; }
    
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    
    .lg\:w-1\/2 { width: 50%; }
    .lg\:w-2\/3 { width: 66.666667%; }
    .lg\:w-3\/4 { width: 75%; }
    
    .lg\:h-500 { height: 500px; }
    
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
}

/* Extra Large: 1280px+ */
@media (min-width: 1280px) {
    .xl\:px-10 { padding-left: 40px; padding-right: 40px; }
    .xl\:gap-10 { gap: 40px; }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================
   LINE CLAMPING FOR MOBILE TEXT
   ============================================ */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   TRUNCATION FOR LONG TEXT
   ============================================ */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.break-all {
    word-break: break-all;
}

/* ============================================
   PRODUCT VIEW STYLING (inspired by modal design)
   ============================================ */

/* Product header with name and status */
.pv-product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pv-product-name {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

@media (min-width: 768px) {
    .pv-product-name {
        font-size: 32px;
    }
}

@media (min-width: 1024px) {
    .pv-product-name {
        font-size: 36px;
    }
}

/* Price section with prominent styling */
.pv-price-section {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pv-price-label {
    font-size: 12px;
    color: #999999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pv-price-value-delivery {
    white-space: nowrap;
    font-size: 15px;
    color: #999;
}
.pv-price-value {
    font-size: 26px;
    font-weight: 700;
    /* margin-right: 8px; */
    color: var(--dark-red, var(--dark-green, #2b8a3e));
}

@media (min-width: 768px) {
    .pv-price-section {
        padding: 20px;
    }
    /* .pv-price-value {
        font-size: 32px;
    } */
}

/* Seller info box styling */
.pv-seller-box {
    background: #eeeeee;
    border-radius: 8px;
    padding: 12px;
    /* margin-bottom: 24px; */
}

@media (min-width: 768px) {
    .pv-seller-box {
        padding: 16px;
    }
}

/* Section titles */
.pv-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pv-section-title.mb-2 {margin-bottom: 8px;}

@media (min-width: 768px) {
    .pv-section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .pv-section-title.mb-2 {margin-bottom: 8px;}
}

/* Info grid styling (like pm-info-grid in products.phtml) */
.pv-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .pv-info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.pv-info-cell {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

@media (min-width: 768px) {
    .pv-info-cell {
        padding: 16px;
    }
}

.pv-info-cell-label {
    font-size: 11px;
    color: #999999;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .pv-info-cell-label {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

.pv-info-cell-value {
    font-size: 12px;
    color: #333333;
    font-weight: 600;
}

@media (min-width: 768px) {
    .pv-info-cell-value {
        font-size: 13px;
    }
}

/* Description section */
.pv-description {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .pv-description {
        padding: 20px;
    }
}

.pv-description p {
    margin: 0;
    color: #666666;
    font-size: 13px;
}

@media (min-width: 768px) {
    .pv-description p {
        font-size: 14px;
    }
}

/* ============================================
   RESPONSIVE TEXT SIZES
   ============================================ */
/* Mobile: small text by default */
.text-mobile-heading { font-size: 24px; line-height: 32px; font-weight: 700; }
@media (min-width: 768px) {
    .text-mobile-heading { font-size: 36px; line-height: 40px; }
}

.text-mobile-subheading { font-size: 16px; line-height: 24px; font-weight: 600; }
@media (min-width: 768px) {
    .text-mobile-subheading { font-size: 20px; line-height: 28px; }
}

/* ============================================
   RESPONSIVE DISPLAY HELPERS
   ============================================ */
@media (max-width: 767px) {
    .hidden-mobile { display: none; }
}

@media (min-width: 768px) {
    .hidden-desktop { display: none; }
}

/* ============================================
   RESPONSIVE BORDERS
   ============================================ */
@media (min-width: 768px) {
    .md\:border-l { border-left: 1px solid var(--gray-300); }
    .md\:border-t-0 { border-top: none; }
    .md\:border-l-e5e5e5 { border-left: 1px solid #e5e5e5; }
}

