/*
 * Visual refresh for the shopping flow (cart, login/register, checkout).
 * Scoped under body.wb-cart-page / wb-login-page / wb-checkout-page so it
 * never touches other pages that reuse the same shared classes
 * (.btn-cart, .accordionlogin, .input-login, .payment-box, etc).
 * Reuses the site's own palette: blue #0099cc/#13a7df, yellow #ffcc00,
 * red #e5011b for prices - just adds cards, shadows, spacing and motion.
 */

body.wb-cart-page,
body.wb-login-page,
body.wb-checkout-page,
body.wb-order-page {
	background: #f4f6f9;
}

body.wb-cart-page .middle,
body.wb-login-page .middle,
body.wb-checkout-page .middle,
body.wb-order-page .middle {
	background: transparent;
}

body.wb-cart-page .breadcum-bg,
body.wb-login-page .breadcum-bg,
body.wb-checkout-page .breadcum-bg,
body.wb-order-page .breadcum-bg {
	background: #fff;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 2px 14px rgba(20, 30, 60, 0.06);
	margin-top: 20px;
}

/* ---------- shared card + button polish ---------- */

body.wb-cart-page .btn-checkout,
body.wb-checkout-page .btn-checkout,
body.wb-cart-page .btn-cart,
body.wb-login-page .btn-login,
body.wb-checkout-page #place-order-btn {
	box-shadow: 0 8px 20px rgba(16, 160, 215, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
	letter-spacing: 0.3px;
}
body.wb-login-page .btn-login {
	box-shadow: 0 8px 20px rgba(255, 204, 0, 0.35);
}
body.wb-cart-page .btn-checkout:hover,
body.wb-checkout-page .btn-checkout:hover,
body.wb-cart-page .btn-cart:hover,
body.wb-login-page .btn-login:hover,
body.wb-checkout-page #place-order-btn:hover:not(:disabled) {
	transform: translateY(-2px);
}
body.wb-checkout-page #place-order-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* ================= CART PAGE ================= */

body.wb-cart-page h1 {
	font-weight: 700;
	color: #1a1a2e;
}

body.wb-cart-page #cart-items {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(20, 30, 60, 0.07);
	padding: 8px 20px;
}

body.wb-cart-page .cart-row {
	padding: 18px 0;
	transition: background 0.15s ease;
	border-radius: 10px;
}
body.wb-cart-page .cart-row:hover {
	background: #fafcff;
}
body.wb-cart-page #cart-items .border-bottom {
	border-bottom: 1px solid #eef1f5 !important;
	margin: 0 !important;
}
body.wb-cart-page #cart-items .border-bottom:last-of-type {
	display: none;
}

body.wb-cart-page .cart-item-thumb,
body.wb-cart-page .cart-item-thumb-placeholder {
	display: block;
	width: 100%;
	max-width: 90px;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	border: 1px solid #eef1f5;
	background: #f7f9fb;
	object-fit: cover;
}

body.wb-cart-page .link-1 {
	font-weight: 600;
	font-size: 16px;
	color: #1a1a2e;
}

body.wb-cart-page .cart-price {
	font-size: 18px;
	font-weight: 700;
}

body.wb-cart-page .remove-link a,
body.wb-cart-page .cart-remove-link {
	color: #e5011b;
	font-size: 13px;
	transition: opacity 0.15s ease;
}
body.wb-cart-page .cart-remove-link:hover {
	opacity: 0.65;
	text-decoration: none;
}

body.wb-cart-page .counter {
	border: 1px solid #e2e6ec;
	border-radius: 25px;
	overflow: hidden;
	max-width: 130px;
}
body.wb-cart-page .counter span {
	font-size: 22px;
	padding: 4px 16px;
	color: #10a0d7;
	font-weight: 600;
	transition: background 0.15s ease;
}
body.wb-cart-page .counter span:hover {
	background: #f0f9fd;
}
body.wb-cart-page .counter input {
	background: #fff;
	color: #1a1a2e;
	border-left: 1px solid #e2e6ec;
	border-right: 1px solid #e2e6ec;
}

