/* =========================================================================
   Sheri Negri Design: bindings between the React design (main.css) and
   WordPress / WooCommerce / Contact Form 7 markup, plus new components
   (carousels, size dropdown, hover video, filters, account, notices).
   ========================================================================= */

body.app { min-height: 100vh; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.product-meta h3 a { color: inherit; }
a.art-image { display: block; }
.sn-drawer-inner { display: contents; }
.icon-button { color: inherit; }
.bag-button { position: relative; }

/* ---------- Hover video on product cards ---------- */
.product-image .sn-hover-video {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; pointer-events: none; transform: scale(1.02);
  transition: opacity 0.6s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-image.is-playing .sn-hover-video { opacity: 1; transform: none; }
.product-image .view-label { z-index: 2; }
.mini-swatches span { cursor: pointer; transition: transform 0.25s; }
.mini-swatches span:hover { transform: scale(1.25); }

/* ---------- Accordion icons ---------- */
.accordion .sn-acc-minus, .accordion.open .sn-acc-plus { display: none; }
.accordion.open .sn-acc-minus { display: block; }
.accordion i { display: block; }
.accordion > div p + p { margin-top: 10px; }

/* ---------- Lightbox navigation ---------- */
.lightbox img { animation: crossfade 0.45s both; }
.lightbox .sn-lb-nav { top: 50%; right: auto; left: 25px; transform: translateY(-50%); padding: 10px; }
.lightbox .sn-lb-next { left: auto; right: 25px; }
.lightbox .sn-lb-nav svg { width: 30px; }

/* ---------- Size dropdown (client request) ---------- */
.sn-select { position: relative; }
.sn-select-toggle {
  width: 100%; display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 15px;
  padding: 15px 18px; border: 1px solid var(--line); background: transparent; font-size: 14px; cursor: pointer; text-align: left;
  transition: border-color 0.3s;
}
.sn-select-toggle:hover, .sn-select.open .sn-select-toggle { border-color: var(--ink); }
.sn-select-toggle svg { width: 16px; transition: transform 0.3s; }
.sn-select.open .sn-select-toggle svg { transform: rotate(180deg); }
.sn-select-price { color: #777168; font-size: 14px; }
.sn-select-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 1px);
  background: var(--paper); border: 1px solid var(--ink); max-height: 340px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: 0.25s;
}
.sn-select.open .sn-select-list { opacity: 1; visibility: visible; transform: none; }
.sn-select-list button {
  width: 100%; display: flex; justify-content: space-between; padding: 13px 18px; font-size: 14px; cursor: pointer;
  border-bottom: 1px solid var(--line); text-align: left;
}
.sn-select-list li:last-child button { border-bottom: 0; }
.sn-select-list button span:last-child { color: #777168; font-size: 14px; }
.sn-select-list button:hover, .sn-select-list button.active { background: var(--ink); color: white; }
.sn-select-list button:hover span:last-child, .sn-select-list button.active span:last-child { color: #d8d1c5; }
.add-button:disabled { opacity: 0.45; cursor: not-allowed; }
.add-button:disabled:hover { background: var(--ink); color: white; }
.product-description p + p { margin-top: 12px; }
.product-detail .swatches button { transition: outline-color 0.25s, transform 0.25s; }
.product-detail .swatches button:hover { transform: scale(1.06); }

/* ---------- Shop filters ---------- */
.filters > div { align-items: center; }
.filters a.sn-filter-link { font-size: 12px; letter-spacing: 0.14em; color: #777168; text-transform: uppercase; }
.filters a.sn-filter-link.active { color: var(--ink); border-bottom: 1px solid; }
.sn-dropdown > button { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; }
.sn-dropdown > button svg { width: 12px; transition: transform 0.25s; }
.sn-dropdown.open > button svg { transform: rotate(180deg); }
.sn-dropdown { position: relative; }
.sn-dropdown-panel {
  position: absolute; z-index: 60; left: -20px; top: calc(100% + 18px); min-width: 240px; max-height: 60vh; overflow-y: auto; padding: 10px 0;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20, 18, 15, 0.12);
  display: none; animation: snDrop 0.25s both;
}
@keyframes snDrop { from { opacity: 0; transform: translateY(-6px); } }
.filters .sn-dropdown-panel { display: none; }
.filters .sn-dropdown.open .sn-dropdown-panel { display: block; }
.sn-dropdown-panel a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-size: 14px; letter-spacing: 0.04em; color: #5f5a52; white-space: nowrap; }
.sn-dropdown-panel a:hover, .sn-dropdown-panel a.current { background: var(--ivory); color: var(--ink); }
.sn-dropdown-panel i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.16); flex: none; }
.sn-empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; }
.sn-empty a { border-bottom: 1px solid; }
.navigation.pagination { padding: 0 5vw 120px; text-align: center; font-size: 14px; letter-spacing: 0.1em; }
.navigation.pagination .nav-links { display: flex; justify-content: center; gap: 18px; }
.navigation.pagination .current { border-bottom: 1px solid; }

