@charset "UTF-8";

/* ============================================================================
   DDG Corporate Child — shop archive and single product

   Depends on home.css for the grid and card rules.
   ========================================================================= */

/* Matches .ddg-page so the shop and New Arrivals sit on the same rhythm. */
.ddg-shop,
.ddg-single {
	padding-block: 48px 24px;
}

/* ------------------------------------------------------------ archive */

.ddg-shop__header {
	margin-bottom: 26px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--ddg-hairline);
}

.ddg-shop__header h1 {
	font-size: clamp(30px, 4vw, 46px);
	margin: 0;
}

.ddg-crumbs {
	margin-bottom: 10px;
	color: var(--ddg-mute);
	font-size: 13px;
}

.ddg-crumbs a {
	color: var(--ddg-mute);
}

.ddg-crumbs a:hover {
	color: var(--ddg-gold-bright);
}

.ddg-crumbs span {
	margin: 0 7px;
	opacity: 0.5;
}

.ddg-shop .woocommerce-result-count {
	margin: 0;
	color: var(--ddg-mute);
	font-size: 13.5px;
}

.ddg-shop .woocommerce-ordering select,
.ddg-shop select.orderby {
	padding: 10px 14px;
	background: var(--ddg-asphalt);
	border: 1px solid var(--ddg-hairline);
	border-radius: 3px;
	color: var(--ddg-bone);
	font-family: var(--ddg-body);
	font-size: 14px;
}

/* WooCommerce prints its own notices on archive and cart pages. */
.ddg .woocommerce-message,
.ddg .woocommerce-info,
.ddg .woocommerce-error {
	margin: 0 0 20px;
	padding: 14px 18px;
	background: var(--ddg-asphalt);
	border-left: 3px solid var(--ddg-gold);
	border-radius: 3px;
	list-style: none;
	color: var(--ddg-bone);
	font-size: 14px;
}

.ddg .woocommerce-error {
	border-left-color: var(--ddg-red);
}

.ddg .woocommerce-message a,
.ddg .woocommerce-info a {
	color: var(--ddg-gold-bright);
	font-weight: 600;
}

/* ------------------------------------------------------ single product */

.ddg-single div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px 48px;
	align-items: start;
}

/* Explicit placement. Without it the case block would be treated as the
   second grid item and land beside the gallery, pushing the summary down. */
.ddg-single .woocommerce-product-gallery {
	grid-column: 1;
	grid-row: 1;
}

.ddg-single .summary {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.ddg-single .ddg-caseblock {
	grid-column: 1;
	grid-row: 2;
}

.ddg-single .woocommerce-product-gallery {
	position: relative;
	border-radius: var(--ddg-radius);
	overflow: hidden;
}

.ddg-single .woocommerce-product-gallery img {
	border-radius: var(--ddg-radius);
}

.ddg-single .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.ddg-single .flex-control-thumbs img {
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.25s;
}

.ddg-single .flex-control-thumbs img.flex-active,
.ddg-single .flex-control-thumbs img:hover {
	opacity: 1;
}

.ddg-single .product_title {
	font-size: clamp(26px, 3.4vw, 40px);
	margin: 0 0 14px;
}

.ddg-single .price {
	display: block;
	margin: 0 0 16px;
	font-family: var(--ddg-display);
	font-size: 34px;
	font-weight: 700;
	color: var(--ddg-bone);
}

/* Was-price stays quiet and struck through; the price being charged is gold
   so it is the first thing the eye lands on. */
.ddg-single .price del,
.ddg-single .price del .amount {
	margin-right: 10px;
	color: var(--ddg-mute);
	font-size: 22px;
	font-weight: 400;
	opacity: 0.75;
}

.ddg-single .price ins,
.ddg-single .price ins .amount {
	color: var(--ddg-gold-bright);
	text-decoration: none;
	font-weight: 700;
}

.ddg-single .stock.in-stock {
	color: var(--ddg-green);
	font-weight: 600;
}

.ddg-single .stock.out-of-stock {
	color: var(--ddg-red);
	font-weight: 600;
}

.ddg-single .woocommerce-product-details__short-description {
	max-width: 60ch;
	color: var(--ddg-mute);
}

.ddg-membernote,
.ddg-shipnote {
	margin: 14px 0;
	padding: 12px 16px;
	background: var(--ddg-asphalt);
	border-radius: 3px;
	color: var(--ddg-mute);
	font-size: 14px;
}

.ddg-membernote a {
	color: var(--ddg-gold-bright);
	font-weight: 600;
}

/* Quantity and add to cart */

.ddg-single .quantity input[type='number'] {
	width: 78px;
	padding: 12px;
	background: var(--ddg-carbon);
	border: 1px solid var(--ddg-hairline);
	border-radius: 3px;
	color: var(--ddg-bone);
	font-family: var(--ddg-body);
	font-size: 15px;
	text-align: center;
}

.ddg-single form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 20px 0;
}

