/*
Theme Name: OceanBay
Theme URI: https://oceanbay.io
Author: Shapeshift Entertainment
Description: Custom marketplace theme for OceanBay, built to work with the Shapeshift Marketplace plugin (listings, auctions, bids, wallets). Colors and branding are adjustable from Appearance > Customize > OceanBay Branding.
Version: 0.2.0
Requires PHP: 7.4
Text Domain: oceanbay
*/

/* ==========================================================================
   Color variables — dark, modern defaults. Overridden inline by
   inc/customizer.php based on whatever the site owner sets in the
   Customizer. Never hardcode a brand color elsewhere in this stylesheet;
   always reference these vars so Customizer controls work everywhere.
   ========================================================================== */
:root {
	--ob-color-primary: #3DD9C4;
	--ob-color-primary-dark: #29B8A5;
	--ob-color-accent: #F2A93B;
	--ob-color-text: #EDEFF2;
	--ob-color-text-muted: #9AA3B0;
	--ob-color-bg: #0E1116;
	--ob-color-bg-alt: #171B22;
	--ob-color-bg-elevated: #1E232C;
	--ob-color-border: #2A2F3A;
	--ob-color-success: #3ECF8E;
	--ob-color-danger: #F0556B;
	--ob-radius: 12px;
	--ob-shadow: 0 8px 24px rgba(0,0,0,0.35);
	--ob-shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
	--ob-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ob-font-heading: var(--ob-font-body);
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--ob-font-body);
	color: var(--ob-color-text);
	background: var(--ob-color-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--ob-color-primary); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--ob-color-primary-dark); }

h1, h2, h3, h4 { font-family: var(--ob-font-heading); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }

.ob-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.ob-header {
	border-bottom: 1px solid var(--ob-color-border);
	background: rgba(14,17,22,0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	position: sticky;
	top: 0;
	z-index: 50;
}
.ob-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	max-width: 1200px;
	margin: 0 auto;
	flex-wrap: wrap;
	row-gap: 12px;
	gap: 16px;
}
.ob-logo {
	font-size: 22px;
	font-weight: 800;
	color: var(--ob-color-text);
	letter-spacing: -0.02em;
	flex-shrink: 0;
	max-width: 200px;
	max-height: 48px;
	overflow: hidden;
	display: flex;
	align-items: center;
}
/* Guards against an uploaded logo image of any size/aspect ratio ever
   breaking the header layout — always scales proportionally to fit
   within the container above, never stretches, never pushes the nav
   out of view. */
.ob-logo img,
.ob-logo .custom-logo {
	max-height: 40px;
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}
.ob-nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.ob-nav a { color: var(--ob-color-text-muted); font-weight: 500; font-size: 14px; }
.ob-nav a:hover { color: var(--ob-color-text); }

