/* GretaGrove side cart (slide-out basket) and WooCommerce notices. Loaded after site.css; selectors are specific so the bundled copy of site.css cannot override them. */
.gg-sc .gg-sc__overlay { background: rgba(0, 0, 0, 0); }
.gg-sc.is-open .gg-sc__overlay { background: rgba(14, 14, 14, 0.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.gg-sc .gg-sc__panel { width: 440px; max-width: 100%; padding: 0; background: #fff; color: #0E0E0E; box-shadow: -12px 0 40px rgba(0, 0, 0, 0.14); }
.gg-sc .gg-sc__panel .gg-sc__close { position: absolute; top: 16px; right: 18px; z-index: 5; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; border: 0; border-radius: 50%; background: transparent; color: #0E0E0E; transition: background-color 0.2s; }
.gg-sc .gg-sc__panel .gg-sc__close::before, .gg-sc .gg-sc__panel .gg-sc__close::after { content: none; }
.gg-sc .gg-sc__panel .gg-sc__close:hover, .gg-sc .gg-sc__panel .gg-sc__close:focus { background: #f4f1ec; }
.gg-sc .gg-sc__panel .gg-sc__close svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.gg-sc .gg-sc__panel .gg-sc__body { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }

/* Heading */
.gg-sc .gg-scx-head { flex: 0 0 auto; padding: 22px 70px 20px 24px; border-bottom: 1px solid #e8e5df; }
.gg-sc .gg-scx-title { margin: 0; padding: 0; font-family: "Gentium Plus", serif; font-size: 26px; font-weight: 400; line-height: 34px; letter-spacing: -0.6px; color: #0E0E0E; text-transform: none; }

/* Free shipping progress */
.gg-sc .gg-scx-ship { flex: 0 0 auto; padding: 18px 24px 6px; }
.gg-sc .gg-scx-ship__text { margin: 0 0 10px; font-size: 14px; line-height: 20px; color: #0E0E0E; }
.gg-sc .gg-scx-ship__bar { height: 4px; border-radius: 4px; background: #e8e5df; overflow: hidden; }
.gg-sc .gg-scx-ship__fill { display: block; height: 100%; border-radius: 4px; background: #0E0E0E; transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1); }

/* Items */
.gg-sc .gg-scx-items { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px 24px; }
.gg-sc .gg-scx-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid #e8e5df; }
.gg-sc .gg-scx-item:last-child { border-bottom: 0; }
.gg-sc .gg-scx-thumb { display: block; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: #f4f1ec; }
.gg-sc .gg-scx-thumb img { display: block; width: 96px; height: 96px; max-width: none; object-fit: cover; }
.gg-sc .gg-scx-info { min-width: 0; }
.gg-sc .gg-scx-name { display: block; font-family: "Gentium Plus", serif; font-size: 18px; line-height: 24px; letter-spacing: -0.16px; color: #0E0E0E; }
.gg-sc a.gg-scx-name:hover { opacity: 0.7; }
.gg-sc .gg-scx-info dl.variation { margin: 6px 0 0; font-size: 13px; line-height: 19px; color: #5b5a57; }
.gg-sc .gg-scx-info dl.variation dt, .gg-sc .gg-scx-info dl.variation dd, .gg-sc .gg-scx-info dl.variation p { display: inline; margin: 0; padding: 0; }
.gg-sc .gg-scx-info dl.variation dt { font-weight: 600; color: #0E0E0E; }
.gg-sc .gg-scx-info dl.variation dd::after { content: ""; display: block; }
.gg-sc .gg-scx-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.gg-sc .gg-scx-stepper { display: inline-flex; align-items: center; height: 40px; border: 1px solid #0E0E0E; border-radius: 8px; overflow: hidden; }
.gg-sc .gg-scx-step { display: flex; align-items: center; justify-content: center; width: 36px; height: 100%; color: #0E0E0E; }
.gg-sc .gg-scx-step svg { width: 16px; height: 16px; }
.gg-sc .gg-scx-step:hover, .gg-sc .gg-scx-step:focus { background: #f4f1ec; }
.gg-sc .gg-scx-step[disabled] { opacity: 0.3; pointer-events: none; }
.gg-sc .gg-scx-qty { min-width: 28px; text-align: center; font-size: 15px; line-height: 20px; font-weight: 500; }
.gg-sc .gg-scx-remove { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; color: #6b6a67; transition: color 0.2s, background-color 0.2s; }
.gg-sc .gg-scx-remove svg { width: 20px; height: 20px; }
.gg-sc .gg-scx-remove:hover, .gg-sc .gg-scx-remove:focus { background: #fdf0ee; color: #c0392b; }
.gg-sc .gg-scx-remove.is-loading, .gg-sc .gg-scx-step.is-loading { opacity: 0.4; pointer-events: none; }
.gg-sc .gg-scx-price { font-size: 16px; line-height: 24px; font-weight: 500; color: #0E0E0E; white-space: nowrap; }

/* Footer */
.gg-sc .gg-scx-foot { flex: 0 0 auto; padding: 18px 24px 24px; border-top: 1px solid #e8e5df; background: #fff; }
.gg-sc .gg-scx-note-toggle { display: inline-block; font-size: 15px; line-height: 22px; color: #0E0E0E; text-decoration: underline; text-underline-offset: 3px; }
.gg-sc .gg-scx-note { margin-top: 12px; }
.gg-sc .gg-scx-note[hidden] { display: none; }
.gg-sc .gg-scx-note textarea { display: block; width: 100%; min-height: 84px; margin: 0; padding: 12px 14px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; font-family: Geist, sans-serif; font-size: 14px; line-height: 20px; color: #0E0E0E; resize: vertical; box-shadow: none; outline: none; }
.gg-sc .gg-scx-note textarea:focus { border-color: #0E0E0E; }
.gg-sc .gg-scx-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; }
.gg-sc .gg-scx-sub__label { font-size: 16px; line-height: 24px; color: #0E0E0E; }
.gg-sc .gg-scx-sub__amount { font-family: "Gentium Plus", serif; font-size: 26px; line-height: 32px; letter-spacing: -0.4px; color: #0E0E0E; }
.gg-sc .gg-scx-tax { margin: 4px 0 16px; font-size: 12px; line-height: 18px; text-align: right; color: #6b6a67; }
.gg-sc .gg-scx-btn { display: block; width: 100%; padding: 16px 32px; border: 1px solid #0E0E0E; border-radius: 8px; font-size: 16px; line-height: 16px; text-align: center; transition: 0.3s; }
.gg-sc .gg-scx-btn--primary { background: #0E0E0E; color: #fff; }
.gg-sc .gg-scx-btn--primary:hover, .gg-sc .gg-scx-btn--primary:focus { opacity: 0.85; color: #fff; }
.gg-sc .gg-scx-btn--ghost { margin-top: 10px; background: #fff; color: #0E0E0E; }
.gg-sc .gg-scx-btn--ghost:hover, .gg-sc .gg-scx-btn--ghost:focus { background: #f4f1ec; color: #0E0E0E; }
.gg-sc .gg-scx-btn.is-disabled { background: #b9b7b3; border-color: #b9b7b3; color: #fff; pointer-events: none; cursor: default; }

/* Empty state */
.gg-sc .gg-scx-empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.gg-sc .gg-scx-empty svg { width: 40px; height: 38px; margin-bottom: 14px; color: #0E0E0E; }
.gg-sc .gg-scx-empty__title { margin: 0 0 22px; font-family: "Gentium Plus", serif; font-size: 26px; line-height: 34px; letter-spacing: -0.6px; color: #0E0E0E; }
.gg-sc .gg-scx-empty .gg-scx-btn { width: auto; min-width: 220px; }
.gg-sc .gg-scx-login { width: 100%; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid #e8e5df; font-size: 15px; line-height: 22px; color: #0E0E0E; }
.gg-sc .gg-scx-login a { color: #0E0E0E; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 480px) {
	.gg-sc .gg-sc__panel { width: 100%; }
	.gg-sc .gg-scx-head { padding: 18px 64px 16px 18px; }
	.gg-sc .gg-sc__panel .gg-sc__close { top: 12px; right: 12px; }
	.gg-sc .gg-scx-ship { padding: 14px 18px 4px; }
	.gg-sc .gg-scx-items { padding: 4px 18px; }
	.gg-sc .gg-scx-item { grid-template-columns: 80px minmax(0, 1fr) auto; column-gap: 12px; }
	.gg-sc .gg-scx-thumb, .gg-sc .gg-scx-thumb img { width: 80px; height: 80px; }
	.gg-sc .gg-scx-foot { padding: 16px 18px 20px; }
}

/* ======================================================================
 * WooCommerce notices (added to basket, errors, info) on every page.
 * Card with a coloured edge and icon, text on the left, action button on the right.
 * Sits inside the site container (same width as the header content), centred.
 * Background is the header cream (#FBF9F5) for every type; the edge and icon carry the colour.
 * ==================================================================== */
body .woocommerce-message, body .woocommerce-info, body .woocommerce-error {
	--gg-n: #2f7d3b; --gg-n-bg: #FBF9F5;
	position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px;
	width: calc(100% - 32px) !important; max-width: 1368px !important; margin: 16px auto !important; padding: 16px 20px 16px 64px !important; box-sizing: border-box;
	background: var(--gg-n-bg) !important; color: #0E0E0E !important;
	border: 1px solid #e3e0da !important; border-left: 4px solid var(--gg-n) !important; border-top-width: 1px !important; border-radius: 10px !important;
	box-shadow: 0 4px 16px rgba(14, 14, 14, 0.06); list-style: none !important;
	font-family: Geist, sans-serif; font-size: 15px; font-weight: 400; line-height: 22px; letter-spacing: -0.16px;
	animation: ggNoticeIn 0.35s cubic-bezier(0.25, 1, 0.5, 1) both;
}
body .woocommerce-info { --gg-n: #1f5fbf; }
body .woocommerce-error { --gg-n: #c0392b; flex-direction: column; align-items: flex-start; gap: 6px; }
@keyframes ggNoticeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body .woocommerce-message::after, body .woocommerce-info::after, body .woocommerce-error::after { content: none !important; display: none !important; }
body .woocommerce-message::before, body .woocommerce-info::before, body .woocommerce-error::before {
	content: "" !important; position: absolute; top: 50%; left: 20px; right: auto; width: 28px; height: 28px; margin: 0; transform: translateY(-50%);
	font-family: inherit; border-radius: 50%; background-color: var(--gg-n); background-repeat: no-repeat; background-position: center; background-size: 16px 16px; display: block;
}
body .woocommerce-message::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
body .woocommerce-info::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6'/%3E%3Cpath d='M12 7h.01'/%3E%3C/svg%3E"); }
body .woocommerce-error::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6.5v7'/%3E%3Cpath d='M12 17.5h.01'/%3E%3C/svg%3E"); top: 22px; transform: none; }
body .woocommerce-error li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
body .woocommerce-message a:not(.button), body .woocommerce-info a:not(.button), body .woocommerce-error a:not(.button) { color: #0E0E0E; text-decoration: underline; text-underline-offset: 3px; }
body .woocommerce-message .button, body .woocommerce-info .button, body .woocommerce-error .button {
	order: 2; float: none !important; margin: 0 0 0 auto !important; padding: 11px 22px !important;
	background: #0E0E0E !important; color: #fff !important; border: 0 !important; border-radius: 8px !important;
	font-family: Geist, sans-serif; font-size: 14px !important; font-weight: 400 !important; line-height: 18px !important; text-decoration: none !important; white-space: nowrap; transition: opacity 0.3s;
}
body .woocommerce-message .button:hover, body .woocommerce-info .button:hover, body .woocommerce-error .button:hover { opacity: 0.85; color: #fff !important; background: #0E0E0E !important; }

/* The strip around the notice is the header cream too. The notice's top margin can collapse out of the page wrapper and show the white page behind it (the white line under the header), so any page showing a notice gets the cream behind it. Pages keep their own section backgrounds on top. */
body .woocommerce-notices-wrapper, body .woocommerce-NoticeGroup { background: #FBF9F5; }
body:has(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner) { background-color: #FBF9F5; }

/* Cart and checkout pages already sit in their own container: fill it. */
body .gg-co .woocommerce-message, body .gg-co .woocommerce-info, body .gg-co .woocommerce-error, body .gg-cart .woocommerce-message, body .gg-cart .woocommerce-info, body .gg-cart .woocommerce-error { width: auto !important; max-width: none !important; margin: 0 0 16px !important; }

/* Block based notices (cart / checkout blocks). */
body .wc-block-components-notice-banner { border-radius: 10px !important; border: 1px solid #e3e0da !important; border-left-width: 4px !important; background: #FBF9F5 !important; color: #0E0E0E !important; font-family: Geist, sans-serif; font-size: 15px; box-shadow: 0 4px 16px rgba(14, 14, 14, 0.06); }
body .wc-block-components-notice-banner.is-success { border-left-color: #2f7d3b !important; }
body .wc-block-components-notice-banner.is-error { border-left-color: #c0392b !important; }
body .wc-block-components-notice-banner.is-info { border-left-color: #1f5fbf !important; }

@media (max-width: 600px) {
	body .woocommerce-message, body .woocommerce-info, body .woocommerce-error { width: calc(100% - 24px) !important; margin: 12px auto !important; padding: 14px 16px 14px 56px !important; font-size: 14px; line-height: 21px; }
	body .gg-co .woocommerce-message, body .gg-co .woocommerce-info, body .gg-co .woocommerce-error, body .gg-cart .woocommerce-message, body .gg-cart .woocommerce-info, body .gg-cart .woocommerce-error { width: auto !important; margin: 0 0 12px !important; }
	body .woocommerce-message::before, body .woocommerce-info::before { left: 16px; }
	body .woocommerce-error::before { left: 16px; top: 18px; }
	body .woocommerce-message .button, body .woocommerce-info .button, body .woocommerce-error .button { width: 100%; margin: 4px 0 0 !important; text-align: center; }
}