.ddg-single form.cart.variations_form {
	display: block;
}

.ddg-single .single_add_to_cart_button {
	height: 48px;
	padding: 0 32px;
	background: var(--ddg-gold);
	border: 0;
	border-radius: 3px;
	color: #17130a;
	font-family: var(--ddg-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.25s;
}

.ddg-single .single_add_to_cart_button:hover {
	background: var(--ddg-gold-bright);
}

.ddg-single .single_add_to_cart_button.disabled {
	background: var(--ddg-slate);
	color: var(--ddg-mute);
	cursor: not-allowed;
}

.ddg-single .product_meta {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--ddg-hairline);
	color: var(--ddg-mute);
	font-size: 13.5px;
}

.ddg-single .product_meta a {
	color: var(--ddg-gold-bright);
}

/* Tabs, related products and upsells sit below the two columns. */

.ddg-single .woocommerce-tabs,
.ddg-single .related,
.ddg-single .upsells {
	grid-column: 1 / -1;
	margin-top: 56px;
}

.ddg-single .wc-tabs {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--ddg-hairline);
}

.ddg-single .wc-tabs li a {
	display: block;
	padding: 12px 20px;
	color: var(--ddg-mute);
	font-family: var(--ddg-display);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.ddg-single .wc-tabs li.active a {
	color: var(--ddg-bone);
	box-shadow: inset 0 -2px 0 var(--ddg-gold);
}

.ddg-single .woocommerce-tabs .panel,
.ddg-single .woocommerce-Tabs-panel {
	max-width: 76ch;
	background: transparent;
	border: 0;
	color: var(--ddg-mute);
}

.ddg-single .woocommerce-Tabs-panel h2 {
	font-size: 22px;
	color: var(--ddg-bone);
}

.ddg-single .shop_attributes th {
	padding: 10px 14px 10px 0;
	text-align: left;
	color: var(--ddg-bone);
	font-weight: 600;
}

.ddg-single .shop_attributes td {
	padding: 10px 0;
	border-bottom: 1px solid var(--ddg-hairline);
}

.ddg-single .related > h2,
.ddg-single .upsells > h2 {
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ddg-hairline);
	font-size: clamp(22px, 3vw, 32px);
}

/* ---------------------------------------------------------- breakpoints */

@media (max-width: 1024px) {

	.ddg-single div.product {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	/* The desktop rules pin these to specific rows and columns. Left in
	   place at one column, the summary would be sent to a column that no
	   longer exists and the browser would invent one for it. */
	.ddg-single .woocommerce-product-gallery {
		grid-column: 1;
		grid-row: 1;
	}

	.ddg-single .summary {
		grid-column: 1;
		grid-row: 2;
	}

	/* The case list follows the gallery in the markup, so without this it
	   would sit between the photo and the price. */
	.ddg-single .ddg-caseblock {
		grid-column: 1;
		grid-row: 3;
	}
}

@media (max-width: 782px) {

	.ddg-shop,
	.ddg-single {
		padding-block: 24px 16px;
	}

	.ddg-shop__bar {
		flex-direction: column;
		align-items: stretch;
	}

	.ddg-single form.cart {
		position: sticky;
		bottom: 0;
		z-index: 20;
		margin: 20px -20px 0;
		padding: 12px 20px;
		background: rgba(19, 20, 23, 0.96);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--ddg-hairline);
	}

	.ddg-single .single_add_to_cart_button {
		flex: 1;
	}
}

/* ============================================================================
   woocommerce.php wrapper: page title and archive description.
   ========================================================================= */

.ddg-shop .page-title,
.ddg-shop .woocommerce-products-header__title {
	margin: 0 0 30px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ddg-hairline);
	font-family: var(--ddg-display);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.06;
}

