/*
Theme Name: Velvet Vault
Description: An editable editorial theme for Velvet Vault's authors and books.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: velvet-vault
*/
:root{--ink:#0c0c0f;--silver:#e6e3e7;--muted:#b1aab3;--wine:#86283f;--line:#383039}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--silver);font:18px/1.7 Arial,sans-serif}a{color:inherit;text-underline-offset:5px}a:hover{color:#edb8c4}a:focus-visible,button:focus-visible{outline:3px solid #edb8c4;outline-offset:5px}h1,h2,h3,.wordmark{font-family:Georgia,serif;font-weight:400;line-height:1.12}h1{font-size:clamp(2.5rem,6vw,5.7rem);letter-spacing:-.04em}h2{font-size:clamp(2rem,4vw,3.7rem);letter-spacing:-.025em}h3{font-size:1.8rem}p{color:var(--muted)}img{max-width:100%;height:auto}.masthead{max-width:1400px;margin:auto;padding:22px 5%;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line)}.custom-logo{width:132px;max-height:115px;object-fit:contain}.brand a{font-family:Georgia,serif;text-decoration:none;font-size:1.6rem}.masthead ul{display:flex;list-style:none;gap:30px;flex-wrap:wrap;margin:0;padding:0}.masthead li a{text-decoration:none;font-size:14px;letter-spacing:.04em}.current-menu-item a{border-bottom:1px solid #edb8c4}.content{max-width:1240px;margin:auto;padding:55px 5% 90px}.home .content{padding-top:0}.hero{padding:95px 0 80px;position:relative;background:radial-gradient(ellipse at 85% 20%,#38202b80,transparent 65%)}.hero h1{max-width:880px;margin:20px 0 28px}.hero p:not(.eyebrow){max-width:580px}.eyebrow{text-transform:uppercase;font-size:13px;letter-spacing:.2em;color:#d4b1ba}.hero em{color:#d7afb9;font-weight:400}.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}.button,.wp-block-button__link{display:inline-block;background:var(--wine);border:1px solid var(--wine);border-radius:0;color:white;padding:13px 25px;text-decoration:none;font-size:15px}.is-style-outline .wp-block-button__link{background:transparent;border:1px solid #71636f}.section-rule{border-top:1px solid var(--line);padding-top:50px;margin-top:20px}.books-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;margin:35px 0 60px}.book-card{border-bottom:1px solid var(--line);padding-bottom:25px}.book-card a{text-decoration:none}.book-card img{width:100%;aspect-ratio:2/3;object-fit:contain;background:#151218}.book-type{min-height:170px;padding:30px;border:1px solid var(--line);background:#171218;display:flex;flex-direction:column;justify-content:space-between}.book-type span{font:2rem/1.15 Georgia,serif}.book-type small{font-size:14px;color:var(--muted)}.book-card h3{margin:22px 0 8px}.book-card p{margin:6px 0;font-size:15px}.book-card .eyebrow{font-size:12px}.authors-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin:35px 0}.author-card{border:1px solid var(--line);padding:35px;background:#131015}.author-card h3{margin-top:0}.author-card img{max-width:160px}.author-intro{display:flex;gap:35px;margin-bottom:50px}.book-detail{display:grid;grid-template-columns:1fr 1.3fr;gap:60px}.book-detail h1{font-size:clamp(2.5rem,5vw,4rem)}.book-detail img{width:100%}.footer{border-top:1px solid var(--line);padding:48px 5%;text-align:center}.footer .wordmark{font-size:2rem;text-decoration:none}.footer p{max-width:640px;margin:15px auto;font-size:15px}.footer small{color:var(--muted);font-size:13px}.skip{position:absolute;left:-9999px}.skip:focus{left:15px;top:15px;background:white;color:black;padding:12px;z-index:100}.wp-block-group{margin-bottom:45px}.wp-block-columns{display:flex;gap:40px}.wp-block-column{flex:1;min-width:0}blockquote{border-left:2px solid var(--wine);padding-left:25px;font:1.5rem/1.4 Georgia,serif}.page article>h1{margin-top:0}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:760px){.masthead{align-items:flex-start;gap:18px}.custom-logo{width:90px}.masthead ul{gap:12px 18px}.masthead nav{max-width:65%}.hero{padding:55px 0}.books-grid,.authors-grid,.book-detail{grid-template-columns:1fr}.wp-block-columns,.author-intro{flex-direction:column}.books-grid{gap:30px}.book-card img{max-height:450px}.content{padding:35px 6% 60px}.book-detail{gap:25px}}
/* Finished pages and WooCommerce */
.masthead{padding:16px 4%;gap:22px}.masthead ul{gap:20px}.custom-logo{width:115px;max-height:100px}.cart-link{font-size:14px;white-space:nowrap;text-decoration:none;border:1px solid var(--line);padding:8px 14px}.mobile-nav{display:none}.hero .wp-block-columns{align-items:center}.hero .wp-block-column:first-child{flex:1.2}.hero .wp-block-column:last-child{flex:.8}.hero .wp-block-image{margin:0}.hero img{width:100%;max-height:380px;object-fit:contain}.hero h1{font-size:clamp(3rem,6vw,5.5rem)}.hero .wp-block-buttons{display:inline-flex;margin-right:12px}.section-rule .wp-block-image img{width:100%;max-height:320px;object-fit:contain}.section-rule{padding-bottom:30px}.wp-block-columns{margin:35px 0}.author-card img{display:block;width:160px;height:160px;object-fit:contain;margin-bottom:24px}.paperback-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:38px;margin:35px 0 50px}.paperback-card{display:grid;grid-template-columns:42% 1fr;gap:24px;padding:28px;background:#161218;border:1px solid var(--line);align-items:center}.paperback-card img{width:100%;height:270px;object-fit:contain}.paperback-card h3{font-size:1.7rem}.paperback-card p{font-size:15px}.book-card img{max-height:430px}.footer{text-align:left}.footer-columns{max-width:1240px;margin:auto;display:grid;grid-template-columns:1.1fr 1.3fr 1fr;gap:50px;padding-bottom:40px}.footer h2{font-size:1.2rem;margin-top:0}.footer p{margin:12px 0}.footer ul{list-style:none;padding:0;margin:0;columns:2;font-size:14px}.footer li{margin-bottom:7px}.footer a{text-decoration:none}.contact-form{display:flex;flex-direction:column;gap:12px}.contact-form label{font-size:15px}.contact-form input,.contact-form textarea,.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{border:1px solid #625361;background:#18141c;color:var(--silver);border-radius:0;padding:13px;font:16px/1.4 Arial,sans-serif;max-width:100%}.contact-form button{align-self:flex-start;margin-top:15px;cursor:pointer}.contact-trap{position:absolute;left:-9999px}.form-notice{border-left:3px solid #d7afb9;padding:15px;background:#221821}.woocommerce ul.products li.product .woocommerce-loop-product__title{font:1.6rem/1.2 Georgia,serif}.woocommerce ul.products li.product img{height:350px;object-fit:contain}.woocommerce div.product div.images img{max-height:650px;object-fit:contain}.woocommerce span.onsale{background:var(--wine)}.woocommerce div.product p.price,.woocommerce ul.products li.product .price,.price{color:#ecc6cf;font-size:1.3rem}.woocommerce a.button,.woocommerce button.button,.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button{background:var(--wine);color:white;border:1px solid var(--wine);border-radius:0;padding:14px 24px;font-weight:400}.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:#a93a56;color:white}.woocommerce table.shop_table{border-color:var(--line);background:#151118}.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--line)}.woocommerce-info,.woocommerce-message,.woocommerce-error{background:#211922;color:var(--silver);border-color:#b9617a}.woocommerce-error a,.woocommerce-info a,.woocommerce-message a{color:#e6bbc7}.woocommerce form.checkout h3{font-size:1.5rem}.woocommerce form .form-row label{color:var(--silver)}.woocommerce-checkout #payment{background:#1d1720;color:var(--silver)}.woocommerce-checkout #payment div.payment_box{background:#302633;color:var(--silver)}.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#302633}.woocommerce .quantity .qty{padding:10px;background:#18141c;color:white;border:1px solid var(--line)}.select2-container--default .select2-selection--single{background:#18141c;border-color:#625361;border-radius:0;height:44px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--silver);line-height:42px}.select2-dropdown{background:#18141c;border-color:#625361}.select2-container--default .select2-results__option[data-selected=true]{background:#403144}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:48%}.woocommerce div.product{margin-top:20px}.woocommerce form .form-row .required{color:#edb8c4}.woocommerce .product_meta{font-size:14px;color:var(--muted)}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#211922;border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#302633;color:white}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--silver)}.woocommerce .woocommerce-breadcrumb{color:var(--muted)}.woocommerce .woocommerce-breadcrumb a{color:var(--silver)}
@media(max-width:1000px){.masthead ul{gap:12px}.masthead li a{font-size:13px}.custom-logo{width:90px}.paperback-card{grid-template-columns:1fr}.paperback-card img{height:290px}}
@media(max-width:760px){.desktop-nav{display:none}.mobile-nav{display:block;margin-left:auto;position:relative;font-size:15px}.mobile-nav summary{cursor:pointer;padding:10px}.mobile-nav nav{position:absolute;right:0;top:50px;min-width:220px;background:#171218;border:1px solid var(--line);z-index:20;padding:20px}.mobile-nav ul{display:block}.mobile-nav li{margin-bottom:12px}.masthead{align-items:center}.masthead nav{max-width:none}.hero .wp-block-column:last-child{display:none}.paperback-grid{grid-template-columns:1fr}.paperback-card{grid-template-columns:40% 1fr;padding:18px;gap:18px}.paperback-card img{height:230px}.paperback-card .button{padding:10px 15px}.footer-columns{grid-template-columns:1fr;gap:25px}.book-card img{height:400px}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%}.woocommerce ul.products li.product{width:100%!important;float:none!important}.woocommerce ul.products li.product img{height:400px}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}}
