/*
Theme Name: SilkYool Recovery
Theme URI: https://silkywool.com/
Description: Uncompiled WooCommerce theme reconstructed from the SilkYool public storefront archive.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: silkyool
*/

:root {
	--wine: #641d24;
	--wine-dark: #351015;
	--gold: #c49b54;
	--ink: #272320;
	--muted: #6d6660;
	--paper: #f8f6f2;
	--line: #e4dfd8;
	--green: #4e6450;
	--content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine); }
button, input, select, textarea { font: inherit; }
button, .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border: 1px solid var(--wine); border-radius: 2px; padding: 11px 20px; color: #fff; background: var(--wine); cursor: pointer; text-decoration: none; }
button:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: #fff; background: var(--wine-dark); }
.wrap { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.announcement { padding: 5px 16px; color: #fff; background: var(--wine-dark); text-align: center; font: 12px/1.5 Arial, sans-serif; }
.header-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand img { display: block; width: 66px; height: 66px; object-fit: contain; }
.brand-name { margin-left: 10px; color: var(--wine-dark); font-size: 23px; line-height: 1; }
.primary-nav ul, .footer-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.primary-nav a, .header-tools a { color: var(--ink); font: 13px/1.4 Arial, sans-serif; text-decoration: none; }
.primary-nav a:hover, .header-tools a:hover { color: var(--wine); }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 18px; white-space: nowrap; }
.header-search { display: flex; width: 200px; }
.header-search input { min-width: 0; width: 100%; border: 1px solid var(--line); border-right: 0; padding: 8px 10px; font: 13px Arial, sans-serif; }
.header-search button { padding: 7px 10px; font: 12px Arial, sans-serif; }
.mobile-menu { display: none; }
.hero { display: flex; align-items: center; min-height: 520px; padding: 72px 0; color: #fff; background-color: #382a22; background-image: url("assets/hero.png"); background-position: center 48%; background-size: cover; }
.hero-content { width: min(100% - 40px, var(--content)); margin-inline: auto; }
.hero-copy { max-width: 565px; text-shadow: 0 1px 12px rgba(0,0,0,.28); }
.eyebrow { margin: 0 0 14px; color: var(--gold); font: 12px/1.4 Arial, sans-serif; text-transform: uppercase; letter-spacing: 0; }
.hero h1 { max-width: 540px; margin: 0 0 16px; color: #fff; font-size: 50px; font-weight: 400; line-height: 1.08; }
.hero p { max-width: 510px; margin: 0 0 24px; font-size: 19px; line-height: 1.5; }
.hero .button { display: inline-block; border-color: var(--gold); color: var(--wine-dark); background: var(--gold); text-shadow: none; }
.hero .button:hover { color: #fff; background: var(--wine); }
.section { padding: 66px 0; }
.section-paper { background: var(--paper); }
.section-heading { margin: 0 0 8px; color: var(--wine-dark); font-size: 34px; font-weight: 400; line-height: 1.2; }
.section-intro { max-width: 700px; margin: 0 0 30px; color: var(--muted); }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.collection-card { min-width: 0; text-decoration: none; }
.collection-image { overflow: hidden; aspect-ratio: 4 / 3; background: #e9e4dc; }
.collection-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.collection-card:hover .collection-image img { transform: scale(1.025); }
.collection-title { display: block; margin-top: 10px; color: var(--ink); font-size: 18px; }
.collection-copy { display: block; margin-top: 2px; color: var(--muted); font: 13px/1.5 Arial, sans-serif; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.product-card { min-width: 0; }
.product-card a { text-decoration: none; }
.product-card-image { overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper); }
.product-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-card:hover .product-card-image img { transform: scale(1.025); }
.product-card h3 { margin: 11px 0 2px; color: var(--ink); font-size: 16px; font-weight: 400; line-height: 1.4; }
.product-card-price { color: var(--wine); font: 15px/1.5 Arial, sans-serif; }
.product-card .view-link { display: inline-block; margin-top: 8px; color: var(--muted); font: 12px/1.5 Arial, sans-serif; text-decoration: underline; }
.featured-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); align-items: center; gap: 48px; }
.featured-product-image { display: block; overflow: hidden; aspect-ratio: 1.25 / 1; background: var(--paper); }
.featured-product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured-product-copy h3 { margin: 0 0 12px; color: var(--wine-dark); font-size: 30px; font-weight: 400; line-height: 1.2; }
.featured-product-copy p { color: var(--muted); }
.featured-product-copy .price { margin: 16px 0 20px; color: var(--wine); font: 19px Arial, sans-serif; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.value-item { border-top: 2px solid var(--gold); padding-top: 14px; }
.value-item h3 { margin: 0 0 8px; color: var(--wine-dark); font-size: 20px; font-weight: 400; }
.value-item p { margin: 0; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.review { border-left: 2px solid var(--gold); padding: 2px 0 2px 18px; }
.review h3 { margin: 0 0 7px; color: var(--wine-dark); font-size: 17px; font-weight: 400; }
.review p { margin: 0; color: var(--muted); }
.story-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: center; gap: 44px; }
.story-band h2 { margin: 0 0 16px; color: var(--wine-dark); font-size: 34px; font-weight: 400; }
.story-band p { margin: 0; color: var(--muted); }
.story-mark { justify-self: center; width: min(100%, 240px); border-radius: 50%; }
.site-main { min-height: 52vh; padding: 38px 0 72px; }
.page-title, .woocommerce-products-header__title { margin: 0 0 22px; color: var(--wine-dark); font-size: 36px; font-weight: 400; line-height: 1.2; }
.page-content { max-width: 860px; }
.page-content h2, .page-content h3 { color: var(--wine-dark); font-weight: 400; }
.page-content p, .page-content li { color: #49443f; }
.silkyool-contact-form { max-width: 620px; margin-top: 28px; }
.silkyool-contact-form input:not([type="hidden"]), .silkyool-contact-form textarea { width: 100%; }
.silkyool-contact-form button { min-width: 110px; }
.policy-archive-notice { margin: 0 0 28px; border-left: 3px solid var(--gold); padding: 14px 16px; background: var(--paper); color: var(--ink); font: 14px/1.55 Arial, sans-serif; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 22px; color: var(--muted); font: 12px/1.5 Arial, sans-serif; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; margin: 26px 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; padding: 0; }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; margin: 0 0 10px; object-fit: cover; background: var(--paper); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; color: var(--ink); font: 16px/1.4 Georgia, "Times New Roman", serif; }
.woocommerce ul.products li.product .price { margin: 6px 0; color: var(--wine); font: 15px Arial, sans-serif; }
.woocommerce span.onsale { min-height: 0; border-radius: 0; padding: 5px 9px; color: #fff; background: var(--green); font: 11px Arial, sans-serif; }
.woocommerce div.product div.images img { background: var(--paper); }
.woocommerce div.product .product_title { color: var(--wine-dark); font-size: 31px; font-weight: 400; line-height: 1.2; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--wine); font: 22px Arial, sans-serif; }
.woocommerce div.product form.cart { margin-top: 22px; }
.woocommerce .quantity .qty { min-height: 42px; border: 1px solid var(--line); }
.woocommerce input, .woocommerce select, .woocommerce textarea { border: 1px solid #c9c1b8; padding: 9px 10px; }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 0; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--green); background: var(--paper); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--green); }
.checkout-disabled { max-width: 700px; margin: 56px auto; text-align: center; }
.checkout-disabled h1 { color: var(--wine-dark); font-size: 34px; font-weight: 400; }
.checkout-disabled p { color: var(--muted); }
.site-footer { padding: 46px 0 22px; color: #f6f2ec; background: var(--wine-dark); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: #fff; font-size: 23px; }
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; }
.footer-main h2 { margin: 0 0 12px; color: var(--gold); font: 12px Arial, sans-serif; text-transform: uppercase; }
.footer-main p { max-width: 360px; margin: 12px 0 0; color: #e5ddd4; font-size: 14px; }
.footer-main a { color: #f6f2ec; text-decoration: none; }
.footer-main a:hover { color: var(--gold); }
.footer-nav ul { display: grid; gap: 8px; align-items: start; }
.footer-nav a { font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 16px; color: #d4cbc2; font: 12px Arial, sans-serif; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

@media (max-width: 960px) {
	.header-main { grid-template-columns: auto 1fr auto; }
	.primary-nav { display: none; }
	.mobile-menu { display: block; position: relative; }
	.mobile-menu summary { cursor: pointer; color: var(--wine); font: 13px Arial, sans-serif; }
	.mobile-menu .primary-nav { display: block; position: absolute; z-index: 10; top: 28px; left: 0; min-width: 220px; border: 1px solid var(--line); padding: 14px; background: #fff; box-shadow: 0 8px 20px rgba(30,20,12,.1); }
	.mobile-menu .primary-nav ul { display: grid; gap: 12px; }
	.header-search { width: 155px; }
	.collection-grid, .woocommerce ul.products, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.wrap { width: min(calc(100% - 28px), var(--content)); }
	.header-main { grid-template-columns: auto 1fr; gap: 10px 16px; min-height: 76px; }
	.brand img { width: 48px; height: 48px; }
	.brand-name { margin-left: 7px; font-size: 20px; }
	.mobile-menu { grid-column: 1; grid-row: 2; margin: 0 0 12px 2px; }
	.header-tools { grid-column: 2; grid-row: 1 / span 2; flex-wrap: wrap; gap: 8px 13px; align-content: center; }
	.header-tools a { font-size: 12px; }
	.header-search { order: 3; width: 100%; }
	.hero { min-height: 460px; padding: 52px 0; background-position: 57% center; }
	.hero-content { width: min(calc(100% - 32px), var(--content)); }
	.hero-copy { max-width: 380px; }
	.hero h1 { font-size: 38px; }
	.hero p { font-size: 17px; }
	.section { padding: 48px 0; }
	.section-heading, .story-band h2 { font-size: 29px; }
	.collection-grid, .woocommerce ul.products, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.collection-title { font-size: 16px; }
	.collection-copy { font-size: 12px; }
	.featured-product, .story-band { grid-template-columns: 1fr; gap: 24px; }
	.featured-product-copy h3 { font-size: 25px; }
	.value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
	.review-grid { grid-template-columns: 1fr; gap: 22px; }
	.page-title, .woocommerce-products-header__title { font-size: 30px; }
	.woocommerce div.product .product_title { font-size: 27px; }
	.footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
	.footer-main > :first-child { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; gap: 7px; }
}
