/* ============================================
   MARKETPLACE STYLING - All utilities as plain CSS
   ============================================ */

/* CSS Variables for Colors */
:root {
    /* Primary Colors */
    --color-primary: var(--dark-green, #2B8A3E);
    --color-primary-rgb: 3, 199, 0;
    --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;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-bg-opacity: 1;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
}
html{scroll-behavior:smooth}

body {
    color: var(--color-neutral);
    background-color: #fff;
}
button.bg-primary:not([class*="border"]) {
    border: none !important;
}

/* ============================================
   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, rgb(5, 150, 105)); */
    background-color: rgba(var(--color-primary-rgb), var(--tw-bg-opacity));
}
.text-0958d9 {color: #0958d9;}
.bg-0958d9 {background-color: rgba(9, 88, 217, var(--tw-bg-opacity));}
.bg-primary-50 { background-color: rgba(var(--color-primary-rgb), 0.05); }
.bg-1a1a1a { background-color: #1a1a1a; }
.bg-f59e0b { background-color: rgba(245, 159, 10, var(--tw-bg-opacity)); }
button.bg-059669:hover {
    background-color: var(--darker-green, #064b36);
    color: white;
}

p { margin: 0; }
a.text-059669, .text-059669 { color: var(--dark-green, #059669) !important; }
.text-333333 { color: #333333; }
.text-666666 { color: #666666; }
.text-999999 { color: #999999; }
.text-cccccc { color: #cccccc; }
.text-f59e0b { color: #f59e0b; }
a.text-primary {color: var(--color-primary) !important}
a.hover\:text-primary-light:hover {color: var(--color-primary-light) !important}
a.text-accent {color: var(--color-accent) !important}
a.hover\:text-accent-light:hover {color: var(--color-accent-light) !important}
/* 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-13 { font-size: 13px; line-height: 15px; }
.text-15 { font-size: 15px; line-height: 18px; }
.text-18 { font-size: 18px; line-height: 20px; }
.text-20 { font-size: 20px; line-height: 24px; }
.text-24 { font-size: 24px; line-height: 32px; }
.text-lg { font-size: 18px; line-height: 28px; }
.text-xl { font-size: 20px; line-height: 28px; }
.text-2xl { font-size: 24px; line-height: 30px; }
.text-3xl { font-size: 30px; line-height: 34px; }
.text-32 { font-size: 32px; line-height: 36px; }
.text-4xl { font-size: 36px; line-height: 40px; }
.text-5xl { font-size: 40px; line-height: 1; }
.text-7xl { font-size: 56px; 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);}
.no-underline{text-decoration:none !important}
.text-white {color:white !important}
/* ============================================
   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; }
input.px-4,.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; }
input.py-2 { padding-top: 8px !important; padding-bottom: 8px !important; height: auto; width:auto;}
.pl-10 {padding-left: 40px}
.pr-4 {padding-right: 16px}
input.pl-10 {padding-left: 40px !important;}
input.py-3,.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-0 { padding: 0; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-8 { padding: 32px; }
.p-6 { padding: 24px; }
.p-10 { padding: 40px; }
.p-12 { padding: 48px; }

.pt-1 { padding-top: 4px; }
.pt-2 { padding-top: 8px; }
.pl-2 { padding-left: 8px; }
.pt-3 { padding-top: 12px; }
.pt-4 { padding-top: 16px; }
.pt-6 { padding-top: 24px; }
.pt-8 { padding-top: 32px; }
.pb-4 { padding-bottom: 16px; }
.pb-6 { padding-bottom: 24px; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-0{margin-left: 0; margin-right: 0;}
.-mx-2{margin-left: -8px; margin-right: -8px;}
.my-0{margin-top: 0; margin-bottom: 0;}
.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; }
.mt-12 { margin-top: 48px; }
.-mt-12 { margin-top: -48px; }
.-mt-9 { margin-top: -36px; }

.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; }
.leading-6 {
    line-height: 24px;
}

/* ============================================
   AD VIEW PAGE HELPERS
   ============================================ */
.border-bottom-1-e5e5e5 { border-bottom: 1px solid #e5e5e5; }
.border-top-1-e5e5e5 { border-top: 1px solid #e5e5e5; }
.video-aspect-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #111111;
    border-radius: 12px;
    overflow: hidden;
}
/* .video-aspect-wrapper .yt-player,
.video-aspect-wrapper .video-loading { */
.video-aspect-wrapper .yt-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.video-aspect-wrapper .video-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    text-align: center;
    gap: 8px;
}
.video-aspect-wrapper .video-loading .loading,
.video-aspect-wrapper .video-loading .error-message-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* .reward-banner {
    border-left: 2px solid var(--dark-green, #2b8a3e);
}
.reward-banner.earned {
    border-left-color: var(--dark-green, #2b8a3e);
    background: #f0fdf4;
}
.reward-banner.pending {
    border-left-color: #f59e0b;
    background: #fffbeb;
}
.reward-banner.info {
    border-left-color: #3b82f6;
    background: #eff6ff;
} */
.ad-related-reason {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    position: absolute;
    top: -24px;
    left: 4px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--dark-green, #059669);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 150ms ease, visibility 150ms ease, transform 150ms ease;
}
.related-ad-card:hover .ad-related-reason,
.related-ad-card:focus .ad-related-reason,
.related-ad-card:focus-within .ad-related-reason {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================
   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%; }

.shrink-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-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }

#maincontent {padding-left: 0;padding-right: 0;}
.header-icon-watermark {
    position: absolute;
    right: -32px;
    font-size: 1250%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.08;
    color: white;
}
.watermark-accent {color: var(--color-accent) !important;}

.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-80 { width: 320px; }
.w-12 {width: 48px;}
.w-10 {width: 40px;}
.w-14 {width: 56px;}
.w-16 {width: 64px;}
.w-8 {width: 32px;}

.h-4 { height: 16px; }
.h-5 { height: 20px; }
.h-6 { height: 24px; }
.h-8 { height: 32px; }
.h-10 {height: 40px;}
.h-12 {height: 48px;}
.h-14 {height: 56px;}
.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-h-100 { max-height: 400px; }
.max-w-md { max-width: 448px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl {max-width: calc(56 * 16px);}
.max-h-\[90vh\] {max-height: 90vh;}

.object-cover {object-fit: cover;}
.object-contain {object-fit: contain;}

/* ============================================
   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; }
.align-self-start {align-self: start;}
.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; }
.top-18 { top: 72px; }

.bottom-2 { bottom: 8px; }
.bottom-0 { bottom: 0; }
.left-2 { left: 8px; }
.left-0 { left: 0; }
.left-3 { left: 12px; }

.right-0 { right: 0; }
.right-4 { right: 16px; }
.-top-4 { top: -16px; }
.-right-4 { right: -16px; }
.-left-4 { left: -16px; }
.-bottom-4 { bottom: -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-y-auto { overflow-y: 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); }
.hover\:text-neutral:hover { color: var(--color-neutral); }
a.text-neutral { color: var(--color-neutral) !important; }
.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-accent-dark { color: var(--color-accent-dark); }
.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); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }

/* Additional text colors for modal and components */
.text-blue-600 { color: #2563eb; }
.text-blue-800 { color: #1e40af; }
.text-indigo-500 { color: #6366f1; }
.text-red-500 { color: #ef4444; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-yellow-600 { color: #ca8a04; }

/* Background Colors */
.bg-white { background-color: white; }
.bg-black { background-color: rgba(0, 0, 0, var(--tw-bg-opacity)); }
.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-gray-300 { background-color: var(--gray-300); }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-600 { background-color: #2563eb; }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-accent { background-color: var(--color-accent); }
.bg-accent-dark { background-color: var(--color-accent-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); }
/* [class*="border"] {border-style: solid;border-width: 0;} */
.border-none {border: none !important;}
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
/* .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-50 { border-color: var(--gray-50); }
.border-gray-100 { border-color: var(--gray-100); }
.border-accent {border-color: var(--color-accent);}
input.border-gray-300,.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-transparent { border-color: transparent; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t-4 { border-top-width: 4px; }
.border-r-4 { border-right-width: 4px; }
.border-l-4 { border-left-width: 4px; }
.border-b-4 { border-bottom-width: 4px; }

/* ============================================
   ROUNDED CORNERS
   ============================================ */
.rounded { border-radius: 4px; }
.rounded-md { border-radius: 6px; }
input.rounded-md { border-radius: 6px; }
.rounded-lg { border-radius: 8px; }
input.rounded-0,.rounded-0 { border-radius: 0;}
input.rounded-l-lg,.rounded-l-lg { border-top-left-radius: 8px; border-bottom-left-radius: 8px;}
.rounded-xl { border-radius: 12px; }
.rounded-2xl {border-radius: 16px;}
.rounded-full { border-radius: 9999px; }

/* ============================================
   SHADOWS
   ============================================ */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.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-opacity-70 { --tw-bg-opacity: 0.7; }

.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-white:hover { background-color: white; }
.hover\:bg-gray-50:hover { background-color: var(--gray-50); }
.hover\:bg-gray-100:hover { background-color: var(--gray-100); }
.hover\:bg-primary:hover { background-color: var(--color-primary); }
.focus\:bg-primary:focus { background-color: var(--color-primary); }
.hover\:bg-primary-dark:hover { background-color: var(--color-primary-dark); }
.focus\:bg-primary-dark:focus { background-color: var(--color-primary-dark); }
.hover\:bg-accent-dark:hover { background-color: var(--color-accent-dark); }
.hover\:bg-secondary-dark:hover { background-color: var(--color-secondary-dark); }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.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\:border-accent:hover { border-color: var(--color-accent); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:underline:hover { text-decoration-line: underline; }

.focus\:ring-inset:focus {--tw-ring-inset: inset;}
.focus\:outline-none:focus,input.focus\:outline-none:focus, select.focus\:outline-none:focus, textarea.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus, input.focus\:ring-2:focus, select.focus\:ring-2:focus, textarea.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, input.focus\:ring-primary:focus, select.focus\:ring-primary:focus, textarea.focus\:ring-primary:focus { --tw-ring-color: var(--color-primary); }
.focus\:ring-primary-50:focus, input.focus\:ring-primary-50:focus, select.focus\:ring-primary-50:focus, textarea.focus\:ring-primary-50:focus { --tw-ring-color: rgba(var(--color-primary-rgb), 0.5); }
.focus\:ring-primary-40:focus, input.focus\:ring-primary-40:focus, select.focus\:ring-primary-40:focus, textarea.focus\:ring-primary-40:focus { --tw-ring-color: rgba(var(--color-primary-rgb), 0.4); }
.focus\:border-transparent:focus, input.focus\:border-transparent:focus, select.focus\:border-transparent:focus, textarea.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:active,
.btn-primary:focus,
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    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);
}

.btn-outline {
    background-color: white;
    color: var(--color-primary, #777) !important;
    border: 1px solid var(--color-primary, #999);
    /* padding: 12px 24px; */
    border-radius: 6px;
    /* border: none; */
    cursor: pointer;
    /* font-weight: 500; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--color-primary-dark, #777);
    color: var(--color-primary-dark, #444) !important;
}

/* 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 {
    height: auto !important;
    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: 24px;
    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: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 16px;
    width: 16px;
    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: 0; */
    left: 3px;
    top: -1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.tracking-wider {
    letter-spacing: 0.8px;
}

/* 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); }
    input.sm\:rounded-t-lg,.sm\:rounded-t-lg { border-top-left-radius: 8px; border-top-right-radius: 8px;}
    
    .sm\:text-center { text-align: center; }
    .sm\:mt-0 { margin-top: 0; }
    .sm\:mt-4 { margin-top: 16px; }
    .sm\:mb-0 { margin-bottom: 0; }
}

/* ============================================
   RESPONSIVE DESIGN - TABLET (MD: 768px)
   ============================================ */
/* @media (min-width: 768px) and (max-width: 1023px) { */
@media (max-width: 768px) {
    .img-hero-logo {
        z-index: 1;
        position: absolute;
        bottom: -24%;
        right: -15%;
        opacity: 0.56;
        filter: brightness(0.5);
    }
}
@media (min-width: 768px) {
    input.md\:rounded-l-lg,.md\:rounded-l-lg { border-top-left-radius: 8px; border-bottom-left-radius: 8px;}
    .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\:text-base {font-size: 16px;}
    .md\:text-24 {font-size: 24px;}
    .md\:gap-6 { gap: 24px; }
    .md\:p-6 { padding-left: 24px; padding-right: 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\:mx-0 { margin-left: 0; margin-right: 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); }
    .md\:relative {position: relative;}
}

/* ============================================
   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\:block { display: block; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:gap-8 { gap: 32px; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .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\:col-span-2 { grid-column: span 2 / span 2; }
}

/* ============================================
   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; }
.h-screen { height: 100vh; }

/* 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\:grid-cols-3 { grid-template-columns: repeat(3, 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\:p-6 { padding: 24px; }
    .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\:space-x-4 > * + * { margin-left: 16px; }
    .md\:text-13 { font-size: 13px; line-height: 16px; }
    .md\:text-14 { font-size: 14px; line-height: 20px; }
    .md\:text-22 { font-size: 22px; line-height: 30px; }
    .md\:text-28 { font-size: 28px; line-height: 36px; }

    .md\:gap-4 { gap: 16px; }
    .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\:grid-cols-4 { grid-template-columns: repeat(4, 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-40 { height: 160px; }
    .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-6 { margin-bottom: 24px; }
    .md\:mb-8 { margin-bottom: 32px; }
}

/* Large: 1024px+ */
@media (min-width: 1024px) {
    .lg\:p-8 { padding: 32px; }
    .lg\:px-20 { padding-left: 80px; padding-right: 80px; }
    .lg\:py-32 { padding-top: 128px; padding-bottom: 128px; }
    .lg\:py-8 { padding-top: 32px; padding-bottom: 32px; }

    .lg\:text-36 { font-size: 36px; line-height: 44px; }

    .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;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    line-clamp: 3;
    -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; }
}
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    padding-bottom: 56.25%;
}
.video-container > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-container .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.3); */
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 1;
}
.video-time {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
}
.video-reward {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-accent);
    color: var(--color-neutral);
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.video-reward i {
    margin-right: 4px;
    font-size: 10px;
}

.ad-video-container {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    /* height: 0; */
}

.ad-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.yt-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.yt-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 15px;
}
.video-loading .error-message-wrapper,
.video-loading .loading {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.error-message-wrapper i {
    font-size: 44px;
    margin-bottom: 16px;
}
.spinner.light {
    border-color: rgba(243, 243, 243, 0.56);
    border-top-color: rgb(255, 255, 255);
}

