/* ==========================================================================
   Savoidakis Cart Drawer

   Geometry is read from the approved design (side-menu.png); the palette is the
   site's own — charcoal #252324, pink #CC3262, cream #F6F5F3.
   The free-shipping progress block from the mock is deliberately not built.
   ========================================================================== */

.scd,
.scd-modal {
	--scd-panel: #FFFFFF;
	--scd-ink: #252324;
	--scd-muted: #6E6A67;
	--scd-accent: #CC3262;
	--scd-soft: #F6F5F3;
	--scd-soft-alt: #FBF0F4;
	--scd-fill: #F1EFEC;
	--scd-border: #E8E4E0;
	--scd-width: 460px;

	font-family: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--scd-ink);
	-webkit-font-smoothing: antialiased;
}

.scd *,
.scd *::before,
.scd *::after,
.scd-modal *,
.scd-modal *::before,
.scd-modal *::after {
	box-sizing: border-box;
}

.scd[hidden],
.scd-modal[hidden] {
	display: none;
}

/* Reset the theme's global button and list styling inside the drawer. */
.scd button,
.scd-modal button {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	line-height: normal;
	letter-spacing: normal;
	text-transform: none;
	width: auto;
	min-height: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.scd ul,
.scd li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.scd h2,
.scd h3,
.scd p,
.scd-modal h3 {
	margin: 0;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.scd a,
.scd-modal a {
	text-decoration: none;
}

.scd svg,
.scd-modal svg {
	display: block;
	flex: none;
}

/* The page must not scroll behind an open drawer or modal. */
body.scd-locked {
	overflow: hidden;
}

/* ------------------------------------------------------------------ shell */

.scd {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.scd__overlay {
	position: absolute;
	inset: 0;
	background: rgba(37, 35, 36, .42);
	opacity: 0;
	transition: opacity .28s ease;
}

.scd.is-open .scd__overlay {
	opacity: 1;
}

.scd__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(var(--scd-width), 100vw);
	display: flex;
	flex-direction: column;
	background: var(--scd-panel);
	border-left: 1px solid var(--scd-border);
	box-shadow: -20px 0 60px rgba(37, 35, 36, .18);
	transform: translateX(100%);
	transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}

.scd.is-open .scd__panel {
	transform: none;
}

.scd.is-busy .scd__body {
	opacity: .5;
	pointer-events: none;
}

/* ----------------------------------------------------------------- header */

.scd .scd__head {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: none;
	padding: 30px 24px 18px;
}

.scd .scd__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--scd-ink);
}

.scd .scd__badge {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 14px;
	border-radius: 16px;
	background: var(--scd-soft);
	color: var(--scd-muted);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.scd .scd__close {
	margin-left: auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--scd-soft);
	color: var(--scd-ink);
	transition: background .18s ease, color .18s ease;
}

.scd .scd__close:hover {
	background: var(--scd-accent);
	color: #fff;
}

.scd .scd__close-icon {
	width: 18px;
	height: 18px;
}

/* ------------------------------------------------------------------ items */

.scd .scd__body {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 24px 24px;
	transition: opacity .18s ease;
}

.scd .scd-item {
	display: flex;
	gap: 22px;
	padding: 22px 0;
	border-top: 1px solid var(--scd-border);
}

.scd .scd__items > .scd-item:first-child {
	border-top: 0;
}

.scd .scd-item__media {
	flex: none;
	width: 88px;
	height: 88px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--scd-soft);
}

.scd .scd-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.scd .scd-item__main {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	padding-right: 32px;
}

.scd .scd-item__remove {
	position: absolute;
	top: -2px;
	right: 0;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	color: var(--scd-muted);
	transition: color .18s ease, background .18s ease;
}

.scd .scd-item__remove:hover {
	background: var(--scd-soft-alt);
	color: var(--scd-accent);
}

.scd .scd-item__remove-icon {
	width: 19px;
	height: 19px;
}

.scd .scd-item__cat {
	display: block;
	font-size: 13px;
	line-height: 1.2;
	color: var(--scd-muted);
}

.scd .scd-item__title {
	margin-top: 4px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--scd-ink);
	overflow-wrap: anywhere;
}

.scd .scd-item__title a {
	color: inherit;
}

.scd .scd-item__title a:hover {
	color: var(--scd-accent);
}

.scd .scd-item__meta {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--scd-muted);
}

.scd .scd-item__meta p {
	margin: 0;
}

.scd .scd-item__row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

.scd .scd-item__unit {
	font-size: 14px;
	color: var(--scd-muted);
	white-space: nowrap;
}

