 /* ─── TOKENS ─────────────────────────────────────────────────────────── */
 :root {
     --c-bg: #FAFAF9;
     --c-surface: #FFFFFF;
     --c-border: #E8E6E1;
     --c-border-light: #F0EEE9;
     --c-text-primary: #18181B;
     --c-text-secondary: #6B7280;
     --c-text-muted: #9CA3AF;
     --c-accent: #1A6B4A;
     --c-accent-light: #E8F5EF;
     --c-accent-hover: #155E3E;
     --c-amber: #D97706;
     --c-amber-light: #FEF3C7;
     --c-danger: #DC2626;
     --c-danger-light: #FEF2F2;
     --c-danger-border: #FECACA;
     --c-whatsapp: #25D366;
     --c-whatsapp-hover: #1ebe58;

     --r-sm: 6px;
     --r-md: 10px;
     --r-lg: 16px;
     --r-xl: 24px;
     --r-2xl: 32px;
     --r-full: 100px;

     --sh-xs: 0 1px 2px rgba(0, 0, 0, .05);
     --sh-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);
     --sh-md: 0 4px 12px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .04);
     --sh-lg: 0 12px 32px rgba(0, 0, 0, .10), 0 4px 8px rgba(0, 0, 0, .04);
     --sh-xl: 0 24px 48px rgba(0, 0, 0, .12), 0 8px 16px rgba(0, 0, 0, .06);

     --font-display: 'Sora', 'Inter', sans-serif;
     --font-body: 'Inter', sans-serif;
     --nav-h: 56px;
 }

 [data-theme="dark"] {
     --c-bg: #111110;
     --c-surface: #1C1C1A;
     --c-border: #2A2A28;
     --c-border-light: #232321;
     --c-text-primary: #F4F3F0;
     --c-text-secondary: #A09F99;
     --c-text-muted: #6B6A64;
     --c-accent: #22C278;
     --c-accent-light: #0D2B1F;
     --c-accent-hover: #1EAA69;
     --c-amber: #F59E0B;
     --c-amber-light: #1F1500;
     --c-danger: #F87171;
     --c-danger-light: #1F0A0A;
     --c-danger-border: #3F1515;
     --sh-xs: 0 1px 2px rgba(0, 0, 0, .2);
     --sh-sm: 0 1px 3px rgba(0, 0, 0, .3);
     --sh-md: 0 4px 12px rgba(0, 0, 0, .4);
     --sh-lg: 0 12px 32px rgba(0, 0, 0, .5);
     --sh-xl: 0 24px 48px rgba(0, 0, 0, .6);
 }

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

 html {
     scroll-behavior: smooth;
     -webkit-text-size-adjust: 100%;
 }

 body {
     font-family: var(--font-body);
     background: var(--c-bg);
     color: var(--c-text-primary);
     line-height: 1.6;
     -webkit-font-smoothing: antialiased;
     transition: background .2s, color .2s;
     overflow-x: hidden;
 }

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

 a {
     color: inherit;
     text-decoration: none;
 }

 ul {
     list-style: none;
 }

 button {
     cursor: pointer;
     font-family: inherit;
     border: none;
     background: none;
 }

 /* ─── NAV ─────────────────────────────────────────────────────────── */
 .nav {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 200;
     height: var(--nav-h);
     background: rgba(17, 17, 16, .95);
     backdrop-filter: blur(16px);
     -webkit-backdrop-filter: blur(16px);
     border-bottom: 1px solid var(--c-border);
     transition: background .2s;
 }

 [data-theme="light"] .nav {
     background: rgba(250, 250, 249, .92);
 }

 .nav-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 100%;
     max-width: 1120px;
     margin: 0 auto;
     padding: 0 20px;
 }

 .nav-logo {
     display: flex;
     align-items: center;
     gap: 9px;
     font-family: var(--font-display);
     font-size: 17px;
     font-weight: 700;
     color: var(--c-text-primary);
     letter-spacing: -.02em;
 }

 .nav-logo-mark {
     width: 30px;
     height: 30px;
     background: var(--c-accent);
     border-radius: 7px;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

 .nav-logo-mark svg {
     width: 16px;
     height: 16px;
 }

 .nav-links {
     display: flex;
     align-items: center;
     gap: 2px;
 }

 .nav-link {
     font-size: 13px;
     font-weight: 500;
     color: var(--c-text-secondary);
     padding: 5px 10px;
     border-radius: var(--r-sm);
     transition: color .12s, background .12s;
 }

 .nav-link:hover {
     color: var(--c-text-primary);
     background: var(--c-border-light);
 }

 .nav-actions {
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .nav-theme-btn {
     width: 32px;
     height: 32px;
     border-radius: var(--r-sm);
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--c-text-secondary);
     border: 1px solid var(--c-border);
     transition: all .12s;
 }

 .nav-theme-btn:hover {
     color: var(--c-text-primary);
     border-color: var(--c-text-muted);
 }

 .nav-menu-btn {
     display: none;
     width: 32px;
     height: 32px;
     border-radius: var(--r-sm);
     align-items: center;
     justify-content: center;
     color: var(--c-text-primary);
     border: 1px solid var(--c-border);
 }

 .btn-nav {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 7px;
     font-size: 13px;
     font-weight: 600;
     border-radius: var(--r-md);
     padding: 8px 16px;
     transition: all .15s ease;
     white-space: nowrap;
     line-height: 1;
 }

 .btn-nav-primary {
     background: var(--c-accent);
     color: #fff;
     box-shadow: 0 1px 2px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .12);
 }

 .btn-nav-primary:hover {
     background: var(--c-accent-hover);
     transform: translateY(-1px);
 }

 .btn-nav-secondary {
     background: var(--c-surface);
     color: var(--c-text-primary);
     border: 1px solid var(--c-border);
     box-shadow: var(--sh-xs);
 }

 .btn-nav-secondary:hover {
     border-color: var(--c-text-muted);
 }

 /* mobile drawer */
 .nav-mobile {
     display: none;
     position: fixed;
     top: var(--nav-h);
     left: 0;
     right: 0;
     background: var(--c-surface);
     border-bottom: 1px solid var(--c-border);
     padding: 16px 20px 20px;
     z-index: 199;
     box-shadow: var(--sh-lg);
 }

 .nav-mobile.open {
     display: block;
 }

 .nav-mobile-links {
     display: flex;
     flex-direction: column;
     gap: 4px;
     margin-bottom: 16px;
 }

 .nav-mobile-link {
     font-size: 15px;
     font-weight: 500;
     color: var(--c-text-secondary);
     padding: 10px 12px;
     border-radius: var(--r-sm);
     display: block;
     transition: all .1s;
 }

 .nav-mobile-link:hover {
     background: var(--c-bg);
     color: var(--c-text-primary);
 }

 .nav-mobile-actions {
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .nav-mobile-actions .btn-nav {
     width: 100%;
     font-size: 15px;
     padding: 12px 20px;
     border-radius: var(--r-lg);
 }

 /* ─── FLASH ─────────────────────────────────────────────────────────── */
 .flash-wrap {
     position: fixed;
     top: calc(var(--nav-h) + 12px);
     left: 50%;
     transform: translateX(-50%);
     z-index: 300;
     width: calc(100% - 40px);
     max-width: 460px;
     pointer-events: none;
 }

 .flash {
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 13px 18px;
     border-radius: var(--r-lg);
     font-size: 14px;
     font-weight: 500;
     box-shadow: var(--sh-lg);
     animation: slideDown .25s ease;
     pointer-events: auto;
 }

 .flash-success {
     background: var(--c-accent-light);
     color: var(--c-accent);
     border: 1px solid var(--c-accent);
 }

 .flash-error {
     background: var(--c-danger-light);
     color: var(--c-danger);
     border: 1px solid var(--c-danger-border);
 }

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

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

 /* ─── BREADCRUMB ─────────────────────────────────────────────────────── */
 .breadcrumb-bar {
     max-width: 1120px;
     margin: 0 auto;
     padding: calc(var(--nav-h) + 24px) 20px 0;
     display: flex;
     align-items: center;
     gap: 6px;
     font-size: 13px;
     color: var(--c-text-muted);
 }

 .breadcrumb-bar a {
     color: var(--c-text-muted);
     transition: color .12s;
 }

 .breadcrumb-bar a:hover {
     color: var(--c-accent);
 }

 .breadcrumb-sep {
     color: var(--c-border);
 }

 .breadcrumb-current {
     color: var(--c-text-secondary);
     font-weight: 500;
 }

 /* ─── MAIN LAYOUT ─────────────────────────────────────────────────────── */
 .page-wrap {
     max-width: 1120px;
     margin: 0 auto;
     padding: 24px 20px 80px;
 }

 .listing-layout {
     display: grid;
     grid-template-columns: 1fr 420px;
     gap: 28px;
     align-items: start;
 }

 /* ─── IMAGE PANEL ─────────────────────────────────────────────────────── */
 .img-panel {
     position: sticky;
     top: calc(var(--nav-h) + 20px);
 }

 .img-main-wrap {
     border-radius: var(--r-xl);
     overflow: hidden;
     border: 1px solid var(--c-border);
     box-shadow: var(--sh-lg);
     background: var(--c-surface);
     aspect-ratio: 4/3;
 }

 .img-main {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform .4s ease;
 }

 .img-main-wrap:hover .img-main {
     transform: scale(1.02);
 }

 .img-placeholder {
     width: 100%;
     height: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 10px;
     background: var(--c-bg);
     font-size: 52px;
     color: var(--c-border);
 }

 .img-placeholder span {
     font-size: 13px;
     color: var(--c-text-muted);
     font-family: var(--font-body);
 }

 .img-thumbs {
     display: flex;
     gap: 8px;
     margin-top: 10px;
     flex-wrap: wrap;
 }

 .img-thumb {
     width: 68px;
     height: 68px;
     border-radius: var(--r-md);
     object-fit: cover;
     border: 2px solid var(--c-border);
     cursor: pointer;
     transition: border-color .15s, transform .15s;
 }

 .img-thumb:hover,
 .img-thumb.active {
     border-color: var(--c-accent);
     transform: translateY(-2px);
 }

 .sold-overlay {
     position: absolute;
     top: 16px;
     left: 16px;
     background: var(--c-danger);
     color: #fff;
     font-size: 12px;
     font-weight: 700;
     letter-spacing: .06em;
     text-transform: uppercase;
     padding: 4px 12px;
     border-radius: var(--r-full);
 }

 /* ─── DETAILS PANEL ───────────────────────────────────────────────────── */
 .details-panel {
     display: flex;
     flex-direction: column;
     gap: 18px;
 }

 .detail-card {
     background: var(--c-surface);
     border: 1px solid var(--c-border);
     border-radius: var(--r-xl);
     padding: 24px;
     box-shadow: var(--sh-sm);
 }

 .listing-category {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     background: var(--c-accent-light);
     color: var(--c-accent);
     padding: 4px 12px;
     border-radius: var(--r-full);
     font-size: 11px;
     font-weight: 700;
     letter-spacing: .05em;
     text-transform: uppercase;
     margin-bottom: 12px;
 }

 .listing-title {
     font-family: var(--font-display);
     font-size: clamp(22px, 3vw, 30px);
     font-weight: 700;
     letter-spacing: -.02em;
     line-height: 1.2;
     color: var(--c-text-primary);
     margin-bottom: 10px;
 }

 .listing-price {
     font-family: var(--font-display);
     font-size: clamp(28px, 4vw, 38px);
     font-weight: 700;
     color: var(--c-accent);
     letter-spacing: -.03em;
     line-height: 1;
     margin-bottom: 6px;
 }

 .listing-price-note {
     font-size: 12px;
     color: var(--c-text-muted);
     margin-bottom: 16px;
 }

 .meta-row {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     padding-top: 16px;
     border-top: 1px solid var(--c-border-light);
 }

 .meta-pill {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     background: var(--c-bg);
     border: 1px solid var(--c-border);
     border-radius: var(--r-full);
     padding: 5px 12px;
     font-size: 12px;
     color: var(--c-text-secondary);
     font-weight: 500;
 }

 .meta-pill svg {
     color: var(--c-text-muted);
     flex-shrink: 0;
 }

 /* description */
 .desc-card {
     padding: 20px 24px;
 }

 .desc-label {
     font-size: 11px;
     font-weight: 700;
     letter-spacing: .07em;
     text-transform: uppercase;
     color: var(--c-text-muted);
     margin-bottom: 10px;
 }

 .desc-text {
     font-size: 14px;
     color: var(--c-text-secondary);
     line-height: 1.75;
 }

 /* ─── SELLER CARD (UPDATED) ───────────────────────────────────────────── */
 .seller-card {
     padding: 20px 24px;
 }

 .seller-link {
     display: flex;
     align-items: center;
     gap: 14px;
     margin-bottom: 14px;
     text-decoration: none;
     padding: 10px;
     margin: -10px -10px 4px;
     border-radius: var(--r-lg);
     transition: background .15s;
 }

 .seller-link:hover {
     background: var(--c-bg);
 }

 .seller-avatar-wrap {
     position: relative;
     flex-shrink: 0;
 }

 /* avatar image */
 .seller-avatar-img {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid var(--c-accent);
     display: block;
 }

 /* initials fallback */
 .seller-avatar-initials {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     background: var(--c-accent-light);
     color: var(--c-accent);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 16px;
     font-weight: 700;
     font-family: var(--font-display);
     border: 2px solid var(--c-accent);
     flex-shrink: 0;
 }

 /* online dot */
 .seller-online-dot {
     position: absolute;
     bottom: 1px;
     right: 1px;
     width: 11px;
     height: 11px;
     border-radius: 50%;
     background: #22C55E;
     border: 2px solid var(--c-surface);
 }

 .seller-meta {
     flex: 1;
     min-width: 0;
 }

 .seller-name {
     font-size: 15px;
     font-weight: 700;
     color: var(--c-text-primary);
     margin-bottom: 2px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .seller-sub {
     font-size: 12px;
     color: var(--c-text-muted);
 }

 /* "View profile" chevron */
 .seller-chevron {
     color: var(--c-text-muted);
     flex-shrink: 0;
     transition: transform .15s;
 }

 .seller-link:hover .seller-chevron {
     transform: translateX(3px);
     color: var(--c-accent);
 }

 .seller-info {
     display: flex;
     flex-direction: column;
     gap: 8px;
     padding-top: 14px;
     border-top: 1px solid var(--c-border-light);
 }

 .seller-info-row {
     display: flex;
     align-items: center;
     gap: 10px;
     font-size: 13px;
     color: var(--c-text-secondary);
 }

 .seller-info-row svg {
     color: var(--c-text-muted);
     flex-shrink: 0;
 }

 .seller-info-val {
     font-weight: 600;
     color: var(--c-text-primary);
 }

 /* ─── CTA BUTTONS ─────────────────────────────────────────────────────── */
 .cta-card {
     padding: 20px 24px;
 }

 .cta-stack {
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .btn-buy {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 9px;
     width: 100%;
     background: var(--c-accent);
     color: #fff;
     font-size: 15px;
     font-weight: 700;
     padding: 15px 20px;
     border-radius: var(--r-lg);
     border: none;
     cursor: pointer;
     transition: all .15s;
     font-family: var(--font-body);
     box-shadow: 0 2px 8px rgba(34, 194, 120, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
 }

 .btn-buy:hover {
     background: var(--c-accent-hover);
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(34, 194, 120, .4);
 }

 .btn-buy:active {
     transform: translateY(0);
 }

 .btn-whatsapp {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 9px;
     width: 100%;
     background: #25D366;
     color: #fff;
     font-size: 14px;
     font-weight: 700;
     padding: 13px 20px;
     border-radius: var(--r-lg);
     border: none;
     cursor: pointer;
     transition: all .15s;
     font-family: var(--font-body);
     box-shadow: 0 2px 8px rgba(37, 211, 102, .3);
     text-decoration: none;
 }

 .btn-whatsapp:hover {
     background: #1ebe58;
     transform: translateY(-1px);
     box-shadow: 0 6px 16px rgba(37, 211, 102, .4);
 }

 .btn-wishlist {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     width: 100%;
     background: var(--c-surface);
     color: var(--c-text-primary);
     font-size: 14px;
     font-weight: 600;
     padding: 13px 20px;
     border-radius: var(--r-lg);
     border: 1px solid var(--c-border);
     cursor: pointer;
     transition: all .15s;
     box-shadow: var(--sh-xs);
     font-family: var(--font-body);
 }

 .btn-wishlist:hover {
     border-color: #F43F5E;
     color: #F43F5E;
     background: rgba(244, 63, 94, .06);
     transform: translateY(-1px);
 }

 .btn-wishlist.saved {
     border-color: #F43F5E;
     color: #F43F5E;
     background: rgba(244, 63, 94, .08);
 }

 .btn-wishlist.saved .heart-icon {
     fill: #F43F5E;
 }

 .btn-share {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     width: 100%;
     background: transparent;
     color: var(--c-text-muted);
     font-size: 13px;
     font-weight: 500;
     padding: 10px 20px;
     border-radius: var(--r-lg);
     border: 1px solid var(--c-border-light);
     cursor: pointer;
     transition: all .15s;
     font-family: var(--font-body);
 }

 .btn-share:hover {
     color: var(--c-text-secondary);
     border-color: var(--c-border);
 }

 .safe-note {
     display: flex;
     align-items: flex-start;
     gap: 9px;
     background: var(--c-accent-light);
     border: 1px solid rgba(34, 194, 120, .2);
     border-radius: var(--r-md);
     padding: 12px 14px;
     font-size: 12px;
     color: var(--c-accent);
     line-height: 1.5;
 }

 .safe-note svg {
     flex-shrink: 0;
     margin-top: 1px;
 }

 /* ─── FOOTER ──────────────────────────────────────────────────────── */
 .footer {
     background: var(--c-surface);
     border-top: 1px solid var(--c-border);
     padding: 44px 0 28px;
 }

 .footer-inner {
     max-width: 1120px;
     margin: 0 auto;
     padding: 0 20px;
 }

 .footer-top {
     display: grid;
     grid-template-columns: 2fr 1fr 1fr 1fr;
     gap: 40px;
     margin-bottom: 36px;
 }

 .footer-brand-desc {
     font-size: 13px;
     color: var(--c-text-muted);
     line-height: 1.7;
     margin-top: 10px;
     max-width: 240px;
 }

 .footer-col-title {
     font-size: 11px;
     font-weight: 700;
     letter-spacing: .07em;
     text-transform: uppercase;
     color: var(--c-text-muted);
     margin-bottom: 12px;
 }

 .footer-links {
     display: flex;
     flex-direction: column;
     gap: 7px;
 }

 .footer-link {
     font-size: 13px;
     color: var(--c-text-secondary);
     transition: color .1s;
 }

 .footer-link:hover {
     color: var(--c-text-primary);
 }

 .footer-bottom {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding-top: 20px;
     border-top: 1px solid var(--c-border-light);
 }

 .footer-copy {
     font-size: 12px;
     color: var(--c-text-muted);
 }

 .footer-legal {
     display: flex;
     gap: 16px;
 }

 .footer-legal a {
     font-size: 12px;
     color: var(--c-text-muted);
 }

 .footer-legal a:hover {
     color: var(--c-text-secondary);
 }

 /* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
 @media (max-width: 900px) {
     .listing-layout {
         grid-template-columns: 1fr;
         gap: 20px;
     }

     .img-panel {
         position: static;
     }

     .footer-top {
         grid-template-columns: 1fr 1fr;
         gap: 28px;
     }

     .footer-brand {
         grid-column: 1 / -1;
     }

     .footer-brand-desc {
         max-width: 100%;
     }
 }

 @media (max-width: 640px) {

     html,
     body {
         overflow-x: hidden;
         width: 100%;
     }

     :root {
         --nav-h: 52px;
     }

     .nav-links,
     .nav-desktop-cta {
         display: none;
     }

     .nav-menu-btn {
         display: flex;
     }

     .breadcrumb-bar {
         padding-top: calc(var(--nav-h) + 16px);
         font-size: 12px;
     }

     .page-wrap {
         padding: 16px 16px 80px;
     }

     .detail-card,
     .desc-card,
     .seller-card,
     .cta-card {
         padding: 18px 16px;
     }

     .listing-title {
         font-size: 22px;
     }

     .listing-price {
         font-size: 28px;
     }

     .img-main-wrap {
         border-radius: var(--r-lg);
         aspect-ratio: 1/1;
     }

     .footer-top {
         grid-template-columns: 1fr;
         gap: 24px;
     }

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

     .footer-legal {
         flex-wrap: wrap;
         justify-content: center;
         gap: 10px;
     }

     .mobile-cta-bar {
         display: flex !important;
     }
 }

 /* sticky bottom bar — mobile only */
 .mobile-cta-bar {
     display: none;
     position: fixed;
     bottom: 0;
     left: 0;
     right: 0;
     z-index: 150;
     background: var(--c-surface);
     border-top: 1px solid var(--c-border);
     padding: 12px 16px;
     gap: 10px;
     box-shadow: 0 -4px 24px rgba(0, 0, 0, .15);
 }

 .mobile-cta-bar .btn-buy {
     flex: 1;
     font-size: 14px;
     padding: 13px 12px;
 }

 .mobile-cta-bar .btn-whatsapp {
     flex: 1;
     font-size: 14px;
     padding: 13px 12px;
 }

 /* ─── UTILITY ─────────────────────────────────────────────────────── */
 .sr-only {
     position: absolute;
     width: 1px;
     height: 1px;
     padding: 0;
     margin: -1px;
     overflow: hidden;
     clip: rect(0, 0, 0, 0);
     white-space: nowrap;
     border: 0;
 }

 @media (prefers-reduced-motion: reduce) {

     *,
     *::before,
     *::after {
         animation-duration: .01ms !important;
         transition-duration: .01ms !important;
     }
 }