/* ==========================================================================
   Oppa Bear — main stylesheet
   Loads after Kadence. Contents:
     1. Fonts (self-hosted, variable)
     2. Design tokens
     3. Base & accessibility
     4. Components: buttons, forms, badges, price, cards, notices, breadcrumbs
     5. Header (Kadence header builder) + announcement bar
     6. Footer
   Breakpoints (match Kadence): mobile < 768px · tablet 768–1024px · desktop ≥ 1025px
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"),
	     url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Design tokens -------------------------------------------------------- */
:root {
	/* Brand colours (sampled from the Oppa Bear logo) */
	--obt-blue:        #4069AB;
	--obt-blue-700:    #2F5291;
	--obt-blue-800:    #24447D;
	--obt-blue-100:    #DCE5F3;
	--obt-blue-50:     #EEF3FA;
	--obt-navy:        #1E2333;
	--obt-navy-950:    #151927;
	--obt-yellow:      #F5B82E;
	--obt-yellow-600:  #D99A12;
	--obt-yellow-100:  #FDEFC9;
	--obt-cream:       #EEF3FA;
	--obt-cream-50:    #FFF7E6;

	/* Neutrals & text */
	--obt-text:        #3E4252;  /* 11.4:1 on white */
	--obt-text-muted:  #5D6072;  /*  6.2:1 on white */
	--obt-heading:     var(--obt-navy);
	--obt-border:      #D9DEE8;
	--obt-border-strong: #C3C8D6;
	--obt-surface:     #F6F8FC;
	--obt-white:       #FFFFFF;

	/* Status */
	--obt-sale:        #C8324A;  /* white text 5.2:1 */
	--obt-success:     #1B7A4B;
	--obt-warning:     #B45309;
	--obt-rating:      #F2B705;

	/* Typography */
	--obt-font-heading: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--obt-font-body:    "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--obt-text-xs:   0.8125rem;  /* 13px */
	--obt-text-sm:   0.9375rem;  /* 15px */
	--obt-text-md:   1rem;       /* 16px */
	--obt-text-lg:   1.125rem;   /* 18px */
	--obt-text-xl:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--obt-text-2xl:  clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
	--obt-text-3xl:  clamp(2rem, 1.5rem + 2.2vw, 3.25rem);

	/* Spacing (4px base) */
	--obt-space-1: 0.25rem;
	--obt-space-2: 0.5rem;
	--obt-space-3: 0.75rem;
	--obt-space-4: 1rem;
	--obt-space-5: 1.5rem;
	--obt-space-6: 2rem;
	--obt-space-7: 3rem;
	--obt-space-8: 4rem;
	--obt-space-9: 6rem;

	/* Shape */
	--obt-radius-sm:   8px;
	--obt-radius-md:   14px;
	--obt-radius-lg:   20px;
	--obt-radius-xl:   28px;
	--obt-radius-pill: 999px;

	/* Depth — navy-tinted, soft */
	--obt-shadow-sm:    0 1px 2px rgba(30, 35, 51, 0.08);
	--obt-shadow-md:    0 8px 24px -10px rgba(30, 35, 51, 0.22);
	--obt-shadow-lg:    0 22px 48px -18px rgba(30, 35, 51, 0.30);
	--obt-shadow-press: 0 4px 0 var(--obt-blue-800);   /* chunky, like the logo lettering */

	/* Motion */
	--obt-ease:     cubic-bezier(0.2, 0.7, 0.2, 1);
	--obt-dur-fast: 120ms;
	--obt-dur:      200ms;

	/* Layout */
	--obt-container: var(--global-content-width, 1240px);
	--obt-gutter:    var(--global-content-edge-padding, 1.5rem);
	--obt-tap:       44px;      /* minimum touch target */
	--obt-focus:     0 0 0 3px var(--obt-white), 0 0 0 6px var(--obt-blue);
}