.scd .scd-item__total {
	margin-left: auto;
	font-size: 20px;
	font-weight: 600;
	color: var(--scd-ink);
	white-space: nowrap;
}

/* -------------------------------------------------------- quantity stepper */

.scd .scd-qty {
	display: inline-flex;
	align-items: center;
	flex: none;
	width: 124px;
	height: 38px;
	padding: 3px;
	border: 1px solid var(--scd-border);
	border-radius: 19px;
	background: #fff;
}

.scd .scd-qty__btn {
	display: grid;
	place-items: center;
	/* the number field is flexible; the buttons must not be squeezed by it */
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 11px;
	background: var(--scd-fill);
	color: var(--scd-ink);
	transition: background .16s ease, color .16s ease;
}

.scd .scd-qty__btn:hover {
	background: var(--scd-accent);
	color: #fff;
}

.scd .scd-qty__icon {
	width: 15px;
	height: 15px;
}

.scd .scd-qty input.scd-qty__input:not([type="button"]) {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--scd-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 30px;
	text-align: center;
	-moz-appearance: textfield;
}

.scd .scd-qty input.scd-qty__input::-webkit-outer-spin-button,
.scd .scd-qty input.scd-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ------------------------------------------------------------- order note */

.scd .scd-note {
	margin-top: 22px;
}

.scd .scd-note__toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 56px;
	padding: 0 16px;
	border: 1px solid var(--scd-border);
	border-radius: 12px;
	background: #fff;
	color: var(--scd-ink);
	font-size: 15px;
	text-align: left;
	transition: border-color .18s ease, background .18s ease;
}

.scd .scd-note__toggle:hover {
	border-color: var(--scd-accent);
	background: var(--scd-soft-alt);
}

.scd .scd-note__icon {
	width: 20px;
	height: 20px;
	color: var(--scd-accent);
}

.scd .scd-note__label {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--scd-muted);
}

.scd .scd-note__chevron {
	width: 16px;
	height: 16px;
	color: var(--scd-muted);
	transition: transform .2s ease;
}

.scd .scd-note.is-open .scd-note__chevron {
	transform: rotate(90deg);
}

.scd .scd-note__panel {
	display: none;
	position: relative;
	margin-top: 10px;
}

.scd .scd-note.is-open .scd-note__panel {
	display: block;
}

.scd .scd-note__field {
	width: 100%;
	min-height: 92px;
	padding: 14px 16px;
	border: 1px solid var(--scd-border);
	border-radius: 12px;
	background: #fff;
	color: var(--scd-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.5;
	resize: vertical;
	outline: 0;
}

.scd .scd-note__field:focus {
	border-color: var(--scd-accent);
}

.scd .scd-note__saved {
	position: absolute;
	right: 14px;
	bottom: 12px;
	font-size: 12px;
	color: var(--scd-accent);
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
}

.scd .scd-note.is-saved .scd-note__saved {
	opacity: 1;
}

/* ------------------------------------------------------------ empty state */

.scd .scd__empty {
	padding: 64px 8px;
	text-align: center;
}

.scd .scd__empty-icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 18px;
	color: var(--scd-border);
}

.scd .scd__empty-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--scd-ink);
}

.scd .scd__empty-text {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--scd-muted);
}

/* ----------------------------------------------------------------- footer */

.scd .scd__foot {
	flex: none;
	padding: 22px 24px 26px;
	border-top: 1px solid var(--scd-border);
	background: var(--scd-panel);
}

.scd .scd__totals {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.scd .scd__totals-label {
	font-size: 17px;
	font-weight: 600;
	color: var(--scd-ink);
}

.scd .scd__totals-value {
	font-size: 22px;
	font-weight: 700;
	color: var(--scd-ink);
	white-space: nowrap;
}

.scd .scd__hint {
	margin-top: 6px;
	font-size: 14px;
	color: var(--scd-muted);
}

.scd .scd-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	min-height: 54px;
	margin-top: 16px;
	padding: 0 20px;
	border-radius: 14px;
	font-size: 17px;
	font-weight: 600;
	transition: filter .18s ease, background .18s ease, border-color .18s ease;
}

.scd .scd-btn--primary {
	background: var(--scd-accent);
	color: #fff;
}

.scd .scd-btn--primary:hover {
	filter: brightness(1.12);
	color: #fff;
}

.scd .scd-btn--ghost {
	margin-top: 12px;
	border: 1px solid var(--scd-border);
	background: var(--scd-soft);
	color: var(--scd-ink);
}

.scd .scd-btn--ghost:hover {
	border-color: var(--scd-accent);
	background: var(--scd-soft-alt);
}

.scd .scd__foot.is-empty .scd-btn--ghost {
	margin-top: 0;
}