body.wb-cart-page .cartbox-total {
	background: #fff;
	position: sticky;
	top: 20px;
}
body.wb-cart-page .cartbox-total .font18-normal {
	color: #5a6376;
}

/* Empty-cart state */
body.wb-cart-page .middle > div.text-center.margin-tb25 {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(20, 30, 60, 0.07);
	padding: 60px 20px;
}

/* ================= LOGIN PAGE ================= */

body.wb-login-page .accordionlogin {
	background: #fff;
	color: #1a1a2e;
	border-radius: 14px;
	margin-top: 16px;
	box-shadow: 0 2px 14px rgba(20, 30, 60, 0.06);
	border-left: 4px solid #10a0d7;
	font-weight: 700;
}
body.wb-login-page .accordionlogin:first-of-type {
	margin-top: 24px;
}
body.wb-login-page .active,
body.wb-login-page .accordionlogin:hover {
	background: #fff;
	color: #10a0d7;
}
body.wb-login-page .accordionlogin:after {
	color: #10a0d7;
}

body.wb-login-page .panellogin {
	background: transparent;
}
body.wb-login-page .panellogin > div {
	background: #fff;
	border-radius: 0 0 14px 14px;
	box-shadow: 0 2px 14px rgba(20, 30, 60, 0.06);
	margin-top: -1px !important;
	padding: 24px 16px !important;
}

body.wb-login-page .input-login {
	background: #f7f9fb;
	border: 1px solid #e2e6ec;
	border-radius: 8px;
	filter: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.wb-login-page .input-login:focus {
	outline: none;
	border-color: #10a0d7;
	box-shadow: 0 0 0 3px rgba(16, 160, 215, 0.12);
	background: #fff;
}

body.wb-login-page .login-inner {
	color: #1a1a2e;
}

body.wb-login-page .login-bg {
	border-radius: 20px;
	background: linear-gradient(135deg, #10a0d7, #0d7fac);
}
body.wb-login-page .login-bg .login-inner.white {
	color: rgba(255, 255, 255, 0.9);
}

body.wb-login-page #register-form > div {
	margin-bottom: 6px;
}

/* ================= CHECKOUT PAGE ================= */

body.wb-checkout-page .checkout-box {
	background: #fff;
	border: 0;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(20, 30, 60, 0.07);
	padding: 24px;
	margin-bottom: 24px;
}
body.wb-checkout-page .checkout-box h3 {
	margin-top: 0;
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2e;
	padding-bottom: 12px;
	margin-bottom: 16px;
	border-bottom: 2px solid #f0f3f7;
}

body.wb-checkout-page .addr-option {
	display: block;
	border: 1px solid #e2e6ec;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}
body.wb-checkout-page .addr-option:hover {
	border-color: #10a0d7;
	background: #f7fcff;
}
body.wb-checkout-page .addr-option:has(input:checked) {
	border-color: #10a0d7;
	background: #f0f9fd;
}

body.wb-checkout-page .addr-form-grid input,
body.wb-checkout-page .addr-form-grid select {
	border: 1px solid #e2e6ec;
	border-radius: 8px;
	background: #f7f9fb;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.wb-checkout-page .addr-form-grid input:focus,
body.wb-checkout-page .addr-form-grid select:focus {
	outline: none;
	border-color: #10a0d7;
	box-shadow: 0 0 0 3px rgba(16, 160, 215, 0.12);
	background: #fff;
}

body.wb-checkout-page #payment-methods label {
	display: block;
	border: 1px solid #e2e6ec;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 8px;
	cursor: pointer;
	font-weight: 600;
	color: #1a1a2e;
	transition: border-color 0.15s ease, background 0.15s ease;
}
body.wb-checkout-page #payment-methods label:hover {
	border-color: #10a0d7;
	background: #f7fcff;
}
body.wb-checkout-page #payment-methods label:has(input:checked) {
	border-color: #10a0d7;
	background: #f0f9fd;
}

