/* =================================================================
   theme3334 — Modernisation layer (Joomla 5)
   Warm "honey" refresh of the dated 2016 template. Loaded after
   template.css so these rules win. Brand: charcoal + honey gold.
   ================================================================= */
:root {
    --honey:        #e8a317;
    --honey-dark:   #c8860b;
    --honey-soft:   #fbf3e2;
    --ink:          #232323;
    --ink-soft:     #2c2c2c;
    --text:         #3c3c3c;
    --muted:        #8a8a8a;
    --line:         #ececec;
    --bg-warm:      #faf8f4;
    --radius:       10px;
    --shadow:       0 4px 18px rgba(0,0,0,.08);
    --shadow-hover: 0 10px 30px rgba(0,0,0,.14);
}

/* ---------- Base / typography ------------------------------------ */
body {
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
#wrapper { overflow-x: hidden; }

/* Tame the extreme letter-spacing the old template put on every heading */
h1, h2, h3, h4, h5, h6,
.item_title, .moduleTitle, .contentheading, .componentheading {
    letter-spacing: .01em !important;
    color: var(--ink);
    font-weight: 700;
}
h1, .item_title { line-height: 1.12; }
.item_title_char,
.item_title_part { letter-spacing: normal !important; }

a { color: var(--honey-dark); transition: color .2s ease; }
a:hover { color: var(--honey); }

/* ---------- Modern header bar ------------------------------------ */
.headerContent { display: none; }            /* legacy wrapper, replaced */
.cbs-header {
    position: sticky; top: 0; z-index: 1000;
    background: #1f1c17; border-bottom: 3px solid var(--honey);
    box-shadow: 0 2px 14px rgba(0,0,0,.28);
}
.cbs-header__inner {
    position: relative; max-width: 1240px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 28px; min-height: 88px;
}
.cbs-header__brand { flex: 0 0 auto; line-height: 0; }
.cbs-header__brand .cbs-logo { padding: 10px 0; display: block; }
.cbs-header__brand .cbs-logo img { height: 56px; width: auto; display: block; flex: none; }
.cbs-header__nav { flex: 1 1 auto; }
/* neutralise the old full-width band styling on #navigation inside the bar */
.cbs-header #navigation { background: transparent !important; border: 0 !important; padding: 0 !important; }
.cbs-header__nav .mod-menu > ul.menu { justify-content: flex-start; }
.cbs-header__nav .mod-menu > ul.menu > li > a,
.cbs-header__nav .mod-menu > ul.menu > li > span { padding: 12px 15px !important; }
/* utilities */
.cbs-header__utils { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cbs-util {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    color: #fff !important; text-decoration: none; font-weight: 700; font-size: 14px;
    padding: 10px 16px; border-radius: 8px; transition: all .2s ease;
}
.cbs-util .fa { font-size: 17px; }
.cbs-util:hover { color: var(--honey) !important; }
.cbs-util--cart { background: var(--honey); color: var(--ink) !important; box-shadow: 0 4px 12px rgba(232,163,23,.30); }
.cbs-util--cart:hover { background: var(--honey-dark); color: #fff !important; transform: translateY(-1px); }
/* mobile burger (a <button>; JS toggles .nav-open on #cbs-header) */
.cbs-burger { display: none; background: none; border: 0; }
@media (max-width: 980px) {
    .cbs-header__inner { gap: 12px; min-height: 72px; padding: 0 14px; }
    .cbs-header__brand .cbs-logo img { height: 42px; }
    .cbs-header__utils { gap: 6px; }
    .cbs-util__txt { display: none; }
    .cbs-header__utils .cbs-util:not(.cbs-util--cart) { display: none; } /* Account lives in the menu on mobile */
    .cbs-util { padding: 9px; }
    .cbs-burger {
        display: flex !important; background: transparent; border: 0;
        flex-direction: column; align-items: center; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 0; cursor: pointer;
    }
    .cbs-burger span { display: block; width: 24px; height: 3px; background: #fff; border-radius: 2px; transition: .25s ease; }
    .cbs-header__nav {
        flex-basis: 100%; position: absolute; top: 100%; left: 0; right: 0;
        background: #1f1c17; border-top: 1px solid rgba(255,255,255,.1);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .cbs-header.nav-open .cbs-header__nav { max-height: 80vh; overflow: auto; }
    .cbs-header__nav .mod-menu > ul.menu { display: block; }
    .cbs-header__nav .mod-menu > ul.menu > li > a { padding: 14px 24px !important; }
    .cbs-header__nav .mod-menu ul.nav-child { position: static; display: block; background: rgba(0,0,0,.22); }
    .cbs-header.nav-open .cbs-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .cbs-header.nav-open .cbs-burger span:nth-child(2) { opacity: 0; }
    .cbs-header.nav-open .cbs-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) {
    .cbs-header__brand .cbs-logo img { height: 44px; }
    .cbs-header__inner { padding: 0 14px; }
}

/* ---------- Home hero banner ------------------------------------- */
#showcase { padding: 0 !important; }
#showcase .container { max-width: 100%; padding: 0; }
#showcase .row { margin: 0; }
#showcase .moduletable, #showcase .module_container { padding: 0 !important; margin: 0 !important; border: 0; background: transparent; }
.cbs-hero {
    position: relative; display: flex; align-items: center; min-height: 540px;
    background: #1a1712 url('/images/210616_-_WoopiJW_bee_on_basil.jpg') center 42% / cover no-repeat;
    overflow: hidden;
}
.cbs-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(95deg, rgba(18,14,7,.82) 0%, rgba(18,14,7,.50) 38%, rgba(18,14,7,.06) 72%, rgba(18,14,7,.22) 100%);
}
.cbs-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 48px 30px; }
.cbs-hero__eyebrow {
    display: inline-block; color: var(--honey); font-weight: 700; font-size: 13px;
    letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px;
    border-left: 3px solid var(--honey); padding-left: 12px;
}
.cbs-hero__title {
    color: #fff !important; font-size: 54px; line-height: 1.04; font-weight: 800;
    letter-spacing: .005em !important; margin: 0 0 18px; max-width: 640px;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.cbs-hero__text { color: rgba(255,255,255,.92); font-size: 18px; line-height: 1.6; max-width: 540px; margin: 0 0 30px; }
.cbs-hero__btn {
    display: inline-block; padding: 14px 30px; border-radius: 8px; font-weight: 700;
    letter-spacing: .02em; text-decoration: none; margin: 0 14px 12px 0; transition: all .2s ease;
}
.cbs-hero__btn--primary { background: var(--honey); color: var(--ink) !important; box-shadow: 0 8px 22px rgba(232,163,23,.45); }
.cbs-hero__btn--primary:hover { background: var(--honey-dark); color: #fff !important; transform: translateY(-2px); }
.cbs-hero__btn--ghost { color: #fff !important; border: 2px solid rgba(255,255,255,.55); }
.cbs-hero__btn--ghost:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }
@media (max-width: 767px) {
    .cbs-hero { min-height: 430px; }
    .cbs-hero__title { font-size: 33px; }
    .cbs-hero__text { font-size: 16px; }
}

/* ---------- Navigation (amber accent over the dark bar) ---------- */
#navigation { border-bottom: 3px solid var(--honey); }
#navigation .mod-menu > ul.menu > li > a { position: relative; transition: background .2s ease, color .2s ease; }
#navigation .mod-menu > ul.menu > li > a::after {
    content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px;
    background: var(--honey); transition: left .22s ease, right .22s ease;
}
#navigation .mod-menu > ul.menu > li:hover > a::after,
#navigation .mod-menu > ul.menu > li.active > a::after,
#navigation .mod-menu > ul.menu > li.current > a::after { left: 0; right: 0; }
#navigation .mod-menu > ul.menu > li:hover > a,
#navigation .mod-menu > ul.menu > li.active > a,
#navigation .mod-menu > ul.menu > li.current > a { background: rgba(255,255,255,.05); }
#navigation .mod-menu ul.menu ul.nav-child > li:hover > a { background: var(--honey); color: var(--ink); }

/* ---------- Buttons (global + HikaShop) -------------------------- */
.btn, button, input[type="submit"], input[type="button"],
.hikabtn, .hikashop_product_url, a.hikashop_cart_button,
.hikashop_cart_input_button, .hikashop_finalend_button {
    display: inline-block;
    background: var(--honey) !important;
    border: 0 !important;
    color: var(--ink) !important;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 11px 22px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(232,163,23,.30);
    transition: background .2s ease, transform .12s ease, box-shadow .2s ease;
    cursor: pointer;
}
.btn:hover, button:hover, .hikabtn:hover, .hikashop_product_url:hover,
.hikashop_cart_input_button:hover, .hikashop_finalend_button:hover {
    background: var(--honey-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(200,134,11,.35);
}
/* the +/- quantity steppers stay neutral, not honey */
.hikashop_product_quantity_field_change_div a,
.hikashop_product_quantity_change {
    background: #f3f3f3 !important; color: var(--ink) !important;
    box-shadow: none; border: 1px solid var(--line) !important;
}

/* ---------- Section rhythm --------------------------------------- */
#maintop, #content-top, #maincontent, #mainbottom, .item-page, .blog {
    padding-top: 18px; padding-bottom: 18px;
}
.container { max-width: 1200px; }

/* ---------- HikaShop: product / category cards ------------------- */
/* HikaShop already builds the 3-column grid (.hkc-md-* + column/row
   classes). We only restyle the card itself — no relayout. */
.hikashop_subcontainer.thumbnail {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 16px 18px; margin-bottom: 22px; text-align: center;
    box-shadow: var(--shadow); transition: all .22s ease;
}
.hikashop_subcontainer.thumbnail:hover {
    box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #e3d4ad;
}
.hikashop_category_image, .hikashop_product_image, .hikashop_image_container { text-align: center; min-height: 0; }
.hikashop_product_listing_image, .hikashop_subcontainer.thumbnail img {
    max-height: 180px; width: auto !important; height: auto;
    margin: 0 auto 12px; display: inline-block; border-radius: 8px;
}
.hikashop_category_name, .hikashop_product_name, .hikashop_product_name_list {
    display: block; text-align: center; font-weight: 700; font-size: 16px;
    line-height: 1.3; color: var(--ink) !important; margin: 6px 0 8px;
}
.hikashop_category_name a, .hikashop_product_name a, .hikashop_product_name_list a {
    color: var(--ink) !important; text-decoration: none;
}
.hikashop_subcontainer.thumbnail:hover .hikashop_category_name a,
.hikashop_product_name a:hover { color: var(--honey-dark) !important; }
.hikashop_product_price, .hikashop_product_price_full {
    display: block; text-align: center;
    color: var(--honey-dark) !important; font-weight: 800 !important; font-size: 20px; margin: 4px 0;
}
.hikashop_product_price_per_unit { display: block; text-align: center; color: var(--muted); font-weight: 600; font-size: 12px; }
.hikashop_product_stock_count { display: block; text-align: center; color: var(--muted); font-size: 12px; }
.hikashop_subcontainer.thumbnail .hikabtn { margin: 12px auto 0; }

/* ---------- HikaShop: single product page ------------------------ */
.hikashop_product_main_image_thumb, .hikashop_product_left_part img {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; background: #fff; box-shadow: var(--shadow);
}
.hikashop_product_page .hikashop_product_price_full,
.hikashop_product_price_main { font-size: 26px !important; }
.hikashop_product_characteristics table,
.hikashop_product_options { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hikashop_cart_product_quantity_value,
input.hikashop_product_quantity_field { border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; }

/* ---------- Forms / inputs --------------------------------------- */
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], select, textarea {
    border: 1px solid var(--line) !important; border-radius: 8px !important;
    padding: 10px 12px !important; transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--honey) !important; outline: 0;
    box-shadow: 0 0 0 3px rgba(232,163,23,.15) !important;
}

/* ---------- Contact page ----------------------------------------- */
.cbs-contact { max-width: 1140px; margin: 0 auto; padding: 8px 16px 50px; }
.cbs-contact__head { text-align: center; max-width: 680px; margin: 10px auto 42px; }
.cbs-contact__eyebrow {
    display: inline-block; color: var(--honey-dark); font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px;
}
.cbs-contact__head h1 { margin: 0 0 14px; font-size: 42px; }
.cbs-contact__head p { color: #5f5f5f; font-size: 17px; line-height: 1.6; margin: 0; }
.cbs-contact__grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 28px; align-items: stretch; }
.cbs-contact__info, .cbs-contact__form {
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 32px;
}
.cbs-contact__info { background: var(--bg-warm); }
.cbs-contact__form { background: #fff; }
.cbs-contact__info h2, .cbs-contact__form h2 { font-size: 20px; margin: 0 0 24px; }
.cbs-contact__list { list-style: none; margin: 0 0 26px; padding: 0; }
.cbs-contact__list li { position: relative; padding: 0 0 20px 46px; line-height: 1.5; color: var(--text); }
.cbs-contact__list li:last-child { padding-bottom: 0; }
.cbs-contact__list li .fa {
    position: absolute; left: 0; top: 0; width: 32px; height: 32px; line-height: 32px;
    text-align: center; border-radius: 50%; background: var(--honey); color: var(--ink); font-size: 14px;
}
.cbs-contact__list a { color: var(--text); text-decoration: none; }
.cbs-contact__list a:hover { color: var(--honey-dark); }
.cbs-contact__vcard {
    display: inline-flex; align-items: center; gap: 9px;
    color: var(--honey-dark); font-weight: 700; text-decoration: none;
    border: 1px solid #e3d4ad; padding: 10px 18px; border-radius: 8px; transition: all .2s ease;
}
.cbs-contact__vcard:hover { background: var(--honey); color: var(--ink); border-color: var(--honey); }
.cbs-contact__form .control { margin-bottom: 14px; }
.cbs-contact__form input, .cbs-contact__form textarea { width: 100%; box-sizing: border-box; }
.cbs-contact__map {
    position: relative; margin-top: 28px; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--line); line-height: 0;
}
.cbs-contact__map iframe { width: 100%; height: 380px; border: 0; display: block; }
.cbs-contact__directions {
    position: absolute; right: 16px; bottom: 16px; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--honey); color: var(--ink) !important; font-weight: 700; font-size: 13px;
    padding: 9px 15px; border-radius: 8px; text-decoration: none; line-height: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: background .2s ease;
}
.cbs-contact__directions:hover { background: var(--honey-dark); color: #fff !important; }
@media (max-width: 800px) {
    .cbs-contact__grid { grid-template-columns: 1fr; }
    .cbs-contact__head h1 { font-size: 32px; }
}

/* ---------- Footer ----------------------------------------------- */
#footer-wrapper { background: #1d1a15; padding: 0 !important; }
.cbs-footer { color: rgba(255,255,255,.72); border-top: 3px solid var(--honey); }
.cbs-footer .container { max-width: 1200px; }
.cbs-footer__cols {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px;
    padding: 54px 0 44px;
}
.cbs-footer__col h4 {
    color: #fff !important; font-size: 15px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; margin: 0 0 18px; padding-bottom: 12px; position: relative;
}
.cbs-footer__col h4::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--honey);
}
.cbs-footer__col ul { list-style: none; margin: 0; padding: 0; }
.cbs-footer__col li { margin: 0 0 11px; line-height: 1.5; }
/* Unified footer text + link colour (ID prefix beats template's "#footer-wrapper ul li a"). */
#footer-wrapper .cbs-footer,
#footer-wrapper .cbs-footer__col li,
#footer-wrapper .cbs-footer__col a,
#footer-wrapper .cbs-footer__about p { color: rgba(255,255,255,.82); }
#footer-wrapper .cbs-footer__col a { text-decoration: none; transition: color .18s ease, padding .18s ease; }
#footer-wrapper .cbs-footer__col a:hover { color: var(--honey); }
.cbs-footer__col ul li a:hover { padding-left: 4px; }
/* about */
.cbs-footer__about .cbs-footer__logo { margin-bottom: 20px; line-height: 0; }
.cbs-footer__about .cbs-footer__logo svg { height: 46px; width: auto; }
.cbs-footer__about .cbs-footer__logo img { height: 72px; width: auto; display: block; }
.cbs-footer__about p { font-size: 14px; line-height: 1.7; margin: 0; max-width: 340px; }
/* social */
.cbs-footer__social { margin-top: 20px; display: flex; gap: 10px; }
.cbs-footer__social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25); color: #fff !important;
    font-size: 18px; line-height: 1; transition: all .2s ease;
}
.cbs-footer__social a:hover {
    background: var(--honey); border-color: var(--honey); color: var(--ink) !important;
    transform: translateY(-2px);
}
/* contact icons */
.cbs-footer__contact li { position: relative; padding-left: 28px; }
.cbs-footer__contact li .fa { position: absolute; left: 0; top: 3px; color: var(--honey); width: 18px; text-align: center; }
/* bottom bar */
.cbs-footer__bar { border-top: 1px solid rgba(255,255,255,.10); }
.cbs-footer__bar .container {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 8px; padding-top: 20px; padding-bottom: 20px;
}
.cbs-footer__copy { font-size: 13px; color: rgba(255,255,255,.55); }
.cbs-footer__tag { font-size: 13px; color: var(--honey); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 900px) {
    .cbs-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 0 30px; }
}
@media (max-width: 560px) {
    .cbs-footer__cols { grid-template-columns: 1fr; gap: 28px; }
    .cbs-footer__bar .container { flex-direction: column; text-align: center; }
}