/* 3. Base & accessibility ------------------------------------------------- */
.obt-theme {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
.obt-theme ::selection { background: var(--obt-yellow); color: var(--obt-navy); }

.obt-theme h1, .obt-theme h2, .obt-theme h3,
.obt-theme h4, .obt-theme h5, .obt-theme h6 {
	letter-spacing: -0.005em;
	text-wrap: balance;
}
.obt-theme p { text-wrap: pretty; }

.obt-container {
	width: 100%;
	max-width: var(--obt-container);
	margin-inline: auto;
	padding-inline: var(--obt-gutter);
	box-sizing: border-box;
}

/* Visible keyboard focus everywhere (Kadence hides outlines for mouse users only). */
.obt-theme :focus-visible {
	outline: 3px solid var(--obt-blue);
	outline-offset: 3px;
	border-radius: 4px;
}
.obt-theme .obt-footer :focus-visible,
.obt-theme .obt-announcement :focus-visible {
	outline-color: var(--obt-yellow);
}

@media (prefers-reduced-motion: reduce) {
	.obt-theme *, .obt-theme *::before, .obt-theme *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* 4. Components ----------------------------------------------------------- */

/* 4.1 Buttons
   Kadence buttons get colours/radius/shadow from the Customizer defaults.
   Here we add the press interaction and our own variants. */
.obt-theme .button,
.obt-theme .wp-block-button__link,
.obt-theme input[type="submit"],
.obt-btn {
	transition: transform var(--obt-dur-fast) var(--obt-ease), box-shadow var(--obt-dur-fast) var(--obt-ease), background-color var(--obt-dur) var(--obt-ease), color var(--obt-dur) var(--obt-ease);
}

.obt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--obt-space-2);
	min-height: 48px;
	padding: 0.7em 1.6em;
	border: 2px solid transparent;
	border-radius: var(--obt-radius-pill);
	font-family: var(--obt-font-heading);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	background: var(--obt-blue);
	color: var(--obt-white);
	box-shadow: var(--obt-shadow-press);
}
.obt-btn:hover { background: var(--obt-blue-700); color: var(--obt-white); transform: translateY(-1px); box-shadow: 0 5px 0 var(--obt-blue-800); }
.obt-theme .button:hover, .obt-theme .wp-block-button__link:hover, .obt-theme input[type="submit"]:hover { transform: translateY(-1px); }
.obt-btn:active,
.obt-theme .button:active,
.obt-theme .wp-block-button__link:active,
.obt-theme input[type="submit"]:active {
	transform: translateY(3px);
	box-shadow: 0 1px 0 var(--obt-blue-800);
}

