/**
 * Product page panels — Specification, Warranty, Shipping & Returns.
 * ---------------------------------------------------------------------------
 * WHERE THIS CAME FROM
 *
 * Shopify has four product templates — clocks, watches, watch-box and
 * watch-winders — and each ends with two designed custom-Liquid blocks: a
 * warranty card and a shipping card. Every one of the eight blocks carried its
 * own inline <style>, and each template used a DIFFERENT class prefix for what
 * is, value for value, the same stylesheet:
 *
 *   clocks         wclocks-warranty-*                wclocks-shipping-*
 *   watches        wclocks-watch-product-warranty-*  wclocks-watch-shipping-*
 *   watch-box      wclocks-watch-warranty-*          wclocks-box-shipping-*
 *   watch-winders  wclocks-winder-warranty-*         wclocks-winder-shipping-*
 *
 * Normalising all four onto the clocks prefix was verified, not assumed: with
 * the prefixes folded together the four warranty stylesheets are identical —
 * same selectors, same declarations, same order — and so are the four shipping
 * ones. Only the copy differs, and that lives in template-parts/pdp/.
 *
 * The rules below are the watches variant, which is the superset: it carries
 * one extra selector (.contact span a) the clocks variant omits.
 *
 * The tab strip at the end is ours. Focal drove its underline with a sliding
 * absolutely-positioned <span class="tabs-nav__position">; a border on the
 * active button renders the same and needs no JavaScript to stay in place.
 *
 * @package wclocks
 */

/* ===========================================================================
 * 1. Warranty card
 * ======================================================================== */

.wclocks-warranty-section {
	margin: 28px 0;
	padding: 0;
	font-family: inherit;
}

.wclocks-warranty-section * {
	box-sizing: border-box;
}

.wclocks-warranty-card {
	position: relative;
	overflow: hidden;
	background: radial-gradient(circle at top right, rgba(174, 124, 38, 0.15), transparent 34%), linear-gradient(135deg, #ffffff 0%, #ffffff 72%, #f7f0e3 100%);
	border: 1px solid rgba(184, 134, 47, 0.36);
	border-radius: 18px;
	padding: 30px;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.045);
}

.wclocks-warranty-card:before {
	content: "";
	position: absolute;
	top: 0;
	left: 30px;
	width: 68px;
	height: 3px;
	background: #b8862f;
}

.wclocks-warranty-header {
	max-width: 850px;
	margin-bottom: 24px;
}

