/* ---------- Shop: filters ---------- */
.ry-shop { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.ry-shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ry-shop__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ry-shop .ry-shop__tab {
	appearance: none;
	margin: 0 !important;
	padding: 10px 18px !important;
	border: 1px solid #d9d4c7 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #12352b !important;
	font: 500 14px/1 "DM Sans", sans-serif !important;
	cursor: pointer;
	transition: all 0.25s ease;
}
.ry-shop .ry-shop__tab:hover { border-color: #12352b !important; }
.ry-shop .ry-shop__tab.is-active { background: #12352b !important; border-color: #12352b !important; color: #ffffff !important; }
.ry-shop__count { margin: 0 !important; color: #6b7a73; font-size: 13px; }
.ry-shop__empty { margin: 0; padding: 40px 0; color: #5b6b64; text-align: center; }

/* ---------- Shop: grid + cards ---------- */
.ry-shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1024px) { .ry-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ry-shop__grid { grid-template-columns: 1fr; } }

.ry-prod {
	display: flex;
	flex-direction: column;
	padding: 8px;
	border-radius: 22px;
	background: #ffffff;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.ry-prod:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -32px rgba(18, 53, 43, 0.45); }

.ry-prod__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	overflow: hidden;
	background: #f7f5f0;
}
.ry-prod__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ry-prod__img--alt { opacity: 0; }
.ry-prod:hover .ry-prod__img { transform: scale(1.05); }
.ry-prod:hover .ry-prod__img--alt { opacity: 1; }
.ry-prod__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #c5ee3a;
	color: #12352b;
	font: 700 12px/1 "DM Sans", sans-serif;
	letter-spacing: 0.04em;
}
.ry-prod__view {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.94);
	color: #12352b;
	font: 600 13px/1 "DM Sans", sans-serif;
	text-align: center;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.35s ease;
}
.ry-prod:hover .ry-prod__view { opacity: 1; transform: none; }

.ry-prod__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 10px 8px; }
.ry-prod__cat {
	margin: 0 !important;
	color: #8a958f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ry-prod__name { margin: 0 !important; font: 500 18px/1.35 "DM Sans", sans-serif !important; }
.ry-prod__name a { color: #12352b !important; text-decoration: none !important; }
.ry-prod__name a:hover { color: #1d4a3c !important; text-decoration: underline !important; text-underline-offset: 3px; }
.ry-prod__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }

.ry-prod__price, .ry-live-price { font-family: "DM Sans", sans-serif; color: #12352b; }
.ry-prod__price { font-size: 18px; font-weight: 600; }
.ry-prod__price del, .ry-live-price del { color: #8a958f; font-weight: 400; font-size: 0.7em; margin-right: 6px; }
.ry-prod__price ins, .ry-live-price ins { text-decoration: none; }
.ry-prod__price .screen-reader-text, .ry-live-price .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}
.ry-prod__price .woocommerce-Price-currencySymbol,
.ry-live-price .woocommerce-Price-currencySymbol { margin-left: 3px; font-size: 0.7em; font-weight: 500; }

.ry-prod .ry-prod__add {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin: 0 !important;
	padding: 12px 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #12352b !important;
	color: #ffffff !important;
	font: 600 13px/1 "DM Sans", sans-serif !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.ry-prod .ry-prod__add:hover { background: #c5ee3a !important; color: #12352b !important; }
.ry-prod .ry-prod__add.is-disabled { background: #e6e2d8 !important; color: #6b7a73 !important; cursor: default; }
.ry-prod__add-done { display: none; }
.ry-prod__add.is-added { background: #c5ee3a !important; color: #12352b !important; }
.ry-prod__add.is-added .ry-prod__add-label { display: none; }
.ry-prod__add.is-added .ry-prod__add-done { display: inline; }
.ry-prod__add.is-loading, a.is-loading { opacity: 0.6; pointer-events: none; }

/* Promo card that rounds out a short row */
.ry-prod--promo {
	justify-content: space-between;
	gap: 24px;
	padding: 30px 28px;
	background: radial-gradient(circle at 90% 10%, rgba(197, 238, 58, 0.16) 0%, rgba(197, 238, 58, 0) 50%), #1d4a3c;
	color: #ffffff;
}
.ry-prod--promo h3 { margin: 0 0 10px !important; color: #ffffff !important; font: 500 24px/1.25 "DM Sans", sans-serif !important; }
.ry-prod--promo p { margin: 0 !important; color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.6; }
.ry-prod--promo .ry-prod__promo-tag {
	align-self: flex-start;
	padding: 6px 12px;
	border-radius: 999px;
	background: #c5ee3a;
	color: #12352b;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.ry-prod__promo-link {
	align-self: flex-start;
	padding: 12px 20px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	color: #ffffff !important;
	font: 600 13px/1 "DM Sans", sans-serif;
	text-decoration: none !important;
	transition: all 0.25s ease;
}
.ry-prod__promo-link:hover { background: #ffffff; color: #12352b !important; }

/* Loading placeholders */
.ry-prod--skeleton .ry-prod__media,
.ry-prod--skeleton .ry-prod__body span {
	background: linear-gradient(90deg, #efebe2 0%, #f7f5f0 50%, #efebe2 100%);
	background-size: 200% 100%;
	animation: ry-shimmer 1.4s linear infinite;
}
.ry-prod--skeleton .ry-prod__body span { display: block; height: 14px; border-radius: 7px; }
.ry-prod--skeleton .ry-prod__body span + span { width: 60%; height: 20px; }
@keyframes ry-shimmer { to { background-position: -200% 0; } }

/* ---------- Collection cards ---------- */
.ry-card-soon { cursor: default; }

/* ---------- Floating cart + toast ---------- */
.ry-cart-pill {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px 12px 18px;
	border-radius: 999px;
	background: #12352b;
	color: #ffffff !important;
	font: 600 14px/1 "DM Sans", sans-serif;
	text-decoration: none !important;
	box-shadow: 0 18px 40px -16px rgba(18, 53, 43, 0.6);
	transition: transform 0.3s ease, background-color 0.3s ease;
}
.ry-cart-pill:hover { transform: translateY(-3px); background: #1d4a3c; }
.ry-cart-pill svg { width: 20px; height: 20px; fill: none; stroke: #c5ee3a; stroke-width: 1.8; stroke-linejoin: round; }
.ry-cart-pill__count {
	min-width: 26px;
	height: 26px;
	padding: 0 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font-size: 13px;
	line-height: 26px;
	text-align: center;
}
.ry-cart-pill.has-items .ry-cart-pill__count { background: #c5ee3a; color: #12352b; }
.ry-cart-pill.is-bumped { animation: ry-bump 0.5s ease; }
@keyframes ry-bump { 30% { transform: scale(1.12); } 60% { transform: scale(0.96); } }

.ry-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	z-index: 9991;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100% - 32px);
	padding: 14px 18px;
	border-radius: 16px;
	background: #ffffff;
	color: #12352b;
	font: 400 14px/1.4 "DM Sans", sans-serif;
	box-shadow: 0 24px 60px -20px rgba(18, 53, 43, 0.45);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 16px);
	transition: all 0.35s ease;
}
.ry-toast.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.ry-toast.is-error { background: #fff4f2; color: #8a2a1a; }
.ry-toast__tick {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #c5ee3a;
	color: #12352b;
	font-weight: 700;
	line-height: 26px;
	text-align: center;
}
.ry-toast a { flex-shrink: 0; color: #12352b !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }

@media (max-width: 640px) {
	.ry-cart-pill { right: 14px; bottom: 14px; }
	.ry-toast { bottom: 84px; }
	.ry-prod__view { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ry-prod, .ry-prod__img, .ry-prod__view, .ry-cart-pill, .ry-toast { transition: none !important; }
	.ry-prod--skeleton .ry-prod__media, .ry-prod--skeleton .ry-prod__body span, .ry-cart-pill.is-bumped { animation: none !important; }
}
