/* =====================================================================
   ArtBazaar — UI refinement stylesheet
   Targets: site footer, user account panel, homepage slider, homepage
   gallery. Fully responsive (mobile-first friendly) and self-contained.
   Loaded after WoodMart leftovers, so a few !important are used on
   purpose to win the cascade.
   Palette: deep charcoal + warm gold (matches the ArtBazaar logo).
   ===================================================================== */

:root {
    --ab-gold: #c9a14a;
    --ab-gold-soft: #e0c478;
    --ab-ink: #141210;
    --ab-ink-2: #1d1a16;
    --ab-paper: #f4f1ea;
    --ab-line: rgba(201, 161, 74, .25);
    --ab-radius: 16px;
    --ab-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
    --ab-font-head: "Playfair Display", "Georgia", serif;
    --ab-font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
}

/* ---------------------------------------------------------------------
   1) FOOTER
   --------------------------------------------------------------------- */
.ab-footer {
    background: radial-gradient(120% 140% at 0% 0%, var(--ab-ink-2) 0%, var(--ab-ink) 60%);
    color: #cfc9bf;
    font-family: var(--ab-font-body);
    padding: 64px 0 0;
    margin-top: 60px;
    border-top: 1px solid var(--ab-line);
}
.ab-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.ab-footer__brand-logo {
    max-width: 190px;
    height: auto;
    margin-bottom: 18px;
}
.ab-footer__about {
    font-size: 14px;
    line-height: 1.7;
    color: #a39d92;
    max-width: 280px;
}
.ab-footer h4 {
    font-family: var(--ab-font-head);
    color: #fff;
    font-size: 18px;
    letter-spacing: .3px;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}
.ab-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 2px;
    background: linear-gradient(90deg, var(--ab-gold), transparent);
}
.ab-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ab-footer li {
    margin-bottom: 11px;
}
.ab-footer a {
    color: #b7b1a7;
    text-decoration: none;
    font-size: 14.5px;
    transition: color .2s ease, padding-left .2s ease;
}
.ab-footer a:hover {
    color: var(--ab-gold-soft);
    padding-left: 6px;
}
.ab-footer__info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #b7b1a7;
    font-size: 14.5px;
    line-height: 1.5;
}
.ab-footer__info svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: var(--ab-gold);
}
.ab-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}
.ab-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--ab-line);
    color: var(--ab-gold-soft);
    padding: 0;
}
.ab-footer__social a:hover {
    background: var(--ab-gold);
    color: var(--ab-ink);
    transform: translateY(-3px);
    padding-left: 0;
}
.ab-footer__social svg {
    width: 18px;
    height: 18px;
}
.ab-footer__bottom {
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 22px 24px;
    text-align: center;
    font-size: 13px;
    color: #8a857c;
}
.ab-footer__bottom strong { color: var(--ab-gold-soft); font-weight: 600; }

@media (max-width: 900px) {
    .ab-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
    .ab-footer { padding-top: 44px; }
    .ab-footer__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
    .ab-footer h4::after { left: 50%; transform: translateX(-50%); }
    .ab-footer__about { margin: 0 auto; }
    .ab-footer__info li { justify-content: center; }
    .ab-footer__social { justify-content: center; }
    .ab-footer a:hover { padding-left: 0; }
}

/* ---------------------------------------------------------------------
   2) USER ACCOUNT PANEL  (/user/*)
   --------------------------------------------------------------------- */
.ab-account {
    max-width: 1180px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 28px;
    font-family: var(--ab-font-body);
    color: #2a2620;
}
.ab-account__side {
    background: linear-gradient(160deg, var(--ab-ink-2), var(--ab-ink));
    border-radius: var(--ab-radius);
    padding: 26px 18px;
    box-shadow: var(--ab-shadow);
    align-self: start;
    position: sticky;
    top: 20px;
}
.ab-account__hello {
    color: #cfc9bf;
    font-size: 14px;
    padding: 0 10px 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ab-account__hello b { color: var(--ab-gold-soft); display: block; font-size: 18px; margin-top: 4px; font-family: var(--ab-font-head); }
.ab-account__nav { list-style: none; margin: 14px 0 0; padding: 0; }
.ab-account__nav li { margin: 4px 0; }
.ab-account__nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 11px;
    color: #c4beb4;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: all .18s ease;
}
.ab-account__nav a svg { width: 18px; height: 18px; opacity: .85; }
.ab-account__nav a:hover { background: rgba(201, 161, 74, .12); color: #fff; }
.ab-account__nav a.is-active {
    background: linear-gradient(90deg, var(--ab-gold), var(--ab-gold-soft));
    color: var(--ab-ink);
    font-weight: 600;
}
.ab-account__nav a.is-active svg { opacity: 1; }
.ab-account__nav .is-logout a { color: #e08f8f; }
.ab-account__nav .is-logout a:hover { background: rgba(224, 90, 90, .12); color: #ff9d9d; }

.ab-account__main {
    background: #fff;
    border-radius: var(--ab-radius);
    padding: 32px;
    box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .25);
    border: 1px solid #ece7dd;
    min-height: 320px;
}
.ab-account__title {
    font-family: var(--ab-font-head);
    font-size: 26px;
    margin: 0 0 6px;
    color: var(--ab-ink);
}
.ab-account__subtitle { color: #8a857c; font-size: 14.5px; margin: 0 0 26px; }

.ab-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.ab-card {
    border: 1px solid #ece7dd;
    border-radius: 13px;
    padding: 20px;
    text-decoration: none;
    color: var(--ab-ink);
    background: linear-gradient(180deg, #fffdf8, #f7f3ea);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
    display: block;
}
.ab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -18px rgba(201, 161, 74, .55);
    border-color: var(--ab-gold);
}
.ab-card__icon {
    width: 44px; height: 44px;
    border-radius: 11px;
    display: grid; place-items: center;
    background: rgba(201, 161, 74, .14);
    color: #9a7421;
    margin-bottom: 14px;
}
.ab-card__icon svg { width: 22px; height: 22px; }
.ab-card__label { font-weight: 600; font-size: 16px; }
.ab-card__desc { font-size: 13px; color: #8a857c; margin-top: 3px; }

@media (max-width: 820px) {
    .ab-account { grid-template-columns: 1fr; }
    .ab-account__side { position: static; }
    .ab-account__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
}
@media (max-width: 540px) {
    .ab-account { margin: 22px auto; }
    .ab-account__main { padding: 22px; }
    .ab-account__nav { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   3) HOMEPAGE SLIDER refinement
   --------------------------------------------------------------------- */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 10px;
    overflow: hidden;
    border-radius: 18px;
}
.slider { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.slide { position: relative; min-width: 100%; }
.slide > a { display: block; }
.slide .slider-img,
.slide .slide-bg-video {
    width: 100%;
    height: clamp(280px, 46vw, 620px);
    object-fit: cover;          /* fills nicely, no blur from stretching */
    display: block;
}
.slide .mobile-img { display: none; }
.slide-content {
    position: absolute;
    inset: auto auto 8% 6%;
    z-index: 3;
    max-width: 560px;
}
.slide-content h4 { font-family: var(--ab-font-head); }
.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(20, 18, 16, .55);
    color: var(--ab-gold-soft);
    font-size: 20px;
    cursor: pointer;
    z-index: 4;
    backdrop-filter: blur(4px);
    transition: background .2s ease;
}
.slider-nav button:hover { background: var(--ab-gold); color: var(--ab-ink); }
#prevBtn { left: 16px; }
#nextBtn { right: 16px; }
.slider-dots {
    position: absolute;
    bottom: 16px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 4;
}
.slider-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: all .2s ease;
}
.slider-dot.active { background: var(--ab-gold); width: 26px; border-radius: 5px; }

@media (max-width: 768px) {
    .slider-container { border-radius: 0; }
    .slide .desktop-img { display: none; }
    .slide .mobile-img { display: block; }
    .slide .slider-img { height: clamp(320px, 80vw, 480px); }
    .slider-nav button { width: 38px; height: 38px; font-size: 16px; }
    .slide-content { inset: auto auto 6% 5%; max-width: 86%; }
}

/* ---------------------------------------------------------------------
   4) HOMEPAGE "Latest Gallery" grid
   --------------------------------------------------------------------- */
.ab-gallery {
    max-width: 1280px;
    margin: 30px auto 10px;
    padding: 0 20px;
    font-family: var(--ab-font-body);
}
.ab-gallery__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 16px;
    flex-wrap: wrap;
}
.ab-gallery__head h2 {
    font-family: var(--ab-font-head);
    font-size: clamp(24px, 3.5vw, 36px);
    margin: 0;
    color: var(--ab-ink);
}
.ab-gallery__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ab-ink);
    font-weight: 600;
    border: 1.5px solid var(--ab-ink);
    border-radius: 999px;
    padding: 9px 20px;
    transition: all .2s ease;
    white-space: nowrap;
}
.ab-gallery__link:hover { background: var(--ab-ink); color: var(--ab-gold-soft); }
.ab-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ab-gallery__item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .5);
    display: block;
    background: #222;
}
.ab-gallery__item img,
.ab-gallery__item video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.ab-gallery__item:hover img { transform: scale(1.06); }
.ab-gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, 0) 55%);
}
.ab-gallery__caption {
    position: absolute;
    left: 16px; right: 16px; bottom: 14px;
    z-index: 2;
    color: #fff;
    font-family: var(--ab-font-head);
    font-size: 18px;
    line-height: 1.25;
}
@media (max-width: 1024px) { .ab-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .ab-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 420px)  { .ab-gallery__grid { grid-template-columns: 1fr 1fr; } .ab-gallery__caption { font-size: 15px; } }

/* ---------------------------------------------------------------------
   5) Generic "My account" pages that still use WoodMart wrappers
      (orders, payments, tickets, wishlist, address, profile).
      Re-skins the leftover markup so each page looks consistent and
      is fully responsive without needing the external WoodMart CSS.
   --------------------------------------------------------------------- */