.obt-btn--promo { background: var(--obt-yellow); color: var(--obt-navy); box-shadow: 0 4px 0 #D99A12; }
.obt-btn--promo:hover { background: var(--obt-yellow-600); color: var(--obt-navy); box-shadow: 0 5px 0 #D99A12; }
.obt-btn--promo:active { box-shadow: 0 1px 0 #D99A12; }

.obt-btn--outline { background: var(--obt-white); color: var(--obt-navy); border-color: var(--obt-navy); box-shadow: 0 4px 0 var(--obt-navy); }
.obt-btn--outline:hover { background: var(--obt-blue-50); color: var(--obt-navy); box-shadow: 0 5px 0 var(--obt-navy); }
.obt-btn--outline:active { box-shadow: 0 1px 0 var(--obt-navy); }

.obt-btn--ghost { background: transparent; color: var(--obt-blue); box-shadow: none; padding-inline: 0.75em; }
.obt-btn--ghost:hover { background: var(--obt-blue-50); color: var(--obt-blue-700); box-shadow: none; transform: none; }

.obt-btn--sm { min-height: var(--obt-tap); font-size: 0.9375rem; padding: 0.55em 1.2em; }
.obt-btn--lg { min-height: 56px; font-size: 1.1875rem; padding: 0.8em 2em; }
.obt-btn[disabled], .obt-btn.is-disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.obt-btn .obt-icon { flex: none; }

/* 4.2 Forms */
.obt-theme input[type="text"], .obt-theme input[type="email"], .obt-theme input[type="tel"],
.obt-theme input[type="url"], .obt-theme input[type="password"], .obt-theme input[type="search"],
.obt-theme input[type="number"], .obt-theme select, .obt-theme textarea {
	min-height: 48px;
	padding: 0.65em 1em;
	border: 1.5px solid var(--obt-border-strong);
	border-radius: var(--obt-radius-md);
	background-color: var(--obt-white);
	color: var(--obt-text);
	font-family: var(--obt-font-body);
	font-size: 1rem; /* ≥16px stops iOS zoom-on-focus */
	transition: border-color var(--obt-dur) var(--obt-ease), box-shadow var(--obt-dur) var(--obt-ease);
}
.obt-theme textarea { min-height: 120px; }
.obt-theme input:hover, .obt-theme select:hover, .obt-theme textarea:hover { border-color: #9FB0C9; }
.obt-theme input:focus, .obt-theme select:focus, .obt-theme textarea:focus {
	border-color: var(--obt-blue);
	box-shadow: 0 0 0 4px rgba(64, 105, 171, 0.18);
	outline: none;
}
.obt-theme ::placeholder { color: #7A869C; opacity: 1; }
.obt-field { display: grid; gap: var(--obt-space-2); align-content: start; margin-bottom: var(--obt-space-4); }
.obt-field label, .obt-label { font-weight: 700; color: var(--obt-heading); font-size: var(--obt-text-sm); }
.obt-field__hint { font-size: var(--obt-text-xs); color: var(--obt-text-muted); margin: 0; }
.obt-field--error input { border-color: var(--obt-sale); }
.obt-field__error { font-size: var(--obt-text-xs); color: var(--obt-sale); font-weight: 700; margin: 0; }

/* 4.3 Badges */
.obt-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	padding: 0.3em 0.75em;
	border-radius: var(--obt-radius-pill);
	font-family: var(--obt-font-heading);
	font-size: var(--obt-text-xs);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
}
.obt-badge--new     { background: var(--obt-yellow); color: var(--obt-navy); }
.obt-badge--sale    { background: var(--obt-sale);   color: var(--obt-white); }
.obt-badge--soldout { background: var(--obt-navy);   color: var(--obt-white); }
.obt-badge--info    { background: var(--obt-blue-50); color: var(--obt-blue-700); }
.obt-badge--low     { background: #FDECEF; color: #A3233A; }

/* Star rating (cards, product page) */
.obt-stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 1px; color: #D9DEE8; }
.obt-stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--obt-r, 0%); overflow: hidden; color: #F2B705; white-space: nowrap; }

/* 4.4 Price */
.obt-price { font-family: var(--obt-font-heading); font-weight: 600; color: var(--obt-navy); font-size: var(--obt-text-lg); display: inline-flex; align-items: baseline; gap: 0.5em; flex-wrap: wrap; }
.obt-price del { color: var(--obt-text-muted); font-weight: 400; font-size: 0.85em; }
.obt-price ins { text-decoration: none; color: var(--obt-sale); }

/* 4.5 Cards */
.obt-card {
	background: var(--obt-white);
	border: 1px solid var(--obt-border);
	border-radius: var(--obt-radius-lg);
	box-shadow: var(--obt-shadow-sm);
	overflow: hidden;
	transition: box-shadow var(--obt-dur) var(--obt-ease), transform var(--obt-dur) var(--obt-ease);
}
.obt-card:hover { box-shadow: var(--obt-shadow-md); transform: translateY(-2px); }
.obt-card__body { padding: var(--obt-space-4); }

/* 4.6 Notices */
.obt-notice {
	display: flex;
	gap: var(--obt-space-3);
	align-items: flex-start;
	padding: var(--obt-space-3) var(--obt-space-4);
	border-radius: var(--obt-radius-md);
	border: 1px solid rgba(30, 35, 51, 0.08);
	border-left: 5px solid var(--obt-notice-accent, var(--obt-blue));
	font-size: var(--obt-text-sm);
	color: var(--obt-text);
}
.obt-notice--success { background: #EAF6EF; --obt-notice-accent: var(--obt-success); }
.obt-notice--info    { background: var(--obt-blue-50); --obt-notice-accent: var(--obt-blue); }
.obt-notice--error   { background: #FCECEF; --obt-notice-accent: var(--obt-sale); }
.obt-notice--promo   { background: var(--obt-cream); --obt-notice-accent: var(--obt-yellow-600); }

/* 4.7 Breadcrumbs (Kadence + WooCommerce) */
.obt-theme .kadence-breadcrumbs,
.obt-theme .woocommerce-breadcrumb {
	font-size: var(--obt-text-sm);
	color: var(--obt-text-muted);
}
.obt-theme .kadence-breadcrumbs a,
.obt-theme .woocommerce-breadcrumb a { color: var(--obt-blue); text-decoration: none; }
.obt-theme .kadence-breadcrumbs a:hover,
.obt-theme .woocommerce-breadcrumb a:hover { text-decoration: underline; }

/* 5. Header --------------------------------------------------------------- */

/* 5.1 Announcement bar */
.obt-announcement {
	background: var(--obt-navy);
	color: var(--obt-white);
	font-size: var(--obt-text-sm);
	font-weight: 700;
	--obt-icon-fill: var(--obt-navy);
}
.obt-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--obt-space-2);
	min-height: 38px;
	padding-block: 6px;
	text-align: center;
}
.obt-announcement .obt-icon { color: var(--obt-yellow); flex: none; }
.obt-announcement__text { margin: 0; line-height: 1.3; }

/* 5.2 Main header row */
.obt-theme .site-main-header-wrap .site-header-row-container-inner {
	border-bottom: 1px solid var(--obt-border);
	transition: box-shadow var(--obt-dur) var(--obt-ease);
}
.obt-theme .item-is-stuck .site-header-row-container-inner,
.obt-theme .site-main-header-wrap.item-is-stuck .site-header-row-container-inner {
	box-shadow: var(--obt-shadow-md);
}
.obt-theme .site-branding a.brand img.obt-logo,
.obt-theme .site-branding a.brand img.custom-logo { height: auto; }

/* 5.3 Primary navigation: rounded pill hover */
.obt-theme .header-navigation .menu > li > a {
	position: relative;
	border-radius: var(--obt-radius-pill);
}
.obt-theme .header-navigation .header-menu-container > ul > li.menu-item > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0.2em;
	width: 0;
	height: 3px;
	border-radius: 3px;
	background: var(--obt-yellow);
	transform: translateX(-50%);
	transition: width var(--obt-dur) var(--obt-ease);
}
.obt-theme .header-navigation .header-menu-container > ul > li.menu-item > a:hover::after,
.obt-theme .header-navigation .header-menu-container > ul > li.current-menu-item > a::after {
	width: calc(100% - 2.2em);
}

/* 5.4 Header icons: search + cart get a soft circular hit area (≥44px) */
.obt-theme .search-toggle-open,
.obt-theme .header-cart-button {
	min-width: var(--obt-tap);
	min-height: var(--obt-tap);
	border-radius: var(--obt-radius-pill);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--obt-dur) var(--obt-ease);
}
.obt-theme .search-toggle-open:hover,
.obt-theme .header-cart-button:hover { background: var(--obt-blue-50); }

.obt-theme .header-cart-button .header-cart-total {
	font-family: var(--obt-font-heading);
	font-weight: 600;
	box-shadow: 0 0 0 2px var(--obt-white);
}

/* 5.4b Account icon (inc/account.php), printed just before the cart */
.obt-account { position: relative; display: inline-flex; align-items: center; margin-inline-end: 4px; }
.obt-account__link {
	position: relative;
	width: var(--obt-tap);
	height: var(--obt-tap);
	border-radius: var(--obt-radius-pill);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--obt-navy);
	text-decoration: none;
	transition: background-color var(--obt-dur) var(--obt-ease);
}
.obt-account__link:hover { background: var(--obt-blue-50); color: var(--obt-navy); }
.obt-account__link:focus-visible { outline: none; box-shadow: var(--obt-focus); }
.obt-account--user .obt-account__link:hover { background: transparent; }
.obt-account__avatar {
	width: 34px;
	height: 34px;
	border-radius: var(--obt-radius-pill);
	background: var(--obt-navy);
	color: var(--obt-yellow);
	font-family: var(--obt-font-heading);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 3px var(--obt-blue-100);
	transition: box-shadow var(--obt-dur) var(--obt-ease);
}
.obt-account__link:hover .obt-account__avatar { box-shadow: 0 0 0 3px var(--obt-blue); }

/* Guest tooltip */
.obt-account__tip {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	transform: translate(-50%, -4px);
	padding: 6px 12px;
	border-radius: 10px;
	background: var(--obt-navy);
	color: var(--obt-white);
	font-size: var(--obt-text-xs);
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity var(--obt-dur) var(--obt-ease), transform var(--obt-dur) var(--obt-ease);
	z-index: 30;
}
.obt-account__link:hover .obt-account__tip,
.obt-account__link:focus-visible .obt-account__tip { opacity: 1; transform: translate(-50%, 0); }
.obt-account--mobile .obt-account__tip { display: none; }

/* Logged-in desktop menu: opens on hover or keyboard focus */
.obt-account__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: -8px;
	width: 260px;
	padding: 10px;
	box-sizing: border-box;
	background: var(--obt-white);
	border: 1px solid var(--obt-border);
	border-radius: var(--obt-radius-lg);
	box-shadow: var(--obt-shadow-lg);
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity var(--obt-dur) var(--obt-ease), transform var(--obt-dur) var(--obt-ease), visibility 0s linear var(--obt-dur);
	z-index: 40;
}
.obt-account__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.obt-account--user:hover .obt-account__menu,
.obt-account--user:focus-within .obt-account__menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.obt-account__hello { display: flex; flex-direction: column; padding: 8px 12px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--obt-border); }
.obt-account__hello strong { font-family: var(--obt-font-heading); font-weight: 600; font-size: var(--obt-text-lg); color: var(--obt-navy); }
.obt-account__hello span { font-size: var(--obt-text-sm); color: var(--obt-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obt-account__menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.obt-account__menu a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: var(--obt-tap);
	padding: 0 12px;
	border-radius: 12px;
	color: var(--obt-navy);
	font-weight: 700;
	font-size: var(--obt-text-md);
	text-decoration: none;
}
.obt-account__menu a .obt-icon { color: var(--obt-blue); flex: none; }
.obt-account__menu a:hover,
.obt-account__menu a:focus-visible { background: var(--obt-blue-50); color: var(--obt-blue); outline: none; }
.obt-account__logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--obt-border); }
.obt-account__menu .obt-account__logout a,
.obt-account__menu .obt-account__logout a .obt-icon { color: var(--obt-sale); }
.obt-account__menu .obt-account__logout a:hover { background: #FCECEF; }

@media (prefers-reduced-motion: reduce) {
	.obt-account__tip, .obt-account__menu { transition: none; }
}

/* Mobile header: keep the logo centred now that the right side holds three icons. */
.obt-theme #mobile-header .site-header-row-center-column { grid-template-columns: 1fr auto 1fr; }
.obt-theme #mobile-header .site-header-row-container-inner > .site-container { padding-inline: 16px; }
.obt-theme #mobile-header .obt-account { margin-inline-end: 0; }
.obt-theme #mobile-header .site-header-section-right > .site-header-item { margin-inline: 0; }

/* 5.5 Mobile drawer */
.obt-theme #mobile-drawer .drawer-inner { background: var(--obt-navy); }
.obt-theme #mobile-drawer .mobile-navigation ul li > a,
.obt-theme #mobile-drawer .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
	font-family: var(--obt-font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--obt-white);
	min-height: var(--obt-tap);
}
.obt-theme #mobile-drawer .mobile-navigation ul li a:hover { color: var(--obt-yellow); }

