* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: Arial, sans-serif; background:#fff; color:#111; }

/* ---------- HEADER ---------- */
/* ---------- HEADER (minimal, logo centered) ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;   /* pushes logo center, hamburger right */
    padding: 0 16px;
}

/* Center the logo while keeping the hamburger on the right */
.logo {
    flex: 1;
    text-align: center;
}
.logo a {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-decoration: none;
    color: #111;
    text-transform: uppercase;
}

/* Hamburger – stays fixed to the right */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    position: relative;
    z-index: 10;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

/* Hamburger slide‑out panel */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 15px rgba(0,0,0,0.05);
    transition: right 0.3s ease;
    z-index: 1100;
    padding: 20px;
}
.hamburger-menu.open { right: 0; }
.menu-content h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #111;
}
.menu-content a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
}
.currency-switcher {
    margin-top: 20px;
}
.currency-switcher label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 6px;
}
#currency-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    font-size: 0.9rem;
}

/* ---------- SEARCH ---------- */
.search-bar { margin:72px 16px 16px; max-width:600px; position:relative; }
.search-bar input { width:100%; padding:10px 16px 10px 36px; border:1px solid #e0e0e0; border-radius:24px; font-size:0.9rem; outline:none; background:#f7f7f7; }
.search-bar input:focus { background:#fff; border-color:#999; }
.search-icon { position:absolute; left:28px; top:50%; transform:translateY(-50%); color:#888; }

/* ---------- GRID ---------- */
.product-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:12px; padding:0 16px 80px; }
.no-results { display:none; text-align:center; padding:40px; color:#666; }

/* ---------- CARD ---------- */
.product-card { background:#fff; border-radius:8px; overflow:visible; position:relative; display:flex; flex-direction:column; }
.badge { position:absolute; top:8px; left:8px; padding:2px 8px; font-size:0.65rem; font-weight:600; text-transform:uppercase; border-radius:4px; z-index:2; }
.badge.new-arrival { background:#111; color:#fff; }
.badge.sale { background:#d32f2f; color:#fff; }
.badge.limited-edition { background:#f57c00; color:#fff; }

/* Images */
.card-images { position:relative; }
.front-img { width:100%; aspect-ratio:2/3; object-fit:cover; display:block; border-radius:8px; background:#f5f5f5; }
.back-img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; border-radius:8px; }
.swipe-dots { display:flex; justify-content:center; gap:6px; margin-top:6px; }
.dot { width:6px; height:6px; border-radius:50%; background:#ccc; cursor:pointer; }
.dot.active { background:#111; }

/* Quick add */
.quick-add-btn { width:100%; margin-top:8px; padding:10px; background:#111; color:#fff; border:none; border-radius:4px; font-size:0.85rem; font-weight:600; cursor:pointer; }
.quick-add-btn:disabled { background:#ccc; cursor:not-allowed; }

/* Color swatches */
.color-swatches { display:flex; align-items:center; gap:6px; margin-top:10px; }
.color-swatch { width:16px; height:16px; border-radius:50%; border:1.5px solid #ddd; cursor:pointer; transition:transform 0.2s; }
.color-swatch.active { transform:scale(1.3); border-color:#111; }
.color-count { font-size:0.7rem; color:#888; margin-left:4px; }

/* Size pills */
.size-selector { display:flex; gap:6px; margin:8px 0; flex-wrap:wrap; }
.size-pill { padding:4px 10px; border:1px solid #ccc; border-radius:4px; background:#fff; font-size:0.75rem; cursor:pointer; }
.size-pill.active { background:#111; color:#fff; border-color:#111; }

/* Product info */
.card-link { text-decoration:none; color:inherit; }
.product-info { margin-top:6px; }
.product-name { font-size:0.85rem; font-weight:400; line-height:1.2; margin-bottom:2px; }
.product-price { font-size:0.9rem; font-weight:600; }

/* ---------- CART ---------- */
#cart-icon { position:fixed; bottom:20px; right:16px; width:48px; height:48px; background:#111; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; box-shadow:0 2px 10px rgba(0,0,0,0.2); z-index:999; font-size:1.2rem; }
#cart-count { position:absolute; top:-4px; right:-4px; background:red; color:#fff; width:18px; height:18px; border-radius:50%; font-size:0.65rem; display:flex; align-items:center; justify-content:center; }
.cart-slideout { position:fixed; top:0; right:-320px; width:280px; height:100vh; background:#fff; box-shadow:-2px 0 10px rgba(0,0,0,0.1); transition:right 0.3s; z-index:1000; display:flex; flex-direction:column; }
.cart-slideout.open { right:0; }
.cart-header, .cart-footer { padding:16px; background:#fafafa; }
.cart-items { flex:1; overflow-y:auto; padding:12px; }
.cart-item { display:flex; gap:10px; margin-bottom:12px; border-bottom:1px solid #eee; padding-bottom:12px; }
.cart-item img { width:50px; height:65px; object-fit:cover; border-radius:4px; }
.cart-item-details { flex:1; font-size:0.8rem; }
.cart-item-remove { background:none; border:none; color:red; cursor:pointer; }
#whatsapp-order-btn { width:100%; padding:12px; background:#25D366; color:#fff; border:none; border-radius:4px; font-weight:bold; cursor:pointer; }

/* ---------- DETAIL PAGE ---------- */
.product-detail { display:flex; flex-direction:column; gap:16px; padding:16px 0; }
.main-image img { width:100%; aspect-ratio:2/3; object-fit:cover; border-radius:12px; background:#f5f5f5; }
.thumbnail-strip { display:flex; gap:6px; margin-top:8px; }
.thumb { width:56px; height:70px; object-fit:cover; border-radius:6px; border:2px solid transparent; cursor:pointer; }
.thumb.active { border-color:#111; }
.product-info-detail h1 { font-size:1.6rem; margin:8px 0; }
.product-actions { display:flex; gap:8px; margin:16px 0; flex-wrap:wrap; }
.buy-now-btn, .share-btn, #add-to-cart-btn { padding:10px 18px; border-radius:6px; font-weight:600; cursor:pointer; border:none; }
.buy-now-btn { background:#111; color:#fff; }
.share-btn { background:#f0f0f0; color:#111; }
#add-to-cart-btn { background:#111; color:#fff; }
.buy-now-btn:disabled, #add-to-cart-btn:disabled { opacity:0.5; }

/* ---------- FOOTER ---------- */

/* ---------- FOOTER ---------- */
.site-footer {
    background: #fafafa;
    border-top: 1px solid #eee;
    padding: 40px 16px 100px;   /* extra bottom for cart button */
    text-align: center;
    margin-top: 32px;
}

/* Tier 1: Page navigation links */
.footer-links {
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.footer-links a {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #111;
}
.footer-links .separator {
    margin: 0 10px;
    color: #ccc;
    font-weight: 300;
}

/* Tier 2: Social icons */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.footer-social a:hover {
    background: #f5f5f5;
    border-color: #ccc;
    transform: scale(1.05);
    color: #111;
}
.footer-social svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Tier 3: Copyright */
.copyright {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0;
}


/* ---------- RESPONSIVE ---------- */
@media (min-width:768px) {
  .product-grid { grid-template-columns:repeat(3, 1fr); gap:16px; }
  .main-nav { display:flex; gap:24px; }
  .hamburger { display:none; }
  .product-detail { flex-direction:row; }
}
@media (min-width:1024px) {
  .product-grid { grid-template-columns:repeat(4, 1fr); }
}