/* Base */
html, body { height: 100%; margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #000000; color: #333; }

.header { margin: 0 auto;text-align:center; padding: 40px;max-width: 100%; padding-left: 0px;padding-right: 0px; padding-bottom: 20px; }

.header-image { max-width: 100%;padding-top: 20px; }
.container { max-width: 1200px; margin: 40px auto; text-align: center; padding-left: 20px; padding-right: 20px;}

.logo { max-width: 300px; height: auto; margin-bottom: 20px; }

:where(button, a):focus { outline: 3px solid #111827; outline-offset: 2px; }

.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; }


/* Grid / Cards */
.clg-wrap { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.clg-controls { display:flex; justify-content:center; margin:12px 0 0; }
.clg-load { padding:10px 14px; border-radius:10px; border:1px solid #111827; background:#fff; font-weight:600; cursor:pointer; margin-bottom: 30px; margin-top: 10px; }
.clg-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:16px; width:100%; }
@media (max-width: 640px) { .clg-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); } }
.clg-card { border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; background:#fff; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); display:flex; flex-direction:column; }
.clg-media { width:100%; background:#fafafa; }
.clg-swiper { width:100%; height:auto; }
.clg-slide { display:flex; align-items:center; justify-content:center; }
.clg-slide img { width:100%; height:auto; object-fit:cover; aspect-ratio: 1 / 1; background:#fafafa; }
.clg-body { padding:12px; display:flex; flex-direction:column; gap:8px; height: 100%;}
.clg-title { font-size:14px; line-height:1.3; font-weight:600; color:#111827; height: 100%; }
.clg-price { font-size:14px; font-weight:500; }
.clg-actions { display:flex; gap:8px; margin-top:8px; justify-content: center; }

/* Buttons */
.btn { cursor:pointer; display:inline-flex; align-items:center; justify-content:center; padding:8px 10px; border-radius:10px; border:1px solid #111827; color:#111827; text-decoration:none; line-height:13px; font-size:13px; font-weight:600; transition: background .2s, color .2s; }
.btn:hover { background:#111827; color:#fff; }
.btn-outline { background:#fff; border-color:#e5e7eb; color:#111827; }
.btn-primary { background:#111827; color:#fff; border-color:#111827; }

/* Cart bar */
.cartbar { position:sticky; bottom:12px; display:flex; gap:8px; justify-content:center; margin-top:16px; display: none;}

/* FAB button */
.fab-cart { position:fixed; right:40px; top:35px; z-index:99998; display:inline-flex; align-items:center; gap:8px; background:#cd1414; color:#fff; border:1px solid #111827; padding:10px 14px; border-radius:999px; font-weight:700; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.15); }

@media (max-width: 900px) {
.fab-cart { bottom:16px !important; top:auto !important; right:16px !important;}
}

.fab-badge { margin-left:6px; background:#fff; color:#111827; border-radius:999px; padding:2px 8px; font-weight:800; }

/* Drawer */
.cart-drawer { }
.cart-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.35); opacity:0; pointer-events:none; transition:.2s; z-index:99996; }
.cart-panel { position:fixed; top:0; right:-380px; height:100vh; width:360px; max-width:90vw; background:#fff; box-shadow:-8px 0 24px rgba(0,0,0,.15); transition:right .25s ease; z-index:99997; display:flex; flex-direction:column; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; }
.cart-header { padding:16px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #eee; }
.cart-title { font-size:16px; font-weight:700; }
.cart-close { border:none; background:transparent; font-size:20px; cursor:pointer; line-height:1; }
.cart-list { padding:12px; overflow:auto;}
.cart-row { display:flex; gap:10px; align-items:center; padding:8px 4px; border-bottom:1px dashed #eee; }
.cart-thumb { width:56px; height:56px; object-fit:cover; border-radius:8px; background:#f5f5f5; }
.cart-row-title { font-weight:600; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cart-price-line { font-size:12px; color:#374151; }
.cart-footer { border-top:1px solid #eee; padding:12px; display:flex; flex-direction:column; gap:8px; }
.cart-total { display:flex; justify-content:space-between; font-weight:700; }

/* Empty */
.clg-empty { padding:24px; text-align:center; color:#6b7280; }



/* SWIPER CUSTOMIZATION */

:root {
    --swiper-theme-color: rgb(0, 0, 0);
}