/* Drawer search (inc/mobile-drawer.php): sits on the close-button row */
.obt-theme #mobile-drawer .drawer-header { position: absolute; top: 0; right: 0; z-index: 2; }
.obt-drawer-search { position: relative; margin: 12px 44px 16px 0; }
.obt-drawer-search .obt-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--obt-text-muted); pointer-events: none; }
.obt-theme .obt-drawer-search input[type="search"] {
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	padding: 0 16px 0 44px;
	border: 0;
	border-radius: var(--obt-radius-pill);
	background: var(--obt-white);
	color: var(--obt-navy);
	font: inherit;
	font-size: 1rem;
	box-shadow: none;
}
.obt-theme .obt-drawer-search input[type="search"]:focus { outline: none; box-shadow: 0 0 0 3px var(--obt-yellow); }
.obt-theme .obt-drawer-search input::placeholder { color: var(--obt-text-muted); opacity: 1; }

/* Drawer info: Browse / Want to chat? / Social */
.obt-drawer-info { display: flex; flex-direction: column; gap: 24px; padding: 28px 0 8px; text-align: left; }
.obt-theme .obt-drawer-info .obt-drawer-info__label {
	margin: 0 0 4px;
	font-family: var(--obt-font-body);
	font-size: var(--obt-text-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--obt-yellow);
}
.obt-drawer-info ul { list-style: none; margin: 0; padding: 0; }
.obt-drawer-info li { margin: 0; }
.obt-theme .obt-drawer-info a,
.obt-drawer-info__text {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	color: var(--obt-white);
	font-size: var(--obt-text-md);
	font-weight: 600;
	text-decoration: none;
}
.obt-drawer-info__text { color: #C3C8D6; font-weight: 400; }
.obt-drawer-info__text--hours { align-items: flex-start; padding-block: 8px; line-height: 1.5; }
.obt-drawer-info__text--hours .obt-icon { margin-top: 3px; }
.obt-theme .obt-drawer-info a:hover { color: var(--obt-yellow); }
.obt-theme .obt-drawer-info a:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--obt-yellow); border-radius: 6px; }
.obt-drawer-info .obt-icon { color: var(--obt-yellow); flex: none; }

