/*
Theme Name: Conrad Ranch Estate
Theme URI: https://conradranchestates.com
Author: Conrad Ranch
Description: Luxury ranch resort theme featuring lodging, estate winery, coffee and bakery, ranch store, horse stables and adventures.
Version: 2.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: conrad-ranch
*/
:root{--gold:#d5a64b;--cream:#fff3da;--dark:#0a0909}*{box-sizing:border-box}body{margin:0;background:#100d0b;color:#f8edd8;font-family:Georgia,'Times New Roman',serif}a{color:inherit;text-decoration:none}a:hover{color:#f3c76c}img{max-width:100%;height:auto}.utility{background:#09090d;color:#f6e7cc;padding:9px max(20px,4vw);display:flex;justify-content:space-between;gap:12px;font-size:14px}.utility a{margin-right:16px}.brand-header{background:linear-gradient(120deg,#111525,#322337 55%,#592e28);text-align:center;padding:18px 15px 16px}.mountain{color:#f6d58d;font-size:30px;letter-spacing:9px;line-height:1}.brand{font-size:clamp(29px,4.3vw,60px);letter-spacing:3px;color:#f6c975;text-shadow:1px 2px 2px #000}.estate{color:#e7b65a;letter-spacing:12px;font-size:18px;margin-top:5px}.nav{background:#090909;display:flex;flex-wrap:wrap;justify-content:center;gap:0;padding:0 10px;border-bottom:1px solid #7d602f}.nav a{padding:15px 20px;font-size:14px;text-transform:uppercase}.nav a:hover{background:#292016}.hero{min-height:480px;background:linear-gradient(0deg,rgba(0,0,0,.45),rgba(0,0,0,.08) 60%),url('assets/resort-hero.jpg') center center/cover;display:flex;align-items:flex-start;justify-content:center;text-align:center}.hero-content{padding:32px 18px;text-shadow:0 3px 9px #000}.hero h1{font-size:clamp(36px,5vw,65px);font-weight:normal;font-style:italic;margin:0}.hero p{font-size:clamp(13px,1.7vw,21px);letter-spacing:2px;margin:10px}.categories{max-width:1500px;margin:-65px auto 0;position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;padding:0 24px}.tile{background:#080808;border:2px solid #bd8731;border-radius:11px;overflow:hidden;text-align:center;box-shadow:0 8px 22px #000b}.tile img{width:100%;height:155px;object-fit:cover;display:block}.tile span{display:block;padding:13px 6px;color:#fff1d4;font-size:15px;min-height:62px}.tile:hover{transform:translateY(-3px);transition:.2s}.intro{padding:38px 22px 50px;text-align:center;background:radial-gradient(ellipse at center,#30231b,#080808 70%)}.intro h2{font-style:italic;font-weight:normal;font-size:35px;color:#f2c36e;margin:0 0 14px}.intro p{max-width:850px;margin:0 auto 22px;font-size:17px;line-height:1.6}.btn{display:inline-block;border:1px solid #d5a64b;border-radius:5px;padding:13px 25px;background:#100d0b;color:#f6c975;text-transform:uppercase;letter-spacing:1px}.section{max-width:1120px;margin:auto;padding:60px 24px;min-height:350px}.section h1{font-size:42px;color:#f0c374}.section p{font-size:19px;line-height:1.65}.footer{background:#050505;border-top:1px solid #6f532c;text-align:center;padding:28px 15px;color:#c9b48b}.footer a{margin:0 10px}.wp-block-image img{border-radius:8px}@media(max-width:1000px){.categories{grid-template-columns:repeat(3,1fr)}.hero{min-height:410px}.nav a{padding:12px}}@media(max-width:560px){.categories{grid-template-columns:repeat(2,1fr);gap:8px;padding:0 10px;margin-top:-25px}.tile img{height:110px}.tile span{font-size:12px;min-height:55px}.utility{font-size:11px}.utility a{margin-right:5px}.nav a{font-size:12px;padding:10px}.hero{min-height:320px}.estate{letter-spacing:7px}.intro h2{font-size:27px}}

/* Eight-category layout with RV Park and Fruit & Berries */
@media(min-width:1001px){.categories{gap:9px;padding:0 20px}.tile img{height:145px}.tile span{font-size:14px}}

/* Updated eight-tile homepage and WooCommerce storefront */
@media(min-width:1001px){.categories{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;padding:0 16px}.tile img{height:126px}.tile span{font-size:13px;min-height:58px;padding:10px 4px}}
.intro .btn{margin:5px 6px}.custom-logo{max-width:420px;max-height:105px;width:auto;height:auto}
.woocommerce .products li.product,.woocommerce-page .products li.product{background:#17120f;border:1px solid #6d4d22;padding:14px;border-radius:8px;color:#f8edd8}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce div.product .product_title{color:#f6c975}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:#d5a64b;color:#16100a;border-radius:4px}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:#f4cc7e;color:#16100a}
.woocommerce .price,.woocommerce ul.products li.product .price{color:#f6c975}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{color:#181818;background:#fff}
.shop-page{max-width:1250px}.woocommerce table.shop_table{border-color:#9d773b}.woocommerce .woocommerce-breadcrumb{color:#dbc8a5}
@media(max-width:1000px){.categories{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:-35px}}
@media(max-width:560px){.categories{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-20px}.tile img{height:120px}}

/* V2.1: approved artwork, no duplicate hero text, compact masthead. */
.brand-header{padding:0;background:#10101a;text-align:center;line-height:0}.brand-art{display:block;width:min(585px,94vw);height:auto;margin:auto}.brand-header .custom-logo-link{display:inline-block;padding:8px}.brand-header .custom-logo{max-height:125px;max-width:90vw}.hero{display:block;min-height:0;background:none;position:relative}.hero-art{display:block;width:100%;height:auto}.categories{margin:0 auto;padding:10px 16px;max-width:1600px}.tile img{height:auto;aspect-ratio:1.45;object-fit:cover}.tile span{display:flex;align-items:center;justify-content:center;min-height:58px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.nav a{padding:12px 16px}.utility{flex-wrap:wrap}.utility a:focus-visible,.nav a:focus-visible,.tile:focus-visible,.btn:focus-visible{outline:2px solid #f6c975;outline-offset:2px}.woocommerce-error,.woocommerce-info,.woocommerce-message{color:#222}.woocommerce .select2-container{color:#222}.woocommerce-checkout input,.woocommerce-checkout textarea,.woocommerce-account input{color:#222;background:#fff}.woocommerce-checkout #payment{color:#222}.woocommerce-checkout #payment a{color:#704b14}.wc-block-components-text-input input{color:#222!important;background:#fff!important}.wc-block-components-text-input label{color:#555!important}
@media(max-width:560px){.brand-art{width:min(390px,96vw)}.categories{margin:0;padding:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.hero{min-height:0}.nav a{padding:9px 10px}.tile span{min-height:48px}.hero-art{min-height:0}}

/* V2.2: seamless full-width approved masthead. */
.brand-header{height:clamp(112px,10.48vw,180px);padding:0;overflow:hidden;background:#111525;line-height:0}.brand-header>a{display:block;width:100%;height:100%}.brand-header .brand-art{width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;margin:0}.brand-header.has-custom-brand{background:linear-gradient(120deg,#111525,#322337 55%,#592e28)}.brand-header .custom-logo-link{display:flex;align-items:center;justify-content:center;padding:8px}.brand-header .custom-logo{max-height:100%;max-width:90%;width:auto;height:auto;object-fit:contain}.nav a{padding:11px 15px}@media(max-width:700px){.brand-header{height:112px}.brand-header .brand-art{width:100%;height:100%;object-fit:cover}.nav a{padding:9px 10px}}

/* V2.4: clean photo-only tiles, independent wrapping labels. */
.categories .tile{display:flex;flex-direction:column;min-width:0;background:#080808}.categories .tile img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#080808;flex:none}.categories .tile span{display:flex;flex:1;align-items:center;justify-content:center;min-height:58px;height:auto;padding:10px 5px;white-space:normal;overflow-wrap:anywhere;line-height:1.3;text-align:center}.categories{align-items:stretch}