/* ---------- Responsive ------------------------------------------- */
@media (max-width: 991px) {
    .hikashop_product_list_item, .hikashop_subcontainer { max-width: 48%; }
}
@media (max-width: 600px) {
    .hikashop_product_list_item, .hikashop_subcontainer { max-width: 100%; }
    .hikashop_category_list_item { flex-basis: 100%; }
}

/* ===================== Login page ============================ */
.cbs-login { max-width: 960px; margin: 48px auto 64px; padding: 0 16px; }
.cbs-login__card {
    display: flex; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
/* Welcome panel */
.cbs-login__aside {
    flex: 0 0 40%; padding: 44px 36px; color: #fff;
    background: linear-gradient(150deg, #2a2620 0%, #1f1c17 55%), radial-gradient(circle at 80% 0, rgba(232,163,23,.35), transparent 60%);
    background-blend-mode: screen; position: relative;
}
.cbs-login__aside::after {
    content: ""; position: absolute; left: 0; bottom: 0; top: 0; width: 4px; background: var(--honey);
}
.cbs-login__bee { font-size: 40px; color: var(--honey); display: block; line-height: 1; margin-bottom: 18px; }
.cbs-login__aside h2 { color: #fff; margin: 0 0 12px; font-size: 26px; letter-spacing: .2px; }
.cbs-login__aside p { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.cbs-login__perks { list-style: none; margin: 0; padding: 0; }
.cbs-login__perks li { color: rgba(255,255,255,.9); font-size: 14px; padding: 7px 0; display: flex; align-items: center; gap: 11px; }
.cbs-login__perks .fa { color: var(--honey); font-size: 13px; }
/* Form side */
.cbs-login__main { flex: 1 1 60%; padding: 44px 44px 40px; }
.cbs-login__eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 1.8px; font-size: 12px; font-weight: 700; color: var(--honey-dark); margin-bottom: 8px; }
.cbs-login__main h1 { font-size: 28px; margin: 0 0 26px; color: var(--ink); }
.cbs-login__intro { color: var(--text); margin-bottom: 18px; }
.cbs-login__field { margin-bottom: 18px; }
.cbs-login__field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.cbs-login__field label::after { content: none; }
.cbs-login__inputwrap { position: relative; display: flex; align-items: center; }
.cbs-login__inputwrap > .fa { position: absolute; left: 15px; color: var(--muted); font-size: 15px; pointer-events: none; z-index: 2; }
.cbs-login__inputwrap input[type="text"],
.cbs-login__inputwrap input[type="password"] {
    width: 100%; padding: 13px 15px 13px 42px; font-size: 15px;
    border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-warm);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.cbs-login__inputwrap input:focus {
    outline: none; border-color: var(--honey); background: #fff;
    box-shadow: 0 0 0 3px rgba(232,163,23,.18);
}
/* J5 password show/hide control sits inside the wrap */
.cbs-login__inputwrap .password-group { width: 100%; }
.cbs-login__inputwrap .input-group { display: block; position: relative; width: 100%; }
.cbs-login__inputwrap .input-group input[type="password"],
.cbs-login__inputwrap .input-group input[type="text"] { padding-right: 48px; }
.cbs-login__inputwrap .input-password-toggle {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    background: none !important; border: 0 !important; box-shadow: none !important;
    color: var(--muted); font-size: 15px; line-height: 1; min-width: 0; width: auto;
    padding: 8px 10px; cursor: pointer; z-index: 3;
}
.cbs-login__inputwrap .input-password-toggle:hover { color: var(--honey-dark); transform: translateY(-50%); }
.cbs-login__inputwrap .input-password-toggle .visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cbs-login__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 22px; flex-wrap: wrap; }
.cbs-login__remember { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); cursor: pointer; margin: 0; }
.cbs-login__remember input { width: 16px; height: 16px; accent-color: var(--honey); margin: 0; }
.cbs-login__forgot { font-size: 14px; color: var(--honey-dark); font-weight: 600; text-decoration: none; }
.cbs-login__forgot:hover { text-decoration: underline; }
.cbs-login__submit {
    width: 100%; border: 0; cursor: pointer; padding: 14px 20px; font-size: 16px; font-weight: 700;
    color: var(--ink); background: var(--honey); border-radius: 10px;
    box-shadow: 0 6px 16px rgba(232,163,23,.30); transition: all .18s ease;
}
.cbs-login__submit:hover { background: var(--honey-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200,134,11,.36); }
.cbs-login__alt { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.cbs-login__alt > a:first-child { font-size: 14px; color: var(--muted); text-decoration: none; }
.cbs-login__alt > a:first-child:hover { color: var(--ink); }
.cbs-login__sep { display: block; margin: 16px 0 12px; font-size: 14px; color: var(--text); }
.cbs-login__register {
    display: inline-block; padding: 11px 26px; font-weight: 700; font-size: 14px;
    color: var(--ink) !important; text-decoration: none; border: 2px solid var(--honey);
    border-radius: 10px; transition: all .18s ease;
}
.cbs-login__register:hover { background: var(--honey); color: var(--ink) !important; }
@media (max-width: 760px) {
    .cbs-login__card { flex-direction: column; }
    .cbs-login__aside { flex-basis: auto; padding: 32px 28px; }
    .cbs-login__aside::after { width: 100%; height: 4px; top: auto; }
    .cbs-login__perks { display: flex; flex-wrap: wrap; gap: 4px 18px; }
    .cbs-login__main { padding: 32px 26px 30px; }
    .cbs-login__main h1 { font-size: 24px; }
}

/* ============ Auth pages (register / profile / reset / remind) ===== */
.cbs-auth { max-width: 640px; margin: 48px auto 64px; padding: 0 16px; }
.cbs-auth--wide { max-width: 840px; }
.cbs-auth__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 40px 40px 34px; }
.cbs-auth__head { margin-bottom: 24px; }
.cbs-auth__eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 1.8px; font-size: 12px; font-weight: 700; color: var(--honey-dark); margin-bottom: 8px; }
.cbs-auth__head h1 { font-size: 27px; margin: 0 0 10px; color: var(--ink); }
.cbs-auth__intro { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0; }