.ddg-shop .term-description {
	max-width: 68ch;
	margin-bottom: 22px;
	color: var(--ddg-mute);
}

/* The theme's grid sits directly under the title, so the ordering bar needs
   its own spacing rather than relying on the removed header block. */
.ddg-shop .woocommerce-notices-wrapper:empty {
	display: none;
}

/* Titles wrap hard in a five-column grid, so cap the line count rather than
   letting one long product name stretch a whole row. */
.ddg-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* --------------------------------------------------- deposit plugin box */

/* Deposit options render inside form.cart with the plugin's own light
   styling. These rules pull them into the dark palette. Selector names vary
   between deposit plugins, so a few known variants are covered. */
.ddg-single .wc-deposits-option,
.ddg-single .wc-deposits-wrapper,
.ddg-single .woocommerce-deposits-wrapper,
.ddg-single .wc_deposits_option {
	background: var(--ddg-asphalt);
	border: 1px solid var(--ddg-hairline);
	border-radius: var(--ddg-radius);
	color: var(--ddg-bone);
}

.ddg-single .wc-deposits-option label,
.ddg-single .wc_deposits_option label {
	color: var(--ddg-bone);
}

.ddg-single .wc-deposits-option-description,
.ddg-single .wc-deposits-deposit-amount {
	color: var(--ddg-gold-bright);
}

/* Catch-all for any plain white panel a payment or deposit plugin injects
   into the add-to-cart form. */
.ddg-single form.cart [style*='background: #fff'],
.ddg-single form.cart [style*='background:#fff'] {
	background: var(--ddg-asphalt) !important;
	color: var(--ddg-bone);
}

/* ============================================================================
   Cart, checkout and account forms

   These pages are rendered by WooCommerce inside page.php. The theme only
   supplies colour and spacing; no field, total or button is moved or renamed,
   so WooCommerce keeps full control of the purchase flow.
   ========================================================================= */

.ddg-page__wide {
	width: 100%;
}

/* Inputs. WooCommerce uses several field wrappers depending on the block or
   shortcode version, so the input elements are targeted directly. */
.ddg-page__wide input[type='text'],
.ddg-page__wide input[type='email'],
.ddg-page__wide input[type='tel'],
.ddg-page__wide input[type='password'],
.ddg-page__wide input[type='number'],
.ddg-page__wide input[type='search'],
.ddg-page__wide textarea,
.ddg-page__wide select,
.ddg-page__wide .select2-selection {
	width: 100%;
	padding: 12px 14px;
	background: var(--ddg-asphalt);
	border: 1px solid var(--ddg-hairline);
	border-radius: 3px;
	color: var(--ddg-bone);
	font-family: var(--ddg-body);
	font-size: 15px;
	line-height: 1.4;
}

.ddg-page__wide .select2-selection__rendered,
.ddg-page__wide .select2-selection__arrow b {
	color: var(--ddg-bone);
}

.ddg-page__wide .select2-dropdown {
	background: var(--ddg-asphalt);
	border-color: var(--ddg-hairline);
	color: var(--ddg-bone);
}

.ddg-page__wide input::placeholder,
.ddg-page__wide textarea::placeholder {
	color: #6d6a64;
}

.ddg-page__wide label {
	display: block;
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
}

.ddg-page__wide .form-row {
	margin-bottom: 16px;
}

.ddg-page__wide h2,
.ddg-page__wide h3 {
	margin: 26px 0 14px;
	font-size: 22px;
}

/* Buttons: place order, update cart, apply coupon, proceed to checkout. */
.ddg-page__wide .button,
.ddg-page__wide button[type='submit'],
.ddg-page__wide #place_order,
.ddg-page__wide .checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 28px;
	background: var(--ddg-gold);
	border: 0;
	border-radius: 3px;
	color: #17130a;
	font-family: var(--ddg-display);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.25s;
}

.ddg-page__wide .button:hover,
.ddg-page__wide #place_order:hover,
.ddg-page__wide .checkout-button:hover {
	background: var(--ddg-gold-bright);
	color: #17130a;
}

.ddg-page__wide .button:disabled,
.ddg-page__wide #place_order:disabled {
	background: var(--ddg-slate);
	color: var(--ddg-mute);
	cursor: not-allowed;
}