body.wb-checkout-page #payment-panel-content {
	border-top: 1px dashed #e2e6ec;
	margin-top: 10px;
	padding-top: 15px;
	min-height: 40px;
}

body.wb-checkout-page #place-order-btn {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
body.wb-checkout-page .checkout-trust {
	margin-top: 14px;
	text-align: center;
	font-size: 12.5px;
	color: #5a6376;
	line-height: 1.5;
}
body.wb-checkout-page .checkout-trust i {
	color: #10a0d7;
	margin-right: 4px;
}

/* The two checkout columns are plain Bootstrap float columns, which
   collapse to their own content height - the right column (order summary)
   is far shorter than the left (forms), leaving no room for its sticky
   box to travel through as the page scrolls, so `position: sticky` never
   visibly engages. Flexing just this pair (not `.middle`, which also
   holds unrelated siblings like #checkout-message) stretches both
   columns to equal height and gives the sticky box real room to stick. */
body.wb-checkout-page .checkout-columns {
	display: flex;
	align-items: stretch;
}
@media (max-width: 991px) {
	body.wb-checkout-page .checkout-columns {
		display: block;
	}
}
body.wb-checkout-page .checkout-summary-box {
	position: sticky;
	top: 20px;
}
body.wb-checkout-page .checkout-accepted-payments {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #f0f3f7;
	text-align: center;
	font-size: 26px;
	color: #b0b6c0;
	display: flex;
	justify-content: center;
	gap: 14px;
}
@media (max-width: 991px) {
	body.wb-checkout-page .checkout-summary-box {
		position: static;
	}
}

body.wb-checkout-page .pm-offline-panel {
	padding-top: 6px;
}
body.wb-checkout-page .pm-offline-lede {
	color: #5a6376;
	margin: 0 0 14px;
}
body.wb-checkout-page .pm-detail-card {
	background: #f7f9fb;
	border: 1px solid #e2e6ec;
	border-radius: 10px;
	padding: 4px 16px;
}
body.wb-checkout-page .pm-detail-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #e9edf2;
	font-size: 14px;
}
body.wb-checkout-page .pm-detail-row:last-child {
	border-bottom: 0;
}
body.wb-checkout-page .pm-detail-label {
	color: #5a6376;
}
body.wb-checkout-page .pm-detail-value {
	color: #1a1a2e;
	font-weight: 700;
}
body.wb-checkout-page .pm-offline-note {
	color: #5a6376;
	font-size: 13px;
	margin-top: 12px;
	padding: 10px 12px;
	background: #fff8e6;
	border-radius: 8px;
	border-left: 3px solid #ffcc00;
}

body.wb-checkout-page .order-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 0;
	font-size: 14px;
	color: #5a6376;
}
body.wb-checkout-page .order-summary-row.font20 {
	color: #1a1a2e;
	padding-top: 12px;
	margin-top: 6px;
	border-top: 2px solid #f0f3f7;
}

body.wb-checkout-page #checkout-message {
	border-radius: 10px;
	font-weight: 600;
	padding: 12px 16px;
	margin-bottom: 16px;
}

/* Order summary line items with a product thumbnail - was plain text
   (name x qty / price), the only place on the whole storefront that
   listed products with zero image. */
body.wb-checkout-page .order-summary-item {
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
}
body.wb-checkout-page .order-summary-thumb,
body.wb-checkout-page .order-summary-thumb-placeholder {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	border: 1px solid #eef1f5;
	background: #f7f9fb;
	flex: 0 0 auto;
	object-fit: cover;
}
body.wb-checkout-page .order-summary-item-info {
	flex: 1 1 auto;
	min-width: 0;
}
body.wb-checkout-page .order-summary-item-name {
	display: block;
	font-size: 13.5px;
	color: #1a1a2e;
	line-height: 1.4;
}
body.wb-checkout-page .order-summary-item-qty {
	display: block;
	font-size: 12px;
	color: #5a6376;
	margin-top: 2px;
}
body.wb-checkout-page .order-summary-item-price {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a2e;
	white-space: nowrap;
	padding-left: 10px;
}

