/* FPG (Households, Appliances & Interior) storefront — powered by Passion */
:root {
    --green: #183b2b;
    --green-soft: #24533d;
    --gold: #d9a441;
    --gold-dark: #b98529;
    --cream: #fffaf3;
    --sage: #e8edd0;
    --line: #e6dfd2;
    --muted: #6f756f;
    --danger: #c0392b;
    --white: #ffffff;
    --shadow: 0 3px 14px rgba(24, 59, 43, 0.09);
    --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    background: var(--cream);
    color: var(--green);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border: 1px solid var(--green); border-radius: 6px;
    background: var(--green); color: var(--white); font-weight: 600; font-size: 15px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.btn.whatsapp { background: #1fa855; border-color: #1fa855; }
.btn.whatsapp:hover { background: #17863f; border-color: #17863f; }
.btn.block { width: 100%; }
.btn.small { padding: 8px 14px; font-size: 13px; }
.link { color: var(--gold-dark); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site_header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.navbar { display: flex; align-items: center; gap: 22px; height: 78px; }
.logo, .footer_brand { flex: none; display: inline-flex; align-items: center; gap: 10px; }
.logo_mark { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 700; letter-spacing: 2px; line-height: 1; color: var(--green); padding-right: 10px; border-right: 2px solid var(--gold); }
.logo_text { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; line-height: 1.35; text-transform: uppercase; color: var(--gold-dark); }
.nav_links { display: flex; align-items: center; gap: 26px; margin-left: 10px; }
.nav_links > a, .dropdown > button {
    font-weight: 600; font-size: 15px; background: none; border: none; padding: 8px 0;
    display: inline-flex; align-items: center; gap: 4px;
}
.nav_links > a:hover, .dropdown > button:hover, .nav_links > a.active { color: var(--gold-dark); }
.dropdown { position: relative; }
.dropdown > button img { width: 16px; }
.dropdown_menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 240px; max-height: 70vh; overflow-y: auto;
    background: var(--cream); border-radius: 8px; padding: 8px 0; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16); z-index: 60;
}
.dropdown_menu.right { left: auto; right: 0; }
.dropdown:hover .dropdown_menu, .dropdown:focus-within .dropdown_menu, .dropdown.open .dropdown_menu { display: block; }
.dropdown_menu a { display: flex; align-items: center; gap: 12px; padding: 11px 18px; font-size: 14px; }
.dropdown_menu a img { width: 18px; height: 18px; }
.dropdown_menu a:hover { background: var(--green); color: var(--gold); }
.dropdown_menu a:hover img { filter: brightness(0) invert(1); }
.dropdown_menu .menu_note { padding: 10px 18px; font-size: 13px; color: var(--muted); }
.search { margin-left: auto; display: flex; border: 1px solid var(--green); border-radius: 6px; overflow: hidden; height: 40px; flex: 0 1 280px; }
.search input { flex: 1; min-width: 0; border: none; outline: none; padding: 0 12px; background: var(--white); }
.search button { width: 42px; border: none; background: var(--green); display: grid; place-items: center; }
.search button img { width: 18px; filter: brightness(0) invert(1); }
.header_icons { display: flex; align-items: center; gap: 18px; }
.cart-link { position: relative; display: inline-flex; }
.cart-link img, .user_btn img { width: 30px; height: 30px; }
#cart_counter {
    position: absolute; top: -8px; right: -10px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 10px;
    background: var(--gold); color: var(--white); font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.user_btn { background: none; border: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.user_btn span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu_toggle { display: none; background: none; border: none; font-size: 26px; line-height: 1; padding: 4px 8px; }

/* ---------- Hero slider ---------- */
.hero_slider { position: relative; height: 540px; overflow: hidden; }
.slide {
    position: absolute; inset: 0; display: flex; align-items: center; padding: 0 8%;
    background-size: cover; background-position: center; opacity: 0; visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.slide.active { opacity: 1; visibility: visible; }
.slide_one { background-image: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.15)), url("../../slide%20pic.jpeg"); }
.slide_two { background-image: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.15)), url("../../slide%20pic%202.jpeg"); }
.slide_three { background-image: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.15)), url("../../slide%20pic%203.jpeg"); }
.slide_four { background-image: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.15)), url("../../slide%20pic%204.jpeg"); }
.slide_content { max-width: 650px; color: var(--white); }
.slide_content h4 { color: var(--gold); letter-spacing: 3px; font-size: 13px; margin-bottom: 18px; }
.slide_content h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.2; margin-bottom: 18px; }
.slide_content h1 span { color: var(--gold); display: block; }
.slide_content p { font-size: 16px; line-height: 1.8; margin-bottom: 28px; }
.slide_buttons { display: flex; flex-wrap: wrap; gap: 15px; }
.primary_btn, .secondary_btn { padding: 14px 25px; transition: 0.3s ease; color: var(--white); }
.primary_btn { background: var(--gold); }
.primary_btn:hover { background: var(--green); }
.secondary_btn { border: 1px solid var(--white); }
.secondary_btn:hover { background: var(--white); color: var(--green); }
.prev, .next {
    position: absolute; top: 50%; transform: translateY(-50%); width: 45px; height: 45px; border-radius: 50%;
    background: rgba(0,0,0,.3); color: var(--white); border: 1px solid var(--white); z-index: 5;
}
.prev { left: 20px; } .next { right: 20px; }
.prev:hover, .next:hover { background: var(--gold); }
.slide_dots { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: none; background: var(--white); }
.dot.active { background: var(--gold); width: 28px; border-radius: 10px; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--green); padding: 24px 5%; }
.benfit { display: flex; align-items: center; gap: 14px; }
.benfit img { width: 34px; height: 34px; filter: brightness(0) invert(1); }
.benfit h3 { color: var(--gold); font-size: 16px; }
.benfit p { color: var(--white); font-size: 12px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section_heading { text-align: center; margin-bottom: 36px; }
.section_heading p { color: var(--gold-dark); letter-spacing: 3px; font-size: 13px; font-weight: 700; }
.section_heading h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 8px 0; }
.section_heading span { color: var(--muted); font-size: 16px; }
.section_more { text-align: center; margin-top: 34px; }

