/* ============================================
   BARKEYO — Main Stylesheet
   assets/css/style.css
   Colors: #F5C518 (Yellow) | #1a1a1a (Black) | #fff (White)
   ============================================ */

:root {
  --yellow: #F5C518;
  --black:  #1a1a1a;
  --white:  #ffffff;
  --gray:   #f4f4f4;
  --border: #e8e8e8;
  --text:   #1a1a1a;
  --muted:  #666;
  --success:#2e7d32;
  --danger: #c62828;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --trans:  all 0.2s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size:15px; color:var(--text); background:#fff; line-height:1.6; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { cursor:pointer; font-family:inherit; }
input, select, textarea { font-family:inherit; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ---- Topbar ---- */
.topbar { background:var(--black); color:var(--yellow); text-align:center; padding:9px 40px; font-size:12px; letter-spacing:1px; position:relative; }
.topbar-sep { margin:0 12px; opacity:0.4; }
.topbar-close { position:absolute; right:16px; top:50%; transform:translateY(-50%); background:none; border:none; color:var(--yellow); font-size:14px; }

/* ---- Flash ---- */
.flash { padding:12px 20px; font-size:14px; display:flex; align-items:center; justify-content:space-between; }
.flash button { background:none; border:none; font-size:18px; }
.flash-success { background:#e8f5e9; color:#1b5e20; border-bottom:1px solid #a5d6a7; }
.flash-error   { background:#ffebee; color:#b71c1c; border-bottom:1px solid #ef9a9a; }
.flash-info    { background:#e3f2fd; color:#0d47a1; border-bottom:1px solid #90caf9; }

/* ---- Header / Nav ---- */
.site-header { background:#fff; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:200; }
.nav-main { display:flex; align-items:center; gap:20px; padding:0 20px; height:64px; max-width:1400px; margin:0 auto; }
.logo img { height:40px; }
.nav-cats { display:flex; gap:4px; }
.nav-cats li { position:relative; }
.nav-cats a { font-size:13px; color:var(--text); padding:8px 12px; border-radius:20px; display:block; letter-spacing:0.5px; transition:var(--trans); }
.nav-cats a:hover, .nav-cats a.active { background:var(--yellow); color:var(--black); }
.dropdown { display:none; position:absolute; top:100%; left:0; background:#fff; border:1px solid var(--border); border-radius:var(--radius); min-width:160px; box-shadow:var(--shadow); z-index:100; padding:8px 0; }
.has-dropdown:hover .dropdown { display:block; }
.dropdown li a { padding:8px 16px; font-size:13px; border-radius:0; }
.dropdown li a:hover { background:var(--gray); }
.nav-right { margin-left:auto; display:flex; align-items:center; gap:12px; }
.search-form { display:flex; align-items:center; background:var(--gray); border-radius:20px; overflow:hidden; padding:0 14px; }
.search-form input { border:none; background:transparent; outline:none; padding:8px 0; font-size:13px; width:160px; }
.search-form button { background:none; border:none; font-size:15px; color:var(--muted); }
.nav-icon { font-size:20px; position:relative; padding:4px; }
.cart-badge { position:absolute; top:-6px; right:-6px; background:var(--yellow); color:var(--black); font-size:9px; font-weight:700; width:17px; height:17px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.hamburger { display:none; background:none; border:none; font-size:22px; }

/* Mobile menu */
.mobile-menu { display:none; position:fixed; inset:0; background:#fff; z-index:500; padding:60px 24px 24px; overflow-y:auto; }
.mobile-menu.open { display:block; }
.mobile-close { position:absolute; top:20px; right:20px; background:none; border:none; font-size:24px; }
.mobile-menu ul { display:flex; flex-direction:column; gap:4px; }
.mobile-menu a { display:block; padding:14px 0; font-size:16px; border-bottom:1px solid var(--border); }

/* ---- Buttons ---- */
.btn { display:inline-block; padding:12px 28px; border-radius:3px; font-size:13px; font-weight:600; letter-spacing:1px; transition:var(--trans); border:2px solid transparent; }
.btn-primary { background:var(--black); color:var(--yellow); }
.btn-primary:hover { background:#333; }
.btn-yellow { background:var(--yellow); color:var(--black); border-color:var(--yellow); }
.btn-yellow:hover { background:#e5b808; }
.btn-outline { background:transparent; color:var(--black); border-color:var(--black); }
.btn-outline:hover { background:var(--black); color:var(--yellow); }
.btn-sm { padding:8px 18px; font-size:12px; }
.btn-full { width:100%; text-align:center; }

/* ---- Section headers ---- */
.section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.section-head h2 { font-size:20px; font-weight:600; letter-spacing:0.5px; }
.section-head a { font-size:13px; color:var(--black); border-bottom:1px solid var(--black); }

/* ---- Product card ---- */
.product-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:16px; }
.product-card { border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:#fff; transition:var(--trans); }
.product-card:hover { border-color:var(--yellow); box-shadow:var(--shadow); transform:translateY(-2px); }
.product-card .img-wrap { position:relative; aspect-ratio:3/4; overflow:hidden; background:var(--gray); }
.product-card .img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s; }
.product-card:hover .img-wrap img { transform:scale(1.04); }
.product-card .badges { position:absolute; top:10px; left:10px; display:flex; flex-direction:column; gap:4px; }
.badge-new  { background:var(--yellow); color:var(--black); font-size:9px; padding:3px 8px; font-weight:700; letter-spacing:1.5px; border-radius:2px; }
.badge-hot  { background:var(--black); color:var(--yellow); font-size:9px; padding:3px 8px; font-weight:700; letter-spacing:1.5px; border-radius:2px; }
.badge-sale { background:#c62828; color:#fff; font-size:9px; padding:3px 8px; font-weight:700; letter-spacing:1.5px; border-radius:2px; }
.wish-btn { position:absolute; top:10px; right:10px; background:#fff; border:none; width:30px; height:30px; border-radius:50%; font-size:16px; display:flex; align-items:center; justify-content:center; transition:var(--trans); }
.wish-btn.active { color:#e53935; }
.product-card .info { padding:12px; }
.product-card .cat { font-size:10px; color:var(--muted); letter-spacing:2px; margin-bottom:4px; }
.product-card .name { font-size:14px; font-weight:500; margin-bottom:4px; }
.product-card .stars { color:var(--yellow); font-size:12px; margin-bottom:6px; display:flex; align-items:center; gap:4px; }
.product-card .stars span { color:var(--muted); font-size:10px; font-weight:500; }
.product-card .prices { display:flex; align-items:center; gap:8px; }
.price-now { font-size:15px; font-weight:700; }
.price-old { font-size:12px; color:var(--muted); text-decoration:line-through; }
.price-dis  { font-size:11px; color:var(--success); font-weight:600; }
.product-card .atc { width:100%; margin-top:10px; background:var(--black); color:var(--yellow); border:none; padding:9px; font-size:11px; font-weight:600; letter-spacing:1.5px; border-radius:2px; transition:var(--trans); }
.product-card .atc:hover { background:var(--yellow); color:var(--black); }

/* ---- Hero ---- */
.hero { background:var(--yellow); display:grid; grid-template-columns:1fr 1fr; min-height:400px; overflow:hidden; }
.hero-content { padding:60px 50px; display:flex; flex-direction:column; justify-content:center; }
.hero-tag { font-size:11px; letter-spacing:4px; color:rgba(0,0,0,0.5); margin-bottom:16px; }
.hero-title { font-size:52px; font-weight:700; line-height:1.05; color:var(--black); margin-bottom:16px; }
.hero-title em { font-style:normal; color:#fff; -webkit-text-stroke:2px var(--black); }
.hero-sub { font-size:15px; color:rgba(0,0,0,0.65); margin-bottom:30px; }
.hero-btns { display:flex; gap:12px; flex-wrap:wrap; }
.hero-img { background:var(--black); display:flex; align-items:center; justify-content:center; }

/* ---- Marquee ---- */
.marquee-bar { background:var(--black); padding:10px 0; overflow:hidden; white-space:nowrap; }
.marquee-inner { display:inline-flex; gap:48px; animation:marquee 25s linear infinite; }
.marquee-item { font-size:11px; letter-spacing:3px; color:var(--yellow); font-weight:600; }
.marquee-dot  { color:#fff; font-size:8px; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ---- Features strip ---- */
.features-strip { display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--border); }
.feat-item { display:flex; align-items:center; gap:12px; padding:16px 20px; border-right:1px solid var(--border); }
.feat-item:last-child { border-right:none; }
.feat-icon { font-size:22px; flex-shrink:0; }
.feat-text strong { font-size:13px; display:block; }
.feat-text span { font-size:11px; color:var(--muted); }

/* ---- Category circles ---- */
.cat-scroll { display:flex; gap:16px; overflow-x:auto; padding-bottom:8px; scrollbar-width:none; }
.cat-scroll::-webkit-scrollbar { display:none; }
.cat-item { display:flex; flex-direction:column; align-items:center; gap:8px; flex-shrink:0; cursor:pointer; }
.cat-circle { width:80px; height:80px; border-radius:50%; background:var(--gray); display:flex; align-items:center; justify-content:center; font-size:28px; border:2px solid transparent; transition:var(--trans); }
.cat-item:hover .cat-circle, .cat-item.active .cat-circle { border-color:var(--yellow); background:rgba(245,197,24,0.1); }
.cat-name { font-size:11px; letter-spacing:1px; color:var(--muted); font-weight:500; }

/* ---- Section paddings ---- */
.section { padding:40px 0; }
.section-sm { padding:24px 0; }
.section-lg { padding:60px 0; }
.section-bg { background:var(--gray); }

/* ---- Banner cards ---- */
.banner-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.banner-card { border-radius:var(--radius); padding:32px; position:relative; overflow:hidden; min-height:180px; display:flex; flex-direction:column; justify-content:flex-end; cursor:pointer; transition:var(--trans); }
.banner-card:hover { transform:translateY(-3px); }
.banner-card .tag { font-size:10px; letter-spacing:3px; margin-bottom:6px; }
.banner-card h3 { font-size:22px; font-weight:600; margin-bottom:14px; }
.banner-black { background:var(--black); }
.banner-black .tag, .banner-black h3 { color:#fff; }
.banner-black .btn-banner { background:var(--yellow); color:var(--black); }
.banner-yellow { background:var(--yellow); }
.banner-yellow .tag, .banner-yellow h3 { color:var(--black); }
.banner-yellow .btn-banner { background:var(--black); color:var(--yellow); }
.btn-banner { display:inline-block; padding:9px 20px; font-size:11px; font-weight:700; letter-spacing:2px; border-radius:2px; }

/* ---- Reviews ---- */
.reviews-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.review-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:18px; }
.review-card .stars { color:var(--yellow); font-size:13px; margin-bottom:8px; }
.review-card p { font-size:13px; color:var(--muted); line-height:1.6; margin-bottom:10px; }
.review-card .reviewer { font-size:12px; font-weight:600; }
.review-card .r-date { font-size:11px; color:var(--muted); }

/* ---- Forms ---- */
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:13px; font-weight:500; margin-bottom:6px; }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:11px 14px; border:1px solid var(--border); border-radius:var(--radius);
  font-size:14px; transition:var(--trans); background:#fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline:none; border-color:var(--yellow); box-shadow:0 0 0 3px rgba(245,197,24,0.15);
}
.form-error { font-size:12px; color:var(--danger); margin-top:4px; }

/* ---- Cart / Checkout ---- */
.cart-table { width:100%; border-collapse:collapse; }
.cart-table th { font-size:11px; letter-spacing:2px; padding:10px 0; border-bottom:2px solid var(--border); text-align:left; }
.cart-table td { padding:14px 0; border-bottom:1px solid var(--border); vertical-align:middle; }
.qty-control { display:flex; align-items:center; gap:10px; }
.qty-control button { width:28px; height:28px; border:1px solid var(--border); background:#fff; border-radius:4px; font-size:16px; }
.cart-summary { background:var(--gray); border-radius:var(--radius); padding:24px; }
.summary-row { display:flex; justify-content:space-between; padding:8px 0; font-size:14px; }
.summary-row.total { font-size:18px; font-weight:700; border-top:2px solid var(--border); margin-top:8px; padding-top:12px; }

/* ---- Orders / Account ---- */
.order-card { border:1px solid var(--border); border-radius:var(--radius); padding:20px; margin-bottom:16px; }
.order-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.status-badge { font-size:11px; padding:4px 12px; border-radius:20px; font-weight:600; letter-spacing:1px; }
.status-pending    { background:#fff3e0; color:#e65100; }
.status-confirmed  { background:#e8f5e9; color:#1b5e20; }
.status-shipped    { background:#e3f2fd; color:#0d47a1; }
.status-delivered  { background:#e8f5e9; color:#1b5e20; }
.status-cancelled  { background:#ffebee; color:#b71c1c; }
.status-returned   { background:#f3e5f5; color:#4a148c; }

/* ---- Return module ---- */
.return-steps { display:flex; gap:0; margin-bottom:32px; }
.return-step { flex:1; text-align:center; padding:14px; border-bottom:3px solid var(--border); font-size:13px; color:var(--muted); }
.return-step.active { border-color:var(--yellow); color:var(--black); font-weight:600; }
.return-step.done  { border-color:var(--success); color:var(--success); }

/* ---- Pagination ---- */
.pagination { display:flex; gap:8px; justify-content:center; margin-top:32px; }
.pagination a, .pagination span { display:inline-block; padding:8px 14px; border:1px solid var(--border); border-radius:var(--radius); font-size:13px; transition:var(--trans); }
.pagination a:hover { border-color:var(--yellow); }
.pagination .current { background:var(--yellow); color:var(--black); border-color:var(--yellow); font-weight:700; }

/* ---- Newsletter ---- */
.newsletter-section { background:var(--black); color:#fff; padding:48px 0; text-align:center; }
.newsletter-section h3 { font-size:24px; margin-bottom:8px; }
.newsletter-section p { color:rgba(255,255,255,0.6); margin-bottom:20px; }
.newsletter-form { display:flex; gap:0; max-width:420px; margin:0 auto; border-radius:var(--radius); overflow:hidden; }
.newsletter-form input { flex:1; padding:13px 18px; border:none; font-size:14px; }
.newsletter-form button { background:var(--yellow); color:var(--black); border:none; padding:13px 24px; font-weight:700; letter-spacing:1px; }

/* ---- Trust bar ---- */
.trust-bar { border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:20px 0; }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.trust-item { display:flex; align-items:center; gap:12px; }
.trust-icon { font-size:24px; }
.trust-item strong { font-size:13px; display:block; }
.trust-item span { font-size:11px; color:var(--muted); }

/* ---- Footer ---- */
.site-footer { background:var(--black); color:#fff; padding:48px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1.5fr; gap:32px; padding-bottom:40px; }
.footer-brand { }
.footer-logo { font-size:22px; font-weight:700; letter-spacing:4px; color:var(--yellow); display:block; margin-bottom:12px; }
.footer-brand p { font-size:13px; line-height:1.7; margin-bottom:16px; }
.social-links { display:flex; gap:12px; }
.social-links a { font-size:20px; opacity:0.7; transition:var(--trans); }
.social-links a:hover { opacity:1; }
.site-footer h4 { font-size:11px; letter-spacing:2px; color:var(--yellow); margin-bottom:16px; }
.site-footer ul { display:flex; flex-direction:column; gap:8px; }
.site-footer ul li a { font-size:13px; color:#fff; opacity:0.7; transition:var(--trans); }
.site-footer ul li a:hover { opacity:1; color:var(--yellow); }
.payment-icons { display:flex; flex-wrap:wrap; gap:6px; margin-top:16px; }
.payment-icons span { background:rgba(255,255,255,0.1); color:#fff; font-size:10px; padding:4px 10px; border-radius:3px; letter-spacing:1px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding:18px 0; }
.footer-bottom .container { display:flex; justify-content:space-between; align-items:center; }
.footer-bottom p { font-size:12px; opacity:0.5; }
.footer-bottom a { opacity:0.7; }
.footer-bottom a:hover { opacity:1; color:var(--yellow); }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size:12px; color:var(--muted); padding:12px 0; }
.breadcrumb a { color:var(--muted); }
.breadcrumb a:hover { color:var(--black); }
.breadcrumb span { margin:0 6px; }

/* ---- Empty state ---- */
.empty-state { text-align:center; padding:60px 20px; }
.empty-state .icon { font-size:56px; margin-bottom:16px; }
.empty-state h3 { font-size:20px; margin-bottom:8px; }
.empty-state p { color:var(--muted); margin-bottom:24px; }

/* ---- Loading spinner ---- */
.spinner { width:24px; height:24px; border:3px solid var(--border); border-top-color:var(--black); border-radius:50%; animation:spin 0.7s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-title { font-size:40px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px; }
  .reviews-grid { grid-template-columns:repeat(2,1fr); }
  .banner-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar .topbar-sep, .topbar span:last-of-type { display:none; }
  .nav-cats, .search-form { display:none; }
  .hamburger { display:block; }
  .hero { grid-template-columns:1fr; }
  .hero-img { display:none; }
  .hero-content { padding:40px 24px; }
  .hero-title { font-size:34px; }
  .features-strip { grid-template-columns:repeat(2,1fr); }
  .feat-item { border-right:none; border-bottom:1px solid var(--border); }
  .feat-item:nth-child(odd) { border-right:1px solid var(--border); }
  .banner-grid { grid-template-columns:1fr; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-bottom .container { flex-direction:column; gap:8px; text-align:center; }
  .product-grid { grid-template-columns:repeat(2,1fr); }
  .reviews-grid { grid-template-columns:1fr; }
}
@media (max-width: 480px) {
  .hero-title { font-size:28px; }
  .features-strip { grid-template-columns:1fr; }
  .feat-item { border-right:none; }
  .footer-grid { grid-template-columns:1fr; }
  .trust-grid { grid-template-columns:1fr; }
  .newsletter-form { flex-direction:column; border-radius:0; }
}