/* Cart and order review tables */
.ddg-page__wide table {
	width: 100%;
	border-collapse: collapse;
	color: var(--ddg-bone);
}

.ddg-page__wide table th,
.ddg-page__wide table td {
	padding: 14px 12px;
	text-align: left;
	border-bottom: 1px solid var(--ddg-hairline);
	vertical-align: middle;
}

.ddg-page__wide table th {
	font-family: var(--ddg-display);
	font-size: 15px;
	letter-spacing: 0.04em;
	color: var(--ddg-mute);
}

.ddg-page__wide table img {
	width: 62px;
	height: auto;
	border-radius: 3px;
}

.ddg-page__wide .order-total td,
.ddg-page__wide .order-total th {
	font-size: 18px;
	font-weight: 700;
}

.ddg-page__wide .cart_totals,
.ddg-page__wide #order_review,
.ddg-page__wide .wc-block-components-sidebar {
	padding: 22px;
	background: var(--ddg-asphalt);
	border-radius: var(--ddg-radius);
}

.ddg-page__wide .woocommerce-checkout-payment,
.ddg-page__wide #payment {
	background: transparent;
}

.ddg-page__wide #payment ul.payment_methods {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--ddg-hairline);
}

.ddg-page__wide #payment ul.payment_methods li {
	padding: 12px 0;
}

.ddg-page__wide .payment_box {
	padding: 14px 16px;
	background: var(--ddg-carbon);
	border-radius: 3px;
	color: var(--ddg-mute);
	font-size: 14px;
}

/* Checkout block (newer WooCommerce) uses its own class prefix. */
.ddg-page__wide .wc-block-components-text-input input,
.ddg-page__wide .wc-block-components-textarea {
	background: var(--ddg-asphalt);
	color: var(--ddg-bone);
}

.ddg-page__wide .wc-block-components-title,
.ddg-page__wide .wc-block-components-totals-item__label,
.ddg-page__wide .wc-block-components-product-name {
	color: var(--ddg-bone);
}

.ddg-page__wide a {
	color: var(--ddg-gold-bright);
}

@media (max-width: 782px) {

	.ddg-page__wide table th,
	.ddg-page__wide table td {
		padding: 10px 8px;
	}
}

/* ============================================================================
   Cart and Checkout blocks

   Recent WooCommerce builds these pages from blocks rather than shortcodes.
   The blocks ship light-theme defaults, so on a dark page the text lands dark
   on dark. Only colour and spacing are set here; no field is moved, hidden or
   renamed, so the purchase flow stays exactly as WooCommerce built it.
   ========================================================================= */

.ddg .wc-block-checkout,
.ddg .wc-block-cart {
	--wp--preset--color--contrast: var(--ddg-bone);
	color: var(--ddg-bone);
}

/* Headings and labels */
.ddg .wc-block-components-title,
.ddg .wc-block-components-checkout-step__title,
.ddg .wc-block-cart__totals-title,
.ddg .wc-block-components-totals-item__label,
.ddg .wc-block-components-product-name,
.ddg .wc-block-components-order-summary__button-text {
	color: var(--ddg-bone);
}

.ddg .wc-block-components-checkout-step__description,
.ddg .wc-block-components-product-metadata,
.ddg .wc-block-components-totals-footer-item-tax,
.ddg .wc-block-components-address-card {
	color: var(--ddg-mute);
}

/* Inputs. The block markup floats the label inside the field, so the label
   colour has to be set separately from the input text colour. */
.ddg .wc-block-components-text-input input[type='text'],
.ddg .wc-block-components-text-input input[type='email'],
.ddg .wc-block-components-text-input input[type='tel'],
.ddg .wc-block-components-text-input input[type='number'],
.ddg .wc-block-components-textarea,
.ddg .wc-blocks-components-select__select {
	background: var(--ddg-asphalt);
	border: 1px solid var(--ddg-hairline);
	border-radius: 3px;
	color: var(--ddg-bone);
}

.ddg .wc-block-components-text-input label,
.ddg .wc-blocks-components-select__label {
	color: var(--ddg-mute);
}

.ddg .wc-block-components-text-input.is-active label {
	color: var(--ddg-gold);
}

.ddg .wc-block-components-text-input input:focus,
.ddg .wc-blocks-components-select__select:focus {
	outline: 2px solid var(--ddg-gold-bright);
	outline-offset: 1px;
}