.wclocks-warranty-badge {
	display: inline-flex;
	align-items: center;
	margin-bottom: 12px;
	padding: 6px 11px;
	border: 1px solid rgba(184, 134, 47, 0.42);
	border-radius: 999px;
	color: #8a6118;
	background: rgba(255, 255, 255, 0.9);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.wclocks-warranty-header h3 {
	margin: 0 0 10px;
	color: #111111;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -0.35px;
}

.wclocks-warranty-header p {
	margin: 0;
	color: #444444;
	font-size: 15.5px;
	line-height: 1.7;
}

.wclocks-warranty-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.wclocks-warranty-item {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 17px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(17, 17, 17, 0.075);
	border-radius: 14px;
	transition: all 0.25s ease;
}

.wclocks-warranty-item:hover {
	border-color: rgba(184, 134, 47, 0.55);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
}

.wclocks-warranty-icon {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid rgba(184, 134, 47, 0.55);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wclocks-warranty-icon svg {
	width: 19px;
	height: 19px;
	display: block;
}

.wclocks-warranty-icon path, .wclocks-warranty-icon circle {
	fill: none;
	stroke: #9b6f1d;
	stroke-width: 1.55;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wclocks-warranty-item strong {
	display: block;
	margin-bottom: 5px;
	color: #111111;
	font-size: 14.5px;
	font-weight: 600;
}

.wclocks-warranty-item p {
	margin: 0;
	color: #555555;
	font-size: 13.5px;
	line-height: 1.6;
}

.wclocks-warranty-highlight {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	margin-top: 16px;
	padding: 18px;
	background: #ffffff;
	border: 1px solid rgba(184, 134, 47, 0.42);
	border-radius: 14px;
}

.wclocks-warranty-highlight-icon {
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 50%;
	background: #111111;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wclocks-warranty-highlight-icon svg {
	width: 20px;
	height: 20px;
}

.wclocks-warranty-highlight-icon path {
	fill: none;
	stroke: #d6b46d;
	stroke-width: 1.55;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wclocks-warranty-highlight strong {
	display: block;
	margin-bottom: 5px;
	color: #111111;
	font-size: 15px;
	font-weight: 600;
}

.wclocks-warranty-highlight p {
	margin: 0;
	color: #444444;
	font-size: 13.8px;
	line-height: 1.65;
}

.wclocks-warranty-contact {
	margin-top: 16px;
	padding: 15px 17px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(17, 17, 17, 0.07);
	border-radius: 12px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
	color: #333333;
	font-size: 13.8px;
	line-height: 1.5;
}

.wclocks-warranty-contact span {
	font-weight: 500;
}

.wclocks-warranty-contact a {
	color: #8a6118;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.wclocks-warranty-contact a:hover {
	color: #111111;
}

.wclocks-warranty-contact span a {
	white-space: normal;
}

@media (max-width: 767px) {
	.wclocks-warranty-section {
		margin: 24px 0;
	}

	.wclocks-warranty-card {
		padding: 24px 18px;
		border-radius: 16px;
		background: radial-gradient(circle at top right, rgba(174, 124, 38, 0.14), transparent 38%), linear-gradient(135deg, #ffffff 0%, #ffffff 74%, #f7f0e3 100%);
	}

	.wclocks-warranty-card:before {
		left: 18px;
		width: 54px;
	}

	.wclocks-warranty-badge {
		font-size: 10.5px;
		letter-spacing: 0.85px;
		margin-bottom: 10px;
	}

	.wclocks-warranty-header {
		margin-bottom: 20px;
	}

	.wclocks-warranty-header h3 {
		font-size: 22px;
		line-height: 1.3;
	}

	.wclocks-warranty-header p {
		font-size: 14px;
		line-height: 1.65;
	}

	.wclocks-warranty-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.wclocks-warranty-item, .wclocks-warranty-highlight {
		padding: 14px;
		gap: 11px;
		border-radius: 13px;
	}

	.wclocks-warranty-icon {
		width: 32px;
		height: 32px;
		min-width: 32px;
	}

	.wclocks-warranty-icon svg {
		width: 17px;
		height: 17px;
	}

	.wclocks-warranty-highlight-icon {
		width: 34px;
		height: 34px;
		min-width: 34px;
	}

	.wclocks-warranty-highlight-icon svg {
		width: 18px;
		height: 18px;
	}

	.wclocks-warranty-item strong, .wclocks-warranty-highlight strong {
		font-size: 13.8px;
	}

	.wclocks-warranty-item p, .wclocks-warranty-highlight p {
		font-size: 13px;
		line-height: 1.55;
	}

	.wclocks-warranty-contact {
		flex-direction: column;
		align-items: flex-start;
		padding: 14px;
		font-size: 13px;
		gap: 6px;
	}

	.wclocks-warranty-contact a {
		white-space: normal;
	}
}

/* ===========================================================================
 * 2. Shipping & Returns card
 * ======================================================================== */

.wclocks-shipping-section {
	margin: 28px 0;
	padding: 0;
	font-family: inherit;
}

.wclocks-shipping-section * {
	box-sizing: border-box;
}

.wclocks-shipping-card {
	position: relative;
	overflow: hidden;
	background: radial-gradient(circle at top right, rgba(174, 124, 38, 0.15), transparent 34%), linear-gradient(135deg, #ffffff 0%, #ffffff 72%, #f7f0e3 100%);
	border: 1px solid rgba(184, 134, 47, 0.36);
	border-radius: 18px;
	padding: 30px;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.045);
}

.wclocks-shipping-card:before {
	content: "";
	position: absolute;
	top: 0;
	left: 30px;
	width: 68px;
	height: 3px;
	background: #b8862f;
}

.wclocks-shipping-header {
	max-width: 850px;
	margin-bottom: 24px;
}

.wclocks-shipping-badge {
	display: inline-flex;
	align-items: center;
	margin-bottom: 12px;
	padding: 6px 11px;
	border: 1px solid rgba(184, 134, 47, 0.42);
	border-radius: 999px;
	color: #8a6118;
	background: rgba(255, 255, 255, 0.9);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.wclocks-shipping-header h3 {
	margin: 0 0 10px;
	color: #111111;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -0.35px;
}

.wclocks-shipping-header p {
	margin: 0;
	color: #444444;
	font-size: 15.5px;
	line-height: 1.7;
}

.wclocks-shipping-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.wclocks-shipping-item {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 17px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(17, 17, 17, 0.075);
	border-radius: 14px;
	transition: all 0.25s ease;
}

.wclocks-shipping-item:hover {
	border-color: rgba(184, 134, 47, 0.55);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
}

.wclocks-shipping-icon {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid rgba(184, 134, 47, 0.55);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wclocks-shipping-icon svg {
	width: 19px;
	height: 19px;
	display: block;
}

.wclocks-shipping-icon path, .wclocks-shipping-icon circle {
	fill: none;
	stroke: #9b6f1d;
	stroke-width: 1.55;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wclocks-shipping-item strong {
	display: block;
	margin-bottom: 5px;
	color: #111111;
	font-size: 14.5px;
	font-weight: 600;
}

.wclocks-shipping-item p {
	margin: 0;
	color: #555555;
	font-size: 13.5px;
	line-height: 1.6;
}

.wclocks-shipping-highlight {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	margin-top: 16px;
	padding: 18px;
	background: #ffffff;
	border: 1px solid rgba(184, 134, 47, 0.42);
	border-radius: 14px;
}

.wclocks-shipping-highlight-icon {
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 50%;
	background: #111111;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wclocks-shipping-highlight-icon svg {
	width: 20px;
	height: 20px;
}

.wclocks-shipping-highlight-icon path {
	fill: none;
	stroke: #d6b46d;
	stroke-width: 1.55;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wclocks-shipping-highlight strong, .wclocks-shipping-policy strong {
	display: block;
	margin-bottom: 5px;
	color: #111111;
	font-size: 15px;
	font-weight: 600;
}

.wclocks-shipping-highlight p, .wclocks-shipping-policy p {
	margin: 0;
	color: #444444;
	font-size: 13.8px;
	line-height: 1.65;
}

.wclocks-shipping-policy {
	margin-top: 14px;
	padding: 17px 18px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(17, 17, 17, 0.07);
	border-radius: 14px;
}

.wclocks-shipping-contact {
	margin-top: 16px;
	padding: 15px 17px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(17, 17, 17, 0.07);
	border-radius: 12px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
	color: #333333;
	font-size: 13.8px;
	line-height: 1.5;
}

.wclocks-shipping-contact span {
	font-weight: 500;
}

.wclocks-shipping-contact a {
	color: #8a6118;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.wclocks-shipping-contact a:hover {
	color: #111111;
}

.wclocks-shipping-contact span a {
	white-space: normal;
}

@media (max-width: 767px) {
	.wclocks-shipping-section {
		margin: 24px 0;
	}

	.wclocks-shipping-card {
		padding: 24px 18px;
		border-radius: 16px;
		background: radial-gradient(circle at top right, rgba(174, 124, 38, 0.14), transparent 38%), linear-gradient(135deg, #ffffff 0%, #ffffff 74%, #f7f0e3 100%);
	}

	.wclocks-shipping-card:before {
		left: 18px;
		width: 54px;
	}

	.wclocks-shipping-badge {
		font-size: 10.5px;
		letter-spacing: 0.85px;
		margin-bottom: 10px;
	}

	.wclocks-shipping-header {
		margin-bottom: 20px;
	}

	.wclocks-shipping-header h3 {
		font-size: 22px;
		line-height: 1.3;
	}

	.wclocks-shipping-header p {
		font-size: 14px;
		line-height: 1.65;
	}

	.wclocks-shipping-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.wclocks-shipping-item, .wclocks-shipping-highlight {
		padding: 14px;
		gap: 11px;
		border-radius: 13px;
	}

	.wclocks-shipping-icon {
		width: 32px;
		height: 32px;
		min-width: 32px;
	}

	.wclocks-shipping-icon svg {
		width: 17px;
		height: 17px;
	}

	.wclocks-shipping-highlight-icon {
		width: 34px;
		height: 34px;
		min-width: 34px;
	}

	.wclocks-shipping-highlight-icon svg {
		width: 18px;
		height: 18px;
	}

	.wclocks-shipping-item strong, .wclocks-shipping-highlight strong, .wclocks-shipping-policy strong {
		font-size: 13.8px;
	}

	.wclocks-shipping-item p, .wclocks-shipping-highlight p, .wclocks-shipping-policy p {
		font-size: 13px;
		line-height: 1.55;
	}

	.wclocks-shipping-policy {
		padding: 14px;
	}

	.wclocks-shipping-contact {
		flex-direction: column;
		align-items: flex-start;
		padding: 14px;
		font-size: 13px;
		gap: 6px;
	}

	.wclocks-shipping-contact a {
		white-space: normal;
	}
}

/* ===========================================================================
 * 3. Specification table
 *
 * The table markup AND its <style> both come from the Shopify metafield
 * custom.specification_data, so there is deliberately almost nothing here —
 * only the wrapper Shopify's Liquid block put around it, and a guard so a wide
 * table scrolls inside its panel instead of widening the page.
 * ======================================================================== */

.product-specification {
	max-width: 100%;
	overflow-x: auto;
}

.product-specification table {
	min-width: 320px;
}

/* Some products store the spec as a bullet list rather than a table. */
.product-specification ul {
	margin: 0;
	padding-left: 20px;
}

.product-specification li p {
	margin: 0 0 6px;
}

/* ===========================================================================
 * 4. Tab strip
 *
 * Focal: tabs on desktop, collapsible accordion below 1024px. Measured off the
 * live product page — 12px/600/1px uppercase, 72px between items, 18px of
 * padding under each, 32px below the strip, unselected items at 0.7 opacity.
 * ======================================================================== */

.wcl-pdp-tabs {
	margin: 0 auto;
	max-width: 926px;
}

.wcl-pdp-tabs-nav {
	display: block;
	margin: 0 0 32px;
	border-bottom: 1px solid rgba(40, 40, 40, .16);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.wcl-pdp-tabs-nav::-webkit-scrollbar {
	display: none;
}

.wcl-pdp-tabs-list {
	display: inline-grid;
	grid-auto-flow: column;
	gap: 72px;
	justify-content: flex-start;
}

.wcl-pdp-tab {
	appearance: none;
	margin: 0;
	padding: 0 0 18px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: #282828;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1.4;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: .7;
	cursor: pointer;
	transition: opacity .2s ease, border-color .2s ease;
}

.wcl-pdp-tab:hover {
	opacity: 1;
}

.wcl-pdp-tab[aria-selected="true"] {
	opacity: 1;
	border-bottom-color: #282828;
}

.wcl-pdp-tab:focus-visible {
	outline: 2px solid #b8862f;
	outline-offset: 3px;
}

/* The mobile disclosure button for each panel: hidden while the tab strip is. */
.wcl-pdp-tab-toggle {
	display: none;
}

.wcl-pdp-panel[hidden] {
	display: none;
}

/* Plain rich-text panels (description, and the books template's warranty and
   shipping copy) — Focal's .rte, at the size it actually rendered. */
.wcl-pdp-rte {
	font-size: 13px;
	line-height: 1.7335;
}

.wcl-pdp-rte h6 {
	margin: 22px 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.wcl-pdp-rte h6:first-child {
	margin-top: 0;
}

.wcl-pdp-rte p {
	margin: 0 0 12px;
}

.wcl-pdp-rte p:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Below 1024px Focal dropped the tab strip and turned every panel into its own
 * collapsible row, all of them reachable at once.
 * ------------------------------------------------------------------------ */

@media (max-width: 1023px) {

	.wcl-pdp-tabs-nav {
		display: none;
	}

	.wcl-pdp-tab-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		width: 100%;
		margin: 0;
		padding: 18px 0;
		border: 0;
		border-top: 1px solid rgba(40, 40, 40, .16);
		background: none;
		color: #282828;
		font: inherit;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 1px;
		text-align: left;
		text-transform: uppercase;
		cursor: pointer;
	}

	.wcl-pdp-tab-toggle:focus-visible {
		outline: 2px solid #b8862f;
		outline-offset: -2px;
	}

	.wcl-pdp-tab-chev {
		flex: none;
		transition: transform .25s ease;
	}

	.wcl-pdp-tab-toggle[aria-expanded="true"] .wcl-pdp-tab-chev {
		transform: rotate(180deg);
	}

	.wcl-pdp-panel {
		padding-bottom: 24px;
	}

	.wcl-pdp-tabs-panels > :last-child .wcl-pdp-panel[hidden] + * {
		border-bottom: 1px solid rgba(40, 40, 40, .16);
	}
}

@media (prefers-reduced-motion: reduce) {

	.wcl-pdp-tab,
	.wcl-pdp-tab-chev {
		transition: none;
	}
}