/* 6. Footer --------------------------------------------------------------- */
.obt-footer {
	background: var(--obt-navy);
	color: #C3C8D6;               /* 8.9:1 on navy */
	font-size: var(--obt-text-sm);
	--obt-icon-fill: var(--obt-navy);
}
.obt-footer a { color: var(--obt-white); text-decoration: none; }
.obt-footer a:hover { color: var(--obt-yellow); text-decoration: underline; text-underline-offset: 3px; }

.obt-footer__main {
	display: grid;
	gap: var(--obt-space-6) var(--obt-space-5);
	grid-template-columns: 1fr;
	padding-block: var(--obt-space-8) var(--obt-space-7);
}
@media (min-width: 640px) {
	.obt-footer__main { grid-template-columns: 1fr 1fr; }
	.obt-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1025px) {
	.obt-footer__main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--obt-space-6); }
	.obt-footer__brand { grid-column: auto; }
}

.obt-footer__logo { display: inline-block; }
.obt-footer__logo-img { width: 168px; height: auto; display: block; }
.obt-footer__tagline {
	margin: var(--obt-space-3) 0 0;
	font-family: var(--obt-font-heading);
	font-weight: 600;
	font-size: var(--obt-text-lg);
	color: var(--obt-yellow);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.obt-footer__about { margin: var(--obt-space-2) 0 var(--obt-space-4); max-width: 34ch; }

.obt-footer__title {
	margin: 0 0 var(--obt-space-4);
	font-family: var(--obt-font-heading);
	font-size: var(--obt-text-lg);
	font-weight: 600;
	color: var(--obt-white);
}
.obt-footer__links, .obt-contact-list, .obt-social, .obt-pay { list-style: none; margin: 0; padding: 0; }
.obt-footer__links li + li { margin-top: var(--obt-space-1); }
.obt-footer__links a { display: inline-flex; align-items: center; min-height: 36px; }

.obt-contact-list li { display: flex; gap: var(--obt-space-3); align-items: flex-start; }
.obt-contact-list li + li { margin-top: var(--obt-space-3); }
.obt-contact-list .obt-icon { color: var(--obt-yellow); flex: none; margin-top: 2px; }
.obt-contact-list__meta { display: block; color: #C3C8D6; font-weight: 400; }
.obt-contact-list a { font-weight: 700; }

.obt-social { display: flex; gap: var(--obt-space-2); }
.obt-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--obt-tap);
	height: var(--obt-tap);
	border-radius: var(--obt-radius-pill);
	background: rgba(255, 255, 255, 0.08);
	transition: background-color var(--obt-dur) var(--obt-ease), color var(--obt-dur) var(--obt-ease);
}
.obt-footer .obt-social__link:hover { background: var(--obt-yellow); color: var(--obt-navy); text-decoration: none; }