.ob-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 11px 20px;
	border-radius: var(--ob-radius);
	font-weight: 600;
	font-size: 14px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
	font-family: inherit;
}
.ob-btn:active { transform: scale(0.98); }
.ob-btn--primary { background: var(--ob-color-primary); color: #06231F; }
.ob-btn--primary:hover { background: var(--ob-color-primary-dark); color: #06231F; }
.ob-btn--outline { background: transparent; border-color: var(--ob-color-border); color: var(--ob-color-text); }
.ob-btn--outline:hover { border-color: var(--ob-color-primary); color: var(--ob-color-primary); }
.ob-btn--accent { background: var(--ob-color-accent); color: #241705; }
.ob-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Hero */
.ob-hero {
	background:
		radial-gradient(ellipse 80% 60% at 50% -10%, rgba(61,217,196,0.18), transparent),
		var(--ob-color-bg-alt);
	padding: 88px 0 72px;
	text-align: center;
	border-bottom: 1px solid var(--ob-color-border);
}
.ob-hero h1 { font-size: 44px; margin-bottom: 12px; }
.ob-hero p { font-size: 18px; color: var(--ob-color-text-muted); max-width: 560px; margin: 0 auto 28px; }

/* Listings grid */
.ob-listing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	padding: 32px 0 64px;
}
.ob-listing-card {
	position: relative;
	border: 1px solid var(--ob-color-border);
	border-radius: var(--ob-radius);
	overflow: hidden;
	background: var(--ob-color-bg-elevated);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.ob-listing-card:hover { box-shadow: var(--ob-shadow); transform: translateY(-3px); border-color: rgba(61,217,196,0.35); }
.ob-listing-card__img { aspect-ratio: 4/3; background: var(--ob-color-bg-alt); overflow: hidden; }
.ob-listing-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.ob-listing-card:hover .ob-listing-card__img img { transform: scale(1.04); }
.ob-listing-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ob-listing-card__title { font-size: 16px; font-weight: 600; margin: 0; }
.ob-listing-card__title a { color: var(--ob-color-text); }
.ob-listing-card__price { font-size: 19px; font-weight: 700; color: var(--ob-color-primary); }

.ob-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--ob-color-bg-alt);
	color: var(--ob-color-text-muted);
	width: fit-content;
	border: 1px solid var(--ob-color-border);
}
.ob-badge--auction { background: rgba(242,169,59,0.12); color: #F2A93B; border-color: rgba(242,169,59,0.3); }
.ob-badge--fixed { background: rgba(61,217,196,0.1); color: var(--ob-color-primary); border-color: rgba(61,217,196,0.3); }

/* Single listing */
.ob-listing-single { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding: 48px 0 96px; }
@media (max-width: 860px) { .ob-listing-single { grid-template-columns: 1fr; } }
/* Old blanket gallery img rule removed — superseded by .ob-gallery__main/
   __thumb rules below, which handle sizing without distorting non-4:3
   product photos (the earlier "squished" image issue). */
.ob-listing-single__price { font-size: 34px; font-weight: 800; color: var(--ob-color-primary); margin: 10px 0; }
.ob-buybox {
	border: 1px solid var(--ob-color-border);
	border-radius: var(--ob-radius);
	padding: 24px;
	background: var(--ob-color-bg-elevated);
	box-shadow: var(--ob-shadow-sm);
}
.ob-countdown { font-size: 20px; font-weight: 700; color: var(--ob-color-danger); margin: 8px 0 16px; font-variant-numeric: tabular-nums; }
.ob-bid-form { display: flex; gap: 8px; margin-top: 12px; }
.ob-bid-form input[type="number"] {
	flex: 1;
	padding: 11px 14px;
	border: 1px solid var(--ob-color-border);
	background: var(--ob-color-bg);
	color: var(--ob-color-text);
	border-radius: var(--ob-radius);
	font-size: 15px;
	font-family: inherit;
}
.ob-bid-form input[type="number"]:focus { outline: none; border-color: var(--ob-color-primary); }
.ob-bid-history { margin-top: 24px; }
.ob-bid-history__item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ob-color-border); font-size: 14px; color: var(--ob-color-text-muted); }
.ob-form-msg { font-size: 13px; margin-top: 10px; padding: 10px 14px; border-radius: 8px; display: none; }
.ob-form-msg--error { background: rgba(240,85,107,0.12); color: var(--ob-color-danger); border: 1px solid rgba(240,85,107,0.25); }
.ob-form-msg--success { background: rgba(62,207,142,0.12); color: var(--ob-color-success); border: 1px solid rgba(62,207,142,0.25); }