/* Step numbers - a CSS counter rather than hardcoding 1/2/3/4 in the
   PHP, since the "Contact Email" box only renders for guests and a
   hardcoded number would be wrong (skip "1") for logged-in customers. */
body.wb-checkout-page .checkout-columns > div:first-child {
	counter-reset: checkout-step;
}
body.wb-checkout-page .checkout-columns > div:first-child > .checkout-box h3 {
	counter-increment: checkout-step;
	display: flex;
	align-items: center;
	gap: 10px;
}
body.wb-checkout-page .checkout-columns > div:first-child > .checkout-box h3::before {
	content: counter(checkout-step);
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #10a0d7;
	color: #fff;
	font-size: 13px;
}

/* Native radio/checkbox theming - the browser default dot/check reads
   as unstyled next to everything else on this page; accent-color
   recolors it to the site's blue with no markup change needed. */
body.wb-checkout-page input[type="radio"],
body.wb-checkout-page input[type="checkbox"] {
	accent-color: #10a0d7;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

/* Address form grid + input sizing - previously only defined in a
   <style> block inline in checkout.php (padding:6px, no font-size),
   which fought with the border/focus rules below instead of working
   with them. Consolidated here so there's one source of truth. */
body.wb-checkout-page .addr-form-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}
body.wb-checkout-page .addr-form-grid > div {
	flex: 1 1 45%;
	min-width: 180px;
}
body.wb-checkout-page .addr-form-grid input,
body.wb-checkout-page .addr-form-grid select {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
	font-family: var(--font-sans);
}

/* ================= ORDER CONFIRMATION ================= */

body.wb-order-page .payment-box {
	background: #fff;
	box-shadow: 0 4px 24px rgba(20, 30, 60, 0.07);
	border: 0;
}

@media (max-width: 767px) {
	body.wb-cart-page .cartbox-total {
		position: static;
	}
}

/* ================= CSS HERO BANNER =================
 * Replaces the old raster banner images on About Us / Contact Us /
 * Special Discount - those PNGs had "WalBasket" (or a misspelled
 * "Speacial Discount") baked into the pixels, which can't be fixed with
 * a text edit. A gradient + text banner never goes stale like that.
 */
.wb-hero-banner {
	background: linear-gradient(135deg, #10a0d7, #0d7fac);
	border-radius: 16px;
	padding: 70px 20px;
	text-align: center;
	color: #fff;
	box-shadow: 0 8px 30px rgba(13, 127, 172, 0.25);
}
.wb-hero-banner h1 {
	margin: 0;
	color: #fff;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.wb-hero-banner p {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 16px;
}
@media (max-width: 767px) {
	.wb-hero-banner {
		padding: 45px 16px;
	}
	.wb-hero-banner h1 {
		font-size: 28px;
	}
}

/* ================= ORDER / INVOICE PAGE ================= */

body.wb-order-page .invoice-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(20, 30, 60, 0.07);
	padding: 32px;
	margin-bottom: 24px;
}

body.wb-order-page .invoice-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 2px solid #f0f3f7;
}
body.wb-order-page .invoice-brand {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a2e;
}
body.wb-order-page .invoice-brand span {
	color: #10a0d7;
}
body.wb-order-page .invoice-brand-sub {
	margin-top: 8px;
	color: #5a6376;
	font-size: 13px;
	line-height: 1.7;
}
body.wb-order-page .invoice-meta {
	text-align: right;
}
body.wb-order-page .invoice-meta h2 {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a2e;
	letter-spacing: 1px;
	text-transform: uppercase;
}
body.wb-order-page .invoice-meta-row {
	font-size: 13px;
	color: #5a6376;
	margin-bottom: 4px;
}
body.wb-order-page .invoice-meta-row b {
	color: #1a1a2e;
}