.scd .scd-btn__icon {
	width: 20px;
	height: 20px;
}

/* ======================================================= options modal ==== */

.scd-modal {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: grid;
	place-items: center;
	padding: 24px;
}

.scd-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(37, 35, 36, .48);
	opacity: 0;
	transition: opacity .24s ease;
}

.scd-modal.is-open .scd-modal__overlay {
	opacity: 1;
}

.scd-modal__box {
	position: relative;
	width: min(560px, 100%);
	max-height: min(86vh, 760px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 30px;
	border-radius: 20px;
	background: var(--scd-panel);
	box-shadow: 0 30px 80px rgba(37, 35, 36, .28);
	opacity: 0;
	transform: translateY(14px) scale(.98);
	transition: opacity .24s ease, transform .24s ease;
}

.scd-modal.is-open .scd-modal__box {
	opacity: 1;
	transform: none;
}

.scd-modal .scd-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--scd-soft);
	color: var(--scd-ink);
	transition: background .18s ease, color .18s ease;
}

.scd-modal .scd-modal__close:hover {
	background: var(--scd-accent);
	color: #fff;
}

.scd-modal .scd-modal__close-icon {
	width: 16px;
	height: 16px;
}

.scd-modal .scd-modal__content {
	min-height: 120px;
}

.scd-modal .scd-options__head {
	display: flex;
	gap: 18px;
	padding-right: 44px;
}

.scd-modal .scd-options__media {
	flex: none;
	width: 92px;
	height: 92px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--scd-soft);
}

.scd-modal .scd-options__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.scd-modal .scd-options__cat {
	display: block;
	font-size: 13px;
	color: var(--scd-muted);
}

.scd-modal .scd-options__title {
	margin-top: 4px;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--scd-ink);
}

.scd-modal .scd-options__price {
	display: block;
	margin-top: 6px;
	font-size: 18px;
	font-weight: 600;
	color: var(--scd-accent);
}

.scd-modal .scd-options__price del {
	opacity: .5;
	font-weight: 400;
	margin-right: 6px;
}

.scd-modal .scd-options__price ins {
	text-decoration: none;
	background: none;
}

.scd-modal .scd-options__form {
	margin-top: 24px;
}

/* WooCommerce's variation table, restyled to match the drawer. */
.scd-modal .variations {
	width: 100%;
	margin: 0 0 18px;
	border: 0;
	border-collapse: collapse;
}

.scd-modal .variations th,
.scd-modal .variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	text-align: left;
}

.scd-modal .variations tr + tr th {
	padding-top: 16px;
}

.scd-modal .variations .label label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--scd-ink);
}

.scd-modal .variations select {
	width: 100%;
	height: 48px;
	padding: 0 40px 0 16px;
	border: 1px solid var(--scd-border);
	border-radius: 12px;
	background: #fff;
	color: var(--scd-ink);
	font: inherit;
	font-size: 15px;
	line-height: 48px;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5 12 15.5 18 9.5' fill='none' stroke='%23252324' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}

.scd-modal .variations select:focus {
	border-color: var(--scd-accent);
}

.scd-modal .reset_variations {
	display: inline-block;
	margin-top: 10px;
	color: var(--scd-accent);
	font-size: 14px;
}

.scd-modal .woocommerce-variation-price {
	margin-bottom: 16px;
	font-size: 20px;
	font-weight: 600;
	color: var(--scd-ink);
}

.scd-modal .woocommerce-variation-availability p {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--scd-muted);
}

.scd-modal .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.scd-modal .quantity {
	display: inline-flex;
	align-items: center;
	flex: none;
	height: 54px;
	padding: 0 6px;
	border: 1px solid var(--scd-border);
	border-radius: 14px;
	background: #fff;
}

.scd-modal .quantity input.qty:not([type="button"]) {
	width: 62px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--scd-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	-moz-appearance: textfield;
}

.scd-modal .quantity input.qty::-webkit-outer-spin-button,
.scd-modal .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.scd-modal .single_add_to_cart_button {
	flex: 1 1 200px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 24px;
	border: 0;
	border-radius: 14px;
	background: var(--scd-accent);
	color: #fff;
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: filter .18s ease;
}

.scd-modal .single_add_to_cart_button:hover {
	filter: brightness(1.12);
	background: var(--scd-accent);
	color: #fff;
}

.scd-modal .single_add_to_cart_button.disabled,
.scd-modal .single_add_to_cart_button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.scd-modal .stock.out-of-stock {
	color: var(--scd-accent);
	font-size: 14px;
}