/* Dashboard */
.ob-dashboard-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--ob-color-border); margin-bottom: 24px; }
.ob-dashboard-tab { padding: 10px 16px; font-weight: 600; color: var(--ob-color-text-muted); border-bottom: 2px solid transparent; cursor: pointer; }
.ob-dashboard-tab.is-active { color: var(--ob-color-primary); border-color: var(--ob-color-primary); }
.ob-wallet-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--ob-color-border); border-radius: var(--ob-radius); margin-bottom: 8px; background: var(--ob-color-bg-elevated); }
.ob-wallet-row__status { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ob-wallet-row__status--verified { color: var(--ob-color-success); }
.ob-wallet-row__status--pending { color: var(--ob-color-accent); }

/* Wallet cards (dashboard Wallets tab) */
.ob-wallet-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--ob-color-border);
	border-radius: var(--ob-radius);
	background: var(--ob-color-bg-elevated);
}
.ob-wallet-card__logo {
	width: 40px; height: 40px;
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	font-weight: 800;
	font-size: 14px;
	color: #fff;
}
.ob-wallet-card__body { flex: 1; min-width: 0; }
.ob-wallet-card__name { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.ob-wallet-card__sub { font-size: 12px; color: var(--ob-color-text-muted); }
.ob-wallet-card__input-row { display: flex; gap: 8px; margin-top: 8px; }
.ob-wallet-card__input-row input {
	flex: 1; min-width: 0;
	padding: 8px 12px;
	border: 1px solid var(--ob-color-border);
	background: var(--ob-color-bg);
	color: var(--ob-color-text);
	border-radius: 8px;
	font-size: 13px;
	font-family: monospace;
}
.ob-wallet-card__badge {
	font-size: 11px; font-weight: 700; text-transform: uppercase;
	padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.ob-wallet-card__badge--verified { background: rgba(62,207,142,0.15); color: var(--ob-color-success); }
.ob-wallet-card__badge--pending { background: rgba(242,169,59,0.15); color: var(--ob-color-accent); }
.ob-wallet-card__badge--none { background: var(--ob-color-bg-alt); color: var(--ob-color-text-muted); }

/* Footer */
.ob-footer { border-top: 1px solid var(--ob-color-border); background: var(--ob-color-bg-alt); padding: 56px 0; margin-top: 48px; }
.ob-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.ob-footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ob-color-text-muted); font-weight: 700; }
.ob-footer a { color: var(--ob-color-text-muted); display: block; padding: 5px 0; font-size: 14px; }
.ob-footer a:hover { color: var(--ob-color-text); }

.ob-empty-state { text-align: center; padding: 96px 24px; color: var(--ob-color-text-muted); }
.ob-empty-state h2 { color: var(--ob-color-text); }

/* Browse layout — category sidebar + listing grid */
.ob-browse-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
@media (max-width: 780px) { .ob-browse-layout { grid-template-columns: 1fr; } }
.ob-category-sidebar {
	position: sticky;
	top: 88px;
	border: 1px solid var(--ob-color-border);
	border-radius: var(--ob-radius);
	background: var(--ob-color-bg-elevated);
	padding: 16px;
}
.ob-category-sidebar h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ob-color-text-muted); margin: 0 0 12px; }
.ob-category-list { list-style: none; margin: 0; padding: 0; }
.ob-category-list li { margin-bottom: 2px; }
.ob-category-list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 10px;
	border-radius: 8px;
	color: var(--ob-color-text-muted);
	font-size: 14px;
	font-weight: 500;
}
.ob-category-list a:hover { background: var(--ob-color-bg-alt); color: var(--ob-color-text); }
.ob-category-list a.is-active { background: rgba(61,217,196,0.12); color: var(--ob-color-primary); font-weight: 700; }
.ob-category-count { font-size: 12px; color: var(--ob-color-text-muted); }
.ob-category-list a.is-active .ob-category-count { color: var(--ob-color-primary); }
.ob-browse-main .ob-listing-grid { padding-top: 0; }