/* page title banner */
.wd-page-title.page-title {
    height: 220px !important;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--ab-ink-2), var(--ab-ink)) !important;
    margin-bottom: 0;
}
.wd-page-title .container { max-width: 1180px; margin: 0 auto; padding: 0 20px; width: 100%; }
.wd-page-title .entry-title {
    font-family: var(--ab-font-head) !important;
    color: #fff !important;
    background: none !important;
    padding: 0 !important;
    font-size: clamp(26px, 4vw, 40px) !important;
    margin: 0 0 8px !important;
}
.wd-page-title .wd-breadcrumbs {
    background: none !important;
    padding: 0 !important;
    color: #b7b1a7 !important;
    font-size: 14px;
}
.wd-page-title .wd-breadcrumbs a { color: var(--ab-gold-soft); text-decoration: none; }
.wd-page-title .wd-breadcrumbs .wd-delimiter::before { content: "/"; margin: 0 8px; color: #6b665e; }

/* account 2-column wrapper */
.woocommerce-my-account-wrapper {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 28px;
    max-width: 1180px;
    margin: 36px auto;
    padding: 0 20px;
    font-family: var(--ab-font-body);
    align-items: start;
}
.wd-my-account-sidebar {
    background: linear-gradient(160deg, var(--ab-ink-2), var(--ab-ink));
    border-radius: var(--ab-radius);
    padding: 24px 16px;
    box-shadow: var(--ab-shadow);
    position: sticky;
    top: 20px;
}
.woocommerce-MyAccount-title {
    color: #fff !important;
    font-family: var(--ab-font-head) !important;
    font-size: 19px !important;
    padding: 0 10px 16px !important;
    margin: 0 0 8px !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
/* reuse ab nav look for the woocommerce nav too */
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li { margin: 4px 0; }
.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 11px 14px;
    border-radius: 11px;
    color: #c4beb4 !important;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: all .18s ease;
}
.woocommerce-MyAccount-navigation a:hover { background: rgba(201,161,74,.12); color: #fff !important; }
.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation-link.is-active a {
    background: linear-gradient(90deg, var(--ab-gold), var(--ab-gold-soft));
    color: var(--ab-ink) !important;
    font-weight: 600;
}

.woocommerce-MyAccount-content {
    background: #fff;
    border-radius: var(--ab-radius);
    padding: 30px;
    box-shadow: 0 12px 30px -20px rgba(0,0,0,.25);
    border: 1px solid #ece7dd;
    min-height: 300px;
    color: #2a2620;
}
.woocommerce-MyAccount-content p { line-height: 1.7; }
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 { font-family: var(--ab-font-head); color: var(--ab-ink); }

/* hide the duplicated plain link list that showed under the content */
.wd-my-account-links { display: none !important; }

/* tables */
.woocommerce-MyAccount-content table,
.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    margin: 8px 0 18px;
}
.woocommerce-MyAccount-content thead th,
.shop_table thead th {
    text-align: left;
    padding: 12px 14px;
    background: #faf7f0;
    color: #6b665e;
    font-weight: 600;
    border-bottom: 2px solid var(--ab-line);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.woocommerce-MyAccount-content tbody td,
.shop_table tbody td {
    padding: 14px;
    border-bottom: 1px solid #f0ece3;
    vertical-align: middle;
}
.woocommerce-MyAccount-content tbody tr:hover { background: #fcfaf5; }

/* buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-Button,
a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--ab-gold), var(--ab-gold-soft)) !important;
    color: var(--ab-ink) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.woocommerce-MyAccount-content .button:hover,
a.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(201,161,74,.7); }

/* form fields */
.woocommerce-MyAccount-content input:not([type="checkbox"]):not([type="radio"]),
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd6c9;
    border-radius: 10px;
    font-size: 14.5px;
    background: #fff;
    color: #2a2620;
    margin-bottom: 14px;
    font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
    outline: none;
    border-color: var(--ab-gold);
    box-shadow: 0 0 0 3px rgba(201,161,74,.15);
}
.woocommerce-MyAccount-content label { font-weight: 600; font-size: 13.5px; color: #4a453d; display: block; margin-bottom: 5px; }

/* status pills */
.order-status, .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(201,161,74,.14);
    color: #8a6a18;
}

@media (max-width: 820px) {
    .woocommerce-my-account-wrapper { grid-template-columns: 1fr; }
    .wd-my-account-sidebar { position: static; }
    .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
}
@media (max-width: 600px) {
    .woocommerce-MyAccount-content { padding: 20px; }
    .woocommerce-MyAccount-navigation ul { grid-template-columns: 1fr; }
    /* responsive tables: stack rows */
    .shop_table thead { display: none; }
    .shop_table, .shop_table tbody, .shop_table tr, .shop_table td, .shop_table tbody th { display: block; width: 100%; }
    .shop_table tr { border: 1px solid #eee6d8; border-radius: 12px; margin-bottom: 14px; padding: 6px; }
    .shop_table td, .shop_table tbody th { border: none; display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; text-align: right; }
    .shop_table td::before, .shop_table tbody th::before { content: attr(data-title); font-weight: 600; color: #6b665e; text-align: left; }
}

/* =====================================================================
   PHASE 1 — Reviews, Q&A, social share, similar & recently-viewed
   ===================================================================== */
.ab-pdp { max-width: 1180px; margin: 30px auto; padding: 0 20px; font-family: var(--ab-font-body); color: #2a2620; }

/* star rating (display) */
.ab-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.ab-stars svg { width: 18px; height: 18px; }
.ab-stars .on { fill: var(--ab-gold); }
.ab-stars .off { fill: #d8d2c5; }
.ab-stars.sm svg { width: 14px; height: 14px; }
.ab-stars.lg svg { width: 24px; height: 24px; }

/* summary header */
.ab-rev-summary { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center;
    background: linear-gradient(180deg,#fffdf8,#f7f3ea); border: 1px solid #ece7dd; border-radius: var(--ab-radius); padding: 26px; margin-bottom: 26px; }
.ab-rev-score { text-align: center; }
.ab-rev-score .num { font-family: var(--ab-font-head); font-size: 54px; line-height: 1; color: var(--ab-ink); }
.ab-rev-score .out { color: #8a857c; font-size: 14px; margin-top: 6px; }
.ab-rev-bars { display: flex; flex-direction: column; gap: 7px; }
.ab-rev-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #6b665e; }
.ab-rev-bar .lbl { width: 38px; white-space: nowrap; }
.ab-rev-bar .track { flex: 1; height: 8px; background: #ece7dd; border-radius: 999px; overflow: hidden; }
.ab-rev-bar .fill { height: 100%; background: linear-gradient(90deg,var(--ab-gold),var(--ab-gold-soft)); border-radius: 999px; }
.ab-rev-bar .cnt { width: 30px; text-align: right; }

/* section heading */
.ab-sec-title { font-family: var(--ab-font-head); font-size: 24px; color: var(--ab-ink); margin: 36px 0 18px; display: flex; align-items: center; gap: 12px; }
.ab-sec-title .pill { background: rgba(201,161,74,.15); color: #8a6a18; font-family: var(--ab-font-body); font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }

/* a single review / qa card */
.ab-rev-list { display: flex; flex-direction: column; gap: 16px; }
.ab-rev-card { border: 1px solid #ece7dd; border-radius: 13px; padding: 18px 20px; background: #fff; }
.ab-rev-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.ab-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(160deg,var(--ab-ink-2),var(--ab-ink)); color: var(--ab-gold-soft); display: grid; place-items: center; font-weight: 600; font-family: var(--ab-font-head); flex: 0 0 auto; }
.ab-rev-card__name { font-weight: 600; }
.ab-rev-card__meta { color: #8a857c; font-size: 12.5px; }
.ab-badge-verified { background: #e8f6ec; color: #1d6b34; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.ab-rev-card__title { font-weight: 600; margin: 4px 0; }
.ab-rev-card__body { color: #4a453d; line-height: 1.65; font-size: 14.5px; }
.ab-rev-card__foot { margin-top: 10px; }
.ab-helpful { background: none; border: 1px solid #ddd6c9; color: #6b665e; border-radius: 999px; padding: 5px 14px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .15s ease; }
.ab-helpful:hover { border-color: var(--ab-gold); color: #8a6a18; }

/* answer (nested) */
.ab-answer { margin-top: 12px; margin-left: 30px; padding-left: 16px; border-left: 2px solid var(--ab-line); }
.ab-answer .ab-rev-card__name .by { color: var(--ab-gold); font-size: 12px; margin-left: 6px; }

/* forms */
.ab-form { background: linear-gradient(180deg,#fffdf8,#f7f3ea); border: 1px solid #ece7dd; border-radius: var(--ab-radius); padding: 24px; margin-top: 18px; }
.ab-form h3 { font-family: var(--ab-font-head); margin: 0 0 16px; color: var(--ab-ink); font-size: 20px; }
.ab-form label { display: block; font-weight: 600; font-size: 13.5px; color: #4a453d; margin: 0 0 6px; }
.ab-form input[type=text], .ab-form input[type=email], .ab-form textarea {
    width: 100%; padding: 11px 14px; border: 1px solid #ddd6c9; border-radius: 10px; font: inherit; font-size: 14.5px; background: #fff; margin-bottom: 14px; box-sizing: border-box; }
.ab-form input:focus, .ab-form textarea:focus { outline: none; border-color: var(--ab-gold); box-shadow: 0 0 0 3px rgba(201,161,74,.15); }
.ab-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ab-btn-gold { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg,var(--ab-gold),var(--ab-gold-soft)); color: var(--ab-ink); border: none; border-radius: 10px; padding: 11px 22px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.ab-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(201,161,74,.7); }

/* star input */
.ab-star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 16px; }
.ab-star-input input { display: none; }
.ab-star-input label { cursor: pointer; margin: 0; }
.ab-star-input label svg { width: 30px; height: 30px; fill: #d8d2c5; transition: fill .12s ease; }
.ab-star-input input:checked ~ label svg,
.ab-star-input label:hover svg,
.ab-star-input label:hover ~ label svg { fill: var(--ab-gold); }

/* social share */
.ab-share { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.ab-share .lbl { font-size: 14px; color: #6b665e; font-weight: 600; }
.ab-share a, .ab-share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #e3ddd0; background: #fff; color: #5f5a52; cursor: pointer; transition: all .18s ease; padding: 0; }
.ab-share a:hover, .ab-share button:hover { transform: translateY(-3px); border-color: var(--ab-gold); color: var(--ab-gold); }
.ab-share svg { width: 18px; height: 18px; }

/* product mini-card (similar / recently viewed) */
.ab-pgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.ab-pcard { border: 1px solid #ece7dd; border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.ab-pcard:hover { transform: translateY(-5px); box-shadow: 0 18px 34px -20px rgba(0,0,0,.45); }
.ab-pcard__img { aspect-ratio: 1/1; background: #f1ede4; overflow: hidden; }
.ab-pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ab-pcard:hover .ab-pcard__img img { transform: scale(1.06); }
.ab-pcard__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.ab-pcard__name { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.ab-pcard__price { color: var(--ab-ink); font-weight: 600; }
.ab-pcard__price .old { color: #b1a99c; text-decoration: line-through; font-weight: 400; font-size: 13px; margin-right: 6px; }

@media (max-width: 1024px) { .ab-pgrid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 820px) {
    .ab-rev-summary { grid-template-columns: 1fr; gap: 18px; text-align: center; }
    .ab-pgrid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .ab-form .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .ab-pgrid { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   PHASE 2-5 — wallet, loyalty, chat, auctions, returns, tracking, etc.
   ===================================================================== */
.ab-stat-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:16px; margin-bottom:24px; }
.ab-stat { background:linear-gradient(160deg,var(--ab-ink-2),var(--ab-ink)); color:#fff; border-radius:14px; padding:20px; }
.ab-stat .v { font-family:var(--ab-font-head); font-size:30px; color:var(--ab-gold-soft); line-height:1; }
.ab-stat .l { color:#b7b1a7; font-size:13px; margin-top:8px; }

.ab-wallet-hero { background:linear-gradient(135deg,var(--ab-ink),var(--ab-ink-2)); color:#fff; border-radius:18px; padding:30px; margin-bottom:24px; position:relative; overflow:hidden; }
.ab-wallet-hero::after{ content:""; position:absolute; right:-40px; top:-40px; width:180px; height:180px; border-radius:50%; background:rgba(201,161,74,.15); }
.ab-wallet-hero .bal { font-family:var(--ab-font-head); font-size:46px; color:var(--ab-gold-soft); }
.ab-wallet-hero .cap { color:#b7b1a7; font-size:13px; text-transform:uppercase; letter-spacing:1px; }

.ab-txn { display:flex; justify-content:space-between; align-items:center; padding:14px 0; border-bottom:1px solid #f0ece3; }
.ab-txn .desc { font-size:14px; }
.ab-txn .time { font-size:12px; color:#8a857c; }
.ab-txn .amt.credit { color:#1d6b34; font-weight:600; }
.ab-txn .amt.debit { color:#a33; font-weight:600; }

/* chat */
.ab-chat { display:grid; grid-template-columns:300px 1fr; gap:0; border:1px solid #ece7dd; border-radius:16px; overflow:hidden; min-height:480px; background:#fff; }
.ab-chat__list { border-right:1px solid #ece7dd; overflow-y:auto; }
.ab-chat__item { display:block; padding:14px 16px; border-bottom:1px solid #f3efe7; text-decoration:none; color:inherit; }
.ab-chat__item:hover, .ab-chat__item.active { background:#faf7f0; }
.ab-chat__item .who { font-weight:600; font-size:14px; }
.ab-chat__item .last { color:#8a857c; font-size:12.5px; }
.ab-chat__main { display:flex; flex-direction:column; }
.ab-chat__head { padding:16px; border-bottom:1px solid #ece7dd; font-weight:600; }
.ab-chat__body { flex:1; padding:18px; overflow-y:auto; display:flex; flex-direction:column; gap:10px; background:#fbf9f4; }
.ab-bubble { max-width:70%; padding:10px 14px; border-radius:14px; font-size:14px; line-height:1.5; }
.ab-bubble.me { align-self:flex-end; background:linear-gradient(90deg,var(--ab-gold),var(--ab-gold-soft)); color:var(--ab-ink); border-bottom-right-radius:4px; }
.ab-bubble.them { align-self:flex-start; background:#fff; border:1px solid #ece7dd; border-bottom-left-radius:4px; }
.ab-bubble .t { display:block; font-size:10.5px; opacity:.65; margin-top:4px; }
.ab-chat__compose { display:flex; gap:10px; padding:14px; border-top:1px solid #ece7dd; }
.ab-chat__compose input { flex:1; padding:11px 14px; border:1px solid #ddd6c9; border-radius:999px; font:inherit; }

/* auction */
.ab-auction-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:20px; }
.ab-auc-card { border:1px solid #ece7dd; border-radius:16px; overflow:hidden; background:#fff; text-decoration:none; color:inherit; transition:transform .18s,box-shadow .18s; }
.ab-auc-card:hover { transform:translateY(-4px); box-shadow:var(--ab-shadow); }
.ab-auc-card__img { aspect-ratio:4/3; background:#f1ede4; }
.ab-auc-card__img img{ width:100%; height:100%; object-fit:cover; }
.ab-auc-card__body { padding:14px 16px; }
.ab-countdown { display:inline-flex; gap:6px; background:var(--ab-ink); color:var(--ab-gold-soft); padding:5px 12px; border-radius:999px; font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; }
.ab-live-badge { background:#e24b4a; color:#fff; font-size:11px; font-weight:700; padding:3px 10px; border-radius:999px; text-transform:uppercase; letter-spacing:.5px; }

/* edition / type badges on PDP */
.ab-type-badge { display:inline-flex; align-items:center; gap:6px; background:rgba(201,161,74,.15); color:#8a6a18; padding:5px 14px; border-radius:999px; font-size:13px; font-weight:600; margin:6px 8px 6px 0; }

/* certificate */
.ab-cert { max-width:760px; margin:40px auto; background:linear-gradient(160deg,#fffdf8,#f3ecda); border:2px solid var(--ab-gold); border-radius:18px; padding:48px; text-align:center; box-shadow:var(--ab-shadow); }
.ab-cert h1 { font-family:var(--ab-font-head); color:var(--ab-ink); font-size:34px; margin:0 0 6px; }
.ab-cert .seal { width:90px; height:90px; border-radius:50%; border:3px solid var(--ab-gold); display:grid; place-items:center; margin:0 auto 18px; color:var(--ab-gold); font-family:var(--ab-font-head); font-size:13px; }
.ab-cert .num { letter-spacing:2px; color:#8a6a18; font-weight:600; margin-top:18px; }
.ab-cert dl { display:grid; grid-template-columns:auto 1fr; gap:10px 20px; text-align:left; max-width:420px; margin:24px auto; }
.ab-cert dt { color:#8a857c; font-size:13px; }
.ab-cert dd { margin:0; font-weight:600; }

/* timeline (order tracking) */
.ab-timeline { list-style:none; margin:18px 0; padding:0 0 0 8px; }
.ab-timeline li { position:relative; padding:0 0 22px 28px; border-left:2px solid var(--ab-line); }
.ab-timeline li:last-child { border-left-color:transparent; }
.ab-timeline li::before { content:""; position:absolute; left:-7px; top:2px; width:12px; height:12px; border-radius:50%; background:var(--ab-gold); }
.ab-timeline .st { font-weight:600; text-transform:capitalize; }
.ab-timeline .tm { font-size:12.5px; color:#8a857c; }

@media (max-width:768px){
  .ab-chat { grid-template-columns:1fr; }
  .ab-chat__list { max-height:220px; }
}

/* =====================================================================
   PHASE 6 — Advanced shop & filters
   ===================================================================== */
.ab-shop { max-width:1280px; margin:30px auto; padding:0 20px; display:grid; grid-template-columns:260px 1fr; gap:28px; font-family:var(--ab-font-body); color:#2a2620; }
.ab-shop__filters { background:#fff; border:1px solid #ece7dd; border-radius:var(--ab-radius); padding:22px; align-self:start; position:sticky; top:20px; }
.ab-shop__filters h3 { font-family:var(--ab-font-head); font-size:18px; margin:0 0 14px; color:var(--ab-ink); }
.ab-fgroup { border-top:1px solid #f0ece3; padding:16px 0; }
.ab-fgroup:first-of-type { border-top:none; padding-top:0; }
.ab-fgroup h4 { font-size:13px; text-transform:uppercase; letter-spacing:.5px; color:#8a857c; margin:0 0 10px; }
.ab-fopt { display:flex; align-items:center; gap:8px; margin-bottom:7px; font-size:14px; cursor:pointer; }
.ab-fopt input { accent-color:var(--ab-gold); width:16px; height:16px; }
.ab-swatch { width:16px; height:16px; border-radius:50%; border:1px solid rgba(0,0,0,.15); display:inline-block; }
.ab-shop__search { display:flex; gap:8px; margin-bottom:8px; }
.ab-shop__search input { flex:1; padding:10px 14px; border:1px solid #ddd6c9; border-radius:10px; font:inherit; }
.ab-shop__toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.ab-shop__count { color:#8a857c; font-size:14px; }
.ab-shop__sort select { padding:9px 14px; border:1px solid #ddd6c9; border-radius:10px; font:inherit; background:#fff; }
.ab-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.ab-chip { background:rgba(201,161,74,.14); color:#8a6a18; border-radius:999px; padding:4px 12px; font-size:13px; display:inline-flex; align-items:center; gap:6px; text-decoration:none; }
.ab-chip a { color:#8a6a18; text-decoration:none; font-weight:700; }
.ab-shop__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.ab-filter-toggle { display:none; }
@media (max-width:1024px){ .ab-shop__grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:820px){
    .ab-shop{ grid-template-columns:1fr; }
    .ab-shop__filters{ position:static; display:none; }
    .ab-shop__filters.open{ display:block; }
    .ab-filter-toggle{ display:inline-flex; align-items:center; gap:8px; }
}
@media (max-width:420px){ .ab-shop__grid{ grid-template-columns:1fr 1fr; gap:12px; } }

/* =====================================================================
   PHASE 7 — Blog / journal / events calendar / tickets
   ===================================================================== */
.ab-wrap { max-width:1180px; margin:34px auto; padding:0 20px; font-family:var(--ab-font-body); color:#2a2620; }
.ab-page-head { text-align:center; margin-bottom:34px; }
.ab-page-head h1 { font-family:var(--ab-font-head); font-size:clamp(28px,5vw,46px); color:var(--ab-ink); margin:0 0 8px; }
.ab-page-head p { color:#8a857c; max-width:620px; margin:0 auto; }
.ab-blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.ab-blog-card { background:#fff; border:1px solid #ece7dd; border-radius:16px; overflow:hidden; text-decoration:none; color:inherit; display:flex; flex-direction:column; transition:transform .18s ease, box-shadow .18s ease; }
.ab-blog-card:hover { transform:translateY(-5px); box-shadow:0 18px 36px -22px rgba(0,0,0,.5); }
.ab-blog-card__img { aspect-ratio:16/10; background:#ece7dd; overflow:hidden; }
.ab-blog-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.ab-blog-card:hover .ab-blog-card__img img { transform:scale(1.05); }
.ab-blog-card__body { padding:18px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.ab-blog-card__type { font-size:12px; text-transform:uppercase; letter-spacing:.6px; color:var(--ab-gold); font-weight:700; }
.ab-blog-card__title { font-family:var(--ab-font-head); font-size:20px; line-height:1.25; color:var(--ab-ink); }
.ab-blog-card__meta { margin-top:auto; color:#8a857c; font-size:13px; }
.ab-article { max-width:760px; margin:0 auto; }
.ab-article__cover { width:100%; border-radius:16px; margin-bottom:24px; }
.ab-article__body { font-size:17px; line-height:1.8; color:#3a352d; }
.ab-article__body p { margin:0 0 18px; }
.ab-calendar { background:#fff; border:1px solid #ece7dd; border-radius:16px; padding:20px; }
.ab-cal-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.ab-cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.ab-cal-dow { text-align:center; font-size:12px; color:#8a857c; font-weight:600; padding:6px 0; }
.ab-cal-cell { min-height:74px; border:1px solid #f0ece3; border-radius:10px; padding:6px; font-size:12px; }
.ab-cal-cell.dim { background:#faf8f3; color:#c3bdb2; }
.ab-cal-cell .d { font-weight:600; color:#6b665e; }
.ab-cal-ev { display:block; background:linear-gradient(90deg,var(--ab-gold),var(--ab-gold-soft)); color:var(--ab-ink); border-radius:6px; padding:2px 6px; margin-top:4px; font-size:11px; text-decoration:none; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ab-tier { display:inline-flex; align-items:center; gap:6px; padding:3px 12px; border-radius:999px; font-size:12px; font-weight:700; }
.ab-tier.vip { background:linear-gradient(90deg,#c9a14a,#e0c478); color:#1d1a16; }
.ab-tier.gold { background:#f6e6c2; color:#8a6a18; }
.ab-tier.silver { background:#e8e8ea; color:#555; }
.ab-tier.standard { background:#eee; color:#777; }
@media (max-width:900px){ .ab-blog-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .ab-blog-grid{ grid-template-columns:1fr;} .ab-cal-cell{ min-height:54px; } }

/* =====================================================================
   PHASE 9 — Support tickets, auth extras, dark mode
   ===================================================================== */
.ab-support-list { display:flex; flex-direction:column; gap:12px; }
.ab-support-row { display:flex; justify-content:space-between; align-items:center; padding:16px; border:1px solid #ece7dd; border-radius:13px; background:#fff; text-decoration:none; color:inherit; transition:border-color .15s; }
.ab-support-row:hover { border-color:var(--ab-gold); }
.ab-pri { font-size:11.5px; font-weight:700; padding:2px 9px; border-radius:999px; text-transform:uppercase; }
.ab-pri.low{background:#eef;color:#4456b8} .ab-pri.normal{background:#eef6ec;color:#2c7a3f} .ab-pri.high{background:#fdf0e3;color:#b5651d} .ab-pri.urgent{background:#fdeaea;color:#c0392b}
.ab-st-status{ font-size:12px; font-weight:600; padding:3px 10px; border-radius:999px; background:rgba(201,161,74,.14); color:#8a6a18; }
.ab-chat-thread { display:flex; flex-direction:column; gap:12px; margin:18px 0; }
.ab-msg { max-width:78%; padding:12px 16px; border-radius:14px; font-size:14.5px; line-height:1.5; }
.ab-msg.them { background:#f1ede4; align-self:flex-start; border-bottom-left-radius:4px; }
.ab-msg.me { background:linear-gradient(135deg,var(--ab-ink),var(--ab-ink-2)); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.ab-msg .who { font-size:11.5px; opacity:.7; margin-bottom:3px; }
.ab-2fa-grid { display:grid; grid-template-columns:200px 1fr; gap:24px; align-items:center; }
.ab-google-btn { display:inline-flex; align-items:center; gap:10px; width:100%; justify-content:center; padding:12px; border:1px solid #ddd6c9; border-radius:10px; background:#fff; color:#3a352d; font-weight:600; text-decoration:none; transition:background .15s; }
.ab-google-btn:hover { background:#faf7f0; }
@media (max-width:560px){ .ab-2fa-grid{ grid-template-columns:1fr; } .ab-msg{ max-width:88%; } }

/* ---- Dark mode ---- */
body.ab-dark { background:#15130f; color:#e6e1d6; }
body.ab-dark .ab-account__main,
body.ab-dark .woocommerce-MyAccount-content,
body.ab-dark .ab-card,
body.ab-dark .ab-rev-card,
body.ab-dark .ab-blog-card,
body.ab-dark .ab-support-row,
body.ab-dark .ab-shop__filters,
body.ab-dark .ab-pcard,
body.ab-dark .ab-form,
body.ab-dark .ab-calendar { background:#1f1c17 !important; border-color:#34302a !important; color:#e6e1d6; }
body.ab-dark .ab-card__desc, body.ab-dark .ab-shop__count, body.ab-dark .ab-blog-card__meta { color:#a39d92; }
body.ab-dark .ab-account__title, body.ab-dark .ab-sec-title, body.ab-dark .ab-blog-card__title { color:#f1ece1; }
body.ab-dark input, body.ab-dark textarea, body.ab-dark select { background:#15130f; color:#e6e1d6; border-color:#34302a; }
.ab-theme-toggle { background:none; border:none; cursor:pointer; color:inherit; display:inline-flex; align-items:center; padding:6px; border-radius:8px; }
.ab-theme-toggle:hover { background:rgba(201,161,74,.15); }

/* =====================================================================
   ADD-ON — Advanced compare table + Push opt-in
   ===================================================================== */
.ab-compare { max-width:1280px; margin:30px auto; padding:0 20px; font-family:var(--ab-font-body); color:#2a2620; }
.ab-compare__head { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.ab-compare__head h1 { font-family:var(--ab-font-head); font-size:clamp(26px,4vw,40px); margin:0; color:var(--ab-ink); }
.ab-compare__wrap { overflow-x:auto; border:1px solid #ece7dd; border-radius:var(--ab-radius); background:#fff; }
table.ab-compare-tbl { width:100%; border-collapse:collapse; min-width:640px; }
table.ab-compare-tbl th, table.ab-compare-tbl td { padding:16px; text-align:left; vertical-align:top; border-bottom:1px solid #f0ece3; }
table.ab-compare-tbl thead td { text-align:center; vertical-align:bottom; background:linear-gradient(180deg,#fffdf8,#f7f3ea); }
table.ab-compare-tbl .row-label { font-weight:600; color:#6b665e; font-size:13px; text-transform:uppercase; letter-spacing:.4px; width:150px; background:#faf8f3; white-space:nowrap; }
.ab-cmp-card { display:flex; flex-direction:column; align-items:center; gap:10px; min-width:160px; }
.ab-cmp-card__img { width:120px; height:120px; border-radius:12px; overflow:hidden; background:#f1ede4; }
.ab-cmp-card__img img { width:100%; height:100%; object-fit:cover; }
.ab-cmp-card__name { font-weight:600; font-size:15px; text-align:center; line-height:1.3; color:var(--ab-ink); text-decoration:none; }
.ab-cmp-card__name:hover { color:var(--ab-gold); }
.ab-cmp-remove { background:none; border:1px solid #e3ddd0; color:#a33; border-radius:999px; padding:4px 12px; font-size:12px; cursor:pointer; transition:all .15s; }
.ab-cmp-remove:hover { background:#fdeaea; border-color:#e3b3b3; }
.ab-cmp-row:hover td { background:#fcfaf5; }
.ab-cmp-row:hover .row-label { background:#f3eee3; }
.ab-cmp-empty { text-align:center; padding:60px 20px; color:#8a857c; }
body.ab-dark table.ab-compare-tbl th, body.ab-dark table.ab-compare-tbl td { border-color:#34302a; }
body.ab-dark table.ab-compare-tbl thead td, body.ab-dark .row-label { background:#1a1712 !important; color:#cfc9bf; }
body.ab-dark .ab-compare__wrap { background:#1f1c17; border-color:#34302a; }

/* push opt-in card */
.ab-push-card { display:flex; align-items:center; gap:14px; background:linear-gradient(160deg,var(--ab-ink-2),var(--ab-ink)); color:#fff; border-radius:14px; padding:18px 20px; margin-bottom:18px; }
.ab-push-card svg { width:28px; height:28px; color:var(--ab-gold-soft); flex:0 0 auto; }
.ab-push-card .txt { flex:1; }
.ab-push-card .txt b { font-family:var(--ab-font-head); color:var(--ab-gold-soft); }
.ab-push-card .txt p { margin:2px 0 0; color:#b7b1a7; font-size:13px; }

/* =====================================================================
   ArtBazaar — added components (tickets, wishlist, cart, checkout,
   events detail, shared empty-state & badges). Mobile-first responsive.
   ===================================================================== */

/* shared empty state */
.ab-empty { text-align:center; padding:54px 20px; color:#8a857c; }
.ab-empty svg { display:block; margin:0 auto; }

/* shared badges */
.ab-badge { display:inline-block; font-size:12px; font-weight:600; padding:4px 12px; border-radius:999px; line-height:1; white-space:nowrap; }
.ab-badge--ok   { background:rgba(69,150,71,.14);  color:#1d6b34; }
.ab-badge--info { background:rgba(80,140,200,.16); color:#235a86; }
.ab-badge--warn { background:rgba(201,161,74,.16); color:#8a6a18; }

/* ---------- Tickets ---------- */
.ab-ticket-list { display:flex; flex-direction:column; gap:12px; }
.ab-ticket {
    display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:16px;
    border:1px solid #ece7dd; border-radius:14px; padding:16px 18px;
    background:linear-gradient(180deg,#fffdf8,#f7f3ea); transition:box-shadow .18s,border-color .18s,transform .18s;
}
.ab-ticket:hover { box-shadow:0 14px 28px -20px rgba(201,161,74,.6); border-color:var(--ab-gold); transform:translateY(-2px); }
.ab-ticket__stub { width:46px; height:46px; border-radius:11px; display:grid; place-items:center; background:rgba(201,161,74,.14); color:#9a7421; flex:0 0 auto; }
.ab-ticket__event { font-weight:600; font-size:15.5px; color:var(--ab-ink); }
.ab-ticket__meta { color:#8a857c; font-size:13px; margin-top:2px; }
@media (max-width:680px){
    .ab-ticket { grid-template-columns:auto 1fr; grid-template-areas:"stub info" "status action"; row-gap:12px; }
    .ab-ticket__stub { grid-area:stub; } .ab-ticket__info { grid-area:info; }
    .ab-ticket__status { grid-area:status; } .ab-ticket__action { grid-area:action; justify-self:end; }
}

/* ---------- Wishlist ---------- */
.ab-wishlist-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.ab-wish-card { position:relative; border:1px solid #ece7dd; border-radius:16px; overflow:hidden; background:#fff; transition:box-shadow .18s,transform .18s,border-color .18s; }
.ab-wish-card:hover { transform:translateY(-4px); box-shadow:0 18px 34px -20px rgba(0,0,0,.3); border-color:var(--ab-gold); }
.ab-wish-card__img { display:block; aspect-ratio:1/1; background:#f1ede4; overflow:hidden; }
.ab-wish-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.ab-wish-card:hover .ab-wish-card__img img { transform:scale(1.05); }
.ab-wish-card__remove { position:absolute; top:10px; right:10px; z-index:2; }
.ab-wish-card__remove button { width:32px; height:32px; border-radius:50%; border:none; background:rgba(255,255,255,.92); color:#a33; font-size:20px; line-height:1; cursor:pointer; box-shadow:0 4px 12px -4px rgba(0,0,0,.3); transition:background .15s; }
.ab-wish-card__remove button:hover { background:#fdeaea; }
.ab-wish-card__body { padding:16px; }
.ab-wish-card__name { display:block; font-weight:600; font-size:15.5px; color:var(--ab-ink); text-decoration:none; line-height:1.3; }
.ab-wish-card__name:hover { color:var(--ab-gold); }
.ab-wish-card__cats { margin:6px 0; display:flex; flex-wrap:wrap; gap:6px; }
.ab-wish-card__cats a { font-size:11.5px; color:#8a857c; text-decoration:none; background:#f4f1ea; padding:2px 9px; border-radius:999px; }
.ab-wish-card__cats a:hover { color:var(--ab-gold); }
.ab-wish-card__price { font-family:var(--ab-font-head); font-size:20px; color:var(--ab-ink); margin:8px 0 14px; }
.ab-wish-card__price small { font-size:12px; color:#8a857c; }
@media (max-width:820px){ .ab-wishlist-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:460px){ .ab-wishlist-grid { grid-template-columns:1fr; } }

/* ---------- Cart ---------- */
.ab-cart { max-width:1180px; margin:36px auto; padding:0 20px; display:grid; grid-template-columns:1fr 360px; gap:28px; font-family:var(--ab-font-body); color:#2a2620; align-items:start; }
.ab-cart__main { background:#fff; border:1px solid #ece7dd; border-radius:var(--ab-radius); padding:8px 22px 22px; }
.ab-cart__title { font-family:var(--ab-font-head); font-size:clamp(24px,3vw,34px); color:var(--ab-ink); margin:18px 0 22px; }
.ab-cart-row { display:grid; grid-template-columns:84px 1fr auto auto auto; align-items:center; gap:16px; padding:16px 0; border-bottom:1px solid #f0ece3; }
.ab-cart-row:last-of-type { border-bottom:none; }
.ab-cart-row__img { width:84px; height:84px; border-radius:12px; overflow:hidden; background:#f1ede4; }
.ab-cart-row__img img { width:100%; height:100%; object-fit:cover; }
.ab-cart-row__name { font-weight:600; color:var(--ab-ink); text-decoration:none; font-size:15px; }
.ab-cart-row__name:hover { color:var(--ab-gold); }
.ab-cart-row__price { color:#6b665e; font-size:13px; margin-top:3px; }
.ab-cart-row__qty { font-weight:600; color:#4a453d; min-width:38px; text-align:center; }
.ab-cart-row__total { font-family:var(--ab-font-head); font-size:17px; color:var(--ab-ink); white-space:nowrap; }
.ab-cart-row__rm { background:none; border:1px solid #e3ddd0; color:#a33; border-radius:999px; padding:6px 12px; font-size:12px; cursor:pointer; transition:all .15s; }
.ab-cart-row__rm:hover { background:#fdeaea; border-color:#e3b3b3; }
.ab-cart__coupon { display:flex; gap:10px; margin-top:20px; flex-wrap:wrap; }
.ab-cart__coupon input { flex:1; min-width:180px; padding:11px 14px; border:1px solid #ddd6c9; border-radius:10px; font:inherit; }
.ab-cart__coupon input:focus { outline:none; border-color:var(--ab-gold); box-shadow:0 0 0 3px rgba(201,161,74,.15); }
.ab-summary { background:linear-gradient(160deg,var(--ab-ink-2),var(--ab-ink)); color:#e7e2d8; border-radius:var(--ab-radius); padding:26px; box-shadow:var(--ab-shadow); position:sticky; top:20px; }
.ab-summary h3 { font-family:var(--ab-font-head); color:#fff; font-size:20px; margin:0 0 18px; }
.ab-summary__row { display:flex; justify-content:space-between; padding:10px 0; font-size:14px; border-bottom:1px solid rgba(255,255,255,.08); }
.ab-summary__row span:last-child { color:var(--ab-gold-soft); font-weight:600; }
.ab-summary__total { display:flex; justify-content:space-between; align-items:baseline; padding:16px 0 4px; }
.ab-summary__total b { font-size:15px; color:#fff; }
.ab-summary__total .v { font-family:var(--ab-font-head); font-size:26px; color:var(--ab-gold-soft); }
.ab-summary .ab-btn-gold { width:100%; justify-content:center; margin-top:18px; padding:14px; font-size:15px; }
@media (max-width:900px){ .ab-cart { grid-template-columns:1fr; } .ab-summary { position:static; } }
@media (max-width:560px){
    .ab-cart-row { grid-template-columns:64px 1fr auto; grid-template-areas:"img name total" "img qty rm"; row-gap:8px; }
    .ab-cart-row__img { grid-area:img; width:64px; height:64px; } .ab-cart-row__info { grid-area:name; }
    .ab-cart-row__qty { grid-area:qty; text-align:left; } .ab-cart-row__total { grid-area:total; justify-self:end; }
    .ab-cart-row__rm { grid-area:rm; justify-self:end; }
    .ab-cart-row__priceCell { display:none; }
}

/* ---------- Checkout ---------- */
.ab-checkout { max-width:1180px; margin:36px auto; padding:0 20px; display:grid; grid-template-columns:1fr 380px; gap:28px; font-family:var(--ab-font-body); color:#2a2620; align-items:start; }
.ab-checkout__title { grid-column:1/-1; font-family:var(--ab-font-head); font-size:clamp(26px,3.5vw,38px); color:var(--ab-ink); margin:0 0 6px; }
.ab-co-card { background:#fff; border:1px solid #ece7dd; border-radius:var(--ab-radius); padding:26px; margin-bottom:22px; }
.ab-co-card h3 { display:flex; align-items:center; gap:10px; font-family:var(--ab-font-head); font-size:19px; color:var(--ab-ink); margin:0 0 18px; }
.ab-co-card h3 .n { width:26px; height:26px; border-radius:50%; background:linear-gradient(90deg,var(--ab-gold),var(--ab-gold-soft)); color:var(--ab-ink); display:grid; place-items:center; font-size:13px; font-weight:700; font-family:var(--ab-font-body); }
.ab-field { margin-bottom:16px; }
.ab-field label { display:block; font-weight:600; font-size:13.5px; color:#4a453d; margin:0 0 6px; }
.ab-field label .req { color:#c0392b; }
.ab-field input, .ab-field select, .ab-field textarea { width:100%; padding:12px 14px; border:1px solid #ddd6c9; border-radius:10px; font:inherit; background:#fff; box-sizing:border-box; }
.ab-field input:focus, .ab-field select:focus, .ab-field textarea:focus { outline:none; border-color:var(--ab-gold); box-shadow:0 0 0 3px rgba(201,161,74,.15); }
.ab-field--row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.ab-co-order { display:flex; gap:14px; padding:14px 0; border-bottom:1px solid #f0ece3; align-items:center; }
.ab-co-order:last-child { border-bottom:none; }
.ab-co-order img { width:64px; height:64px; border-radius:10px; object-fit:cover; background:#f1ede4; }
.ab-co-order .nm { flex:1; font-size:14.5px; color:var(--ab-ink); }
.ab-co-order .pr { font-family:var(--ab-font-head); color:var(--ab-ink); }
.ab-pay-opt { display:flex; align-items:center; gap:12px; padding:14px 16px; border:1px solid #ddd6c9; border-radius:12px; margin-bottom:12px; cursor:pointer; transition:border-color .15s,background .15s; }
.ab-pay-opt:hover { border-color:var(--ab-gold); background:#fdfbf6; }
.ab-pay-opt input { width:18px; height:18px; accent-color:var(--ab-gold); }
.ab-pay-opt .lbl b { display:block; font-size:14.5px; color:var(--ab-ink); }
.ab-pay-opt .lbl span { font-size:12.5px; color:#8a857c; }
@media (max-width:900px){ .ab-checkout { grid-template-columns:1fr; } .ab-summary { position:static; } }
@media (max-width:520px){ .ab-field--row { grid-template-columns:1fr; } }

/* ---------- Events detail ---------- */
.ab-event { max-width:1180px; margin:0 auto 60px; padding:0 20px; }
.ab-event__hero { position:relative; border-radius:0 0 var(--ab-radius) var(--ab-radius); overflow:hidden; min-height:300px; display:flex; align-items:flex-end; }
.ab-event__hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ab-event__hero::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.78)); }
.ab-event__hero-text { position:relative; z-index:2; padding:36px; color:#fff; }
.ab-event__hero-text h1 { font-family:var(--ab-font-head); font-size:clamp(28px,4.5vw,46px); margin:0; text-shadow:0 2px 18px rgba(0,0,0,.5); }
.ab-event__crumbs { color:rgba(255,255,255,.85); font-size:13px; margin-bottom:10px; }
.ab-event__crumbs a { color:var(--ab-gold-soft); text-decoration:none; }
.ab-event__grid { display:grid; grid-template-columns:1fr 380px; gap:30px; margin-top:30px; align-items:start; }
.ab-event__desc { background:#fff; border:1px solid #ece7dd; border-radius:var(--ab-radius); padding:28px; color:#4a453d; line-height:1.8; font-size:15.5px; }
.ab-event__desc h2 { font-family:var(--ab-font-head); color:var(--ab-ink); font-size:22px; margin:0 0 14px; }
.ab-event__facts { display:flex; flex-wrap:wrap; gap:14px; margin:20px 0 0; padding:0; list-style:none; }
.ab-event__facts li { display:flex; align-items:center; gap:10px; background:#f4f1ea; border-radius:12px; padding:12px 16px; font-size:14px; color:#4a453d; }
.ab-event__facts svg { width:18px; height:18px; color:var(--ab-gold); flex:0 0 auto; }
.ab-event__book { background:linear-gradient(160deg,#fffdf8,#f7f3ea); border:1px solid #ece7dd; border-radius:var(--ab-radius); padding:26px; position:sticky; top:20px; box-shadow:0 16px 36px -24px rgba(0,0,0,.3); }
.ab-event__book h3 { font-family:var(--ab-font-head); font-size:20px; color:var(--ab-ink); margin:0 0 18px; }
.ab-ticket-pick { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 0; border-bottom:1px dashed #e3ddd0; }
.ab-ticket-pick:last-of-type { border-bottom:none; }
.ab-ticket-pick .nm { font-weight:600; color:var(--ab-ink); font-size:14.5px; }
.ab-ticket-pick .pr { color:var(--ab-gold); font-family:var(--ab-font-head); font-size:16px; }
.ab-ticket-pick input[type=number] { width:72px; padding:9px 10px; border:1px solid #ddd6c9; border-radius:10px; font:inherit; text-align:center; }
.ab-event__book select { width:100%; padding:11px 14px; border:1px solid #ddd6c9; border-radius:10px; font:inherit; background:#fff; margin-top:6px; }
.ab-event__book .ab-btn-gold { width:100%; justify-content:center; margin-top:18px; padding:14px; font-size:15px; }
@media (max-width:900px){ .ab-event__grid { grid-template-columns:1fr; } .ab-event__book { position:static; } }

/* dark mode for new components */
body.ab-dark .ab-cart__main, body.ab-dark .ab-co-card, body.ab-dark .ab-wish-card,
body.ab-dark .ab-event__desc { background:#1f1c17; border-color:#34302a; color:#cfc9bf; }
body.ab-dark .ab-cart-row__name, body.ab-dark .ab-cart-row__total, body.ab-dark .ab-cart__title,
body.ab-dark .ab-wish-card__name, body.ab-dark .ab-wish-card__price, body.ab-dark .ab-event__desc h2,
body.ab-dark .ab-co-card h3, body.ab-dark .ab-checkout__title { color:#f1ece1; }
body.ab-dark .ab-field input, body.ab-dark .ab-field select, body.ab-dark .ab-field textarea,
body.ab-dark .ab-cart__coupon input { background:#161310; border-color:#34302a; color:#e7e2d8; }
body.ab-dark .ab-ticket, body.ab-dark .ab-event__book { background:#1a1712; border-color:#34302a; }
body.ab-dark .ab-event__facts li, body.ab-dark .ab-wish-card__cats a { background:#161310; color:#cfc9bf; }

/* ---------------------------------------------------------------------
   About & Contact pages
   --------------------------------------------------------------------- */
.ab-page { max-width:1180px; margin:48px auto 60px; padding:0 20px; font-family:var(--ab-font-body); color:#2a2620; }
.ab-about__intro { display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; margin-bottom:56px; }
.ab-about__imgs { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ab-about__imgs img { width:100%; height:280px; object-fit:cover; border-radius:16px; box-shadow:var(--ab-shadow); }
.ab-about__imgs img:nth-child(1){ margin-top:30px; }
.ab-about__text h2 { font-family:var(--ab-font-head); font-size:clamp(26px,3.5vw,40px); color:var(--ab-ink); margin:0 0 8px; }
.ab-about__text .lead { color:var(--ab-gold); font-size:16px; font-style:italic; margin:0 0 18px; }
.ab-about__text p { line-height:1.8; color:#4a453d; font-size:15.5px; margin:0 0 14px; }
.ab-values { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:10px; }
.ab-value { background:linear-gradient(180deg,#fffdf8,#f7f3ea); border:1px solid #ece7dd; border-radius:16px; padding:26px; }
.ab-value__icon { width:48px; height:48px; border-radius:12px; display:grid; place-items:center; background:rgba(201,161,74,.14); color:#9a7421; margin-bottom:14px; }
.ab-value__icon svg { width:24px; height:24px; }
.ab-value h3 { font-family:var(--ab-font-head); font-size:19px; color:var(--ab-ink); margin:0 0 8px; }
.ab-value p { color:#6b665e; font-size:14px; line-height:1.65; margin:0; }
@media (max-width:860px){ .ab-about__intro { grid-template-columns:1fr; gap:26px; } .ab-values { grid-template-columns:1fr; } }

.ab-contact { display:grid; grid-template-columns:1fr 1.1fr; gap:36px; align-items:start; }
.ab-contact__card { background:linear-gradient(160deg,var(--ab-ink-2),var(--ab-ink)); color:#e7e2d8; border-radius:18px; padding:30px; box-shadow:var(--ab-shadow); }
.ab-contact__card h2 { font-family:var(--ab-font-head); color:#fff; font-size:24px; margin:0 0 6px; }
.ab-contact__card .city { color:var(--ab-gold-soft); font-size:14px; margin-bottom:22px; }
.ab-contact__row { display:flex; gap:14px; align-items:flex-start; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.ab-contact__row:last-child { border-bottom:none; }
.ab-contact__row svg { width:20px; height:20px; color:var(--ab-gold-soft); flex:0 0 auto; margin-top:2px; }
.ab-contact__row b { display:block; color:#fff; font-size:14px; margin-bottom:2px; }
.ab-contact__row span, .ab-contact__row a { color:#b7b1a7; font-size:14px; text-decoration:none; }
.ab-contact__row a:hover { color:var(--ab-gold-soft); }
.ab-faq { margin-top:6px; }
.ab-faq h2 { font-family:var(--ab-font-head); font-size:24px; color:var(--ab-ink); margin:0 0 18px; }
.ab-faq__item { border:1px solid #ece7dd; border-radius:12px; margin-bottom:12px; overflow:hidden; background:#fff; }
.ab-faq__q { width:100%; text-align:left; background:none; border:none; padding:16px 18px; font:inherit; font-weight:600; color:var(--ab-ink); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.ab-faq__q .ic { transition:transform .2s; flex:0 0 auto; }
.ab-faq__item.open .ab-faq__q .ic { transform:rotate(45deg); }
.ab-faq__a { max-height:0; overflow:hidden; transition:max-height .25s ease, padding .25s ease; padding:0 18px; color:#4a453d; font-size:14.5px; line-height:1.7; }
.ab-faq__item.open .ab-faq__a { max-height:300px; padding:0 18px 16px; }
@media (max-width:860px){ .ab-contact { grid-template-columns:1fr; } }

body.ab-dark .ab-value, body.ab-dark .ab-faq__item { background:#1f1c17; border-color:#34302a; }
body.ab-dark .ab-value h3, body.ab-dark .ab-about__text h2, body.ab-dark .ab-faq h2, body.ab-dark .ab-faq__q { color:#f1ece1; }
body.ab-dark .ab-about__text p, body.ab-dark .ab-faq__a, body.ab-dark .ab-value p { color:#cfc9bf; }

/* =====================================================================
   Home sections + category listing — independent of WoodMart CSS
   ===================================================================== */
.ab-section { max-width:1280px; margin:48px auto; padding:0 20px; font-family:var(--ab-font-body); }
.ab-section__head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:24px; }
.ab-section__head h2 { font-family:var(--ab-font-head); font-size:clamp(24px,3.5vw,36px); color:var(--ab-ink); margin:0; text-transform:capitalize; }
.ab-section__head .sub { color:#8a857c; font-size:14px; margin-top:4px; }
.ab-section__link { display:inline-flex; align-items:center; gap:8px; text-decoration:none; color:var(--ab-ink); font-weight:600; border:1.5px solid var(--ab-ink); border-radius:999px; padding:9px 20px; transition:all .2s ease; white-space:nowrap; }
.ab-section__link:hover { background:var(--ab-ink); color:var(--ab-gold-soft); }

/* universal card grid */
.ab-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.ab-grid--4 { grid-template-columns:repeat(4,1fr); }
@media (max-width:1100px){ .ab-grid, .ab-grid--4 { grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .ab-grid, .ab-grid--4 { grid-template-columns:repeat(2,1fr); gap:14px; } }
@media (max-width:420px){ .ab-grid, .ab-grid--4 { grid-template-columns:1fr 1fr; gap:12px; } }

/* product / event card */
.ab-card { position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid #ece7dd; border-radius:16px; overflow:hidden; transition:box-shadow .2s,transform .2s,border-color .2s; }
.ab-card:hover { transform:translateY(-4px); box-shadow:0 18px 34px -22px rgba(0,0,0,.4); border-color:var(--ab-gold); }
.ab-card__img { display:block; aspect-ratio:7/8; background:#f1ede4; overflow:hidden; }
.ab-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.ab-card:hover .ab-card__img img { transform:scale(1.05); }
.ab-card__body { padding:14px 14px 16px; display:flex; flex-direction:column; flex:1; gap:6px; }
.ab-card__name { font-weight:600; font-size:15px; line-height:1.3; color:var(--ab-ink); text-decoration:none; }
.ab-card__name:hover { color:var(--ab-gold); }
.ab-card__cats { display:flex; flex-wrap:wrap; gap:6px; }
.ab-card__cats a { font-size:11px; color:#8a857c; text-decoration:none; background:#f4f1ea; padding:2px 8px; border-radius:999px; }
.ab-card__cats a:hover { color:var(--ab-gold); }
.ab-card__desc { color:#8a857c; font-size:12.5px; line-height:1.5; }
.ab-card__price { font-family:var(--ab-font-head); font-size:18px; color:var(--ab-ink); margin-top:auto; padding-top:6px; }
.ab-card__price .old { text-decoration:line-through; color:#b3ac9f; font-size:13px; margin-right:6px; }
.ab-card__price .soldout { color:#a33; font-size:14px; font-family:var(--ab-font-body); font-weight:600; }
.ab-card__btn { margin-top:10px; }
.ab-card__btn .ab-btn-gold, .ab-card__btn button { width:100%; justify-content:center; }
.ab-card__btn button[disabled] { opacity:.5; cursor:not-allowed; }
.ab-card__fav { position:absolute; top:10px; right:10px; z-index:2; }
.ab-card__fav button, .ab-card__fav a { width:38px; height:38px; border-radius:50%; border:none; background:rgba(255,255,255,.92); box-shadow:0 4px 12px -4px rgba(0,0,0,.3); display:grid; place-items:center; cursor:pointer; font-size:16px; text-decoration:none; transition:background .15s; }
.ab-card__fav button:hover, .ab-card__fav a:hover { background:#fdeaea; }
.ab-card__cart-msg { font-size:12px; margin-top:6px; }

/* category circle/card */
.ab-cat-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
@media (max-width:1100px){ .ab-cat-grid { grid-template-columns:repeat(4,1fr); } }
@media (max-width:760px){ .ab-cat-grid { grid-template-columns:repeat(3,1fr); gap:14px; } }
@media (max-width:420px){ .ab-cat-grid { grid-template-columns:1fr 1fr; } }
.ab-cat { display:flex; flex-direction:column; align-items:center; text-align:center; text-decoration:none; gap:12px; }
.ab-cat__img { width:100%; aspect-ratio:1/1; border-radius:16px; overflow:hidden; background:#f1ede4; box-shadow:0 14px 30px -22px rgba(0,0,0,.5); }
.ab-cat__img img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.ab-cat:hover .ab-cat__img img { transform:scale(1.07); }
.ab-cat__name { font-weight:600; font-size:15px; color:var(--ab-ink); }
.ab-cat:hover .ab-cat__name { color:var(--ab-gold); }

body.ab-dark .ab-card { background:#1f1c17; border-color:#34302a; }
body.ab-dark .ab-card__name, body.ab-dark .ab-card__price, body.ab-dark .ab-section__head h2, body.ab-dark .ab-cat__name { color:#f1ece1; }
body.ab-dark .ab-card__cats a { background:#161310; color:#cfc9bf; }

/* =====================================================================
   Nav category icons (inline SVG) + more complete dark mode
   ===================================================================== */
.wd-nav-ico { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; margin-right:7px; color:#9a7421; vertical-align:middle; }
.wd-nav-ico svg { width:18px; height:18px; display:block; }
.woodmart-nav-link { display:inline-flex !important; align-items:center; gap:0; }
.wd-nav-img { width:18px; height:18px; object-fit:contain; margin-right:7px; vertical-align:middle; }

/* ---- Dark mode: broaden coverage so it feels complete ---- */
body.ab-dark { background:#15130f !important; color:#e6e1d6; }
body.ab-dark .website-wrapper,
body.ab-dark .main-page-wrapper,
body.ab-dark .wd-page-content,
body.ab-dark .site-content,
body.ab-dark main { background:transparent !important; }

/* header */
body.ab-dark .whb-header, body.ab-dark .whb-general-header, body.ab-dark .whb-main-header,
body.ab-dark .whb-row, body.ab-dark .wd-header-banner, body.ab-dark header.whb-header,
body.ab-dark .main-nav, body.ab-dark .wd-header-nav { background:#1a1712 !important; color:#e6e1d6 !important; }
body.ab-dark .woodmart-nav-link, body.ab-dark .nav-link-text,
body.ab-dark .whb-header a, body.ab-dark .wd-tools-element { color:#e6e1d6 !important; }
body.ab-dark .woodmart-nav-link:hover, body.ab-dark .whb-header a:hover { color:var(--ab-gold-soft) !important; }
body.ab-dark .wd-nav-ico { color:var(--ab-gold-soft); }
body.ab-dark .dropdown-menu { background:#1f1c17 !important; border-color:#34302a !important; }
body.ab-dark .dropdown-menu a { color:#cfc9bf !important; }
body.ab-dark .search-form, body.ab-dark .wd-search-inited input,
body.ab-dark input.s, body.ab-dark .searchform input { background:#15130f !important; color:#e6e1d6 !important; border-color:#34302a !important; }

/* section headings / generic text on light sections */
body.ab-dark .ab-section__head h2, body.ab-dark .ab-gallery__head h2,
body.ab-dark .woodmart-title-container, body.ab-dark .entry-title,
body.ab-dark h1, body.ab-dark h2, body.ab-dark h3, body.ab-dark h4 { color:#f1ece1 !important; }
body.ab-dark .ab-section__link, body.ab-dark .ab-gallery__link { color:#e6e1d6 !important; border-color:#4a443b !important; }
body.ab-dark .ab-section__link:hover, body.ab-dark .ab-gallery__link:hover { background:var(--ab-gold) !important; color:#141210 !important; }

/* cards & category page in dark */
body.ab-dark .ab-card, body.ab-dark .ab-catwrap .ab-card { background:#1f1c17 !important; border-color:#34302a !important; }
body.ab-dark .ab-card__name, body.ab-dark .ab-card__price, body.ab-dark .ab-cat__name { color:#f1ece1 !important; }
body.ab-dark .ab-card__cats a, body.ab-dark .ab-catwrap .ab-card__cats a { background:#15130f !important; color:#cfc9bf !important; }
body.ab-dark .ab-card__img, body.ab-dark .ab-cat__img, body.ab-dark .ab-catwrap .ab-card__img { background:#15130f !important; }
body.ab-dark .ab-cat-toolbar .count { color:#a39d92 !important; }
body.ab-dark .ab-cat-toolbar select { background:#15130f !important; color:#e6e1d6 !important; border-color:#34302a !important; }

/* footer */
body.ab-dark .wd-footer-wrapper, body.ab-dark .site-footer, body.ab-dark footer { background:#100e0b !important; }
body.ab-dark .site-footer a, body.ab-dark footer a { color:#cfc9bf !important; }
body.ab-dark .site-footer a:hover, body.ab-dark footer a:hover { color:var(--ab-gold-soft) !important; }

/* pagination in dark */
body.ab-dark .ab-cat-page__pager a, body.ab-dark .ab-shop__pager a { background:#1f1c17 !important; border-color:#34302a !important; color:#e6e1d6 !important; }

/* the floating theme toggle button itself */
.ab-theme-fab { position:fixed; left:18px; bottom:18px; z-index:9999; width:46px; height:46px; border-radius:50%; border:none; cursor:pointer; background:#1c1a17; color:var(--ab-gold-soft); display:grid; place-items:center; box-shadow:0 8px 22px -8px rgba(0,0,0,.6); transition:transform .2s; }
.ab-theme-fab:hover { transform:scale(1.08); }
body.ab-dark .ab-theme-fab { background:#f4f1ea; color:#9a7421; }

/* =====================================================================
   DARK MODE — comprehensive override layer (placed last to win cascade)
   Forces every structural WoodMart wrapper + content to true dark.
   ===================================================================== */
body.ab-dark,
body.ab-dark .website-wrapper,
body.ab-dark .website-wrapper-holder,
body.ab-dark #wrapper,
body.ab-dark .main-page-wrapper,
body.ab-dark .wd-page-content,
body.ab-dark .content-area,
body.ab-dark .site-content,
body.ab-dark .wd-content-layout,
body.ab-dark .content-layout-wrapper,
body.ab-dark article.entry-content,
body.ab-dark .wpb-content-wrapper,
body.ab-dark .vc_row,
body.ab-dark .wpb_column,
body.ab-dark .vc_column-inner,
body.ab-dark .wpb_wrapper,
body.ab-dark .container,
body.ab-dark #abHome,
body.ab-dark .ab-section,
body.ab-dark .ab-page,
body.ab-dark .ab-shop,
body.ab-dark .ab-cart,
body.ab-dark .ab-checkout {
    background-color: #15130f !important;
    background-image: none !important;
    color: #e6e1d6;
}

/* page-title hero band */
body.ab-dark .wd-page-title,
body.ab-dark .page-title,
body.ab-dark .wd-page-title-el {
    background-color: #100e0b !important;
    background-image: none !important;
}

/* header / top bar */
body.ab-dark .whb-header,
body.ab-dark .whb-general-header,
body.ab-dark .whb-main-header,
body.ab-dark .whb-top-bar,
body.ab-dark .whb-row,
body.ab-dark .wd-header-banner,
body.ab-dark header.whb-header,
body.ab-dark .main-nav,
body.ab-dark .wd-header-nav,
body.ab-dark .whb-sticky-row {
    background-color: #1a1712 !important;
    background-image: none !important;
    border-color: #2a2620 !important;
}
body.ab-dark .woodmart-nav-link,
body.ab-dark .nav-link-text,
body.ab-dark .whb-header a,
body.ab-dark .wd-tools-element,
body.ab-dark .wd-tools-icon,
body.ab-dark .wd-header-cart-totals,
body.ab-dark .cart-totals-label { color:#e6e1d6 !important; }
body.ab-dark .woodmart-nav-link:hover, body.ab-dark .whb-header a:hover { color: var(--ab-gold-soft) !important; }
body.ab-dark .wd-nav-ico { color: var(--ab-gold-soft) !important; }

/* search field in header */
body.ab-dark .wd-search-inited .searchform,
body.ab-dark .searchform input,
body.ab-dark input.s,
body.ab-dark .wd-search-element input {
    background-color:#15130f !important; color:#e6e1d6 !important; border-color:#34302a !important;
}
body.ab-dark .wd-search-element input::placeholder { color:#8a857c !important; }

/* dropdowns / mini cart */
body.ab-dark .dropdown-menu,
body.ab-dark .wd-dropdown,
body.ab-dark .wd-dropdown-menu,
body.ab-dark .cart-widget-side,
body.ab-dark .widget_shopping_cart_content {
    background-color:#1f1c17 !important; border-color:#34302a !important; color:#e6e1d6 !important;
}

/* headings / generic text */
body.ab-dark h1, body.ab-dark h2, body.ab-dark h3, body.ab-dark h4, body.ab-dark h5, body.ab-dark h6,
body.ab-dark .entry-title, body.ab-dark .woodmart-title-container,
body.ab-dark .ab-section__head h2, body.ab-dark .ab-gallery__head h2 { color:#f1ece1 !important; }
body.ab-dark p, body.ab-dark span, body.ab-dark li, body.ab-dark a { color:inherit; }

/* cards / category / shop */
body.ab-dark .ab-card, body.ab-dark .ab-catwrap .ab-card, body.ab-dark .ab-pcard,
body.ab-dark .ab-wish-card, body.ab-dark .ab-value, body.ab-dark .ab-faq__item,
body.ab-dark .ab-co-card, body.ab-dark .ab-cart__main, body.ab-dark .ab-event__desc {
    background-color:#1f1c17 !important; border-color:#34302a !important; color:#e6e1d6;
}
body.ab-dark .ab-card__name, body.ab-dark .ab-card__price, body.ab-dark .ab-cat__name,
body.ab-dark .ab-pcard__name, body.ab-dark .ab-pcard__price { color:#f1ece1 !important; }
body.ab-dark .ab-card__img, body.ab-dark .ab-cat__img, body.ab-dark .ab-catwrap .ab-card__img,
body.ab-dark .ab-pcard__img { background-color:#100e0b !important; }
body.ab-dark .ab-card__cats a, body.ab-dark .ab-catwrap .ab-card__cats a,
body.ab-dark .ab-wish-card__cats a, body.ab-dark .ab-event__facts li { background:#100e0b !important; color:#cfc9bf !important; }

/* section nav links / buttons (outline ones) */
body.ab-dark .ab-section__link, body.ab-dark .ab-gallery__link {
    color:#e6e1d6 !important; border-color:#4a443b !important; background:transparent !important;
}
body.ab-dark .ab-section__link:hover, body.ab-dark .ab-gallery__link:hover { background:var(--ab-gold) !important; color:#141210 !important; }

/* toolbar / counts / selects */
body.ab-dark .ab-cat-toolbar .count, body.ab-dark .ab-shop__count { color:#a39d92 !important; }
body.ab-dark .ab-cat-toolbar select, body.ab-dark .ab-shop__sort select,
body.ab-dark input, body.ab-dark textarea, body.ab-dark select {
    background-color:#15130f !important; color:#e6e1d6 !important; border-color:#34302a !important;
}

/* pagination */
body.ab-dark .ab-cat-page__pager a, body.ab-dark .ab-shop__pager a {
    background-color:#1f1c17 !important; border-color:#34302a !important; color:#e6e1d6 !important;
}

/* footer */
body.ab-dark .wd-footer-wrapper, body.ab-dark .site-footer, body.ab-dark footer,
body.ab-dark .footer-container, body.ab-dark .copyrights-wrapper {
    background-color:#100e0b !important; background-image:none !important; color:#cfc9bf !important;
}
body.ab-dark .site-footer a, body.ab-dark footer a { color:#cfc9bf !important; }
body.ab-dark .site-footer a:hover, body.ab-dark footer a:hover { color:var(--ab-gold-soft) !important; }

/* keep gold gradient buttons readable */
body.ab-dark .ab-btn-gold, body.ab-dark .ab-card__btn button { color:#141210 !important; }

/* breadcrumb chips already use translucent black — keep, just ensure links visible */
body.ab-dark .wd-breadcrumbs a { color:var(--ab-gold-soft) !important; }

/* =====================================================================
   DARK MODE — header tools (Dashboard / Login / Wishlist / Compare / Cart)
   make sure their text + icons are visible on the dark header
   ===================================================================== */
body.ab-dark .wd-tools-element,
body.ab-dark .wd-tools-element a,
body.ab-dark .wd-tools-inner,
body.ab-dark .wd-tools-text,
body.ab-dark .wd-header-my-account a,
body.ab-dark .wd-header-my-account .wd-tools-text,
body.ab-dark .wd-header-cart a,
body.ab-dark .wd-header-cart .wd-tools-text,
body.ab-dark .wd-header-wishlist .wd-tools-text,
body.ab-dark .wd-header-compare .wd-tools-text,
body.ab-dark .wd-cart-number,
body.ab-dark .wd-cart-subtotal { color:#e6e1d6 !important; }

body.ab-dark .wd-tools-element:hover .wd-tools-text,
body.ab-dark .wd-tools-element a:hover { color:var(--ab-gold-soft) !important; }

/* icon glyphs: woodmart draws them with a font (::before) and/or svg/mask */
body.ab-dark .wd-tools-icon,
body.ab-dark .wd-tools-icon::before,
body.ab-dark .wd-header-my-account .wd-tools-icon::before,
body.ab-dark .wd-header-cart .wd-tools-icon::before,
body.ab-dark .wd-header-wishlist .wd-tools-icon::before,
body.ab-dark .wd-header-compare .wd-tools-icon::before { color:#e6e1d6 !important; }
body.ab-dark .wd-tools-icon svg { color:#e6e1d6 !important; }
body.ab-dark .wd-tools-icon svg [stroke]:not([stroke="none"]) { stroke:#e6e1d6 !important; }
body.ab-dark .wd-tools-icon svg [fill]:not([fill="none"]) { fill:#e6e1d6 !important; }
/* if the icon uses a CSS mask (woodmart inline svg via background) */
body.ab-dark .wd-tools-icon[style*="mask"], body.ab-dark .wd-tools-icon { background-color:transparent !important; }

/* the "Dashboard"/"Login" account pill background in the light theme */
body.ab-dark .wd-header-my-account.wd-design-7 .wd-tools-inner,
body.ab-dark .wd-header-my-account .wd-tools-inner,
body.ab-dark .wd-account-style-icon .wd-tools-inner {
    background-color:#2a2620 !important; color:#e6e1d6 !important; border-color:#3a352e !important;
}
body.ab-dark .wd-header-my-account .wd-tools-inner:hover { background-color:#34302a !important; }

/* round icon buttons (compare/wishlist) that had a light circle bg */
body.ab-dark .wd-header-compare .wd-tools-inner,
body.ab-dark .wd-header-wishlist .wd-tools-inner { background-color:#2a2620 !important; }

/* cart pill keeps its dark style but ensure text gold/white */
body.ab-dark .wd-header-cart .wd-tools-text, body.ab-dark .wd-header-cart-totals { color:#e0c478 !important; }

/* =====================================================================
   DARK MODE — mobile slide-in nav panel + search + tabs
   ===================================================================== */
body.ab-dark .mobile-nav,
body.ab-dark .wd-side-hidden-nav,
body.ab-dark .mobile-nav .wd-search-form,
body.ab-dark .mobile-nav .searchform,
body.ab-dark .mobile-header-links,
body.ab-dark .wd-nav-mobile {
    background-color:#1a1712 !important; color:#e6e1d6 !important;
}
body.ab-dark .mobile-nav .searchform input,
body.ab-dark .mobile-nav input[type="text"],
body.ab-dark .mobile-nav input.s {
    background-color:#15130f !important; color:#e6e1d6 !important; border-color:#34302a !important;
}
body.ab-dark .mobile-nav .searchform input::placeholder { color:#8a857c !important; }
body.ab-dark .mobile-nav .searchform .searchsubmit svg,
body.ab-dark .mobile-nav .search-button svg { stroke:#e6e1d6 !important; color:#e6e1d6 !important; }

/* CATEGORIES / MENU tab titles */
body.ab-dark .mobile-tab-title,
body.ab-dark .wd-nav-mobile-tabs > li {
    background-color:#1f1c17 !important; color:#a39d92 !important; border-color:#34302a !important;
}
body.ab-dark .mobile-tab-title.wd-active {
    background-color:#15130f !important; color:#f1ece1 !important; border-bottom-color:var(--ab-gold) !important;
}

/* nav items */
body.ab-dark .wd-nav-mobile > li,
body.ab-dark .wd-nav-mobile > li > a,
body.ab-dark .mobile-nav .menu li a {
    color:#e6e1d6 !important; border-color:#2a2620 !important;
}
body.ab-dark .wd-nav-mobile > li { border-bottom:1px solid #2a2620 !important; }
body.ab-dark .wd-nav-mobile > li > a:hover,
body.ab-dark .mobile-nav .menu li a:hover { color:var(--ab-gold-soft) !important; background-color:#221f1a !important; }
body.ab-dark .wd-nav-mobile .wd-nav-opener,
body.ab-dark .wd-nav-mobile .wd-nav-opener::before,
body.ab-dark .wd-nav-mobile .wd-nav-opener::after { color:#e6e1d6 !important; border-color:#e6e1d6 !important; }

/* close button of the panel */
body.ab-dark .wd-close-side-widget, body.ab-dark .mobile-nav .wd-close-btn { color:#e6e1d6 !important; }

/* the thin white strip that can appear above the footer */
body.ab-dark .wd-footer-wrapper::before,
body.ab-dark .footer-container,
body.ab-dark .site-footer,
body.ab-dark .copyrights-wrapper,
body.ab-dark .footer-bottom { background-color:#100e0b !important; }

/* belt-and-suspenders for product cards on mobile (in case earlier rules lose) */
@media (max-width: 768px){
  body.ab-dark #abHome .ab-card,
  body.ab-dark .ab-catwrap .ab-card { background:#1f1c17 !important; border-color:#34302a !important; }
  body.ab-dark #abHome .ab-card__name, body.ab-dark #abHome .ab-card__price,
  body.ab-dark .ab-catwrap .ab-card__name, body.ab-dark .ab-catwrap .ab-card__price { color:#f1ece1 !important; }
  body.ab-dark #abHome .ab-card__img, body.ab-dark .ab-catwrap .ab-card__img { background:#100e0b !important; }
}

/* =====================================================================
   DARK MODE — login / register / auth pages
   ===================================================================== */
body.ab-dark .wd-registration-page,
body.ab-dark .wd-register-tabs,
body.ab-dark #customer_login,
body.ab-dark .col-login,
body.ab-dark .col-register-text,
body.ab-dark .woocommerce { background-color:transparent !important; color:#e6e1d6 !important; }

body.ab-dark .wd-login-title,
body.ab-dark .col-register-text .title,
body.ab-dark .col-register-text span,
body.ab-dark .registration-info,
body.ab-dark .woocommerce-form label,
body.ab-dark .woocommerce form label,
body.ab-dark .login-form-footer span,
body.ab-dark .woocommerce-form__label span { color:#e6e1d6 !important; }

/* required asterisks + helper links keep gold */
body.ab-dark .required { color:#e0c478 !important; }
body.ab-dark .lost_password a, body.ab-dark .woocommerce-LostPassword a,
body.ab-dark a.lost_password { color:#e0c478 !important; }

/* inputs on auth pages */
body.ab-dark .woocommerce-Input,
body.ab-dark .woocommerce form .input-text,
body.ab-dark .woocommerce-form input[type="text"],
body.ab-dark .woocommerce-form input[type="email"],
body.ab-dark .woocommerce-form input[type="password"],
body.ab-dark .woocommerce-form input[type="tel"] {
    background-color:#15130f !important; color:#e6e1d6 !important; border:1px solid #34302a !important;
}
body.ab-dark .woocommerce-Input::placeholder { color:#8a857c !important; }

/* primary gold login/register submit button stays gold (already), ensure text dark */
body.ab-dark .woocommerce-form-login__submit,
body.ab-dark .woocommerce-form-register__submit,
body.ab-dark .woocommerce button.button { color:#141210 !important; }

/* the small secondary "Register"/"Login" switch button that was white & unreadable */
body.ab-dark .wd-switch-to-register,
body.ab-dark .wd-switch-to-login,
body.ab-dark .col-register-text .btn {
    background-color:#2a2620 !important; color:#e6e1d6 !important; border:1px solid #4a443b !important;
}
body.ab-dark .wd-switch-to-register:hover,
body.ab-dark .wd-switch-to-login:hover { background-color:#34302a !important; color:var(--ab-gold-soft) !important; }

/* divider line text */
body.ab-dark .wd-login-divider span, body.ab-dark .wd-login-divider { color:#a39d92 !important; }

/* OR separators */
body.ab-dark .login-or, body.ab-dark .ab-or { color:#a39d92 !important; }

/* remember-me checkbox visible */
body.ab-dark .woocommerce-form__input-checkbox { accent-color:var(--ab-gold) !important; }

/* =====================================================================
   Scroll-to-top button + footer bottom strip + mobile add-to-cart
   ===================================================================== */
/* Scroll-to-top: give it a proper look + visible arrow in BOTH themes */
.scrollToTop {
    width:46px !important; height:46px !important; border-radius:50% !important;
    background:#1c1a17 !important; color:transparent !important; font-size:0 !important; text-indent:-9999px !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
    box-shadow:0 8px 22px -8px rgba(0,0,0,.5) !important; border:1px solid rgba(201,161,74,.3) !important;
    background-image:none !important;
}
/* hide woodmart's built-in glyph/icon so only our single chevron shows */
.scrollToTop::after { content:none !important; display:none !important; background:none !important; }
.scrollToTop::before {
    content:"" !important; display:block !important; width:13px !important; height:13px !important; box-sizing:border-box !important;
    border-left:2.5px solid var(--ab-gold-soft) !important; border-top:2.5px solid var(--ab-gold-soft) !important;
    border-right:none !important; border-bottom:none !important; background:none !important;
    transform:rotate(45deg) !important; margin:4px 0 0 0 !important; text-indent:0 !important;
}
.scrollToTop:hover { background:var(--ab-gold) !important; }
.scrollToTop:hover::before { border-color:#141210 !important; }
body.ab-dark .scrollToTop { background:#f4f1ea !important; border-color:rgba(201,161,74,.4) !important; }
body.ab-dark .scrollToTop::before { border-color:#9a7421 !important; }

/* Kill the empty white strip the woodmart bottom-toolbar leaves under the footer */
.wd-bottom-toolbar, .wd-toolbar, #wd-toolbar, .mobile-bottom-toolbar { display:none !important; }
body.sticky-toolbar-on { padding-bottom:0 !important; }
body.ab-dark .ab-footer__bottom, body.ab-dark .ab-footer { background:#100e0b !important; }

/* make sure nothing white sits at the very bottom in dark mode */
body.ab-dark, body.ab-dark .website-wrapper, body.ab-dark .website-wrapper-holder { background-color:#15130f !important; }

/* Add-to-cart buttons: consistent, not over-tall on mobile */
.ab-card__btn .ab-btn-gold, .ab-card__btn button,
#abHome .ab-card__btn .ab-btn-gold, #abHome .ab-card__btn button,
.ab-catwrap .ab-card__btn .ab-btn-gold, .ab-catwrap .ab-card__btn button {
    padding:11px 14px !important; border-radius:12px !important; line-height:1.25 !important;
    white-space:normal !important; min-height:44px !important; font-size:14px !important;
}
@media (max-width:760px){
  #abHome .ab-card__btn .ab-btn-gold, #abHome .ab-card__btn button,
  .ab-catwrap .ab-card__btn .ab-btn-gold, .ab-catwrap .ab-card__btn button { font-size:13.5px !important; padding:10px 12px !important; }
}

/* ensure html itself is dark so no white shows below footer (modern :has support) */
html:has(body.ab-dark) { background-color:#15130f !important; }
body.ab-dark { min-height:100vh !important; }
/* fallback for browsers without :has — make the wrapper fill height */
body.ab-dark .website-wrapper, body.ab-dark .website-wrapper-holder { min-height:100vh !important; }

/* =====================================================================
   PRODUCT DETAIL PAGE — fix white strips, image, quantity, dark mode
   ===================================================================== */
/* Kill the leftover WoodMart white background bands on the single product page */
body.ab-dark .single-product [class*="vc_custom_"][style],
body.ab-dark .single-product .vc_row-has-fill,
body.ab-dark .single-product .wpb_wrapper,
body.ab-dark .single-product .vc_column-inner { background-color:transparent !important; background-image:none !important; }
/* also neutralise the inline white bands regardless of theme so they don't flash white */
.product-show-wrap .vc_row-has-fill { background-color:transparent !important; }

/* product main image: keep it contained, no broken stretch */
.product-show-wrap #mainImage, .single-product #mainImage {
    width:100% !important; max-width:480px !important; height:auto !important; aspect-ratio:1/1 !important;
    object-fit:cover !important; border-radius:14px !important; background:#f1ede4 !important; display:block !important;
}
body.ab-dark .product-show-wrap #mainImage, body.ab-dark .single-product #mainImage { background:#100e0b !important; }
.product-show-wrap .img-thumbnail, .single-product .img-thumbnail {
    border-radius:10px !important; border:1px solid #e3ddd0 !important; width:72px !important; height:72px !important; object-fit:cover !important;
}
body.ab-dark .single-product .img-thumbnail { border-color:#34302a !important; }

/* quantity selector: tidy row of [-] [input] [+] */
.single-product .quantity { display:inline-flex !important; align-items:center !important; gap:0 !important; border:1px solid #ddd6c9 !important; border-radius:12px !important; overflow:hidden !important; background:#fff !important; }
.single-product .quantity .minus, .single-product .quantity .plus {
    width:44px !important; height:48px !important; border:none !important; background:#f4f1ea !important; color:#1c1a17 !important;
    font-size:20px !important; cursor:pointer !important; display:flex !important; align-items:center !important; justify-content:center !important;
}
.single-product .quantity .minus:hover, .single-product .quantity .plus:hover { background:#ece7dd !important; }
.single-product .quantity input.qty {
    width:64px !important; height:48px !important; border:none !important; border-left:1px solid #eee !important; border-right:1px solid #eee !important;
    text-align:center !important; font-size:16px !important; background:#fff !important; color:#1c1a17 !important; -moz-appearance:textfield !important;
}
.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance:none !important; margin:0 !important; }
body.ab-dark .single-product .quantity { background:#1f1c17 !important; border-color:#34302a !important; }
body.ab-dark .single-product .quantity .minus, body.ab-dark .single-product .quantity .plus { background:#2a2620 !important; color:#e6e1d6 !important; }
body.ab-dark .single-product .quantity input.qty { background:#1f1c17 !important; color:#e6e1d6 !important; border-color:#34302a !important; }

/* Add to cart main button */
.single-product .single_add_to_cart_button {
    display:inline-flex !important; align-items:center !important; justify-content:center !important;
    padding:13px 30px !important; margin-top:14px !important; border:none !important; cursor:pointer !important;
    border-radius:999px !important; font-weight:700 !important; font-size:15px !important;
    background:linear-gradient(90deg,#c9a14a,#e0c478) !important; color:#141210 !important;
}
.single-product .single_add_to_cart_button:hover { filter:brightness(1.05) !important; }

/* compare/wishlist text buttons */
body.ab-dark .single-product .wd-single-action-btn a span,
body.ab-dark .single-product .wd-compare-btn a, body.ab-dark .single-product .wd-wishlist-btn a { color:#e6e1d6 !important; }
body.ab-dark .single-product .wd-single-action-btn a:hover span { color:var(--ab-gold-soft) !important; }

/* product title / sku / price text in dark */
body.ab-dark .single-product .product_title,
body.ab-dark .single-product h1, body.ab-dark .single-product h4,
body.ab-dark .single-product .woodmart-title-container { color:#f1ece1 !important; }
body.ab-dark .single-product .sku, body.ab-dark .single-product .sku_wrapper,
body.ab-dark .single-product .wd-text-block p, body.ab-dark .single-product .price del { color:#a39d92 !important; }
body.ab-dark .single-product .price ins, body.ab-dark .single-product .price .amount { color:var(--ab-gold-soft) !important; }

/* Reviews summary card stays readable; in dark give it a dark surface */
body.ab-dark .ab-rev-summary, body.ab-dark .ab-rev-card { background:#1f1c17 !important; border-color:#34302a !important; color:#e6e1d6 !important; }
body.ab-dark .ab-rev-summary .ab-rev-score, body.ab-dark .ab-rev-summary h3 { color:#f1ece1 !important; }

/* breadcrumb on product page */
body.ab-dark .single-product .wd-breadcrumbs a, body.ab-dark .woocommerce-breadcrumb a { color:var(--ab-gold-soft) !important; }
body.ab-dark .single-product .wd-breadcrumbs, body.ab-dark .woocommerce-breadcrumb { color:#a39d92 !important; }

/* share buttons keep white circles (brand colors) — fine in both themes */