/* ---------- Carousels (colourways on Home, related on product) ---------- */
.sn-colorways { padding: 90px 0 105px 5vw; background: var(--paper); overflow: hidden; }
.sn-colorways .section-heading { padding-right: 5vw; align-items: end; }
.sn-carousel-nav { display: flex; gap: 10px; }
.sn-carousel-nav button {
  width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer; transition: 0.3s;
}
.sn-carousel-nav button:hover { background: var(--ink); color: white; border-color: var(--ink); }
.sn-carousel-nav svg { width: 18px; }
.sn-carousel { position: relative; }
.sn-carousel-track {
  display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
  grid-auto-columns: clamp(250px, 26vw, 420px); gap: 22px !important;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  overscroll-behavior-x: contain; cursor: grab; padding-right: 5vw;
}
.sn-carousel-track::-webkit-scrollbar { display: none; }
.sn-carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.sn-carousel-track > * { scroll-snap-align: start; }
.sn-carousel-progress { position: relative; height: 1px; margin: 45px 5vw 0 0; background: var(--line); overflow: hidden; }
.sn-carousel-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 20%; background: var(--ink); transition: transform 0.25s linear, width 0.25s; }
.sn-slide { display: block; user-select: none; }
.sn-slide-image { display: block; height: clamp(320px, 33vw, 540px); overflow: hidden; background: #ddd7cc; }
.sn-slide-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; }
.sn-slide:hover .sn-slide-image img { transform: scale(1.04); }
.sn-slide-meta { display: grid; grid-template-columns: 13px 1fr; column-gap: 12px; align-items: center; padding: 18px 2px 0; }
.sn-slide-meta i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.16); grid-row: span 2; }
.sn-slide-meta strong { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.sn-slide-meta small { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #777066; margin-top: 4px; }

.related { overflow: hidden; }
.related .sn-related-heading { display: flex !important; justify-content: space-between; align-items: end; }
.related .sn-carousel-track { grid-auto-columns: calc((100% - 6vw) / 3); gap: 3vw !important; padding-right: 0; }
.related .sn-carousel-progress { margin-right: 0; }
.related .product-card { margin-top: 0 !important; }

/* ---------- Checkout steps tabs ---------- */
.steps button { font-size: 12px; letter-spacing: 0.12em; color: #aaa398; cursor: pointer; text-transform: uppercase; }
.steps button.active { color: var(--ink); }

/* ---------- Contact Form 7 inside the design ---------- */
.wpcf7 { width: 100%; }
.wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7 form .hidden-fields-container, .wpcf7 fieldset.hidden-fields-container { display: none; }
.contact-layout .wpcf7-form, .sn-fallback-form--contact { display: flex; flex-direction: column; gap: 30px; }
.contact-layout label, .sn-fallback-form label { display: flex; flex-direction: column; gap: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-layout textarea { resize: vertical; border: 0; border-bottom: 1px solid var(--line); }
.contact-layout select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252421' stroke-width='1.35'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 16px; }
.contact-layout input.add-button, .inquiry-panel input.add-button, .sn-fallback-form .add-button,
.contact-layout .wpcf7-submit, .inquiry-panel .wpcf7-submit {
  width: 100%; padding: 19px 22px; border: 1px solid var(--ink); background: var(--ink); color: white;
  font-size: 13px; letter-spacing: 0.16em; text-align: left; cursor: pointer; transition: 0.3s;
}
.contact-layout .wpcf7-submit:hover, .inquiry-panel .wpcf7-submit:hover { background: transparent; color: var(--ink); }
.wpcf7-spinner { display: none !important; }
.wpcf7 form.submitting .wpcf7-submit { opacity: 0.6; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; letter-spacing: 0.04em; text-transform: none; color: #9a5037; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 16px; border: 1px solid var(--line); font-size: 14px; line-height: 1.6; letter-spacing: 0.02em; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #7b8f6a; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #b97a5f; }
.inquiry-panel .wpcf7-form, .inquiry-panel .sn-fallback-form { display: flex; flex-direction: column; gap: 24px; }
.inquiry-panel form > .wpcf7-response-output, .inquiry-panel form > fieldset { display: block; grid-template-columns: none; }
.inquiry-panel form > fieldset.hidden-fields-container { display: none; }
.inquiry-panel .sn-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inquiry-panel .wpcf7-submit { margin-top: 18px; }
.inquiry-panel textarea { resize: vertical; }
.sn-newsletter-form .wpcf7-form, .sn-newsletter-form .sn-fallback-form {
  display: flex; flex-wrap: wrap; max-width: 520px; margin: auto; border-bottom: 1px solid #777168;
}
.sn-newsletter-form .wpcf7-form-control-wrap { flex: 1; width: auto; }
.sn-newsletter-form input[type="email"] { width: 100%; border: 0; padding: 15px 0; background: transparent; color: white; outline: 0; }
.sn-newsletter-form input[type="email"]::placeholder { color: #8f8a82; }
.sn-newsletter-form .wpcf7-submit, .sn-newsletter-form button {
  flex: none; width: auto; padding: 0 0 0 20px; border: 0; background: transparent; color: white; font-size: 12px; letter-spacing: 0.16em; cursor: pointer;
}
.sn-newsletter-form .wpcf7-response-output { flex-basis: 100%; order: 3; margin: 0 0 -1px !important; border: 0 !important; padding: 12px 0 !important; color: #c9c3b8; text-align: center; }
.sn-newsletter-form .wpcf7-not-valid-tip { position: absolute; color: #d9a48c; }
.sn-form-sent { margin-bottom: 20px; font-size: 14px; }
.inquiry-modal[hidden] { display: none !important; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-notices-wrapper:empty, .sn-notices:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
  list-style: none; margin: 0 0 25px; padding: 16px 20px; border: 1px solid var(--line); background: var(--ivory);
  font-size: 14px; line-height: 1.6;
}
.woocommerce-error { border-color: #c9a08b; }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-message .button, .woocommerce-info .button { float: right; font-size: 12px; letter-spacing: 0.14em; border-bottom: 1px solid; text-transform: uppercase; }
.product-page > .woocommerce-notices-wrapper, .product-page > .woocommerce-message, .product-page > .woocommerce-error { margin: 0 5vw 20px; }
.sn-notices { padding: 0 8vw; }
.woocommerce > .woocommerce-notices-wrapper, .woocommerce > .woocommerce-NoticeGroup { padding: 0 8vw; }
.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle { display: none; }

/* ---------- Cart page extras ---------- */
.cart-page-line > a { display: block; }
.cart-page-line .remove { margin-top: 14px; }
.sn-cart-empty { padding: 30px 0; font-family: var(--serif); font-size: 30px; }
.sn-cart-empty a { border-bottom: 1px solid; }
.cart-page-line strong .amount, .cart-line strong .amount { font-weight: 400; }
.order-summary .checkout-button + .view-cart { margin-top: 18px; }
.order-summary .view-cart { text-decoration: underline; }

/* ---------- Checkout (standalone) ---------- */
body.sn-standalone .woocommerce { min-height: 100vh; }
.checkout-page .woocommerce-billing-fields > h3, .checkout-page .woocommerce-additional-fields > h3,
.checkout-page .woocommerce-shipping-fields > h3 { display: none; }
.checkout-page .woocommerce-billing-fields__field-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 25px;
}
.checkout-page .form-row { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checkout-page .form-row-wide, .checkout-page .form-row.notes { grid-column: 1 / -1; }
.checkout-page .form-row > label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.checkout-page .form-row label .required { color: #9a5037; text-decoration: none; border: 0; }
.checkout-page .form-row label .optional { text-transform: none; letter-spacing: 0; color: #9a948b; }
.checkout-page .woocommerce-input-wrapper { display: block; width: 100%; }
.checkout-page input.input-text, .checkout-page select, .checkout-page textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; outline: none;
  transition: border-color 0.25s;
}
.checkout-page select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252421' stroke-width='1.35'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 16px; }
.checkout-page input.input-text:focus, .checkout-page select:focus { border-bottom-color: var(--ink); }
.checkout-page .woocommerce-invalid input.input-text, .checkout-page .woocommerce-invalid select { border-bottom-color: #b2593a; }
.checkout-page .sn-hidden-country, .checkout-page #billing_country_field { display: none !important; }
.checkout-page .woocommerce-account-fields { margin-top: 28px; }
.checkout-page .woocommerce-account-fields .create-account { margin-top: 20px; }
.checkout-page .woocommerce-form__label-for-checkbox, .sn-check { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; font-size: 14px !important; letter-spacing: 0.04em !important; text-transform: none !important; cursor: pointer; }
.checkout-page input[type="checkbox"], .checkout-page input[type="radio"], .sn-check input { width: 16px; height: 16px; accent-color: var(--ink); }
.checkout-step .usa-note { margin: 28px 0 0; }
.checkout-step > .add-button { margin-top: 35px; }
.sn-login-note { margin: -20px 0 35px !important; }
.sn-login-note a { border-bottom: 1px solid; color: var(--ink); }
.checkout-step .back-link { margin-top: 22px; }
.sn-shipping-methods .radio-line { cursor: pointer; transition: border-color 0.25s; }
.sn-shipping-methods .radio-line:has(input:checked) { border-color: var(--ink); }
.sn-shipping-methods .radio-line strong { font-weight: 400; font-size: 15px; }
.sn-no-rates { padding: 30px; border: 1px dashed var(--line); text-align: center; }

#payment .wc_payment_methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
#payment .wc_payment_method { border: 1px solid var(--line); padding: 20px; transition: border-color 0.25s; }
#payment .wc_payment_method:has(input:checked) { border-color: var(--ink); }
#payment .wc_payment_method > input { margin-right: 12px; vertical-align: middle; }
#payment .wc_payment_method > label { font-size: 14px; font-weight: 500; cursor: pointer; }
#payment .wc_payment_method > label img { display: inline-block; max-height: 22px; margin-left: 8px; vertical-align: middle; }
#payment .payment_box { margin-top: 14px; font-size: 14px; line-height: 1.7; color: #777066; }
#payment .payment_box fieldset { border: 0; }
#payment .payment_box input.input-text { border-bottom: 1px solid var(--line); }
#payment .place-order { display: flex; flex-direction: column; gap: 18px; }
#payment .woocommerce-privacy-policy-text { font-size: 13px; line-height: 1.7; color: #777066; }
#payment .woocommerce-privacy-policy-text a, #payment .woocommerce-terms-and-conditions-link { border-bottom: 1px solid; color: var(--ink); }
#payment .woocommerce-terms-and-conditions-wrapper .form-row { flex-direction: row; }
#payment #place_order {
  width: 100%; padding: 19px 22px; border: 1px solid var(--ink); background: var(--ink); color: white;
  font-size: 13px; letter-spacing: 0.16em; text-align: left; cursor: pointer; transition: 0.3s;
}
#payment #place_order:hover { background: transparent; color: var(--ink); }
.checkout-page .blockUI.blockOverlay { background: rgba(248, 246, 241, 0.6) !important; }
.checkout-summary .woocommerce-checkout-review-order-table { position: sticky; top: 30px; }
.checkout-item strong .amount { font-weight: 400; }
.summary-total b { font-weight: 400; }
.summary-total .grand-total b { font-weight: 500; }
.summary-total .grand-total small { font-size: 13px; letter-spacing: 0.1em; color: #777066; margin-right: 4px; }
.woocommerce-checkout > .woocommerce-NoticeGroup, form.checkout > .woocommerce-NoticeGroup { padding: 30px 8vw 0; }

/* ---------- Thank you ---------- */
.sn-thankyou { padding: 170px 8vw 140px; max-width: 1100px; margin: 0 auto; }
.sn-thankyou h1 { font-family: var(--serif); font-size: clamp(50px, 6vw, 92px); font-weight: 400; line-height: 0.95; margin: 22px 0 25px; }
.sn-thankyou-lead { max-width: 560px; line-height: 1.8; color: #666158; }
.sn-thankyou .add-button { width: auto; display: inline-flex; margin-top: 30px; }
.sn-order-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 55px 0; background: var(--line); border: 1px solid var(--line); }
.sn-order-overview li { background: var(--paper); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.sn-order-overview span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #777066; }
.sn-order-overview strong { font-weight: 400; font-size: 14px; }
.sn-thankyou-details h2, .sn-account h2, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-family: var(--serif); font-size: 34px; font-weight: 400; margin: 40px 0 20px; }
.sn-thankyou-details table, .woocommerce-MyAccount-content table { width: 100%; font-size: 14px; border-collapse: collapse; }
.sn-thankyou-details th, .sn-thankyou-details td, .woocommerce-MyAccount-content th, .woocommerce-MyAccount-content td { padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.sn-thankyou-details thead th, .woocommerce-MyAccount-content thead th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #777066; }
.sn-thankyou-details address, .woocommerce-MyAccount-content address { font-style: normal; line-height: 1.8; font-size: 14px; }
.sn-thankyou-details .wc-item-meta { margin-top: 6px; font-size: 14px; color: #777066; }
.sn-thankyou-details .wc-item-meta p { display: inline; }
.sn-thankyou-details .woocommerce-bacs-bank-details, .sn-thankyou-details > p { font-size: 14px; line-height: 1.7; }

/* ---------- Account ---------- */
.account-page .sn-account-tabs { display: flex; justify-content: center; gap: 30px; margin-bottom: 35px; }
.account-page .sn-account-tabs button { font-size: 12px; letter-spacing: 0.15em; color: #aaa398; padding-bottom: 4px; border-bottom: 1px solid transparent; cursor: pointer; }
.account-page .sn-account-tabs button.active { color: var(--ink); border-color: var(--ink); }
.account-page label { display: flex; flex-direction: column; gap: 10px; }
.account-page form .add-button { margin-top: 5px; }
.account-page .sn-lost { font-size: 13px; color: #777066; text-align: center; border-bottom: 0 !important; text-decoration: underline; }
.account-page .sn-small { font-size: 14px; margin: 0 !important; }
.account-page .woocommerce-privacy-policy-text p { font-size: 13px; line-height: 1.6; margin: 0; }
.account-page .woocommerce-error, .account-page .woocommerce-message { text-align: left; }
.sn-account { padding: 150px 8vw 140px; }
.sn-account-head h1 { font-family: var(--serif); font-size: clamp(50px, 6vw, 92px); font-weight: 400; line-height: 0.95; margin: 22px 0 60px; }
.sn-account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 6vw; align-items: start; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #777066; transition: color 0.2s, padding 0.3s; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { color: var(--ink); padding-left: 8px; }
.woocommerce-MyAccount-content { font-size: 15px; line-height: 1.8; color: #4f4b45; }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-MyAccount-content p + p { margin-top: 12px; }
.woocommerce-MyAccount-content a { border-bottom: 1px solid; color: var(--ink); }
.woocommerce-MyAccount-content .button, .woocommerce-MyAccount-content button[type="submit"] {
  display: inline-flex; padding: 14px 22px; border: 1px solid var(--ink); background: var(--ink); color: white;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
}
.woocommerce-MyAccount-content .form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.woocommerce-MyAccount-content label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.woocommerce-MyAccount-content input.input-text, .woocommerce-MyAccount-content select { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; outline: none; }
.woocommerce-MyAccount-content fieldset { border: 0; margin-top: 30px; }
.woocommerce-MyAccount-content legend { font-family: var(--serif); font-size: 26px; margin-bottom: 15px; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ---------- Information pages (block content) ---------- */
.sn-entry > * + * { margin-top: 18px; }
.sn-entry ul, .sn-entry ol { padding-left: 20px; line-height: 1.9; color: #625d55; }
.sn-entry ul { list-style: disc; }
.sn-entry ol { list-style: decimal; }
.sn-entry a { border-bottom: 1px solid; }
.policy-content h2:not(:first-child) { margin-top: 70px; }
.policy-content .wp-block-details { border-top: 1px solid var(--line); margin: 0; }
.policy-content .wp-block-details + :not(.wp-block-details) { border-top: 1px solid var(--line); padding-top: 40px; }
.policy-content .wp-block-details:last-child { border-bottom: 1px solid var(--line); }
.policy-content .wp-block-details summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.policy-content .wp-block-details summary::-webkit-details-marker { display: none; }
.policy-content .wp-block-details summary::after {
  content: ""; width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252421' stroke-width='1.35'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s;
}
.policy-content .wp-block-details[open] summary::after { transform: rotate(45deg); }
.policy-content .wp-block-details > p { padding: 0 30px 24px 0; margin: 0; font-size: 15px; line-height: 1.8; }
.about-long .sn-entry p { margin-bottom: 25px; line-height: 1.85; color: #666158; }

/* ---------- Art ---------- */
.art-info .sn-art-details { margin-top: 4px; font-size: 13px; color: #8d8579; }
.art-disclaimer a { border-bottom: 1px solid; }
.art-image img { transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
a.art-image:hover img { transform: scale(1.03); }
.project .image-reveal { cursor: zoom-in; }
.portfolio-section .project .image-reveal { cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sn-colorways { padding: 80px 0 90px 20px; }
  .sn-colorways .section-heading { padding-right: 20px; }
  .sn-carousel-nav { display: none; }
  .sn-carousel-track { grid-auto-columns: 74vw; gap: 14px !important; padding-right: 20px; }
  .sn-carousel-progress { margin-right: 20px; }
  .related .sn-carousel-track { grid-auto-columns: 78vw; }
  .related .product-image { height: 95vw !important; }
  .sn-slide-image { height: 92vw; }
  .filters { backdrop-filter: none; background: var(--paper); }
  .filters .sn-dropdown-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; max-height: 70vh; border-left: 0; border-right: 0; animation-name: snSheet; }
  @keyframes snSheet { from { transform: translateY(100%); } }
  .checkout-page .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr 1fr; }
  .sn-order-overview { grid-template-columns: 1fr 1fr; }
  .sn-account-layout { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; border: 0; gap: 20px; }
  .woocommerce-MyAccount-navigation li a { white-space: nowrap; border: 0; }
  .woocommerce-Addresses { grid-template-columns: 1fr; }
  .checkout-summary .woocommerce-checkout-review-order-table { position: static; }
  .lightbox .sn-lb-nav { left: 8px; }
  .lightbox .sn-lb-next { left: auto; right: 8px; }
}
@media (max-width: 520px) {
  .inquiry-panel .sn-field-row { grid-template-columns: 1fr; }
  .checkout-page .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .sn-thankyou { padding: 130px 20px 100px; }
  .sn-account { padding: 120px 20px 100px; }
}
.about-image, .about-portrait, .product-story-image { overflow: hidden; }
.sn-order-overview strong * { font-size: inherit; color: inherit; }
.sn-colorways .section-heading { display: flex; justify-content: space-between; gap: 30px; }

/* =========================================================================
   v1.1: larger type fixes, rug carousel, quick add, masonry grids,
   art showcase, image reveal animations
   ========================================================================= */
.bag-button span { width: 18px !important; height: 18px !important; font-size: 10px !important; }
.checkout-qty { font-size: 11px !important; }

/* ---------- Product card: colors + quick add ---------- */
.sn-card-media { position: relative; overflow: hidden; }
.sn-card-media .view-label { bottom: auto; top: 18px; left: 18px; }
.product-meta { gap: 18px; }
.product-meta .sn-card-colors { margin-top: 6px; font-size: 13px; line-height: 1.5; color: #8d8579; }
.mini-swatches { flex-wrap: wrap; justify-content: flex-end; max-width: 90px; }
.mini-swatches span { width: 16px; height: 16px; outline: 1px solid transparent; outline-offset: 2px; transition: transform 0.25s, outline-color 0.25s; }
.mini-swatches span.active { outline-color: var(--ink); }
.sn-quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  display: grid; grid-template-columns: 1fr auto; background: rgba(248, 246, 241, 0.97);
  box-shadow: 0 12px 30px rgba(20, 18, 15, 0.16);
  opacity: 0; transform: translateY(calc(100% + 24px));
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .sn-quick, .sn-quick:focus-within, .sn-quick.is-busy { opacity: 1; transform: none; }
.sn-quick select {
  width: 100%; min-width: 0; padding: 15px 34px 15px 16px; border: 0; font-size: 13px; letter-spacing: 0.02em; cursor: pointer; appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252421' stroke-width='1.35'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
}
.sn-quick-add {
  display: flex; align-items: center; gap: 9px; padding: 0 18px; background: var(--ink); color: white;
  font-size: 12px; letter-spacing: 0.14em; white-space: nowrap; cursor: pointer; transition: background 0.3s;
}
.sn-quick-add:hover { background: #4a463f; }
.sn-quick-add svg { width: 17px; flex: none; }
.sn-quick-add:disabled { opacity: 0.6; cursor: wait; }
@media (hover: none) {
  .sn-quick { position: static; opacity: 1; transform: none; box-shadow: none; border: 1px solid var(--line); border-top: 0; }
}

/* ---------- Home: rug collection carousel ---------- */
.sn-collection-carousel { overflow: hidden; padding-right: 0; }
.sn-collection-carousel .section-heading { margin-right: 5vw; }
.sn-heading-side { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; }
.sn-heading-side > p { max-width: 430px; font-size: 15px; line-height: 1.8; color: #625d54; }
.sn-product-track { grid-auto-columns: clamp(280px, 28vw, 430px); gap: 2.4vw !important; }
.sn-product-track .product-card { margin-top: 0 !important; }
.sn-product-track .product-image { height: clamp(360px, 33vw, 520px) !important; }
.sn-collection-carousel .sn-carousel-progress { margin-right: 5vw; }

/* ---------- Masonry grids ---------- */
.sn-masonry { display: block !important; column-gap: 2.2vw; }
.portfolio-section.sn-masonry { column-count: 2; }
.portfolio-page-grid.sn-masonry, .collection-page-grid.sn-masonry, .art-grid.sn-masonry { column-count: 3; }
.sn-masonry > .sn-m {
  display: inline-block; width: 100% !important; vertical-align: top; break-inside: avoid;
  margin: 0 0 2.6vw !important; grid-column: auto !important;
}
.collection-page-grid.sn-masonry > .sn-m { margin-bottom: 3.4vw !important; }
.sn-m--0 { --h: min(360px, 25vw); } .sn-m--1 { --h: min(270px, 19vw); } .sn-m--2 { --h: min(320px, 22vw); }
.sn-m--3 { --h: min(285px, 20vw); } .sn-m--4 { --h: min(380px, 26vw); } .sn-m--5 { --h: min(300px, 21vw); }
.portfolio-section .sn-m--0 { --h: min(400px, 30vw); } .portfolio-section .sn-m--1 { --h: min(300px, 23vw); } .portfolio-section .sn-m--2 { --h: min(340px, 26vw); }
.portfolio-section .sn-m--3 { --h: min(300px, 23vw); } .portfolio-section .sn-m--4 { --h: min(440px, 33vw); } .portfolio-section .sn-m--5 { --h: min(300px, 23vw); }
.sn-masonry .project img, .sn-masonry .art-image img { height: var(--h) !important; max-height: none !important; }
.sn-masonry .product-image { height: calc(var(--h) + 60px) !important; }
.portfolio-page-grid.sn-masonry { padding-top: 10px; }
.art-page .art-grid.sn-masonry .art-item { margin-top: 0; }
.sn-masonry .art-info h3, .sn-masonry .project-caption h3 { font-size: 22px; }

/* ---------- Image reveal (wipe) on scroll ---------- */
.sn-masonry .reveal .image-reveal, .sn-masonry .reveal .art-image, .sn-masonry .reveal .sn-card-media,
.sn-product-track .reveal .sn-card-media, .about-image.reveal img, .product-story-image.reveal img, .service-list .reveal .service-image {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.25s cubic-bezier(0.77, 0, 0.18, 1);
  transition-delay: inherit;
}
.sn-masonry .reveal.is-visible .image-reveal, .sn-masonry .reveal.is-visible .art-image, .sn-masonry .reveal.is-visible .sn-card-media,
.sn-product-track .reveal.is-visible .sn-card-media, .about-image.reveal.is-visible img, .product-story-image.reveal.is-visible img, .service-list .reveal.is-visible .service-image {
  clip-path: inset(0 0 0 0);
}
.section-heading h2, .intro-section h2 { transition: letter-spacing 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal:not(.is-visible) .section-heading h2, .intro-section .reveal:not(.is-visible) h2 { letter-spacing: 0.02em; }

/* ---------- Home: art showcase ---------- */
.sn-art-showcase { padding: 110px 6vw 120px; background: #141311; color: #f1ede6; overflow: hidden; }
.sn-art-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 70px; }
.sn-art-eyebrow { font-size: 14px; letter-spacing: 0.06em; color: #a9a399; }
.sn-art-head h2 { margin-top: 16px; font-family: var(--serif); font-size: clamp(40px, 4.4vw, 68px); font-weight: 400; line-height: 1.08; }
.sn-outline-btn {
  display: inline-flex; align-items: center; gap: 12px; flex: none; padding: 17px 26px; border: 1px solid rgba(255, 255, 255, 0.55);
  color: white; font-size: 14px; letter-spacing: 0.02em; transition: background 0.35s, color 0.35s, gap 0.35s;
}
.sn-outline-btn svg { width: 18px; }
.sn-outline-btn:hover { background: white; color: #141311; gap: 18px; }
.sn-art-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2vw; align-items: center; }
.sn-art-card { position: relative; display: block; overflow: hidden; height: min(29vw, 410px); color: white; }
.sn-art-card--1, .sn-art-card--3 { height: min(31.5vw, 450px); }
.sn-art-card--2 { height: min(34vw, 490px); }
.sn-art-card.reveal { transform: translateY(90px); }
.sn-art-card.reveal.is-visible { transform: none; }
.sn-art-media { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(0.77, 0, 0.18, 1); transition-delay: inherit; }
.sn-art-card.is-visible .sn-art-media { clip-path: inset(0); }
.sn-art-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: inherit; }
.sn-art-card.is-visible .sn-art-media img { transform: scale(1); }
.sn-art-card.is-visible:hover .sn-art-media img { transform: scale(1.07); transition-delay: 0s; }
.sn-art-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(10, 9, 8, 0.78), transparent); pointer-events: none; transition: opacity 0.5s; }
.sn-art-caption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 6px; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.sn-art-card:hover .sn-art-caption { transform: translateY(-6px); }
.sn-art-caption small { font-size: 13px; letter-spacing: 0.04em; color: #ddd6cb; }
.sn-art-caption strong { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); font-weight: 400; line-height: 1.2; }

/* ---------- Responsive (v1.1) ---------- */
@media (max-width: 1100px) {
  .portfolio-page-grid.sn-masonry, .collection-page-grid.sn-masonry, .art-grid.sn-masonry { column-count: 2; }
  .sn-m--0, .sn-m--1, .sn-m--2, .sn-m--3, .sn-m--4, .sn-m--5 { --h: 34vw; }
  .sn-m--1, .sn-m--3 { --h: 26vw; }
}
@media (max-width: 900px) {
  .sn-heading-side { align-items: flex-start; }
  .sn-collection-carousel .section-heading { margin-right: 20px; }
  .sn-product-track { grid-auto-columns: 78vw; gap: 14px !important; }
  .sn-product-track .product-image { height: 98vw !important; max-height: 560px; }
  .sn-masonry { column-gap: 12px; }
  .sn-masonry > .sn-m { margin-bottom: 14px !important; }
  .collection-page-grid.sn-masonry > .sn-m { margin-bottom: 40px !important; }
  .portfolio-section .sn-m--0, .portfolio-section .sn-m--4 { --h: 58vw; }
  .portfolio-section .sn-m--1, .portfolio-section .sn-m--2, .portfolio-section .sn-m--3, .portfolio-section .sn-m--5 { --h: 42vw; }
  .sn-masonry .art-info { display: block; }
  .sn-masonry .art-info h3 { font-size: 18px; }
  .sn-masonry .art-info button { margin-top: 8px; }
  .sn-art-showcase { padding: 85px 20px 90px; }
  .sn-art-head { flex-direction: column; align-items: flex-start; margin-bottom: 45px; }
  .sn-art-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64vw; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
  .sn-art-row::-webkit-scrollbar { display: none; }
  .sn-art-card, .sn-art-card--1, .sn-art-card--2, .sn-art-card--3 { height: 88vw; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .collection-page-grid.sn-masonry { column-count: 1; }
  .collection-page-grid.sn-masonry .product-image { height: 105vw !important; }
  .portfolio-page-grid.sn-masonry .sn-m, .art-grid.sn-masonry .sn-m { --h: 46vw; }
  .portfolio-page-grid.sn-masonry .sn-m--0, .portfolio-page-grid.sn-masonry .sn-m--4, .art-grid.sn-masonry .sn-m--0, .art-grid.sn-masonry .sn-m--4 { --h: 62vw; }
}

/* =========================================================================
   v1.2
   ========================================================================= */
/* Lightbox: image at 70% of the screen. */
.lightbox img { width: auto; height: auto; max-width: 70vw; max-height: 70vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
@media (max-width: 900px) { .lightbox img { max-width: 86vw; max-height: 70vh; } }

/* Home header over the hero: soft dark gradient so the menu always reads. */
.site-header--hero { background: linear-gradient(to bottom, rgba(14, 13, 11, 0.62) 0%, rgba(14, 13, 11, 0.32) 55%, rgba(14, 13, 11, 0) 100%); border-color: rgba(255, 255, 255, 0.16); }
.site-header--hero .desktop-nav a, .site-header--hero .wordmark { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.hero::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 220px; background: linear-gradient(to bottom, rgba(14, 13, 11, 0.35), transparent); pointer-events: none; }
/* Stripe payment element inside the design */
#payment .payment_box.payment_method_stripe, #payment .payment_box[class*="stripe"] { font-size: 14px; color: var(--ink); }
#payment .wc-stripe-upe-element, #payment .wc-upe-form { margin-top: 10px; }
#payment .woocommerce-SavedPaymentMethods-saveNew { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 13px; }