/* Search bar (header) */
.ob-search-bar {
	display: flex;
	align-items: center;
	background: var(--ob-color-bg-elevated);
	border: 1px solid var(--ob-color-border);
	border-radius: 999px;
	padding: 4px 4px 4px 16px;
	flex: 1;
	max-width: 320px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ob-search-bar:focus-within { border-color: var(--ob-color-primary); box-shadow: 0 0 0 3px rgba(61,217,196,0.15); }
.ob-search-bar input {
	flex: 1;
	min-width: 0;
	background: none;
	border: none;
	color: var(--ob-color-text);
	font-size: 14px;
	font-family: inherit;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.ob-search-bar input::placeholder { color: var(--ob-color-text-muted); }
.ob-search-bar button {
	flex-shrink: 0;
	background: var(--ob-color-primary);
	border: none;
	color: #06231F;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.ob-search-bar button:hover { opacity: 0.85; }

/* Filter bar (price/condition/sort) */
.ob-filter-bar {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
	padding: 20px;
	margin-bottom: 24px;
	background: var(--ob-color-bg-elevated);
	border: 1px solid var(--ob-color-border);
	border-radius: var(--ob-radius);
	box-shadow: var(--ob-shadow);
}
.ob-filter-field { display: flex; flex-direction: column; gap: 6px; }
.ob-filter-field label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ob-color-text-muted);
}
.ob-filter-field input,
.ob-filter-field select {
	-webkit-appearance: none;
	appearance: none;
	padding: 10px 14px;
	border: 1px solid var(--ob-color-border);
	background: var(--ob-color-bg);
	color: var(--ob-color-text);
	border-radius: 10px;
	font-size: 13px;
	font-family: inherit;
	color-scheme: dark;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ob-filter-field input:focus,
.ob-filter-field select:focus {
	outline: none;
	border-color: var(--ob-color-primary);
	box-shadow: 0 0 0 3px rgba(61,217,196,0.15);
}
.ob-filter-field input[type="number"] { width: 100px; }
.ob-filter-field select {
	padding-right: 34px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239AA3B0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
}
.ob-filter-field select option { background: var(--ob-color-bg-elevated); color: var(--ob-color-text); }
.ob-filter-bar > .ob-btn {
	height: 41px;
	padding: 0 20px;
}
.ob-filter-clear {
	font-size: 13px;
	font-weight: 600;
	color: var(--ob-color-text-muted);
	padding: 10px 4px;
	align-self: center;
}
.ob-filter-clear:hover { color: var(--ob-color-danger); }

/* Long-form content pages (Privacy, Terms, User Guide) */
.ob-prose { max-width: 760px; margin: 0 auto; padding: 48px 0 96px; }
.ob-prose h1 { margin-bottom: 8px; }
.ob-prose .ob-prose-updated { color: var(--ob-color-text-muted); font-size: 13px; margin-bottom: 40px; }
.ob-prose h2 { margin-top: 40px; margin-bottom: 12px; font-size: 22px; }
.ob-prose h3 { margin-top: 24px; margin-bottom: 8px; font-size: 17px; }
.ob-prose p { margin-bottom: 14px; line-height: 1.7; color: var(--ob-color-text); }
.ob-prose ul, .ob-prose ol { margin: 0 0 14px 22px; line-height: 1.7; }
.ob-prose li { margin-bottom: 6px; }
.ob-prose a { color: var(--ob-color-primary); text-decoration: underline; }
.ob-prose strong { color: var(--ob-color-text); }
.ob-prose .ob-prose-notice {
	background: rgba(242,169,59,0.1);
	border: 1px solid rgba(242,169,59,0.3);
	border-radius: var(--ob-radius);
	padding: 16px 20px;
	margin-bottom: 32px;
	font-size: 14px;
	color: var(--ob-color-text-muted);
}
.ob-toc { background: var(--ob-color-bg-elevated); border: 1px solid var(--ob-color-border); border-radius: var(--ob-radius); padding: 20px 24px; margin-bottom: 32px; }
.ob-toc h2 { margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ob-color-text-muted); }
.ob-toc ul { margin: 0; padding: 0; list-style: none; columns: 2; }
.ob-toc li { margin-bottom: 4px; }
.ob-toc a { font-size: 14px; text-decoration: none; }
.ob-toc a:hover { text-decoration: underline; }

/* Watch button */
.ob-watch-btn { display: inline-flex; align-items: center; gap: 6px; }
.ob-watch-btn.is-watching { color: var(--ob-color-accent); border-color: var(--ob-color-accent); }

/* Sell modal */
.ob-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ob-modal[hidden] { display: none; }
.ob-modal__backdrop { position: absolute; inset: 0; background: rgba(4,6,9,0.7); backdrop-filter: blur(4px); }
.ob-modal__panel {
	position: relative;
	background: var(--ob-color-bg-elevated);
	border: 1px solid var(--ob-color-border);
	border-radius: var(--ob-radius);
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: var(--ob-shadow);
}
.ob-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 24px;
	border-bottom: 1px solid var(--ob-color-border);
	position: sticky;
	top: 0;
	background: var(--ob-color-bg-elevated);
}
.ob-modal__header h2 { margin: 0; font-size: 19px; }
.ob-modal__close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ob-color-text-muted); padding: 0 4px; }
.ob-modal__close:hover { color: var(--ob-color-text); }
.ob-sell-form { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.ob-form-field { display: flex; flex-direction: column; gap: 7px; }
.ob-form-field label { font-size: 13px; font-weight: 600; color: var(--ob-color-text); }
.ob-required { color: var(--ob-color-danger); }
.ob-form-field input[type="text"],
.ob-form-field input[type="number"],
.ob-form-field input[type="file"],
.ob-form-field select,
.ob-form-field textarea {
	padding: 11px 14px;
	border: 1px solid var(--ob-color-border);
	background: var(--ob-color-bg);
	color: var(--ob-color-text);
	border-radius: var(--ob-radius);
	font-size: 14px;
	font-family: inherit;
	width: 100%;
}
.ob-form-field input:focus, .ob-form-field select:focus, .ob-form-field textarea:focus {
	outline: none; border-color: var(--ob-color-primary);
}
.ob-form-field textarea { resize: vertical; }
.ob-field-hint { font-size: 12px; color: var(--ob-color-text-muted); margin: 0; }
.ob-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ob-radio-group { display: flex; gap: 8px; }
.ob-radio-pill { position: relative; }
.ob-radio-pill input { position: absolute; opacity: 0; }
.ob-radio-pill span {
	display: block;
	padding: 9px 18px;
	border: 1px solid var(--ob-color-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	color: var(--ob-color-text-muted);
	transition: all 0.15s ease;
}
.ob-radio-pill span:hover { border-color: var(--ob-color-primary); }
.ob-radio-pill input:checked + span { border-color: var(--ob-color-primary); color: var(--ob-color-primary); background: rgba(61,217,196,0.1); }
.ob-modal__actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.ob-photo-preview { display: flex; gap: 8px; flex-wrap: wrap; }
.ob-photo-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--ob-color-border); }