/* generic Joomla form fields inside an auth card.
   NOTE: HikaShop CSS + color_scheme_1.css load AFTER this file, so width-critical
   layout props need !important to win on equal specificity. */
.cbs-auth__form { width: 100% !important; max-width: 100% !important; margin: 0 !important; display: block !important; float: none !important; text-align: left; }
.cbs-auth fieldset { border: 0; padding: 0; margin: 0; min-width: 0; width: 100% !important; max-width: 100% !important; float: none !important; }
.cbs-auth .control-group, .cbs-auth .controls { width: auto !important; max-width: 100% !important; float: none !important; }
.cbs-auth legend { display: block; width: 100%; font-size: 17px; font-weight: 700; color: var(--ink); margin: 22px 0 16px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.cbs-auth fieldset:first-of-type legend { margin-top: 0; }
.cbs-auth .control-group { display: block; margin: 0 0 17px; padding: 0; width: auto; max-width: 100%; }
.cbs-auth .control-group::after { content: ""; display: table; clear: both; }
/* neutralise any inherited bootstrap horizontal-form indent */
.cbs-auth .control-label { float: none; width: auto; text-align: left; margin-left: 0; }
.cbs-auth .controls { margin-left: 0; width: auto; max-width: 100%; }
.cbs-auth .control-label,
.cbs-auth .control-label label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; line-height: 1.3; }
.cbs-auth .control-label .star { color: var(--honey-dark); }
.cbs-auth .optional { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 6px; }
.cbs-auth .controls { position: relative; }
.cbs-auth input[type="text"], .cbs-auth input[type="email"], .cbs-auth input[type="password"],
.cbs-auth input[type="tel"], .cbs-auth input[type="number"], .cbs-auth input[type="url"],
.cbs-auth input[type="date"], .cbs-auth select, .cbs-auth textarea {
    width: 100%; max-width: 100%; padding: 12px 15px; font-size: 15px; color: var(--text);
    border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-warm); box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.cbs-auth textarea { min-height: 120px; }
