/*
Theme Name: Recychedelics
Theme URI: https://recychedelics.com/
Description: Child theme for Astra. Dark circus / graffiti couture storefront for one-of-a-kind upcycled garments.
Author: Recychedelics
Template: astra
Version: 0.1.0
Text Domain: recychedelics
License: Proprietary, all rights reserved
*/

:root {
	--rc-stage: #090a0c;
	--rc-chalk: #eee9df;
	--rc-teal: #55cbbd;
	--rc-rose: #ee82ad;
	--rc-gold: #c9ac74;
	--rc-violet: #8a9ad9;
	--rc-muted: #aaa9a5;
	--rc-line: #36383b;
	--rc-sans: Arial, Helvetica, sans-serif;
	--rc-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	--rc-gutter: 4%;
}

/* Re-map Astra's global palette so every Astra/WooCommerce rule that uses it follows the brand. */
html body.rc-site {
	--ast-global-color-0: #55cbbd;
	--ast-global-color-1: #3fa99c;
	--ast-global-color-2: #eee9df;
	--ast-global-color-3: #dbd7cf;
	--ast-global-color-4: #101314;
	--ast-global-color-5: #090a0c;
	--ast-global-color-6: #36383b;
	--ast-global-color-7: #4a4d50;
	--ast-global-color-8: #aaa9a5;
}

/* ---------- Base ---------- */
body.rc-site,
body.rc-site #page,
body.rc-site .site-content {
	background: var(--rc-stage);
	color: var(--rc-chalk);
}
body.rc-site {
	font-family: var(--rc-sans);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
body.rc-site a { color: inherit; text-decoration: none; }
body.rc-site a:hover,
body.rc-site a:focus-visible { color: var(--rc-teal); }
body.rc-site :focus-visible { outline: 2px solid var(--rc-teal); outline-offset: 3px; }
.rc-shell { max-width: 1520px; margin-inline: auto; }
.screen-reader-text:focus { background: var(--rc-chalk); color: var(--rc-stage); }

/* ---------- Header ---------- */
.rc-header {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 112px;
	padding: 0 var(--rc-gutter);
	border-bottom: 1px solid #222428;
}
.rc-logo-link { display: block; width: 218px; flex: none; }
.rc-logo { display: block; width: 100%; height: 102px; object-fit: contain; mix-blend-mode: screen; }
.rc-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; font-size: 15px; }
.rc-nav ul { display: contents; list-style: none; margin: 0; padding: 0; }
.rc-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.rc-bag { gap: 8px; }
.rc-bag svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- Buttons ---------- */
.rc-button,
body.rc-site a.rc-button,
body.rc-site .woocommerce a.button,
body.rc-site .woocommerce button.button,
body.rc-site .woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 49px;
	padding: 12px 25px;
	background: var(--rc-chalk);
	color: #181a1c;
	border: 1px solid var(--rc-chalk);
	border-radius: 0;
	font-family: var(--rc-sans);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.rc-button:hover,