/* Product gallery (fixes the old "squished" hero image — uses
   object-fit: contain within a fixed-ratio box instead of a hard
   server-side crop, so odd-aspect product photos display in full). */
.ob-gallery__main {
	aspect-ratio: 4/3;
	background: var(--ob-color-bg-alt);
	border: 1px solid var(--ob-color-border);
	border-radius: var(--ob-radius);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ob-gallery__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ob-gallery__placeholder { color: var(--ob-color-text-muted); font-size: 14px; }
.ob-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.ob-gallery__thumb {
	flex: 0 0 auto;
	width: 64px; height: 64px;
	border-radius: 8px;
	border: 2px solid var(--ob-color-border);
	overflow: hidden;
	background: var(--ob-color-bg-alt);
	cursor: pointer;
	padding: 0;
	display: flex; align-items: center; justify-content: center;
}
.ob-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ob-gallery__thumb.is-active { border-color: var(--ob-color-primary); }
.ob-gallery__thumb--video { color: var(--ob-color-primary); font-size: 18px; }
.ob-gallery__video { margin-top: 16px; aspect-ratio: 16/9; border-radius: var(--ob-radius); overflow: hidden; }
.ob-gallery__video iframe, .ob-gallery__video video { width: 100%; height: 100%; border: none; }

/* Item details table */
.ob-details-table { margin-top: 32px; border-top: 1px solid var(--ob-color-border); padding-top: 20px; }
.ob-details-table h3 { font-size: 16px; }
.ob-details-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--ob-color-border); font-size: 14px; }
.ob-details-row span:first-child { color: var(--ob-color-text-muted); }

/* Cart */
.ob-cart-btn { position: relative; }
.ob-cart-badge {
	position: absolute; top: -6px; right: -8px;
	background: var(--ob-color-accent); color: #241705;
	font-size: 11px; font-weight: 800;
	width: 18px; height: 18px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.ob-cart-drawer { position: fixed; inset: 0; z-index: 210; display: flex; justify-content: flex-end; }
.ob-cart-drawer[hidden] { display: none; }
.ob-cart-drawer__backdrop { position: absolute; inset: 0; background: rgba(4,6,9,0.6); }
.ob-cart-drawer__panel {
	position: relative; width: 100%; max-width: 400px; height: 100%;
	background: var(--ob-color-bg-elevated); border-left: 1px solid var(--ob-color-border);
	display: flex; flex-direction: column;
}
.ob-cart-drawer__header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--ob-color-border); }
.ob-cart-drawer__items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.ob-cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ob-color-border); }
.ob-cart-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--ob-color-bg-alt); }
.ob-cart-item__body { flex: 1; }
.ob-cart-item__title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.ob-cart-item__meta { font-size: 12px; color: var(--ob-color-text-muted); display: flex; align-items: center; gap: 8px; }
.ob-cart-item__remove { background: none; border: none; color: var(--ob-color-danger); cursor: pointer; font-size: 12px; padding: 0; }
.ob-cart-drawer__footer { padding: 20px; border-top: 1px solid var(--ob-color-border); }
.ob-cart-drawer__total { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 12px; }
