/*
Theme Name: VALLEYSSS Studio
Description: هوية VALLEYSSS مع تحرير الموقع الكامل — أقسام وصور وهيدر وفوتر قابلة للتحرير بالمكوّنات.
Version: 1.3.0
Requires at least: 6.6
Requires PHP: 7.4
Author: VALLEYSSS
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valleysss-studio
Tags: full-site-editing, block-patterns, e-commerce, rtl-language-support, custom-colors, custom-logo, editor-style
*/
html{scroll-behavior:smooth}body{margin:0}*{box-sizing:border-box}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--wp--preset--color--gold);outline-offset:4px}.wp-site-blocks{padding-top:0;padding-bottom:0}.vs-header{padding:22px 0;min-height:88px;border-bottom:1px solid #b99a6833}.vs-header-actions{gap:18px}.vs-section{padding-top:clamp(44px,7vw,100px);padding-bottom:clamp(44px,7vw,100px)}.vs-page{padding-top:64px;padding-bottom:96px;min-height:55vh}.vs-hero .wp-block-heading{margin-top:1rem;margin-bottom:1.5rem}.vs-hero .wp-block-buttons{margin-top:2rem}.vs-category img{aspect-ratio:2/3;object-fit:cover;width:100%;transition:filter .25s}.vs-category a:hover{color:var(--wp--preset--color--gold)}.vs-category h3{text-align:center}footer.wp-block-template-part{background:var(--wp--preset--color--surface);border-top:1px solid #b99a6833;margin-top:0}.wp-block-image img{height:auto}.wp-block-navigation__responsive-container.is-menu-open{background:var(--wp--preset--color--background)!important;color:var(--wp--preset--color--text)!important;padding:32px}.wp-block-woocommerce-product-collection .wp-block-post-title{font-size:1.25rem}.woocommerce input,.woocommerce select,.woocommerce textarea,.vs-form input,.vs-form textarea,.vs-form select{background:var(--wp--preset--color--surface);border:1px solid #b99a6866;border-radius:0;color:var(--wp--preset--color--text);padding:12px;font:inherit;width:100%}.vs-form label{display:block;margin-bottom:16px}.vs-form button{background:var(--wp--preset--color--gold);color:var(--wp--preset--color--background);font:inherit;padding:14px 26px;border:0;cursor:pointer}.vs-form{max-width:700px;margin-inline:auto}.vs-form .vs-trap{position:absolute;width:1px;height:1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.vs-feedback{border:1px solid #b99a6866;padding:16px}.woocommerce table.shop_table{border-color:#b99a6855}.woocommerce a.button,.woocommerce button.button{background:var(--wp--preset--color--gold);color:var(--wp--preset--color--background);border-radius:0}.woocommerce div.product{color:inherit}.woocommerce-info,.woocommerce-message{background:var(--wp--preset--color--surface);color:var(--wp--preset--color--text)}@media(max-width:782px){.vs-header{gap:16px}.vs-header>.wp-block-site-title{font-size:1.1rem}.vs-hero{min-height:620px!important}.vs-header-actions{gap:10px}.wp-block-columns .wp-block-column{min-width:0}.vs-category img{max-height:480px}.vs-section .wp-block-columns{gap:32px}.wp-block-cover .wp-block-heading{overflow-wrap:normal}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* Shared editorial rhythm and equal image frames. Inline editor choices stay editable. */
body{font-family:var(--wp--preset--font-family--body);font-size:16px;line-height:1.85}
:where(h1,h2,h3,h4,h5,h6){font-family:var(--wp--preset--font-family--body);font-weight:500}
.wp-site-blocks>main{margin-block-start:0}
.vs-header{padding:20px clamp(20px,4vw,60px);gap:24px;min-height:88px}
.vs-header p{margin:0}.vs-header nav{gap:24px}
.vs-section{padding-block:64px}.vs-section+.vs-section{border-top:1px solid #b99a681a}
.vs-section>h2{font-size:30px;line-height:1.6;margin-block:8px 32px}
.vs-section>p:first-child{margin-bottom:8px;font-size:13px}
.vs-section .wp-block-columns{gap:24px;margin-block-end:0;align-items:stretch}
.vs-section h3{font-size:19px;line-height:1.7;font-weight:500}
.vs-section p{line-height:1.9}.vs-section .wp-block-column>p{color:var(--wp--preset--color--muted)}
.vs-hero{padding:70px 24px}.vs-hero h1{font-size:clamp(32px,4vw,50px);line-height:1.6;max-width:850px;margin-inline:auto}
.vs-hero p{max-width:550px;margin-inline:auto}.vs-hero .wp-block-buttons{gap:12px}
.vs-category figure{margin:0;overflow:hidden}.vs-category img{display:block;aspect-ratio:3/4;object-fit:cover;width:100%;height:auto}
.vs-category h3{font-size:19px;margin-block:18px 0}.vs-category h3 a{color:var(--wp--preset--color--text)}
.vs-story .wp-block-columns{align-items:center;gap:64px}.vs-story .wp-block-image img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}.vs-story h2{font-size:30px;line-height:1.65}.vs-story .wp-block-buttons{justify-content:flex-start}
.wp-block-woocommerce-product-collection .wc-block-product-template{gap:24px}
.wp-block-woocommerce-product-collection .wc-block-product{display:flex;flex-direction:column;min-width:0}
.wp-block-woocommerce-product-collection .wc-block-components-product-image{aspect-ratio:3/4;overflow:hidden;background:#1c1915;width:100%}
.wp-block-woocommerce-product-collection .wc-block-components-product-image img{width:100%;height:100%;aspect-ratio:3/4;object-fit:contain;display:block}
.wp-block-woocommerce-product-collection .wp-block-post-title{font-size:17px;line-height:1.8;min-height:3.6em;margin-block:16px 8px}
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button{margin-top:auto;padding-top:12px}
.wp-block-button__link,.wc-block-components-button{font-family:inherit;font-size:14px;font-weight:500;line-height:1.6}
footer .vs-section{padding-block:48px 24px}footer h3{font-size:17px}footer p{font-size:14px}
.vs-page h1{font-size:36px}.vs-page h2{font-size:28px}.vs-page h3{font-size:21px}
@media(max-width:782px){.vs-header{padding:16px 20px;gap:12px}.vs-section{padding-block:40px}.vs-section>h2,.vs-story h2{font-size:25px}.vs-hero{min-height:520px!important}.vs-hero h1{font-size:32px}.vs-hero p{font-size:14px}.vs-section .wp-block-columns{gap:28px}.vs-category img{max-height:none}.vs-story .wp-block-columns{gap:28px}.vs-page h1{font-size:30px}}

.wp-block-woocommerce-product-collection ul.wc-block-product-template.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.wp-block-woocommerce-product-collection li.wc-block-product .wp-block-post-title{font-size:17px;line-height:1.8}
@media(max-width:900px){.wp-block-woocommerce-product-collection ul.wc-block-product-template.columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.vs-section:has(.vs-category)>.wp-block-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.vs-category h3{font-size:15px}.wp-block-woocommerce-product-collection ul.wc-block-product-template.columns-4{gap:24px 14px}.wp-block-woocommerce-product-collection li.wc-block-product .wp-block-post-title{font-size:15px}}

.vs-contact .entry-content>div{padding:16px 0!important}
.vs-contact .entry-content div[style*="background: #"]{background:var(--wp--preset--color--surface)!important;border:1px solid #b99a6838;border-radius:0!important;color:var(--wp--preset--color--text)}
.vs-contact .entry-content span[style*="color: #6b6b6b"]{color:var(--wp--preset--color--text)!important}
.vs-contact .entry-content p:empty{display:none}.vs-contact .entry-content p{margin-block:8px}
.vs-contact .vs-form label{color:var(--wp--preset--color--text);font-size:15px}.vs-contact .vs-form input,.vs-contact .vs-form textarea{margin-top:8px;background:#11100e}
.vs-contact .entry-content div[style*="font-size: .72rem"]{font-size:13px!important;color:#d4ba8c!important}
@media(max-width:782px){.vs-contact .entry-content div[style*="grid-template-columns"]{grid-template-columns:1fr!important;gap:28px!important}.vs-contact .entry-content div[style*="padding: 40px"]{padding:24px!important}.vs-contact .entry-content h1{font-size:30px!important}}
@media(prefers-reduced-motion:no-preference){
.vs-category img,.wc-block-components-product-image img{transition:transform .65s cubic-bezier(.2,.65,.3,1)}
.vs-category:hover img,.wc-block-components-product-image:hover img{transform:scale(1.035)}
.wp-block-button__link,.vs-form button,.wc-block-components-button{transition:transform .25s,box-shadow .25s,filter .25s}
.wp-block-button__link:hover,.vs-form button:hover,.wc-block-components-button:hover{transform:translateY(-3px);box-shadow:0 8px 24px #0004;filter:brightness(1.12)}
.vs-header a{transition:color .25s}.vs-header a:hover{color:#d4ba8c}
.vs-hero .wp-block-cover__inner-container{animation:vs-arrive .85s ease-out both}
.vs-reveal{animation:vs-arrive .7s cubic-bezier(.2,.65,.3,1) both}
@keyframes vs-arrive{from{opacity:.25;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
}

/* WooCommerce fields use an explicit paired foreground and background. */
.wc-block-components-form .wc-block-components-text-input input,.wc-block-components-text-input input,.wc-block-components-textarea,.wc-blocks-components-select .wc-blocks-components-select__container,.wc-blocks-components-select .wc-blocks-components-select__select{background:#1c1915!important;color:#f7f3ec!important;border-color:#85704e!important}
.wc-block-components-form .wc-block-components-text-input label,.wc-block-components-text-input label,.wc-blocks-components-select .wc-blocks-components-select__label{color:#d8cfc2!important}
.wc-block-components-text-input input::placeholder,.wc-block-components-textarea::placeholder{color:#c3b9aa!important}
.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-block-components-combobox .components-form-token-field__suggestions-list{background:#1c1915;color:#f7f3ec}
.wc-block-components-radio-control__option,.wc-block-components-order-summary,.wc-block-components-totals-wrapper{color:#f7f3ec}
.wc-block-components-checkbox label,.wc-block-components-checkout-step__description{color:#e4dcd0}
.wc-block-components-notice-banner{color:#29221a!important}.wc-block-components-notice-banner a{color:#493419;text-decoration:underline}
.wc-block-components-quantity-selector input{color:inherit;background:transparent}
.woocommerce input[type=checkbox],.woocommerce input[type=radio]{width:auto}
.vs-page table{width:100%;border-collapse:collapse}.vs-page th,.vs-page td{padding:12px;border-bottom:1px solid #b99a6838}.vs-page th{background:#1c1915;color:#f7f3ec}

/* Image motion stays inside its frame. */
.vs-category figure,.vs-story figure,.wc-block-components-product-image{overflow:hidden}
@media(prefers-reduced-motion:no-preference){
.vs-category img,.vs-story img,.wc-block-components-product-image img{transition:transform .8s cubic-bezier(.2,.65,.3,1),filter .8s}
.vs-category:hover img,.vs-story figure:hover img,.wc-block-components-product-image:hover img{transform:scale(1.10);filter:brightness(1.08)}
.vs-image-enter{animation:vs-image-entry 1.25s cubic-bezier(.16,1,.3,1) both}
.vs-hero .wp-block-cover__image-background{animation:vs-hero-drift 12s ease-in-out infinite alternate;transform-origin:center}
@keyframes vs-image-entry{from{transform:scale(1.16) translateY(18px);filter:brightness(.7)}to{transform:scale(1) translateY(0);filter:brightness(1)}}
@keyframes vs-hero-drift{from{transform:scale(1)}to{transform:scale(1.09)}}
}

.vs-buying-help{margin-top:32px;border-top:1px solid #b99a6844;padding-top:20px;font-size:14px}.vs-buying-help .vs-help-title{font-size:15px;color:#f7f3ec;margin-bottom:12px}.vs-buying-help a{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #b99a6824;color:#d8cfc2}.vs-buying-help a:hover{color:#d4ba8c}
.vs-shop-categories{display:flex;flex-wrap:wrap;gap:10px;margin-block:20px 32px;clear:both}.vs-shop-categories a{padding:10px 18px;border:1px solid #b99a6855;font-size:14px}.vs-shop-categories a:hover{background:#b99a68;color:#11100e}
.vs-discover{background:#1c1915}.vs-discover h2{font-size:28px}.vs-discover .wp-block-search{max-width:600px;margin:24px auto}.wp-block-search__input{background:#11100e;color:#f7f3ec;border:1px solid #85704e;padding:14px;font:inherit;min-width:0}.wp-block-search__button{background:#b99a68;color:#11100e;border:0;padding:12px 24px;font:inherit}
.vs-discover .wp-block-buttons{gap:12px}.vs-discover .wp-block-button__link{font-size:14px;padding:12px 20px}