body.rc-site a.rc-button:hover,
body.rc-site .woocommerce a.button:hover,
body.rc-site .woocommerce button.button:hover { background: var(--rc-teal); border-color: var(--rc-teal); color: #0b1514; }
.rc-text-link { display: inline-block; padding: 7px 0; border-bottom: 1px solid #5b5a56; font-size: 14px; }

/* ---------- Announcement bar ---------- */
.rc-announce {
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 30;
	background: var(--rc-stage, #090a0c);
	border-bottom: 1px solid #26272c;
	font-size: 12px;
	letter-spacing: .05em;
	color: #cfcabf;
}
.rc-announce p { margin: 0; }
.rc-announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }

/* Front page: the chrome floats over the full-bleed hero, McQueen-style. */
body.rc-front .rc-header {
	position: absolute;
	top: 42px;
	left: 0;
	right: 0;
	z-index: 20;
	background: transparent;
	border-bottom: 0;
}

/* ---------- Hero ---------- */
.rc-hero {
	padding: 0;
}
.rc-hero__figure {
	position: relative; height: calc(100vh - 42px); height: calc(100svh - 42px); min-height: 520px; margin: 0; overflow: hidden;
}
.rc-hero__figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 74% 45%; }
.rc-corner { position: absolute; top: 12px; left: 12px; width: 75px; height: 75px; pointer-events: none; }
.rc-corner svg { width: 100%; height: 100%; }
.rc-corner--bottom { top: auto; left: auto; right: 12px; bottom: 12px; transform: rotate(180deg); }
.rc-concept-tag {
	position: absolute; bottom: 14px; left: 14px; padding: 4px 8px;
	background: #090a0ccc; color: #f5f0e7; font-size: 10px; letter-spacing: .02em;
}

/* ---------- Pieces ---------- */
.rc-pieces { padding: 54px var(--rc-gutter) 64px; scroll-margin-top: 20px; }
.rc-section-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.rc-section-title { margin: 0; font-family: var(--rc-display); font-size: clamp(38px, 4.3vw, 61px); font-weight: 400; line-height: 1.05; color: var(--rc-chalk); }
.rc-section-note { margin: 10px 0 0; font-size: 12px; color: var(--rc-muted); }
.rc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.rc-piece { display: block; }
.rc-piece__image { position: relative; aspect-ratio: 1 / 1; max-height: 540px; overflow: hidden; border: 1px solid #2f3233; background: #101314; }
.rc-piece__image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.rc-piece__image img.is-portrait { object-fit: contain; object-position: center; }
.rc-piece__sold { position: absolute; top: 12px; left: 12px; padding: 4px 10px; background: var(--rc-chalk); color: var(--rc-stage); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rc-piece__row { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 18px; }
.rc-piece__price { white-space: nowrap; font-size: 16px; }
.rc-piece__meta { margin: 6px 0 0; font-size: 12px; color: var(--rc-muted); }
.rc-piece:hover .rc-piece__name { color: var(--rc-teal); }
.rc-empty { grid-column: 1 / -1; padding: 40px 0; color: var(--rc-muted); }

/* ---------- Story ---------- */
.rc-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; margin: 0 var(--rc-gutter) 52px; padding: 38px 0 0; border-top: 1px solid var(--rc-line); }
.rc-story h2 { margin: 0; font-family: var(--rc-display); font-size: 42px; font-weight: 400; line-height: 1.05; }
.rc-story p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: #bfbab2; }

/* ---------- Footer ---------- */
.rc-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 24px var(--rc-gutter) 60px; border-top: 1px solid var(--rc-line); color: var(--rc-muted); font-size: 12px; }
.rc-footer .rc-logo { width: 170px; height: 68px; }
.rc-footer p { max-width: 320px; margin: 0; }
.rc-footer-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.rc-footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- WooCommerce pages (shop, product, cart, checkout) ---------- */
body.rc-site .woocommerce,
body.rc-site .woocommerce-page { color: var(--rc-chalk); }
body.rc-site .woocommerce div.product .product_title,
body.rc-site .woocommerce .page-title,
body.rc-site .entry-title { font-family: var(--rc-display); font-weight: 400; color: var(--rc-chalk); }
body.rc-site .woocommerce div.product p.price,
body.rc-site .woocommerce ul.products li.product .price { color: var(--rc-gold); }
body.rc-site .woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--rc-chalk); }
body.rc-site .woocommerce-message,
body.rc-site .woocommerce-info { background: #101314; color: var(--rc-chalk); border-top-color: var(--rc-teal); }
body.rc-site input,
body.rc-site select,
body.rc-site textarea { background: #101314; color: var(--rc-chalk); border: 1px solid #3a3d40; border-radius: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1050px) {
	.rc-nav { gap: 25px; }
}

/* ---------- Phone ---------- */
@media (max-width: 740px) {
	:root { --rc-gutter: 5%; }
	.rc-header { height: 88px; gap: 12px; }
	.rc-logo-link { width: 136px; }
	.rc-logo { height: 75px; }
	.rc-nav { gap: 14px; font-size: 12px; }
	.rc-nav .rc-nav__help { display: none; }
	.rc-announce { font-size: 10px; letter-spacing: .03em; padding: 0 3%; }
	.rc-announce a { margin-left: 4px; }
	.rc-announce__tag { display: none; }
	.rc-hero__figure { height: calc(100vh - 42px); height: calc(100svh - 42px); min-height: 480px; }
	.rc-corner { width: 55px; height: 55px; top: 9px; left: 9px; }
	.rc-corner--bottom { right: 9px; bottom: 9px; top: auto; left: auto; }
	.rc-concept-tag { font-size: 9px; left: 12px; bottom: 13px; }
	.rc-pieces { padding: 36px var(--rc-gutter) 45px; }
	.rc-section-head { display: block; margin-bottom: 21px; }
	.rc-section-title { font-size: 38px; max-width: 300px; }
	.rc-section-head .rc-text-link { margin-top: 13px; font-size: 12px; }
	.rc-grid { gap: 16px; }
	.rc-piece__image { aspect-ratio: 3 / 4; }
	.rc-piece__row { flex-direction: column; gap: 4px; font-size: 14px; }
	.rc-piece__price { font-size: 13px; }
	.rc-piece__meta { font-size: 11px; line-height: 1.6; }
	.rc-story { grid-template-columns: 1fr; gap: 20px; margin-bottom: 35px; padding-top: 30px; }
	.rc-story h2 { font-size: 36px; max-width: 300px; }
	.rc-footer { flex-direction: column; align-items: flex-start; gap: 15px; padding-bottom: 50px; }
}
@media (max-width: 370px) {
	.rc-logo-link { width: 110px; }
	.rc-nav { font-size: 11px; gap: 10px; }
	.rc-hero__title { font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Astra container reset on the home page ---------- */
body.rc-site.home .site-content .ast-container { display: block; max-width: none; padding: 0; }
body.rc-site.home #primary { display: none; }

/* Astra's scroll-to-top button, matched to the brand */
body.rc-site #ast-scroll-top { background: var(--rc-stage); color: var(--rc-chalk); border: 1px solid var(--rc-teal); border-radius: 0; }
body.rc-site #ast-scroll-top:hover { background: var(--rc-teal); color: var(--rc-stage); }

/* ---------- Interior pages: wide container, readable text, brand buttons ---------- */
body.rc-site:not(.home) .site-content .ast-container { max-width: 1520px; padding-inline: var(--rc-gutter); display: block; }
body.rc-site:not(.home) #primary { width: 100%; margin: 0; padding: 32px 0 64px; }
body.rc-site .woocommerce-breadcrumb,
body.rc-site .woocommerce-breadcrumb a,
body.rc-site .woocommerce-result-count,
body.rc-site .woocommerce-ordering select,
body.rc-site .product_meta,
body.rc-site .product_meta a,
body.rc-site .woocommerce-tabs .tabs li a,
body.rc-site .woocommerce-Reviews-title,
body.rc-site .comment-reply-title,
body.rc-site .stock,
body.rc-site label { color: var(--rc-chalk); }
body.rc-site .woocommerce-breadcrumb { color: var(--rc-muted); font-size: 13px; }
body.rc-site .woocommerce .page-title,
body.rc-site .woocommerce div.product .product_title,
body.rc-site h1.entry-title { font-size: clamp(38px, 4.3vw, 61px); line-height: 1.05; }
body.rc-site .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.rc-site .woocommerce ul.products li.product h2 { color: var(--rc-chalk); font-size: 18px; }
body.rc-site .woocommerce ul.products li.product .price,
body.rc-site .woocommerce div.product p.price,
body.rc-site .woocommerce div.product span.price { color: var(--rc-gold); font-size: 18px; }
body.rc-site .ast-woo-product-category { display: none !important; }
body.rc-site .product_meta .posted_in { display: none; }
body.rc-site .woocommerce ul.products li.product a img { border: 1px solid #2f3233; }
body.rc-site .woocommerce div.product div.images img { border: 1px solid #2f3233; }
body.rc-site .woocommerce div.product .woocommerce-product-details__short-description { color: #dbd7cf; }

/* Buttons: override Astra's global-color buttons */
body.rc-site .woocommerce a.button,
body.rc-site .woocommerce button.button,
body.rc-site .woocommerce input.button,
body.rc-site .woocommerce #respond input#submit,
body.rc-site .woocommerce a.button.alt,
body.rc-site .woocommerce button.button.alt,
body.rc-site .woocommerce .single_add_to_cart_button,
body.rc-site .wc-block-components-button,
body.rc-site .button {
	background: var(--rc-chalk);
	color: #181a1c;
	border: 1px solid var(--rc-chalk);
	border-radius: 0;
	font-weight: 600;
}
body.rc-site .woocommerce a.button:hover,
body.rc-site .woocommerce button.button:hover,
body.rc-site .woocommerce input.button:hover,
body.rc-site .woocommerce a.button.alt:hover,
body.rc-site .woocommerce button.button.alt:hover,
body.rc-site .woocommerce .single_add_to_cart_button:hover,
body.rc-site .button:hover { background: var(--rc-teal); border-color: var(--rc-teal); color: #0b1514; }
body.rc-site .woocommerce-tabs .tabs li.active a { color: var(--rc-teal); }
body.rc-site .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.rc-site .woocommerce div.product .woocommerce-tabs ul.tabs li { border-color: var(--rc-line); background: transparent; }
body.rc-site .woocommerce .quantity .qty { min-height: 49px; }

/* ---------- Real photographs: tall portrait shots ---------- */
.rc-hero__figure--photos { display: grid; grid-template-columns: repeat(var(--rc-n, 3), 1fr); gap: 2px; background: #090a0c; }
.rc-hero__figure--photos > img { position: static; width: 100%; height: 100%; min-width: 0; object-fit: cover; object-position: 50% 74%; }
.rc-piece__image { aspect-ratio: 3 / 4; max-height: none; }
.rc-piece__image img { object-position: 50% 72%; }
@media (min-width: 1051px) { .rc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 740px) { .rc-hero__figure--photos { aspect-ratio: 4 / 5; } .rc-hero__figure--photos > img { position: static; } }

/* ---------- Lookbook (real modeled photographs) ---------- */
.rc-looks { padding: 20px var(--rc-gutter) 64px; scroll-margin-top: 20px; }
.rc-looks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.rc-look { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid #2f3233; background: #101314; }
.rc-look img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.rc-look figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; background: linear-gradient(transparent, rgba(9, 10, 12, .88)); font-size: 12px; line-height: 1.35; color: #eee9df; }
.rc-hero__figure--photos img { object-position: 50% 28%; }
@media (max-width: 1050px) { .rc-looks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rc-look__ai { display: block; margin-top: 2px; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: #55cbbd; }


.rc-hero__figure--wide img { object-position: 66% 50%; }
@media (max-width: 740px) { .rc-hero__figure--wide img { object-position: 50% 32%; } }