body.wb-order-page .invoice-status {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 6px;
}
body.wb-order-page .invoice-status.status-pending { background: #fff3cd; color: #8a6414; }
body.wb-order-page .invoice-status.status-captured,
body.wb-order-page .invoice-status.status-authorized { background: #d4edda; color: #1e6b34; }
body.wb-order-page .invoice-status.status-failed { background: #f8d7da; color: #a02534; }
body.wb-order-page .invoice-status.status-refunded { background: #e2e6ec; color: #444; }

body.wb-order-page .invoice-addr-heading {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #10a0d7;
	margin-bottom: 10px;
}
body.wb-order-page .invoice-addr {
	font-size: 14px;
	color: #333;
	line-height: 1.8;
}

body.wb-order-page .invoice-table,
body.wb-order-page .invoice-table th,
body.wb-order-page .invoice-table td {
	/* css/style.css has a sitewide `table, th, td { border: 1px solid #ccc }`
	 * + `th, td { text-align: center }` left over from the old #t01 table -
	 * without this reset those leak in here too (a lone border-bottom
	 * below only overrides one of the 4 sides the shorthand `border` set,
	 * and text-align never gets touched on the plain, non-.num cells). */
	border: 0;
	text-align: left;
}
body.wb-order-page .invoice-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
}
body.wb-order-page .invoice-table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #5a6376;
	padding: 0 0 10px;
	border-bottom: 2px solid #f0f3f7;
}
body.wb-order-page .invoice-table td {
	padding: 14px 12px 14px 0;
	border-bottom: 1px solid #f0f3f7;
	font-size: 14px;
	color: #1a1a2e;
	vertical-align: top;
}
body.wb-order-page .invoice-table td.num,
body.wb-order-page .invoice-table th.num {
	text-align: right;
	white-space: nowrap;
}
body.wb-order-page .invoice-table th:first-child,
body.wb-order-page .invoice-table td:first-child {
	width: 55%;
}
body.wb-order-page .invoice-table .item-sku {
	color: #5a6376;
	font-size: 12px;
	margin-top: 2px;
}

body.wb-order-page .invoice-totals {
	width: 100%;
	max-width: 320px;
	margin-left: auto;
	margin-top: 16px;
}
body.wb-order-page .invoice-totals-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 14px;
	color: #5a6376;
}
body.wb-order-page .invoice-totals-row.grand-total {
	border-top: 2px solid #f0f3f7;
	margin-top: 8px;
	padding-top: 12px;
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2e;
}

body.wb-order-page .invoice-footnote {
	font-size: 13px;
	color: #5a6376;
	text-align: center;
	margin-top: 8px;
}

body.wb-order-page .invoice-actions {
	text-align: right;
	margin-bottom: 16px;
}
body.wb-order-page .btn-print {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	background: #fff;
	border: 1px solid #d7dce3;
	border-radius: 25px;
	color: #1a1a2e;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.wb-order-page .btn-print:hover {
	border-color: #10a0d7;
	box-shadow: 0 4px 14px rgba(16, 160, 215, 0.18);
}

@media print {
	body.wb-order-page .hide-on-print {
		display: none !important;
	}
	body.wb-order-page .invoice-card {
		box-shadow: none;
		border: 1px solid #ddd;
	}
	body.wb-order-page {
		background: #fff;
	}
}

@media (max-width: 600px) {
	body.wb-order-page .invoice-header {
		flex-direction: column;
	}
	body.wb-order-page .invoice-meta {
		text-align: left;
	}
	body.wb-order-page .invoice-actions {
		text-align: left;
	}
}

/* ================= CONTENT PAGES (About/Contact/Privacy/Shipping/Discount/Brands) =================
 * css/style.css's sitewide `.breadcum-bg` + `ul.breadcrumb` margins add up
 * to a tall breadcrumb strip (15px + 15px + line + 15px). Scoped down to
 * ~30% of that here rather than changed globally, since other pages
 * (cart/login/checkout/order) already have their own breadcrumb treatment.
 */
body.wb-content-page .breadcum-bg {
	margin-top: 5px;
	padding: 0;
}
body.wb-content-page ul.breadcrumb {
	margin: 5px 0;
}