.obt-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); background: var(--obt-navy-950); }
.obt-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--obt-space-3) var(--obt-space-5);
	align-items: center;
	justify-content: space-between;
	padding-block: var(--obt-space-4);
}
.obt-footer__copy { margin: 0; font-size: var(--obt-text-xs); }
.obt-footer__legal-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.obt-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--obt-text-xs); }
.obt-footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.obt-footer__legal a:hover { color: var(--obt-yellow); text-decoration-color: currentColor; }
.obt-pay { display: flex; flex-wrap: wrap; gap: var(--obt-space-2); }
.obt-pay li {
	padding: 0.3em 0.75em;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--obt-radius-sm);
	font-size: var(--obt-text-xs);
	font-weight: 700;
	color: var(--obt-white);
}

/* 5.6 Same-day announcement bar (inc/same-day.php) */
.obt-sdbar {
	display: block;
	background: var(--obt-yellow);
	color: var(--obt-navy);
	text-decoration: none;
	font-size: var(--obt-text-md);
	--obt-icon-fill: var(--obt-yellow);
}
a.obt-sdbar:hover { color: var(--obt-navy); background: var(--obt-yellow-600); }
a.obt-sdbar:focus-visible { outline: 3px solid var(--obt-navy); outline-offset: -3px; }
.obt-sdbar__inner { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 6px; text-align: center; }
.obt-sdbar__icon { display: inline-flex; flex: none; }
.obt-sdbar__text strong { font-weight: 800; }
.obt-sdbar__timer {
	flex: none;
	padding: 3px 10px;
	border-radius: var(--obt-radius-pill);
	background: var(--obt-navy);
	color: var(--obt-yellow);
	font-weight: 800;
	font-size: var(--obt-text-sm);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.obt-sdbar__timer[hidden] { display: none; }
.obt-sdbar__short { display: none; }
.obt-sdbar__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; flex: none; }
@media (max-width: 767px) {
	.obt-sdbar__inner { justify-content: flex-start; gap: 10px; text-align: left; padding-block: 8px; }
	.obt-sdbar__icon { width: 30px; height: 30px; border-radius: 999px; background: var(--obt-navy); color: var(--obt-yellow); align-items: center; justify-content: center; }
	.obt-sdbar__text { flex: 1; min-width: 0; line-height: 1.3; font-size: var(--obt-text-sm); }
	.obt-sdbar__text strong { display: inline; }
	.obt-sdbar__where { display: none; }
	.obt-sdbar__msg { display: none; }
	.obt-sdbar__short { display: block; font-size: 0.78125rem; }
	.obt-sdbar.is-nextday .obt-sdbar__timer { display: none; }
	.obt-sdbar__more { display: none; }
	.obt-sdbar__timer { font-size: 0.75rem; padding: 3px 8px; }
}

/* Cart page (block cart) on phones: keep the item table inside the card. */
@media (max-width: 600px) {
	.woocommerce-cart .entry-content-wrap { padding-left: 14px; padding-right: 14px; }
	.wp-block-woocommerce-cart table.wc-block-cart-items { table-layout: fixed; width: 100%; }
	.wp-block-woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image { width: 72px; padding-right: 12px; }
	.wp-block-woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total { width: 84px; }
	.wp-block-woocommerce-cart .wc-block-cart-item__product { min-width: 0; overflow-wrap: anywhere; }
}

/* Plus Jakarta Sans (v1.0.5): bold, tight headings for an adult gift store. */
.obt-theme h1, .obt-theme h2, .obt-theme h3, .obt-theme h4, .obt-theme h5, .obt-theme h6,
.obt-theme .wp-block-heading, .obt-theme .product_title, .obt-theme .entry-title {
	font-family: var(--obt-font-heading);
	font-weight: 800;
	letter-spacing: -0.02em;
}
.obt-theme .wp-block-button__link, .obt-theme .button, .obt-theme button, .obt-btn { font-weight: 700; }