/* Panels: order summary, shipping options, payment methods */
.ddg .wc-block-components-panel,
.ddg .wc-block-components-radio-control-accordion-option,
.ddg .wc-block-components-radio-control__option,
.ddg .wc-block-checkout__sidebar .wc-block-components-sidebar {
	background: var(--ddg-asphalt);
	border-color: var(--ddg-hairline);
	color: var(--ddg-bone);
}

.ddg .wc-block-components-radio-control__label,
.ddg .wc-block-components-radio-control__description {
	color: var(--ddg-bone);
}

.ddg .wc-block-components-radio-control__description {
	color: var(--ddg-mute);
}

/* Totals */
.ddg .wc-block-components-totals-item__value,
.ddg .wc-block-components-formatted-money-amount {
	color: var(--ddg-bone);
}

.ddg .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--ddg-display);
	font-size: 26px;
	font-weight: 700;
}

.ddg .wc-block-components-totals-wrapper {
	border-top-color: var(--ddg-hairline);
}

/* Place order */
.ddg .wc-block-components-checkout-place-order-button,
.ddg .wc-block-cart__submit-button {
	background: var(--ddg-gold);
	border-radius: 3px;
	color: #17130a;
	font-family: var(--ddg-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.ddg .wc-block-components-checkout-place-order-button:hover,
.ddg .wc-block-cart__submit-button:hover {
	background: var(--ddg-gold-bright);
	color: #17130a;
}

/* Links, notices and quantity steppers */
.ddg .wc-block-components-button--text,
.ddg .wc-block-components-checkout-step__heading-content a,
.ddg .wc-block-components-product-name:hover {
	color: var(--ddg-gold-bright);
}

.ddg .wc-block-components-notice-banner {
	background: var(--ddg-asphalt);
	border-color: var(--ddg-gold);
	color: var(--ddg-bone);
}

.ddg .wc-block-components-notice-banner.is-error {
	border-color: var(--ddg-red);
}

.ddg .wc-block-components-quantity-selector {
	background: var(--ddg-carbon);
	border-color: var(--ddg-hairline);
}

.ddg .wc-block-components-quantity-selector__input,
.ddg .wc-block-components-quantity-selector__button {
	background: transparent;
	color: var(--ddg-bone);
}

.ddg .wc-block-cart-item__wrap,
.ddg .wc-block-cart-items__row {
	border-color: var(--ddg-hairline);
}

/* The checkout page title duplicates the block's own heading. */
.ddg.woocommerce-checkout .ddg-page__header,
.ddg.woocommerce-cart .ddg-page__header {
	margin-bottom: 18px;
}

/* Release schedule: shows every tier's window, not just the visitor's own,
   so the ladder is visible to the people who are not yet on it. */

.ddg-schedule {
	margin: 18px 0;
	padding: 16px 18px;
	background: var(--ddg-asphalt);
	border-radius: var(--ddg-radius);
}

.ddg-schedule h2 {
	margin: 0 0 10px;
	font-size: 15px;
	letter-spacing: 0.06em;
	color: var(--ddg-gold);
}

.ddg-schedule ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ddg-schedule__row {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 9px 0;
	border-bottom: 1px solid var(--ddg-hairline);
	font-size: 14px;
	color: var(--ddg-mute);
}

.ddg-schedule__row:last-child {
	border-bottom: 0;
}

.ddg-schedule__row.is-open {
	color: var(--ddg-bone);
}

.ddg-schedule__row.is-open span:last-child {
	color: var(--ddg-green);
	font-weight: 600;
}

.ddg-schedule__row.is-you {
	color: var(--ddg-bone);
	font-weight: 600;
}

.ddg-schedule__row em {
	font-style: normal;
	color: var(--ddg-gold);
}

.ddg-schedule p {
	margin: 12px 0 0;
}

.ddg-schedule a {
	color: var(--ddg-gold-bright);
	font-weight: 600;
}

/* ------------------------------------------------------------ pool order */

.ddg-pool {
	margin: 18px 0;
	padding: 18px 20px;
	background: var(--ddg-asphalt);
	border: 1px solid rgba(200, 162, 75, 0.32);
	border-radius: var(--ddg-radius);
}

.ddg-pool__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 10px;
}

.ddg-pool__label {
	font-family: var(--ddg-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--ddg-gold);
}

.ddg-pool__count {
	font-family: var(--ddg-display);
	font-size: 17px;
	font-weight: 600;
}

.ddg-pool__bar {
	height: 8px;
	background: var(--ddg-carbon);
	border-radius: 100px;
	overflow: hidden;
}

.ddg-pool__bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--ddg-gold), var(--ddg-gold-bright));
	border-radius: 100px;
	transition: width 0.6s ease;
}