.scd-modal__loading {
	display: grid;
	place-items: center;
	min-height: 160px;
	color: var(--scd-muted);
	font-size: 15px;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 520px) {
	.scd__panel {
		width: 100vw;
	}

	.scd .scd__head {
		padding: 22px 18px 14px;
	}

	.scd .scd__title {
		font-size: 21px;
	}

	.scd .scd__body {
		padding: 0 18px 18px;
	}

	.scd .scd-item {
		gap: 14px;
	}

	.scd .scd-item__media {
		width: 72px;
		height: 72px;
	}

	.scd .scd-item__row {
		flex-wrap: wrap;
		gap: 10px;
	}

	.scd .scd__foot {
		padding: 18px 18px 22px;
	}

	.scd-modal {
		padding: 14px;
	}

	.scd-modal__box {
		padding: 22px 18px;
	}

	.scd-modal .scd-options__head {
		gap: 14px;
	}

	.scd-modal .scd-options__media {
		width: 74px;
		height: 74px;
	}
}

/* =============================================== options modal, redrawn ====

   The form inside the modal is ours now (see savocd_options_form), so the
   choices are pills rather than dropdowns and the wording is the shop's. The
   rules above that restyle WooCommerce's own table stay for anything that
   still falls back to it. */

.scd-modal .scd-options__title a {
	color: inherit;
	text-decoration: none;
}

.scd-modal .scd-options__title a:hover {
	color: var(--scd-accent);
}

.scd-modal .scd-options__media {
	display: block;
	overflow: hidden;
}

.scd-modal .scd-swatches {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0 0 22px;
}

.scd-modal .scd-swatch__label {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--scd-ink);
}

.scd-modal .scd-swatch__options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.scd-modal .scd-swatch__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 6px 20px;
	border: 1px solid var(--scd-border);
	border-radius: 12px;
	background: #fff;
	color: var(--scd-muted);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	text-align: center;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.scd-modal .scd-swatch__option:hover {
	border-color: var(--scd-accent);
}

.scd-modal .scd-swatch__option.is-active {
	border-color: var(--scd-accent);
	background: var(--scd-soft);
	color: var(--scd-ink);
}

.scd-modal .scd-swatch__option.is-disabled {
	opacity: .38;
	cursor: not-allowed;
}

/* The real control stays in the page for WooCommerce, out of sight for us. */
.scd-modal .scd-swatch__select,
.scd-modal .scd-options__form .single_variation {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.scd-modal .scd-options__buy {
	display: flex;
	align-items: stretch;
	gap: 12px;
}

.scd-modal .scd-options__qty {
	display: flex;
	align-items: center;
	flex: none;
	height: 56px;
	padding: 0 4px;
	border: 1px solid var(--scd-border);
	border-radius: 14px;
	background: #fff;
}

.scd-modal .scd-options__step {
	display: grid;
	place-items: center;
	width: 34px;
	height: 100%;
	background: none;
	color: var(--scd-ink);
	cursor: pointer;
}

.scd-modal .scd-options__step-icon {
	width: 14px;
	height: 14px;
}

.scd-modal .scd-options__qty-input {
	width: 40px;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--scd-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	-moz-appearance: textfield;
}

.scd-modal .scd-options__qty-input::-webkit-outer-spin-button,
.scd-modal .scd-options__qty-input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.scd-modal .scd-options__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	gap: 12px;
	min-width: 0;
	height: 56px;
	padding: 0 22px;
	border: 0;
	border-radius: 14px;
	background: var(--scd-accent);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: background .18s ease, opacity .18s ease;
}

.scd-modal .scd-options__submit:hover {
	background: var(--scd-ink);
	color: #fff;
}

.scd-modal .scd-options__submit[disabled] {
	opacity: .45;
	cursor: not-allowed;
}

.scd-modal .scd-options__submit-icon {
	flex: none;
	width: 18px;
	height: 18px;
}

.scd-modal .scd-options__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	color: var(--scd-accent);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.scd-modal .scd-options__more:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.scd-modal .scd-options__more-icon {
	width: 16px;
	height: 16px;
	transition: transform .18s ease;
}

.scd-modal .scd-options__more:hover .scd-options__more-icon {
	transform: translateX(3px);
}

@media (max-width: 480px) {
	.scd-modal .scd-options__buy {
		flex-wrap: wrap;
	}

	.scd-modal .scd-options__submit {
		flex: 1 1 100%;
	}
}

/* The child theme dresses every <input> — border, 10px/20px padding — and its
   rule outweighs a two-class selector. With a 42px box, 20px of side padding
   left no room at all and the quantity simply was not painted. */