.cbs-auth input:focus, .cbs-auth select:focus, .cbs-auth textarea:focus {
    outline: none; border-color: var(--honey); background: #fff; box-shadow: 0 0 0 3px rgba(232,163,23,.18);
}
.cbs-auth input[type="checkbox"], .cbs-auth input[type="radio"] { width: 16px; height: 16px; accent-color: var(--honey); margin-right: 8px; vertical-align: -2px; }
/* radio/checkbox option lists */
.cbs-auth .controls fieldset.radio,
.cbs-auth .controls fieldset.checkboxes { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.cbs-auth .controls .form-check { display: flex; align-items: center; gap: 6px; }
.cbs-auth .form-check label, .cbs-auth .controls fieldset label { font-weight: 400; color: var(--text); margin: 0; }
/* password show/hide control */
.cbs-auth .input-group { position: relative; display: block; width: 100%; }
.cbs-auth .input-group input { padding-right: 48px; }
.cbs-auth .input-password-toggle {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    background: none !important; border: 0 !important; box-shadow: none !important;
    color: var(--muted); font-size: 15px; min-width: 0; width: auto; padding: 8px 10px; cursor: pointer; z-index: 3;
}
.cbs-auth .input-password-toggle:hover { color: var(--honey-dark); }
.cbs-auth .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cbs-auth .field-calendar { display: flex; gap: 8px; }
.cbs-auth .field-calendar input { flex: 1 1 auto; }
.cbs-auth small, .cbs-auth .form-text, .cbs-auth .field-description { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }

/* action buttons */
.cbs-auth__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.cbs-auth__submit { border: 0; cursor: pointer; padding: 13px 32px; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--honey); border-radius: 10px; box-shadow: 0 6px 16px rgba(232,163,23,.30); transition: all .18s ease; }
.cbs-auth__submit:hover { background: var(--honey-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200,134,11,.36); }
.cbs-auth__cancel { padding: 13px 22px; font-weight: 700; font-size: 14px; color: var(--muted) !important; text-decoration: none; border-radius: 10px; }
.cbs-auth__cancel:hover { color: var(--ink) !important; }
.cbs-auth__foot { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }
.cbs-auth__foot a { color: var(--honey-dark); font-weight: 600; text-decoration: none; }
.cbs-auth__foot a:hover { text-decoration: underline; }