.ddg-pool__status {
	margin: 12px 0 0;
	font-size: 14.5px;
	font-weight: 600;
}

.ddg-pool__locked {
	margin: 10px 0 0;
	padding: 10px 14px;
	background: var(--ddg-carbon);
	border-radius: 3px;
	font-size: 14px;
	color: var(--ddg-mute);
}

.ddg-pool__locked a {
	color: var(--ddg-gold-bright);
	font-weight: 600;
}

.ddg-pool__terms {
	margin: 12px 0 0;
	color: var(--ddg-mute);
	font-size: 13px;
	line-height: 1.55;
}

.ddg-tag--pool {
	color: var(--ddg-gold);
}

/* --------------------------------------------------- specification block */

.ddg-spec {
	margin: 18px 0;
	padding: 18px 20px;
	background: var(--ddg-asphalt);
	border-radius: var(--ddg-radius);
}

.ddg-spec__title {
	margin: 0 0 12px;
	font-size: 15px;
	letter-spacing: 0.08em;
	color: var(--ddg-gold);
}

/* Columns are decided by the space actually available, not by the viewport.
   Inside the half-width product summary this resolves to one column; in a
   wider container it becomes two. Fixing it at two produced labels wide
   enough to squeeze values into a single character per line. */
.ddg-spec__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 0 26px;
	margin: 0;
}

.ddg-spec__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--ddg-hairline);
}

.ddg-spec__row dt {
	flex: 0 1 auto;
	color: var(--ddg-mute);
	font-size: 13.5px;
}

.ddg-spec__row dd {
	flex: 1 1 auto;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	text-align: right;
	/* anywhere, not break-word: only break a string that genuinely cannot
	   fit, rather than splitting short codes like 9C6C. */
	overflow-wrap: anywhere;
	hyphens: none;
}

@media (max-width: 782px) {

	.ddg-spec__grid {
		grid-template-columns: 1fr;
	}

	.ddg-spec {
		padding: 14px 16px;
	}
}

/* ------------------------------------------------------- case contents */

.ddg-caseblock {
	padding: 20px 22px;
	background: var(--ddg-asphalt);
	border-radius: var(--ddg-radius);
}

.ddg-caseblock__title {
	margin: 0 0 14px;
	font-size: 15px;
	letter-spacing: 0.08em;
	color: var(--ddg-gold);
}

.ddg-case {
	width: 100%;
	border-collapse: collapse;
	background: transparent;
	font-size: 14.5px;
}

/* The parent theme stripes table rows with a light background, which made
   this table unreadable. Every cell states its own surface. */
.ddg-case tr,
.ddg-case th,
.ddg-case td {
	background: transparent;
}

.ddg-case th,
.ddg-case td {
	padding: 11px 14px;
	text-align: left;
	border-bottom: 1px solid var(--ddg-hairline);
}

.ddg-case thead th {
	font-family: var(--ddg-display);
	font-size: 14px;
	letter-spacing: 0.06em;
	color: var(--ddg-gold);
}

.ddg-case tbody td {
	color: var(--ddg-bone);
}

.ddg-case__code {
	width: 1%;
	white-space: nowrap;
	font-family: var(--ddg-display);
	font-weight: 600;
	color: var(--ddg-mute);
}

.ddg-case__qty {
	width: 1%;
	text-align: right;
	white-space: nowrap;
	font-weight: 700;
}

.ddg-case tfoot th,
.ddg-case tfoot td {
	border-bottom: 0;
	border-top: 1px solid var(--ddg-gold);
	font-weight: 700;
}

.ddg-case__note {
	max-width: 70ch;
	margin: 16px 0 0;
	color: var(--ddg-mute);
	font-size: 13px;
}

@media (max-width: 782px) {

	.ddg-case th,
	.ddg-case td {
		padding: 9px 8px;
	}

	.ddg-case__code {
		font-size: 13px;
	}
}
