/* GourmetGift Business portal — scoped to the dedicated B2B page. */
.ggb-portal-page .whb-header,
.ggb-portal-page .main-footer,
.ggb-portal-page .copyrights-wrapper,
.ggb-portal-page .page-title {
	display: none;
}


/* WoodMart normally places page content in a constrained grid. The portal is
   an application view, so every wrapper must be allowed to use the viewport. */
.ggb-portal-page .wd-page-content,
.ggb-portal-page .main-page-wrapper,
.ggb-portal-page #main-content,
.ggb-portal-page .content-layout-wrapper,
.ggb-portal-page .content-area,
.ggb-portal-page .wd-content-area,
.ggb-portal-page .container,
.ggb-portal-page .site-content {
	width: 100% !important;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ggb-portal-page #main-content,
.ggb-portal-page .content-layout-wrapper { display: block !important; }

.ggb-dashboard {
	--ggb-navy: #071c2c;
	--ggb-navy-soft: #102f46;
	--ggb-gold: #b78a3d;
	--ggb-ink: #0b1d2c;
	--ggb-muted: #687588;
	--ggb-line: #e7e8e5;
	--ggb-canvas: #f7f5f0;
	display: grid;
	grid-template-columns: minmax(244px, 280px) minmax(0, 1fr);
	width: 100%;
	min-height: 100vh;
	background: var(--ggb-canvas);
	color: var(--ggb-ink);
	font-family: "Brandon Grotesque", Arial, sans-serif;
}

.ggb-access {
	--ggb-navy: #071c2c;
	--ggb-gold: #b78a3d;
	--ggb-ink: #0b1d2c;
	/* The global topbar + header sit above this section, outside its own box
	   (see header.php), so "fits in one screen" means this section's height
	   must be the viewport minus that header, not a full 100vh on top of it.
	   --gg-header-h is measured and set in header-interactions.js; the
	   fallback covers the brief moment before that JS runs. */
	min-height: calc(100vh - var(--gg-header-h, 130px));
	display: grid;
	place-items: center;
	padding: 12px 20px;
	background: linear-gradient(135deg, #071c2c 0%, #14364b 60%, #b78a3d 180%);
	color: #fff;
}

.ggb-access-card {
	width: min(100%, 700px);
	max-height: calc(100vh - var(--gg-header-h, 130px) - 24px);
	overflow-y: auto;
	padding: 32px 48px;
	border: 1px solid var(--ggb-line, #e7e8e5);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
	text-align: center;
}

.ggb-access-brand { display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: var(--ggb-ink); text-decoration: none; }
.ggb-access-brand img { display: block; width: min(220px, 55vw); height: auto; }
.ggb-access-brand small, .ggb-access .ggb-eyebrow { color: var(--ggb-gold); font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.ggb-access-card .ggb-eyebrow { margin: 18px 0 6px; }
.ggb-access-card h1 { margin: 18px 0 8px; color: var(--ggb-navy); font-size: 25px; line-height: 1.16; }
.ggb-access-card > p { margin: 0 auto; max-width: 48ch; color: var(--ggb-muted, #5a6878); font-size: 15px; line-height: 1.5; }
.ggb-access-form { margin-top: 16px; text-align: left; }
.ggb-access-form form p { margin: 0 0 11px; }
.ggb-access-form label { display: block; margin-bottom: 4px; color: var(--ggb-ink); font-weight: 700; }
.ggb-access-form input[type="text"], .ggb-access-form input[type="password"] { width: 100%; min-height: 42px; border: 1px solid #c8d0d6; border-radius: 6px; padding: 8px 12px; background: #fff; color: var(--ggb-ink); }
.ggb-access-form .login-remember label { display: inline; color: var(--ggb-muted, #5a6878); font-size: 14px; font-weight: 400; }
.ggb-access-form input[type="checkbox"] { margin-right: 7px; }
.ggb-access-form .login-submit { margin-top: 14px; }
.ggb-access-form .button, .ggb-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; text-decoration: none; }
.ggb-access-form .button, .ggb-button-primary { border-color: var(--ggb-gold); background: var(--ggb-gold); color: var(--ggb-ink); }
.ggb-access-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.ggb-button-secondary { border-color: rgba(255, 255, 255, .55); background: transparent; color: #fff; }
.ggb-access-actions .ggb-button-navy { border-color: var(--ggb-navy); background: var(--ggb-navy); color: #fff; }
.ggb-access-actions .ggb-button-gold { border-color: var(--ggb-gold); background: var(--ggb-gold); color: #fff; }
.ggb-access-actions .ggb-button-navy:hover, .ggb-access-actions .ggb-button-navy:focus { background: #0a2742; color: #fff; }
.ggb-access-actions .ggb-button-gold:hover, .ggb-access-actions .ggb-button-gold:focus { background: #a07a35; color: #fff; }
.ggb-access-help { margin-top: 14px !important; font-size: 13.5px !important; }
.ggb-access-help a { color: var(--ggb-gold); font-weight: 700; text-decoration: underline; }

.ggb-dashboard *,
.ggb-dashboard *::before,
.ggb-dashboard *::after { box-sizing: border-box; }
.ggb-dashboard a { color: inherit; text-decoration: none; }

.ggb-sidebar {
	display: flex;
	position: sticky;
	top: 0;
	flex-direction: column;
	height: 100vh;
	padding: 25px 16px 20px;
	background: linear-gradient(180deg, #071c2c, #0b2538);
	color: #fff;
}

.ggb-brand { display: block; padding: 2px 12px 20px; border-bottom: 1px solid rgb(255 255 255 / 18%); }
.ggb-brand-copy { display: grid; justify-items: start; gap: 8px; }
.ggb-brand-logo { display: block; width: min(100%, 218px); height: auto; }
.ggb-brand-copy > strong { color: #fff; font-family: Georgia, serif; font-size: 22px; letter-spacing: .03em; }
.ggb-brand small { display: block; color: #e6cf9a; font-family: "Brandon Grotesque", Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ggb-company-summary { display: grid; gap: 3px; padding: 26px 12px 20px; }
.ggb-company-summary span { color: rgb(255 255 255 / 63%); font-size: 13px; }
.ggb-company-summary strong { font-family: Georgia, serif; font-size: 20px; line-height: 1.2; }
.ggb-navigation { display: grid; gap: 4px; }
.ggb-nav-item, .ggb-sidebar-footer a { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 10px 12px; border-radius: 7px; color: rgb(255 255 255 / 84%); font-size: 15px; transition: background .18s ease, color .18s ease, transform .18s ease; }
.ggb-nav-item .dashicons, .ggb-sidebar-footer .dashicons { color: #e7c47f; font-size: 19px; width: 19px; height: 19px; }
.ggb-nav-item:hover, .ggb-sidebar-footer a:hover { background: rgb(255 255 255 / 9%); color: #fff; transform: translateX(2px); }
.ggb-nav-item.is-active { position: relative; background: rgb(255 255 255 / 12%); color: #fff; font-weight: 700; }
.ggb-nav-item.is-active::before { position: absolute; inset: 8px auto 8px -16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--ggb-gold); content: ""; }
.ggb-sidebar-footer { display: grid; gap: 3px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 15%); }

.ggb-main { width: 100%; min-width: 0; padding: 0 30px 42px; }
.ggb-topbar { display: flex; align-items: center; justify-content: space-between; min-width: 0; min-height: 76px; gap: 18px; border-bottom: 1px solid var(--ggb-line); }
.ggb-topbar-links { display: flex; flex: 0 1 auto; gap: clamp(13px, 2vw, 26px); min-width: 0; }
.ggb-topbar-links a { position: relative; padding: 28px 0 24px; color: #536173; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ggb-topbar-links a.is-active { color: var(--ggb-ink); }
.ggb-topbar-links a.is-active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--ggb-gold); content: ""; }
.ggb-portal-search { display: flex; flex: 0 1 285px; align-items: center; width: min(285px, 22vw); min-width: 170px; margin-left: auto; padding: 0 11px; border: 1px solid var(--ggb-line); border-radius: 6px; background: #fbfbfa; }
.ggb-portal-search .dashicons { color: #667383; font-size: 17px; width: 17px; height: 17px; }
.ggb-portal-search input[type="search"] { width: 100%; height: 36px; margin: 0; padding: 0 0 0 8px; border: 0; background: transparent; color: var(--ggb-ink); font-family: inherit; font-size: 13px; outline: 0; }
.ggb-notice-link { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--ggb-line); border-radius: 50%; color: var(--ggb-navy); }
.ggb-notice-link:hover { border-color: #d6b46f; color: #9a6d27; }
.ggb-cart-link { position: relative; }
.ggb-cart-link b { position: absolute; top: -7px; right: -7px; display: grid; min-width: 17px; height: 17px; place-items: center; padding: 0 3px; border-radius: 50%; background: var(--ggb-gold); color: #0A2234; font-size: 10px; }
.ggb-user-chip { display: flex; flex: 0 1 190px; align-items: center; gap: 10px; min-width: 0; }
.ggb-user-chip > span:last-child { display: grid; gap: 1px; }
.ggb-user-chip strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ggb-user-chip small { color: var(--ggb-muted); font-size: 12px; }
.ggb-avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--ggb-navy); color: #fff; font-size: 12px; font-weight: 700; }
.ggb-menu-toggle { display: none; border: 0; background: transparent; color: var(--ggb-navy); cursor: pointer; }

.ggb-hero { position: relative; overflow: hidden; min-height: 286px; margin: 27px 0 18px; border-radius: 12px; background: linear-gradient(90deg, rgb(7 28 44 / 97%) 0%, rgb(7 28 44 / 91%) 44%, rgb(7 28 44 / 34%) 100%), url("../images/collections/gold.webp") center / cover; box-shadow: 0 16px 34px rgb(7 28 44 / 12%); color: #fff; }
.ggb-hero-copy { position: relative; z-index: 1; max-width: 715px; padding: 38px 42px; }
.ggb-eyebrow, .ggb-section-kicker { margin: 0 0 7px; color: var(--ggb-gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.ggb-hero h1, .ggb-panel h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; }

/* Override the child theme's global !important heading scale only in B2B. */
.ggb-portal-page .ggb-dashboard h1 { font-size: 30px !important; line-height: 1.12; }
.ggb-portal-page .ggb-dashboard h2 { font-size: 25px !important; line-height: 1.15; }
.ggb-portal-page .ggb-dashboard h3 { font-size: 20px !important; line-height: 1.2; }

.ggb-hero h1 { color: #fff !important; white-space: nowrap; }
.ggb-hero-copy > p:not(.ggb-eyebrow) { max-width: 575px; margin: 13px 0 16px; color: rgb(255 255 255 / 82%); font-size: 17px; line-height: 1.45; }
.ggb-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; color: rgb(255 255 255 / 83%); font-size: 14px; }
.ggb-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.ggb-hero-meta .dashicons { color: #e8c986; font-size: 17px; width: 17px; height: 17px; }
.ggb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ggb-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 43px; padding: 10px 17px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.ggb-button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgb(0 0 0 / 18%); }
.ggb-button-primary { background: var(--ggb-gold); color: #11202c; }
.ggb-button-secondary { border-color: rgb(255 255 255 / 75%); background: rgb(255 255 255 / 96%); color: #0A2234 !important; }
.ggb-button-tertiary { border-color: rgb(255 255 255 / 42%); color: #fff; }

.ggb-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ggb-kpi-card, .ggb-panel { border: 1px solid var(--ggb-line); border-radius: 10px; background: #fff; box-shadow: 0 9px 24px rgb(7 28 44 / 4%); }
.ggb-kpi-card { display: flex; gap: 14px; min-height: 130px; padding: 21px 19px; }
.ggb-kpi-icon { display: grid; flex: 0 0 auto; width: 37px; height: 37px; place-items: center; border-radius: 50%; background: #f5efe2; color: #a97728; font-size: 19px; }
.ggb-kpi-card div { display: grid; align-content: start; gap: 3px; }
.ggb-kpi-card div > span { color: var(--ggb-muted); font-size: 13px; }
.ggb-kpi-card strong { font-family: Georgia, serif; font-size: 26px; line-height: 1.15; }
.ggb-kpi-card small { color: #6d7887; font-size: 12px; line-height: 1.3; }
.ggb-kpi-card small a { color: #8b621e; font-weight: 700; }

.ggb-grid { display: grid; gap: 18px; margin-top: 18px; }
.ggb-grid-primary { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
.ggb-panel { padding: 23px; }
.ggb-panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ggb-panel-heading h2 { font-size: 25px; line-height: 1.15; }
.ggb-panel-heading > a, .ggb-text-link { color: #8b621e; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ggb-orders-table { border-top: 1px solid var(--ggb-line); }
.ggb-orders-row { display: grid; grid-template-columns: 1.1fr .95fr 1fr .9fr; align-items: center; gap: 10px; min-height: 55px; border-bottom: 1px solid var(--ggb-line); color: #4f5c6b; font-size: 13px; }
.ggb-orders-row a { color: var(--ggb-navy); font-weight: 700; }
.ggb-orders-row strong { color: var(--ggb-ink); font-size: 13px; }
.ggb-orders-head { min-height: 35px; color: #7d8792; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ggb-status { width: fit-content; padding: 4px 8px; border-radius: 999px; background: #edf7f0; color: #177645; font-size: 11px; font-weight: 700; }
.ggb-status-processing, .ggb-status-on-hold { background: #eef5fc; color: #2467a1; }
.ggb-status-pending { background: #fbf4e5; color: #9b6c12; }
.ggb-status-failed, .ggb-status-cancelled, .ggb-status-refunded { background: #fbeeed; color: #b4423b; }

.ggb-empty-state { display: flex; align-items: center; gap: 15px; min-height: 155px; padding: 14px 2px; }
.ggb-empty-state > .dashicons { flex: 0 0 auto; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: #f5efe2; color: #aa7b30; font-size: 20px; }
.ggb-empty-state div { min-width: 0; }
.ggb-empty-state strong { display: block; color: var(--ggb-ink); font-size: 15px; }
.ggb-empty-state p { margin: 5px 0 0; color: var(--ggb-muted); font-size: 13px; line-height: 1.5; }
.ggb-empty-state .ggb-text-link { margin-left: auto; }
.ggb-list-cards { display: grid; gap: 10px; }
.ggb-list-card { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; min-height: 69px; padding: 13px; border: 1px solid var(--ggb-line); border-radius: 8px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.ggb-list-card:hover { border-color: #d6b46f; box-shadow: 0 9px 18px rgb(7 28 44 / 7%); transform: translateY(-2px); }
.ggb-list-card .dashicons { grid-row: span 2; color: #aa7b30; }
.ggb-list-card strong { font-family: Georgia, serif; font-size: 16px; }
.ggb-list-card small { color: var(--ggb-muted); font-size: 12px; }
.ggb-list-card > span:last-child { grid-column: 3; grid-row: 1 / span 2; color: #9b6e28; }

.ggb-dashboard :focus-visible { outline: 3px solid #d7b675; outline-offset: 3px; }

.ggb-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ggb-quick-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 14px; border: 1px solid var(--ggb-line); border-radius: 7px; background: #fff; color: var(--ggb-navy); font-size: 13px; font-weight: 700; box-shadow: 0 5px 14px rgb(7 28 44 / 3%); }
.ggb-quick-actions a:hover { border-color: #d4b06a; color: #8b621e; }
.ggb-quick-actions .dashicons { color: #a97628; font-size: 18px; width: 18px; height: 18px; }
.ggb-campaign-calendar { margin-top: 18px; padding: 23px; border: 1px solid var(--ggb-line); border-radius: 10px; background: #fff; box-shadow: 0 9px 24px rgb(7 28 44 / 4%); }
.ggb-campaign-calendar .ggb-panel-heading { margin-bottom: 17px; }
.ggb-campaign-calendar-lead { margin: 6px 0 0; color: var(--ggb-muted); font-size: 13px; }
.ggb-campaign-calendar-year { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #e5d3a8; border-radius: 6px; background: #fffaf0; color: #876124; font-size: 13px; font-weight: 700; }
.ggb-campaign-calendar-year .dashicons { width: 16px; height: 16px; font-size: 16px; }
.ggb-campaign-calendar-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
.ggb-campaign-card { overflow: hidden; border: 1px solid #eee2ca; border-radius: 8px; background: #fffdfa; }
.ggb-campaign-image { height: 104px; background-position: center; background-size: cover; }
.ggb-campaign-copy { display: grid; gap: 5px; padding: 12px; }
.ggb-campaign-copy > span { color: #92702f; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ggb-campaign-copy h3 { margin: 0; color: var(--ggb-ink); font-family: Georgia, "Times New Roman", serif; }
.ggb-campaign-copy p { min-height: 34px; margin: 0; color: var(--ggb-muted); font-size: 12px; line-height: 1.35; }
.ggb-campaign-copy a { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; margin-top: 5px; padding: 7px 10px; border: 1px solid #d5b469; border-radius: 5px; color: #805d22; font-size: 12px; font-weight: 700; }
.ggb-campaign-copy a:hover { border-color: var(--ggb-gold); background: var(--ggb-gold); color: #0A2234; }
.ggb-campaign-calendar-note { margin: 15px 0 0; color: var(--ggb-muted); font-size: 12px; }
.ggb-overview-preview { margin-top: 18px; padding: 23px; border: 1px solid var(--ggb-line); border-radius: 10px; background: #fff; box-shadow: 0 9px 24px rgb(7 28 44 / 4%); }
.ggb-overview-preview-note { align-self: center; color: #92702f; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ggb-overview-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.ggb-overview-preview-card { display: grid; grid-template-columns: 28px 1fr; gap: 4px 10px; min-height: 132px; padding: 15px; border: 1px solid #eee2ca; border-radius: 8px; background: #fffdfa; color: var(--ggb-ink); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.ggb-overview-preview-card:hover { border-color: #cfac67; box-shadow: 0 8px 16px rgb(7 28 44 / 7%); color: var(--ggb-ink); transform: translateY(-2px); }
.ggb-overview-preview-card > .dashicons { grid-row: span 3; color: #a97628; font-size: 21px; }
.ggb-overview-preview-label { color: #92702f; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ggb-overview-preview-card strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.2; }
.ggb-overview-preview-card small { color: var(--ggb-muted); font-size: 12px; line-height: 1.35; }
.ggb-overview-preview-link { grid-column: 2; align-self: end; margin-top: 4px; color: #8b621e; font-size: 12px; font-weight: 700; }

.ggb-section-view { width: 100%; padding-top: 28px; }
.ggb-section-header { margin-bottom: 20px; }
.ggb-section-header h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.12; }
.ggb-section-content { min-width: 0; padding: 24px; border: 1px solid var(--ggb-line); border-radius: 10px; background: #fff; box-shadow: 0 9px 24px rgb(7 28 44 / 4%); }
.ggb-product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.ggb-product-toolbar p { margin: 0; color: var(--ggb-muted); }
.ggb-product-toolbar .ggb-button { border-color: var(--ggb-navy); white-space: nowrap; }
.ggb-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ggb-product-card { overflow: hidden; border: 1px solid var(--ggb-line); border-radius: 9px; background: #fff; }
.ggb-product-image { display: grid; aspect-ratio: 1 / .87; place-items: center; overflow: hidden; background: #f8f8f7; }
.ggb-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.ggb-product-card:hover .ggb-product-image img { transform: scale(1.03); }
.ggb-product-copy { display: grid; align-items: start; gap: 8px; padding: 15px; }
.ggb-product-copy > span { min-height: 16px; color: var(--ggb-muted); font-size: 11px; }
.ggb-product-copy h2 { min-height: 52px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.15; }
.ggb-product-price { min-height: 22px; color: var(--ggb-ink); font-size: 16px; font-weight: 700; }
.ggb-product-add { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin-top: 4px; padding: 8px 12px; border-radius: 5px; background: var(--ggb-gold); color: #12202c !important; font-size: 13px; font-weight: 700; }
.ggb-product-focus { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: 32px; align-items: start; }
.ggb-product-focus-image { display: grid; min-height: 310px; place-items: center; border: 1px solid var(--ggb-line); border-radius: 8px; background: #fafaf9; }
.ggb-product-focus-image img { max-width: 100%; height: auto; }
.ggb-product-focus-copy { display: grid; justify-items: start; gap: 14px; }
.ggb-product-focus-copy h2 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; }
.ggb-product-description { color: var(--ggb-muted); line-height: 1.55; }
.ggb-product-focus .stock { font-size: 13px; font-weight: 700; }
/* Filters are an off-canvas panel at every width now, toggled by
 * .ggb-filters-toggle — matching the real shop's "Afișează filtrele"
 * pattern exactly (filters hidden by default there too, even on desktop),
 * rather than a permanently docked sidebar column. */
.ggb-catalogue-layout { display: block; }

.ggb-filters-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: 5px 14px;
	border: 0;
	border-radius: 5px;
	background: #072e59;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-transform: none;
}

.ggb-filters-toggle svg { width: 18px; height: 18px; }

.ggb-catalogue-filters {
	position: fixed;
	z-index: 9999;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	width: min(320px, 88vw);
	border: 0;
	border-radius: 0;
	background: #fff;
	padding: 18px;
	overflow-y: auto;
	transform: translateX(105%);
	transition: transform .25s ease;
}

.ggb-catalogue-filters.is-open {
	transform: translateX(0);
}

.ggb-catalogue-filters form { display: grid; gap: 17px; }
.ggb-filter-heading, .ggb-product-toolbar > form { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ggb-filter-heading strong { color: var(--ggb-ink); font-size: 18px; }
.ggb-filter-heading a { color: var(--ggb-gold); font-size: 13px; font-weight: 700; }
.ggb-filter-heading { position: relative; }

.ggb-filters-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 0;
	background: none;
	color: var(--ggb-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.ggb-filters-backdrop {
	display: block;
	position: fixed;
	z-index: 9998;
	inset: 0;
	background: rgb(7 28 44 / 45%);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}

.ggb-filters-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.ggb-catalogue-filters label, .ggb-catalogue-filters fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; color: var(--ggb-muted); font-size: 13px; }
.ggb-catalogue-filters legend, .ggb-catalogue-filters label > span { color: var(--ggb-ink); font-weight: 700; }
.ggb-catalogue-filters fieldset > label { display: flex; grid-template-columns: 18px minmax(0, 1fr); align-items: center; color: var(--ggb-ink); }
.ggb-catalogue-filters :is(input[type="search"], input[type="number"], select) { width: 100%; min-height: 39px; border: 1px solid var(--ggb-line); border-radius: 5px; padding: 8px 10px; background: #fff; color: var(--ggb-ink); }
.ggb-filter-scroll { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.ggb-filter-scroll label { display: flex; align-items: center; gap: 8px; color: var(--ggb-ink); font-weight: 400; }
.ggb-filter-children { display: grid; gap: 8px; padding-left: 18px; }
.ggb-filter-price > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ggb-catalogue-results { min-width: 0; }
.ggb-product-toolbar select { min-height: 38px; border: 1px solid var(--ggb-line); border-radius: 5px; padding: 7px 28px 7px 10px; background: #fff; color: var(--ggb-ink); font-size: 13px; }
.ggb-catalogue-pagination { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 28px; }
.ggb-catalogue-pagination a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--ggb-line); border-radius: 5px; color: var(--ggb-ink); font-weight: 700; }
.ggb-catalogue-pagination a.is-active { border-color: var(--ggb-gold); background: var(--ggb-gold); }
.ggb-catalogue-infinite { display: flex; justify-content: center; margin-top: 32px; }
.ggb-load-more { min-height: 44px; padding: 0 28px; border: 1px solid var(--ggb-ink); border-radius: 99px; background: #fff; color: var(--ggb-ink); font-size: 14px; font-weight: 700; }
.ggb-load-more:hover { background: var(--ggb-ink); color: #fff; }
.ggb-load-more:disabled { opacity: .6; cursor: default; }
.ggb-catalogue-single { display: grid; gap: 22px; }
.ggb-catalogue-single-grid { display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 1fr); gap: 42px; align-items: start; }
.ggb-catalogue-gallery { display: grid; min-height: 470px; place-items: center; overflow: hidden; border: 1px solid var(--ggb-line); border-radius: 9px; background: #fff; }
.ggb-catalogue-gallery img { max-width: 100%; height: auto; }
.ggb-catalogue-summary { display: grid; justify-items: start; gap: 15px; }
.ggb-catalogue-category { margin: 0; color: var(--ggb-muted); font-size: 13px; }
.ggb-catalogue-summary h2 { margin: 0; color: var(--ggb-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(29px, 3vw, 42px); line-height: 1.08; }
.ggb-catalogue-add-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 6px; }
.ggb-catalogue-add-form label { display: grid; gap: 5px; color: var(--ggb-ink); font-size: 13px; font-weight: 700; }
.ggb-catalogue-add-form input { width: 90px; min-height: 40px; border: 1px solid var(--ggb-line); border-radius: 5px; padding: 7px 9px; }
.ggb-section-quick-order select#b2bking_bulkorder_searchby_select { min-width: 150px; padding: 7px 30px 7px 11px; border: 1px solid #c79a43; border-radius: 7px !important; background-color: #0A2234; color: #fff; box-shadow: none; font-family: inherit; font-size: 14px; font-weight: 700; text-shadow: none; }
.ggb-section-quick-order select#b2bking_bulkorder_searchby_select:hover,
.ggb-section-quick-order select#b2bking_bulkorder_searchby_select:focus { border-color: #e2bd71; background-color: #173a53; color: #fff; outline: 3px solid rgb(199 154 67 / 24%); outline-offset: 2px; }
.ggb-section-quick-order select#b2bking_bulkorder_searchby_select option { background: #fff; color: #0A2234; font-family: inherit; font-weight: 600; }
.ggb-section-content .woocommerce { width: 100%; max-width: none; }
.ggb-section-content .woocommerce-MyAccount-navigation { display: none; }
.ggb-section-content .woocommerce-MyAccount-content { float: none; width: 100%; }
.ggb-business-checkout-intro { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 15px 17px; border: 1px solid #e5d3a8; border-radius: 8px; background: #fffaf0; color: var(--ggb-ink); }
.ggb-business-checkout-intro .dashicons { color: #a87827; }
.ggb-business-checkout-intro p { margin: 0; font-size: 14px; line-height: 1.45; }
.ggb-section-cart .woocommerce-cart-form,
.ggb-section-cart .cart-collaterals,
.ggb-section-checkout .woocommerce-checkout { margin: 0; }
.ggb-section-cart .woocommerce { display: block; }
.ggb-section-cart .woocommerce-notices-wrapper { width: 100%; }
.ggb-section-cart .woocommerce-cart-form { width: 100%; min-width: 0; margin-bottom: 24px; }
.ggb-section-cart .cart-collaterals { width: 100%; min-width: 0; float: none; }
.ggb-section-cart .cart-collaterals .cart_totals { position: static; width: 100%; margin: 0; float: none; }
.ggb-section-cart .cart-collaterals .cart_totals > h2 { padding-bottom: 14px; border-bottom: 1px solid var(--ggb-line); }
.ggb-section-cart .cart-collaterals .cart_totals table { margin-bottom: 18px; }
.ggb-section-cart .woocommerce-cart-form .shop_table { width: 100%; table-layout: fixed; }
.ggb-section-cart .woocommerce-cart-form .shop_table :is(th, td).product-remove { width: 4%; }
.ggb-section-cart .woocommerce-cart-form .shop_table :is(th, td).product-thumbnail { width: 13%; padding-inline: 8px; }
.ggb-section-cart .woocommerce-cart-form .shop_table :is(th, td).product-name { width: 38%; padding-inline: 12px; }
.ggb-section-cart .woocommerce-cart-form .shop_table :is(th, td).product-price { width: 13%; }
.ggb-section-cart .woocommerce-cart-form .shop_table :is(th, td).product-quantity { width: 19%; }
.ggb-section-cart .woocommerce-cart-form .shop_table :is(th, td).product-subtotal { width: 13%; }
.ggb-section-cart .woocommerce-cart-form td.product-thumbnail > a { display: block; width: 112px; max-width: 100%; margin: 0 auto; overflow: hidden; }
.ggb-section-cart .woocommerce-cart-form td.product-thumbnail img { display: block; width: 112px !important; min-width: 112px; max-width: 112px; height: 112px; margin: 0; border: 1px solid var(--ggb-line); border-radius: 7px; background: #fff; object-fit: contain; }
.ggb-section-cart .woocommerce-cart-form td.product-name a { display: block; overflow-wrap: anywhere; font-size: 17px; line-height: 1.35; }
.ggb-section-cart .cart-collaterals .cart_totals,
.ggb-section-checkout .woocommerce-checkout-review-order,
.ggb-section-checkout .woocommerce-billing-fields,
.ggb-section-checkout .woocommerce-additional-fields { padding: 20px; border: 1px solid var(--ggb-line); border-radius: 8px; background: #fff; }
.ggb-section-cart td.product-quantity .quantity { display: inline-flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: stretch; width: auto !important; min-width: 0; height: 42px; margin: 0; vertical-align: middle; white-space: nowrap; }
.ggb-section-cart td.product-quantity .quantity .btn { display: inline-flex !important; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px !important; min-width: 42px; height: 42px !important; min-height: 42px; margin: 0 !important; padding: 0 !important; border: 1px solid var(--ggb-navy); border-radius: 0; background: var(--ggb-navy); color: #fff; font-size: 18px; line-height: 1; }
.ggb-section-cart td.product-quantity .quantity .minus { border-radius: 6px 0 0 6px; }
.ggb-section-cart td.product-quantity .quantity .plus { border-radius: 0 6px 6px 0; }
.ggb-section-cart td.product-quantity .quantity .btn:hover { background: #173a53; color: #fff; }
.ggb-section-cart td.product-quantity .quantity input.qty { flex: 0 0 56px; width: 56px !important; min-width: 56px; max-width: 56px; height: 42px !important; min-height: 42px; margin: 0 !important; padding: 0 4px; border: 1px solid #d8dde2; border-inline: 0; border-radius: 0; background: #fff; color: var(--ggb-ink); font-size: 14px; font-weight: 700; line-height: 42px; text-align: center; }
.ggb-section-cart td.product-quantity .quantity input.qty:focus { position: relative; z-index: 1; outline: 2px solid #d7b675; outline-offset: -2px; }
.ggb-section-cart .woocommerce-cart-form .actions { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 0 0 !important; }
.ggb-section-cart .woocommerce-cart-form .actions .coupon { display: flex !important; flex: 1 0 100%; align-items: center; gap: 10px; margin: 0 !important; }
.ggb-section-cart .woocommerce-cart-form .actions .coupon .input-text { flex: 0 1 420px; width: 420px !important; min-width: 240px; height: 44px; margin: 0 !important; padding: 0 14px; border: 1px solid #d8dde2; border-radius: 6px; box-shadow: none; }
.ggb-section-cart .woocommerce-cart-form .actions .coupon .button,
.ggb-section-cart .woocommerce-cart-form .actions > button,
.ggb-section-cart .woocommerce-cart-form .actions > #b2bking_request_custom_quote_button,
.ggb-section-cart .woocommerce-cart-form .actions > .b2bking_add_cart_to_purchase_list_button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: auto !important; min-height: 44px; margin: 0 !important; padding: 10px 16px; border-radius: 6px; background: var(--ggb-navy); color: #fff; font-size: 13px; font-weight: 700; line-height: 20px; text-align: center; white-space: nowrap; float: none !important; }
.ggb-section-cart .woocommerce-cart-form .actions .coupon .button:hover,
.ggb-section-cart .woocommerce-cart-form .actions > button:hover,
.ggb-section-cart .woocommerce-cart-form .actions > #b2bking_request_custom_quote_button:hover,
.ggb-section-cart .woocommerce-cart-form .actions > .b2bking_add_cart_to_purchase_list_button:hover { background: #173a53; color: #fff; }
.ggb-section-checkout .woocommerce-checkout-review-order { margin-top: 24px; }
.ggb-section-cart .cart_totals h2,
.ggb-section-checkout .woocommerce-billing-fields > h3,
.ggb-section-checkout .woocommerce-additional-fields > h3,
.ggb-section-checkout #order_review_heading { margin-top: 0; color: var(--ggb-ink); }
.ggb-section-cart .button,
.ggb-section-checkout .button,
.ggb-section-checkout #place_order { min-height: 42px; border-radius: 6px; background: var(--ggb-navy); color: #fff; font-size: 13px; font-weight: 700; }
.ggb-section-cart .button:hover,
.ggb-section-checkout .button:hover,
.ggb-section-checkout #place_order:hover { background: #173a53; color: #fff; }
.ggb-section-checkout .form-row label { color: var(--ggb-ink); font-size: 13px; font-weight: 700; }
.ggb-section-checkout .form-row input.input-text,
.ggb-section-checkout .form-row select,
.ggb-section-checkout .form-row textarea { border-color: #d8dde2; border-radius: 6px; box-shadow: none; }
.ggb-delivery-upload { margin: 24px 0; padding: 20px; border: 1px solid #e4d2aa; border-radius: 9px; background: #fffaf0; }
.ggb-delivery-upload-heading { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 15px; }
.ggb-delivery-upload-heading > .dashicons { flex: 0 0 auto; color: #a87827; }
.ggb-delivery-upload h3 { margin: 0; color: var(--ggb-ink); font-size: 20px !important; }
.ggb-delivery-upload-heading p { margin: 5px 0 0; color: var(--ggb-muted); font-size: 13px; line-height: 1.45; }
.ggb-delivery-upload-control { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--ggb-navy); border-radius: 6px; background: var(--ggb-navy); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.ggb-delivery-upload-control:hover { background: #173a53; color: #fff; }
.ggb-delivery-upload-control input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ggb-delivery-upload-control:focus-within { outline: 3px solid rgb(199 154 67 / 38%); outline-offset: 3px; }
.ggb-delivery-upload-help, .ggb-delivery-upload-status { margin: 10px 0 0; font-size: 12px; line-height: 1.4; }
.ggb-delivery-upload-help { color: var(--ggb-muted); }
.ggb-delivery-upload-status { min-height: 17px; color: #39724c; font-weight: 700; }
.ggb-delivery-upload-status.is-error { color: #af403b; }
/* WooCommerce's default account notices become compact, readable order states in the B2B portal. */
.ggb-section-orders .woocommerce-notices-wrapper { margin: 0; }
.ggb-section-orders .woocommerce-info,
.ggb-section-orders .woocommerce-message,
.ggb-section-orders .woocommerce-error { display: flex; align-items: center; gap: 14px; min-height: 0; margin: 0 0 14px; padding: 16px 18px 16px 52px; border: 1px solid #e5d3a8; border-radius: 8px; background: #fffaf0; color: var(--ggb-ink); box-shadow: none; font-size: 14px; line-height: 1.45; }
.ggb-section-orders .woocommerce-info::before,
.ggb-section-orders .woocommerce-message::before,
.ggb-section-orders .woocommerce-error::before { top: 50%; left: 19px; margin-top: -10px; color: #a87827; font-size: 20px; }
.ggb-section-orders .woocommerce-error { border-color: #eccdca; background: #fff7f6; }
.ggb-section-orders .woocommerce-error::before { color: #b44c43; }
.ggb-section-orders .woocommerce-info .button,
.ggb-section-orders .woocommerce-message .button,
.ggb-section-orders .woocommerce-error .button,
.ggb-section-orders .woocommerce-MyAccount-content > .button { order: 2; flex: 0 0 auto; min-height: 40px; margin: 0 0 0 auto; padding: 10px 14px; border: 0; border-radius: 6px; background: var(--ggb-navy); color: #fff; font-size: 13px; font-weight: 700; line-height: 20px; white-space: nowrap; }
.ggb-section-orders .woocommerce-info .button:hover,
.ggb-section-orders .woocommerce-message .button:hover,
.ggb-section-orders .woocommerce-error .button:hover,
.ggb-section-orders .woocommerce-MyAccount-content > .button:hover { background: #173a53; color: #fff; }
.ggb-section-orders .woocommerce-orders-table { overflow: hidden; border: 1px solid var(--ggb-line); border-radius: 8px; box-shadow: none; }
.ggb-section-orders .woocommerce-orders-table th { background: #f7f4ee; color: var(--ggb-ink); font-size: 12px; }
.ggb-section-orders .woocommerce-orders-table td { padding-block: 15px; color: var(--ggb-muted); }
.ggb-section-orders .woocommerce-orders-table .button { min-height: 34px; padding: 7px 10px; border-radius: 5px; background: var(--ggb-navy); color: #fff; font-size: 12px; }
.ggb-order-history { margin-bottom: 24px; padding: 23px; border: 1px solid var(--ggb-line); border-radius: 10px; background: #fff; box-shadow: 0 9px 24px rgb(7 28 44 / 4%); }
.ggb-order-history-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.ggb-order-history-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 15px; padding: 17px; border: 1px solid #eee2ca; border-radius: 8px; background: #fffdfa; }
.ggb-order-history-year { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #f5efe2; color: #9b6d27; font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 700; }
.ggb-order-history-card dl { display: grid; gap: 8px; margin: 0; }
.ggb-order-history-card dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ggb-order-history-card dt { color: var(--ggb-muted); font-size: 12px; }
.ggb-order-history-card dd { margin: 0; color: var(--ggb-ink); font-size: 14px; font-weight: 700; text-align: right; }
.ggb-order-history-card dd .amount { white-space: nowrap; }
.ggb-order-history-note { margin: 15px 0 0; color: var(--ggb-muted); font-size: 12px; }
.ggb-company-card { display: grid; gap: 6px; margin-bottom: 23px; padding: 18px; border: 1px solid #e3d3ac; border-radius: 8px; background: #fbf8f0; }
.ggb-company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ggb-company-grid .ggb-company-card { margin: 0; }
.ggb-company-card span { color: #876124; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ggb-company-card strong { font-family: Georgia, "Times New Roman", serif; font-size: 23px; }
.ggb-company-card p { margin: 0; color: var(--ggb-muted); }
.ggb-company-card dl { display: grid; gap: 9px; margin: 9px 0 0; }
.ggb-company-card dl div { display: grid; grid-template-columns: minmax(115px, .75fr) minmax(0, 1.25fr); gap: 10px; padding-top: 9px; border-top: 1px solid rgb(183 138 61 / 18%); }
.ggb-company-card dt { color: var(--ggb-muted); font-size: 12px; }
.ggb-company-card dd { margin: 0; color: var(--ggb-ink); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.ggb-demo-preview { margin-bottom: 24px; padding: 18px; border: 1px dashed #cfac67; border-radius: 9px; background: #fffaf0; }
.ggb-demo-label { margin: 0 0 13px; color: #92702f; font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.ggb-demo-table { display: grid; gap: 8px; }
.ggb-demo-table > div { display: grid; grid-template-columns: 1.1fr .9fr .9fr .8fr auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid #eee2ca; border-radius: 6px; background: #fff; font-size: 13px; }
.ggb-demo-table span { color: var(--ggb-muted); }
.ggb-demo-table a, .ggb-demo-cards a { color: #8b621e; font-weight: 700; }
.ggb-demo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ggb-demo-cards article { display: grid; align-items: start; gap: 7px; padding: 15px; border: 1px solid #eee2ca; border-radius: 7px; background: #fff; }
.ggb-demo-cards span { color: #9a762f; font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.ggb-demo-cards h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; }
.ggb-demo-cards p { margin: 0; color: var(--ggb-muted); font-size: 13px; }
.ggb-team-intro { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid #e7d6b2; border-radius: 8px; background: #fffaf0; color: var(--ggb-ink); }
.ggb-team-intro .dashicons { flex: 0 0 auto; color: #a87827; }
.ggb-team-intro p { margin: 0; font-size: 14px; line-height: 1.45; }
.ggb-section-team .b2bking_subaccounts_container { width: 100%; margin-top: 0; padding: 24px; border: 1px solid var(--ggb-line); border-radius: 10px; background: #fff; box-shadow: none; }
.ggb-section-team .b2bking_subaccounts_container_top { display: flex !important; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--ggb-line); }
.ggb-section-team .b2bking_subaccounts_container_top_title { color: var(--ggb-ink); font-family: Georgia, "Times New Roman", serif; font-size: 25px !important; }
.ggb-section-team .b2bking_subaccounts_container_top_button, .ggb-section-team .b2bking_subaccounts_new_account_container_content_bottom_button { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0 !important; padding: 10px 16px !important; border-radius: 6px !important; background: var(--ggb-gold) !important; color: #0A2234 !important; font-family: inherit; font-size: 13px; font-weight: 700; }
.ggb-section-team .b2bking_subaccounts_container_top_button svg, .ggb-section-team .b2bking_subaccounts_new_account_container_content_bottom_button svg { width: 20px; height: 20px; }
.ggb-section-team .b2bking_subaccounts_container_top_button svg path, .ggb-section-team .b2bking_subaccounts_new_account_container_content_bottom_button svg path { fill: #0A2234; }
.ggb-section-team .b2bking_subaccounts_new_account_container { max-width: none; margin: 20px 0 0 !important; border: 1px solid #e6d7ba !important; border-radius: 9px; background: #fffdfa; box-shadow: none !important; }
.ggb-section-team .b2bking_subaccounts_new_account_container_top { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 1px solid #eadfc9; background: #f8f2e7; }
.ggb-section-team .b2bking_subaccounts_new_account_container_top_title { color: var(--ggb-ink); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; }
.ggb-section-team .b2bking_subaccounts_new_account_container_top_close { color: #735c37; font-size: 13px; font-weight: 700; cursor: pointer; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; padding: 22px !important; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_large_title, .ggb-section-team .b2bking_subaccounts_new_account_container_content_bottom { grid-column: 1 / -1; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_large_title { display: flex !important; align-items: center; gap: 9px; margin: 6px 0 1px !important; padding: 12px 14px; border: 1px solid #eadfc9; border-radius: 7px; background: #f8f2e7; color: var(--ggb-ink); font-size: 15px; font-weight: 700; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_large_title svg { width: 22px; height: 22px; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_large_title svg path { fill: #a87827; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_element { margin: 0 !important; }
.ggb-section-team .b2bking_subaccount_horizontal_line { border: 0 !important; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_element_label { margin: 0 0 7px; color: var(--ggb-ink); font-size: 13px; font-weight: 700; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_element_text { box-sizing: border-box; width: 100% !important; min-height: 44px; margin: 0 !important; padding: 0 12px; border: 1px solid #d8dde2; border-radius: 6px; background: #fff; box-shadow: none; color: var(--ggb-ink); font-family: inherit; font-size: 14px; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_element_text:focus { border-color: #c79a43; outline: 2px solid rgb(199 154 67 / 20%); outline-offset: 1px; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_element_checkbox { display: grid !important; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-height: 64px; margin: 0 !important; padding: 13px 14px; border: 1px solid #eadfc9; border-radius: 7px; background: #fff; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_element_checkbox_name { color: var(--ggb-ink); font-size: 13px; font-weight: 600; line-height: 1.35; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_element_checkbox_input { width: 18px !important; height: 18px !important; margin: 0 !important; accent-color: #a87827; }
.ggb-section-team .b2bking_checkbox_child { border-left: 3px solid #d5b370 !important; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_bottom { display: flex !important; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 4px; padding-top: 18px; border-top: 1px solid #eadfc9; }
.ggb-section-team .b2bking_subaccounts_new_account_container_content_bottom_validation_errors { flex: 1 1 auto; color: #ae3d35; font-size: 13px; }

/* Support uses B2BKing's native conversation form; these rules only align it to the portal UI. */
.ggb-section-messages #b2bking_myaccount_conversations_container { width: 100%; margin: 18px 0 0; }
.ggb-section-messages #b2bking_myaccount_conversations_container_top { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ggb-section-messages #b2bking_myaccount_conversations_title { margin: 0; color: var(--ggb-ink); font-family: Georgia, "Times New Roman", serif; font-size: 25px !important; line-height: 1.15; }
.ggb-section-messages #b2bking_myaccount_conversations_container_top button,
.ggb-section-messages button.b2bking_myaccount_start_conversation_button { min-width: 0; min-height: 42px; border-radius: 6px; background: var(--ggb-gold) !important; color: #0A2234 !important; box-shadow: none; font-family: inherit; font-size: 13px; font-weight: 700; }
.ggb-section-messages #b2bking_myaccount_conversations_container_top button:hover,
.ggb-section-messages button.b2bking_myaccount_start_conversation_button:hover { background: #d5ad58 !important; color: #0A2234 !important; }
.ggb-section-messages .b2bking_myaccount_new_conversation_container { max-width: 980px; margin: 0 0 24px; border: 1px solid var(--ggb-line); border-radius: 9px; background: #fff; box-shadow: none; }
.ggb-section-messages .b2bking_myaccount_new_conversation_top { min-height: 48px; padding: 0 20px; border-radius: 8px 8px 0 0; background: var(--ggb-navy); color: #fff; font-family: inherit; }
.ggb-section-messages .b2bking_myaccount_new_conversation_close { background: rgb(255 255 255 / 14%); }
.ggb-section-messages .b2bking_myaccount_new_conversation_content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; padding: 22px; background: #fff; border-radius: 0 0 8px 8px; }
.ggb-section-messages .b2bking_myaccount_new_conversation_content_element { margin: 0; }
.ggb-section-messages .b2bking_myaccount_new_conversation_content_element:nth-of-type(3),
.ggb-section-messages .b2bking_myaccount_start_conversation_bottom { grid-column: 1 / -1; }
.ggb-section-messages .b2bking_myaccount_new_conversation_content_element_text { display: block; margin-bottom: 6px; color: var(--ggb-ink); font-family: inherit; font-size: 13px; font-weight: 700; }
.ggb-section-messages select#b2bking_myaccount_conversation_type,
.ggb-section-messages input#b2bking_myaccount_title_conversation_start,
.ggb-section-messages #b2bking_myaccount_textarea_conversation_start { box-sizing: border-box; width: 100%; margin: 0; border: 1px solid #d8dde2; border-radius: 6px; background: #fff; color: var(--ggb-ink); box-shadow: none; font-family: inherit; }
.ggb-section-messages select#b2bking_myaccount_conversation_type,
.ggb-section-messages input#b2bking_myaccount_title_conversation_start { height: 43px; padding: 0 13px; }
.ggb-section-messages #b2bking_myaccount_textarea_conversation_start { min-height: 150px; padding: 12px 13px; }
.ggb-section-messages .b2bking_myaccount_start_conversation_bottom { display: flex; justify-content: flex-end; }
.ggb-section-messages .b2bking_myaccount_individual_conversation_container { overflow: hidden; margin-bottom: 14px; border: 1px solid var(--ggb-line); border-radius: 8px; background: #fff; box-shadow: none; }
.ggb-section-messages .b2bking_myaccount_individual_conversation_top { min-height: 42px; justify-content: space-between; padding: 0 18px; border-radius: 0; background: #f5efe2; color: var(--ggb-ink); font-family: inherit; }
.ggb-section-messages .b2bking_myaccount_individual_conversation_content { justify-content: flex-start; gap: 22px; padding: 4px 18px; }
.ggb-section-messages .b2bking_myaccount_individual_conversation_content_item { width: auto; padding: 12px 0; color: var(--ggb-muted); font-family: inherit; font-size: 13px; }
.ggb-section-messages button.b2bking_myaccount_view_conversation_button { min-height: 38px; margin: 0 18px 16px; border-radius: 6px; background: var(--ggb-navy); box-shadow: none; font-family: inherit; font-size: 13px; font-weight: 700; }

@media (max-width: 1200px) {
	.ggb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ggb-main { padding-inline: 22px; }
	.ggb-topbar { gap: 12px; }
	.ggb-portal-search { min-width: 150px; }
	.ggb-user-chip { flex-basis: 155px; }
	.ggb-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ggb-campaign-calendar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ggb-overview-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ggb-section-cart .woocommerce { grid-template-columns: 1fr; }
	.ggb-section-cart .woocommerce-notices-wrapper,
	.ggb-section-cart .woocommerce-cart-form,
	.ggb-section-cart .cart-collaterals { grid-column: 1; grid-row: auto; }
	.ggb-section-cart .cart-collaterals .cart_totals { position: static; }
	.ggb-section-cart .woocommerce-cart-form .shop_table :is(th, td).product-name { width: 35%; }
	.ggb-section-cart .woocommerce-cart-form .shop_table :is(th, td).product-quantity { width: 21%; }
	.ggb-company-grid { grid-template-columns: 1fr; }
	.ggb-product-focus { grid-template-columns: 1fr; }
	.ggb-catalogue-single-grid { gap: 26px; }
}

@media (max-width: 1024px) {
	.ggb-dashboard { display: block; }
	.ggb-sidebar { position: fixed; z-index: 99999; inset: 0 auto 0 0; width: min(286px, 84vw); transform: translateX(-105%); transition: transform .2s ease; box-shadow: 12px 0 35px rgb(7 28 44 / 20%); }
	.ggb-dashboard.is-menu-open .ggb-sidebar { transform: translateX(0); }
	.ggb-menu-toggle { display: block; }
	.ggb-topbar-links { display: none; }
	.ggb-main { padding: 0 20px 30px; }
	.ggb-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ggb-catalogue-single-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.ggb-main { padding-inline: 14px; }
	.ggb-topbar { min-height: 62px; }
	.ggb-portal-search { display: none; }
	.ggb-user-chip { flex: 0 0 auto; }
	.ggb-user-chip > span:last-child { display: none; }
	.ggb-hero { min-height: 0; margin-top: 15px; background-position: 63% center; }
	.ggb-hero-copy { padding: 27px 22px; }
	.ggb-hero h1 { font-size: 30px !important; }
	.ggb-hero-copy > p:not(.ggb-eyebrow) { font-size: 15px; }
	.ggb-actions { display: grid; grid-template-columns: 1fr; }
	.ggb-kpis, .ggb-grid-primary { grid-template-columns: 1fr; }
	.ggb-section-view { padding-top: 18px; }
	.ggb-section-content { padding: 16px; }
	.ggb-catalogue-filters { padding: 14px; }
	.ggb-catalogue-single-grid { gap: 20px; }
	.ggb-catalogue-gallery { min-height: 300px; }
	.ggb-catalogue-add-form { align-items: stretch; flex-direction: column; }
	.ggb-catalogue-add-form input, .ggb-catalogue-add-form .ggb-product-add { width: 100%; }
	.ggb-business-checkout-intro { align-items: flex-start; }
	.ggb-section-cart .woocommerce-cart-form .actions .coupon { align-items: stretch; flex-direction: column; }
	.ggb-section-cart .woocommerce-cart-form .actions .coupon .input-text { width: 100% !important; min-width: 0; }
	.ggb-section-cart .woocommerce-cart-form .actions .coupon .button,
	.ggb-section-cart .woocommerce-cart-form .actions > button,
	.ggb-section-cart .woocommerce-cart-form .actions > #b2bking_request_custom_quote_button,
	.ggb-section-cart .woocommerce-cart-form .actions > .b2bking_add_cart_to_purchase_list_button { width: 100% !important; }
	.ggb-section-cart .woocommerce-cart-form { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.ggb-section-cart .woocommerce-cart-form .shop_table { min-width: 740px; }
	.ggb-section-cart .woocommerce-cart-form td.product-thumbnail > a,
	.ggb-section-cart .woocommerce-cart-form td.product-thumbnail img { width: 82px !important; min-width: 82px; max-width: 82px; height: 82px; }
	.ggb-section-cart .cart-collaterals .cart_totals,
	.ggb-section-checkout .woocommerce-checkout-review-order,
	.ggb-section-checkout .woocommerce-billing-fields,
	.ggb-section-checkout .woocommerce-additional-fields { padding: 16px; }
	.ggb-order-history { padding: 18px; }
	.ggb-section-orders .woocommerce-info,
	.ggb-section-orders .woocommerce-message,
	.ggb-section-orders .woocommerce-error { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 16px 16px 16px 48px; }
	.ggb-section-orders .woocommerce-info .button,
	.ggb-section-orders .woocommerce-message .button,
	.ggb-section-orders .woocommerce-error .button,
	.ggb-section-orders .woocommerce-MyAccount-content > .button { justify-self: start; margin-left: 0; }
	.ggb-product-toolbar { align-items: flex-start; flex-direction: column; }
	.ggb-product-grid { grid-template-columns: 1fr; }
	.ggb-company-card dl div { grid-template-columns: 1fr; gap: 2px; }
	.ggb-demo-cards { grid-template-columns: 1fr; }
	.ggb-campaign-calendar { padding: 18px; }
	.ggb-campaign-calendar-grid { grid-template-columns: 1fr; }
	.ggb-overview-preview { padding: 18px; }
	.ggb-overview-preview-grid { grid-template-columns: 1fr; }
	.ggb-overview-preview-note { align-self: start; }
	.ggb-demo-table > div { grid-template-columns: 1fr 1fr; }
	.ggb-demo-table > div > :last-child { grid-column: 1 / -1; }
	.ggb-section-team .b2bking_subaccounts_container { padding: 18px; }
	.ggb-section-team .b2bking_subaccounts_container_top { align-items: stretch; flex-direction: column; }
	.ggb-section-team .b2bking_subaccounts_container_top_button { width: 100%; }
	.ggb-section-team .b2bking_subaccounts_new_account_container_top { padding: 15px; }
	.ggb-section-team .b2bking_subaccounts_new_account_container_content { grid-template-columns: 1fr; padding: 16px !important; }
	.ggb-section-team .b2bking_subaccounts_new_account_container_content_bottom { align-items: stretch; flex-direction: column; }
	.ggb-section-team .b2bking_subaccounts_new_account_container_content_bottom_button { width: 100%; }
	.ggb-section-messages #b2bking_myaccount_conversations_container_top { display: grid !important; align-items: start; }
	.ggb-section-messages .b2bking_myaccount_new_conversation_content { grid-template-columns: 1fr; padding: 18px; }
	.ggb-section-messages .b2bking_myaccount_individual_conversation_content { display: block; }
	.ggb-section-quick-order .b2bking_bulkorder_form_container,
	.ggb-section-quick-order .b2bking_bulkorder_form_container_bottom,
	.ggb-section-purchase-lists #b2bking_purchase_lists_table_wrapper,
	.ggb-section-orders .woocommerce-orders-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.ggb-section-quick-order .b2bking_bulkorder_form_container table,
	.ggb-section-purchase-lists #b2bking_purchase_lists_table,
	.ggb-section-orders .woocommerce-orders-table { min-width: 620px; }
	.ggb-kpi-card { min-height: 110px; }
	.ggb-panel { padding: 18px; }
	.ggb-panel-heading h2 { font-size: 25px; }
	.ggb-orders-head { display: none; }
	.ggb-orders-row { grid-template-columns: 1fr 1fr; gap: 5px 12px; padding: 12px 0; }
	.ggb-orders-row > *:nth-child(3), .ggb-orders-row > *:nth-child(4) { justify-self: start; }
	.ggb-empty-state { align-items: flex-start; flex-wrap: wrap; min-height: 0; }
	.ggb-empty-state .ggb-text-link { width: 100%; margin: 2px 0 0 53px; }
}

@media (max-width: 420px) {
	.ggb-main { padding-inline: 10px; }
	.ggb-topbar { gap: 8px; }
	.ggb-notice-link { width: 36px; height: 36px; }
	.ggb-hero-copy { padding: 24px 18px; }
	.ggb-section-content { padding: 13px; }
	.ggb-campaign-calendar,
	.ggb-overview-preview,
	.ggb-panel { padding: 14px; }
}

/* Corporate quote request. */
.ggb-quote-request { display: grid; gap: 18px; }
.ggb-quote-intro { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 4px 2px 8px; }
.ggb-quote-intro h2 { margin: 0; color: var(--ggb-ink); font-family: Georgia, "Times New Roman", serif; font-size: 30px !important; }
.ggb-quote-intro p:not(.ggb-eyebrow) { max-width: 800px; margin: 10px 0 0; color: var(--ggb-muted); font-size: 15px; line-height: 1.6; }
.ggb-quote-intro > .dashicons { display: grid; flex: 0 0 auto; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #f5efe2; color: #a87827; font-size: 28px; }
.ggb-quote-notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid; border-radius: 8px; }
.ggb-quote-notice .dashicons { flex: 0 0 auto; margin-top: 1px; font-size: 20px; }
.ggb-quote-notice strong { display: block; font-size: 16px; }
.ggb-quote-notice p { margin: 3px 0 0; font-size: 14px; }
.ggb-quote-notice.is-success { border-color: #b9dfc6; background: #f1fbf4; color: #176f3c; }
.ggb-quote-notice.is-error { border-color: #ebc1bd; background: #fff3f2; color: #a2332d; }
.ggb-quote-form { display: grid; gap: 18px; }
.ggb-quote-card { padding: 25px; border: 1px solid var(--ggb-line); border-radius: 10px; background: #fff; box-shadow: 0 9px 24px rgb(7 28 44 / 4%); }
.ggb-quote-card-heading { padding-bottom: 17px; margin-bottom: 19px; border-bottom: 1px solid var(--ggb-line); }
.ggb-quote-card-heading h3 { margin: 0; color: var(--ggb-ink); font-family: Georgia, "Times New Roman", serif; font-size: 24px !important; }
.ggb-quote-card-heading p { margin: 5px 0 0; color: var(--ggb-muted); font-size: 14px; }
.ggb-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; }
.ggb-quote-grid label, .ggb-quote-preferences fieldset { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ggb-quote-grid label > span, .ggb-quote-preferences legend { color: #4e5968; font-size: 14px; font-weight: 700; }
.ggb-quote-grid em, .ggb-quote-preferences em { color: #98a0aa; font-style: normal; font-weight: 400; }
.ggb-quote-grid input, .ggb-quote-grid select, .ggb-quote-grid textarea, .ggb-recipient-row :is(input, select) { width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 9px 12px; border: 1px solid #d9dfe3; border-radius: 7px; background: #fff; box-shadow: none; color: var(--ggb-ink); font-family: inherit; font-size: 16px; }
.ggb-quote-grid textarea { resize: vertical; min-height: 88px; }
.ggb-quote-grid :is(input, select, textarea):focus, .ggb-recipient-row :is(input, select):focus { border-color: #c79a43; outline: 3px solid rgb(199 154 67 / 18%); outline-offset: 1px; }
.ggb-recipient-labels { display: grid; grid-template-columns: minmax(0, 1fr) 104px 110px 32px; gap: 10px; margin: 0 0 8px; color: #6e7783; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ggb-recipient-labels :is(span:nth-child(2), span:nth-child(3)) { text-align: center; }
.ggb-recipients { display: grid; gap: 10px; }
.ggb-recipient-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px 110px 32px; gap: 10px; align-items: center; padding: 10px; border: 1px solid #ece8df; border-radius: 8px; background: #fffcf8; }
.ggb-recipient-row .ggb-recipient-quantity, .ggb-recipient-row .ggb-recipient-budget { text-align: center; }
.ggb-recipient-row .ggb-recipient-remove { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #7c8189; font-size: 21px; font-weight: 700; cursor: pointer; }
.ggb-recipient-row .ggb-recipient-remove:hover { background: #f8e8e6; color: #ad372f; }
.ggb-recipient-reference { grid-column: 1 / -1; }
.ggb-add-recipient { display: flex; align-items: center; justify-content: center; gap: 7px; width: fit-content; margin: 15px auto 0; padding: 6px 8px; border: 0; background: transparent; color: #6b5740; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ggb-add-recipient:hover { color: #9a6d27; }
.ggb-add-recipient span { font-size: 20px; line-height: .8; }
.ggb-quote-preferences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 26px; }
.ggb-quote-preferences .ggb-preference-wide { grid-column: 1 / -1; }
.ggb-choice-set { display: flex; flex-wrap: wrap; gap: 8px; }
.ggb-choice { position: relative; display: inline-flex; cursor: pointer; }
.ggb-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ggb-choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 15px; border: 1px solid #d9dfe3; border-radius: 7px; background: #fff; color: #273746; font-size: 15px; font-weight: 700; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.ggb-choice input:checked + span { border-color: #bb8a36; background: var(--ggb-navy); color: #fff; }
.ggb-choice input:focus-visible + span { outline: 3px solid rgb(199 154 67 / 25%); outline-offset: 2px; }
.ggb-choice-tag span { min-height: 37px; border-radius: 999px; padding-inline: 13px; font-weight: 500; }
.ggb-choice-tag input:checked + span { background: #b98b3a; color: #132330; }
.ggb-quote-contact-grid { margin-top: 23px; padding-top: 21px; border-top: 1px solid var(--ggb-line); }
.ggb-quote-full { grid-column: 1 / -1; }
.ggb-quote-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 25px; border-radius: 10px; background: #15191f; color: #fff; }
.ggb-quote-summary > div { display: grid; gap: 3px; }
.ggb-quote-summary span { color: rgb(255 255 255 / 60%); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ggb-quote-summary strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 34px; line-height: 1.05; }
.ggb-quote-summary small { color: rgb(255 255 255 / 62%); font-size: 15px; }
.ggb-quote-summary .ggb-button { flex: 0 0 auto; min-height: 48px; }

@media (max-width: 767px) {
	.ggb-quote-intro { align-items: flex-start; }
	.ggb-quote-intro > .dashicons { width: 44px; height: 44px; font-size: 23px; }
	.ggb-quote-card { padding: 18px; }
	.ggb-quote-grid, .ggb-quote-preferences { grid-template-columns: 1fr; }
	.ggb-quote-preferences .ggb-preference-wide, .ggb-quote-full { grid-column: auto; }
	.ggb-recipient-labels { display: none; }
	.ggb-recipient-row { grid-template-columns: 1fr 1fr; }
	.ggb-recipient-row select, .ggb-recipient-row .ggb-recipient-reference { grid-column: 1 / -1; }
	.ggb-recipient-row .ggb-recipient-remove { grid-column: 2; grid-row: 2; justify-self: end; }
	.ggb-recipient-row .ggb-recipient-budget { grid-column: 1; grid-row: 2; }
	.ggb-recipient-row .ggb-recipient-quantity { grid-column: 1; grid-row: 3; }
	.ggb-quote-summary { align-items: stretch; flex-direction: column; }
	.ggb-quote-summary .ggb-button { width: 100%; }
}