.category_container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category_card { position: relative; height: 240px; overflow: hidden; border-radius: var(--radius); background: var(--green-soft); display: block; }
.category_card > img.photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.category_card:hover > img.photo { transform: scale(1.08); }
.category_card .icon_tile { width: 100%; height: 100%; display: grid; place-items: center; }
.category_card .icon_tile img { width: 72px; filter: brightness(0) invert(1); opacity: 0.85; }
.category_info { position: absolute; inset: auto 0 0 0; padding: 20px; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.category_info h3 { font-size: 17px; }
.category_info span { color: var(--gold); font-size: 13px; }

/* ---------- Product cards ---------- */
.product_container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product_card {
    display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s ease;
}
.product_card:hover { transform: translateY(-5px); }
.product_image { position: relative; height: 220px; background: #f3eee4; display: grid; place-items: center; overflow: hidden; }
.product_image > img.photo { width: 100%; height: 100%; object-fit: contain; }
.product_image .placeholder { width: 64px; opacity: 0.35; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.product_details { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product_details .cat { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.product_details h3 { font-size: 16px; margin: 8px 0; flex: 1; overflow-wrap: anywhere; }
.price { color: var(--gold-dark); font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.price s { color: var(--muted); font-size: 13px; font-weight: 400; margin-left: 6px; }
.add_cart { width: 100%; padding: 11px; background: var(--green); color: var(--white); border: none; border-radius: 6px; font-weight: 600; transition: background 0.2s; }
.add_cart:hover { background: var(--gold); }
.qty_control { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty_control button { width: 38px; height: 38px; border: none; border-radius: 6px; background: var(--sage); font-size: 19px; font-weight: 700; }
.qty_control button:hover { background: var(--gold); color: var(--white); }
.qty_control span { font-weight: 700; min-width: 28px; text-align: center; }
.grid_state { grid-column: 1 / -1; text-align: center; padding: 46px 16px; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }
.skeleton { height: 340px; border-radius: var(--radius); background: linear-gradient(100deg, #f1ece2 30%, #faf6ee 50%, #f1ece2 70%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Promo ---------- */
.promo_banner {
    min-height: 380px; display: flex; align-items: center; padding: 60px 8%;
    background: linear-gradient(to right, rgba(0,0,0,.8), rgba(0,0,0,.2)), url("../../part%20four.jpeg") center / cover;
}
.promo_content { max-width: 550px; color: var(--white); }
.promo_content .kicker { color: var(--gold); letter-spacing: 3px; }
.promo_content h2 { font-size: 36px; margin: 14px 0; }
.promo_content h2 span { color: var(--gold); }
.promo_content a { display: inline-block; margin-top: 20px; background: var(--gold); color: var(--white); padding: 14px 25px; }

/* ---------- Page shells ---------- */
.page_head { background: var(--sage); padding: 34px 0; }
.page_head h1 { font-size: clamp(24px, 3vw, 32px); }
.page_head p { color: var(--muted); margin-top: 4px; }
.page_body { padding: 40px 0 70px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card h2 { font-size: 20px; margin-bottom: 16px; }
.card + .card { margin-top: 22px; }
.notice { padding: 12px 14px; border-radius: 6px; font-size: 14px; margin-top: 14px; }
.notice:empty { display: none; }
.notice.info { background: #eef3fb; color: #23457a; }
.notice.success { background: #e7f5ec; color: #17603a; }
.notice.error { background: #fbeceb; color: #9b2c22; }
.notice.warning { background: #fdf4e2; color: #8a5a0a; }
.empty_state { text-align: center; padding: 50px 20px; }
.empty_state h2 { margin-bottom: 8px; }
.empty_state p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Shop toolbar ---------- */
.shop_toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.shop_toolbar input, .shop_toolbar select { height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.shop_toolbar input { flex: 1 1 240px; }
.shop_toolbar .count { margin-left: auto; color: var(--muted); font-size: 14px; }

/* ---------- Cart ---------- */
.two_col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 30px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow); }
.cart-item .thumb { flex: none; width: 96px; height: 96px; background: #f3eee4; border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.cart-item .thumb img.photo { width: 100%; height: 100%; object-fit: contain; }
.cart-item .thumb img.placeholder { width: 40px; opacity: 0.35; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-details h3 { font-size: 16px; overflow-wrap: anywhere; }
.cart-item-details .unit { color: var(--gold-dark); font-weight: 700; margin: 4px 0 10px; }
.cart-item .qty_control { justify-content: flex-start; }
.cart-item .qty_control button { width: 32px; height: 32px; }
.cart-item .line_total { font-weight: 700; white-space: nowrap; text-align: right; }
.remove-item { background: none; border: none; color: var(--danger); font-size: 13px; margin-top: 10px; }
.remove-item:hover { text-decoration: underline; }
.order-summary { position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.summary-row.total { font-weight: 700; font-size: 19px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
.order-summary .btn { margin-top: 10px; }
.checkout-note { color: var(--muted); font-size: 12px; text-align: center; margin-top: 14px; }
.summary_item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary_item span:first-child { overflow-wrap: anywhere; }
.summary_item b { white-space: nowrap; }
.summary_list { margin-bottom: 16px; }

/* ---------- Forms ---------- */
.form_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form_grid .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
    padding: 11px 12px; border: 1px solid #cfc8ba; border-radius: 6px; background: var(--white); font-weight: 400; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(24, 59, 43, 0.12); }
.field input[readonly] { background: #f4f1ea; color: var(--muted); }
.field small { font-weight: 400; color: var(--muted); }
.choice_row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid #cfc8ba; border-radius: 8px; background: var(--white); font-weight: 600; font-size: 14px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--green); background: var(--sage); }
.choice input { accent-color: var(--green); }
.details_list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.details_list div span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.details_list div strong { overflow-wrap: anywhere; }

/* ---------- Auth ---------- */
.auth_shell { width: min(470px, 100% - 40px); margin: 50px auto 80px; }
.auth_shell.wide { width: min(640px, 100% - 40px); }
.auth_shell .card h1 { font-size: 26px; margin-bottom: 6px; }
.auth_shell .lead { color: var(--muted); margin-bottom: 22px; }
.auth_shell form { display: grid; gap: 16px; }
.auth_alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- Account ---------- */
.account_layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.account_nav { padding: 18px; position: sticky; top: 100px; }
.account_nav .who { padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.account_nav .who strong { display: block; overflow-wrap: anywhere; }
.account_nav .who span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.account_nav a { display: block; padding: 10px 12px; border-radius: 6px; font-weight: 600; font-size: 14px; }
.account_nav a:hover { background: var(--sage); }
.account_nav a.active { background: var(--green); color: var(--white); }
.account_nav a.out { color: var(--danger); }

.order_list { display: flex; flex-direction: column; gap: 14px; }
.order_card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.order_card h3 { font-size: 16px; overflow-wrap: anywhere; }
.order_card p { font-size: 13px; color: var(--muted); }
.order_card .right { display: flex; align-items: center; gap: 14px; }
.order_card .amount { font-weight: 700; white-space: nowrap; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; background: #fdf4e2; color: #8a5a0a; margin-bottom: 4px; }
.pill.done { background: #e7f5ec; color: #17603a; }

/* ---------- Tracking ---------- */
.track_form { display: flex; gap: 10px; flex-wrap: wrap; }
.track_form input { flex: 1 1 260px; padding: 12px; border: 1px solid #cfc8ba; border-radius: 6px; background: var(--white); }
.recent_refs { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.recent_refs button { border: 1px solid var(--line); background: var(--white); border-radius: 20px; padding: 5px 12px; font-size: 13px; }
.recent_refs button:hover { border-color: var(--green); }
.status_line { font-size: 22px; font-weight: 700; margin: 4px 0 18px; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 100; max-width: calc(100% - 32px);
    background: var(--green); color: var(--white); padding: 12px 20px; border-radius: 8px; font-size: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: opacity 0.3s;
}
.toast.warning { background: #8a5a0a; }
.toast.error { background: var(--danger); }

/* ---------- Newsletter & footer ---------- */
.newsletter { background: var(--green); color: var(--white); text-align: center; padding: 56px 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.newsletter h2 { color: var(--gold); font-size: 28px; }
.newsletter p { margin: 12px 0 22px; }
.newsletter form { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.newsletter input { width: min(320px, 100%); padding: 13px; border: none; border-radius: 4px; color: var(--green); }
.newsletter button { padding: 13px 24px; background: var(--gold); color: var(--white); border: none; border-radius: 4px; font-weight: 600; }
.footer { background: #12301f; color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.footer_cta { background: var(--green); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer_cta_inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 30px 0; }
.footer_cta h2 { color: var(--white); font-size: 21px; margin-bottom: 2px; }
.footer_cta .btn { flex: none; }
.footer_container { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; padding: 54px 0 44px; }
.footer_brand { margin-bottom: 18px; }
.footer_brand .logo_mark { color: var(--white); }
.footer_brand .logo_text { color: var(--gold); }
.footer_about p { max-width: 300px; line-height: 1.75; }
.footer h3 { color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 18px; }
.footer_links a, .footer_contact p { display: block; width: fit-content; margin-bottom: 11px; overflow-wrap: anywhere; transition: color 0.2s; }
.footer_links a:hover { color: var(--gold); }
.footer_contact a, .footer_contact p { display: flex; align-items: flex-start; gap: 10px; }
.footer_contact svg { flex: none; width: 17px; height: 17px; margin-top: 2px; fill: var(--gold); }
.footer_bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0 24px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .menu_toggle { display: block; order: 5; }
    .nav_links {
        display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 20px 18px;
        flex-direction: column; align-items: stretch; gap: 2px; background: var(--white); border-bottom: 1px solid var(--line);
        box-shadow: 0 10px 20px rgba(0,0,0,.1); max-height: calc(100vh - 78px); overflow-y: auto;
    }
    .nav_links.open { display: flex; }
    .nav_links .dropdown_menu { position: static; box-shadow: none; max-height: none; background: transparent; padding: 0 0 6px 10px; }
    .nav_links .dropdown:hover .dropdown_menu { display: none; }
    .nav_links .dropdown.open .dropdown_menu { display: block; }
    .navbar { position: relative; gap: 14px; }
    .category_container, .product_container { grid-template-columns: repeat(3, 1fr); }
    .footer_container { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .two_col, .account_layout { grid-template-columns: 1fr; }
    .order-summary, .account_nav { position: static; }
    .category_container, .product_container { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .search { flex: 1 1 120px; }
    .logo_mark { font-size: 26px; }
}
@media (max-width: 560px) {
    .wrap { width: calc(100% - 32px); }
    .navbar { flex-wrap: wrap; height: auto; padding: 8px 0 10px; row-gap: 8px; }
    .search { order: 10; flex: 1 1 100%; margin-left: 0; }
    .header_icons { margin-left: auto; }
    .nav_links { max-height: 70vh; }
    .hero_slider { height: 440px; }
    .slide { padding: 0 24px; }
    .prev, .next { display: none; }
    .product_image { height: 150px; }
    .product_details { padding: 12px; }
    .category_card { height: 170px; }
    .form_grid, .details_list { grid-template-columns: 1fr; }
    .footer_container { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 30px; }
    .footer_bottom { justify-content: center; text-align: center; }
    .cart-item { flex-wrap: wrap; }
    .cart-item .line_total { width: 100%; text-align: left; }
    .card { padding: 18px; }
    .section { padding: 44px 0; }
}

/* Track page for visitors who are not signed in: no account menu, single column */
.account_layout:has(> .account_nav[hidden]) { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 560px) { .user_btn span { display: none; } }