/* profile view (dl/dt/dd) */
.cbs-auth__profilehead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.cbs-auth .cbs-auth__editbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font-weight: 700; font-size: 14px; color: var(--ink) !important; text-decoration: none; border: 2px solid var(--honey); border-radius: 10px; transition: all .18s ease; }
.cbs-auth .cbs-auth__editbtn:hover { background: var(--honey); }
.cbs-auth dl { margin: 0; }
.cbs-auth dl dt { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: var(--muted); margin-top: 16px; }
.cbs-auth dl dd { margin: 4px 0 0; padding: 0 0 14px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); }
.cbs-auth fieldset.cbs-auth__group + fieldset.cbs-auth__group { margin-top: 8px; }

/* success / message card */
.cbs-auth__success { text-align: center; }
.cbs-auth__success .cbs-auth__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--honey-soft); color: var(--honey-dark); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.cbs-auth__success h1 { font-size: 26px; margin: 0 0 12px; color: var(--ink); }
.cbs-auth__success p { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0 auto 8px; max-width: 460px; }
.cbs-auth__success .cbs-auth__actions { justify-content: center; border-top: 0; margin-top: 24px; padding-top: 0; }

@media (max-width: 560px) {
    .cbs-auth__card { padding: 30px 22px 26px; }
    .cbs-auth__head h1, .cbs-auth__success h1 { font-size: 23px; }
}