.scd-modal .scd-options__qty input.scd-options__qty-input,
.scd-modal .scd-options__qty input[type="number"] {
	width: 46px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	line-height: normal;
}

/* ======================================== options modal: one quiet rhythm ===

   Everything in the box now steps in 20px, the header sits on the same left
   edge as the choices below it, and the card carries one padding all round. */

.scd-modal .scd-modal__box {
	/*
	 * The hidden <select> WooCommerce reads is stretched to 100% by the rule
	 * that styles real dropdowns in here, so at 560px it pushed the box's
	 * scroll width out and drew a horizontal scrollbar under the modal. The
	 * width is pinned below; this is the guard that keeps any future stray
	 * element from doing the same.
	 */
	overflow-x: hidden;
	padding: 26px;
	border-radius: 22px;
}

.scd-modal .variations select.scd-swatch__select,
.scd-modal select.scd-swatch__select {
	position: absolute;
	width: 1px;
	min-width: 0;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
}

/* --------------------------------------------------------------- header */

.scd-modal .scd-options__head {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-right: 40px;
}

.scd-modal .scd-options__media {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--scd-soft);
}

.scd-modal .scd-options__intro {
	min-width: 0;
}

.scd-modal .scd-options__cat {
	font-size: 12px;
	letter-spacing: .3px;
}

.scd-modal .scd-options__title {
	margin-top: 2px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
}

.scd-modal .scd-options__price {
	margin-top: 4px;
	font-size: 16px;
}

/* ------------------------------------------------------------ the choices */

.scd-modal .scd-options__form {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--scd-border);
}

.scd-modal .scd-swatches {
	gap: 16px;
	margin: 0 0 20px;
}

.scd-modal .scd-swatch__label {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--scd-muted);
}

.scd-modal .scd-swatch__options {
	gap: 8px;
}

.scd-modal .scd-swatch__option {
	min-height: 44px;
	padding: 6px 18px;
	border-radius: 11px;
	font-size: 14px;
}

/* ------------------------------------------------------- buy row + link */

.scd-modal .scd-options__buy {
	gap: 10px;
}

.scd-modal .scd-options__qty {
	height: 52px;
	border-radius: 12px;
}

.scd-modal .scd-options__submit {
	height: 52px;
	border-radius: 12px;
	font-size: 14px;
}

.scd-modal .scd-options__more {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--scd-border);
	width: 100%;
	justify-content: center;
	gap: 7px;
	font-size: 13px;
}

.scd-modal .scd-options__more-icon {
	width: 15px;
	height: 15px;
	transition: none;
}

.scd-modal .scd-options__more:hover .scd-options__more-icon {
	transform: none;
}

.scd-modal .scd-modal__close {
	top: 16px;
	right: 16px;
	width: 34px;
	height: 34px;
}

@media (max-width: 480px) {
	.scd-modal .scd-modal__box {
		padding: 20px;
	}

	.scd-modal .scd-options__head {
		padding-right: 34px;
	}
}

/* ------------------------------------------- "Προβολή" beside the main action

   Same height, same radius, same icon-and-label build as the add button — only
   the colour separates them, so the pair reads as one control group. It keeps
   its content width so the primary action always gets the room it needs. */

.scd-modal .scd-options__view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	gap: 9px;
	height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: var(--scd-soft-alt);
	color: var(--scd-accent);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	transition: background .18s ease, color .18s ease;
}

.scd-modal .scd-options__view:hover,
.scd-modal .scd-options__view:focus-visible {
	background: var(--scd-accent);
	color: #fff;
	text-decoration: none;
}

.scd-modal .scd-options__view-icon {
	flex: none;
	width: 16px;
	height: 16px;
}

/* The row that used to sit under a rule is now part of the buy row. */
.scd-modal .scd-options__buy {
	flex-wrap: wrap;
}

.scd-modal .scd-options__submit {
	/*
	 * Basis 0, not auto: with auto the label's own width is the starting size,
	 * and a long Greek label ate the whole line and pushed "Προβολή" onto a
	 * second row. The min-width keeps it from shrinking under its text.
	 */
	flex: 1 1 0;
	min-width: 190px;
	/* A min-height of 54px elsewhere outranked the height and left this button
	   2px taller than the two beside it. */
	height: 52px;
	min-height: 52px;
	border: 0;
	box-sizing: border-box;
}

@media (max-width: 520px) {
	/* Too narrow for three across: the quantity keeps its place beside the
	   main action, and "Προβολή" takes the full width under them — still the
	   same height and shape. */
	.scd-modal .scd-options__submit {
		min-width: 0;
	}

	.scd-modal .scd-options__view {
		flex: 1 1 100%;
	}
}
