/*
Theme Name: IVAS ART Gallery
Theme URI: https://www.facebook.com/ivasart
Author: IVAS ART project
Description: Custom art gallery theme compatible with WooCommerce. Demo images are bundled for the homepage until published products are available.
Version: 7.1.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: ivas-art
*/
:root{--cream:#f7f5ef;--white:#fff;--ink:#262923;--soft:#6c7068;--line:#e5e2d9;--teal:#244a49;--gold:#b18849}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}button,input{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid #c37a2b;outline-offset:3px}.container{width:min(1220px,calc(100% - 40px));margin:auto}.bar{padding:9px 20px;background:var(--teal);color:white;text-align:center;font-size:12px;letter-spacing:.12em}.site-header{background:#fff;box-shadow:0 1px 0 var(--line);position:relative;z-index:5}.head{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{text-align:left;line-height:1.05}.brand strong{font-family:"Baskerville","Palatino Linotype","Book Antiqua",Palatino,"URW Palladio L",Georgia,serif;font-size:40px;letter-spacing:.015em;font-weight:500;font-style:italic;color:var(--teal);text-transform:none}.brand small{display:block;letter-spacing:.24em;color:var(--gold);font-size:10px;margin-top:9px;font-weight:700}nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap}nav a{font-size:13px;letter-spacing:.1em;text-transform:uppercase;font-weight:700}nav a:hover{color:var(--gold)}.pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c9c9bf;border-radius:4px;padding:11px 19px;font-size:13px;font-weight:750;white-space:nowrap}.pill.primary{background:var(--teal);border-color:var(--teal);color:white}.hero{padding:40px 0 58px;display:grid;grid-template-columns:.83fr 1.17fr;gap:28px;align-items:stretch}.hero-copy{background:#e8e8df;padding:clamp(28px,5vw,65px);display:flex;flex-direction:column;justify-content:center}.eyebrow{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);font-weight:800}.hero h1{font:normal clamp(44px,5.7vw,80px)/1.04 Georgia,serif;color:var(--teal);letter-spacing:-.035em;margin:22px 0}.hero p{color:#52605a;max-width:440px;font-size:17px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hero-img{position:relative;min-height:500px;overflow:hidden}.hero-img img{width:100%;height:100%;max-height:620px;object-fit:cover;display:block}.hero-stamp{position:absolute;bottom:18px;left:18px;background:#fffef2ee;padding:12px 20px;color:var(--teal);font-size:13px;letter-spacing:.06em}.benefits{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.benefits .container{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;gap:15px;padding:23px 0}.benefits strong{display:block;font-size:14px}.benefits small{font-size:12px;color:var(--soft)}section.area{padding:70px 0}.section-top{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:34px}.section-top h2,.about h2,.contact h2{font:normal clamp(34px,4vw,56px)/1.1 Georgia,serif;margin:10px 0;color:var(--teal)}.section-top p{color:var(--soft);max-width:440px;margin:0}.art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.art-card{background:white;border:1px solid var(--line);padding:13px;box-shadow:0 8px 22px #162d2410}.art-card .visual{display:block;aspect-ratio:1/1;overflow:hidden;background:#f2efe9}.art-card .visual img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.art-card .visual:hover img{transform:scale(1.03)}.art-card h3{font:normal 25px/1.18 Georgia,serif;margin:17px 6px 5px}.art-card p{font-size:13px;color:var(--soft);margin:0 6px 14px}.art-card .bottom{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:0 6px 6px}.art-card .price{font-weight:750;color:var(--teal);font-size:15px}.art-card .pill{padding:8px 13px}.about{background:#e7ede8}.about-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:center}.about img{width:100%;max-height:510px;object-fit:cover}.about p{max-width:600px;color:#4f5b55;font-size:17px}.contact{background:var(--teal);color:white}.contact h2{color:white}.contact p{max-width:700px;color:#d2e2da}.contact .pill{color:white;border-color:#c6ddd2}.contact .pill.primary{background:#fff;color:var(--teal)}.cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.site-footer{background:#142f2e;color:#b2c4be;padding:23px 0;font-size:13px}.foot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.content{min-height:40vh;padding:55px 0}.content h1{font:normal 48px Georgia,serif;color:var(--teal)}.woocommerce .products .product img{border:1px solid var(--line)}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--teal);color:white;border-radius:3px}.woocommerce div.product p.price,.woocommerce ul.products li.product .price{color:var(--teal)}.woocommerce .woocommerce-breadcrumb{margin-bottom:20px}.wp-block-button__link{border-radius:3px}.notice{margin-top:24px;border-left:3px solid var(--gold);padding:12px 15px;background:#fff;color:#64685f;font-size:14px}@media(max-width:900px){.hero{grid-template-columns:1fr}.hero-img{min-height:350px}.art-grid{grid-template-columns:repeat(2,1fr)}.about-layout{grid-template-columns:1fr}.head{flex-wrap:wrap;padding:18px 0}.head nav{order:3;width:100%;justify-content:center}.hero-copy{min-height:350px}}@media(max-width:620px){.container{width:min(100% - 28px,1220px)}.hero{padding-top:20px;gap:15px}.hero-img{min-height:280px}.art-grid{grid-template-columns:1fr}.benefits .container{grid-template-columns:1fr}.section-top{display:block}.head nav{gap:12px}.head nav a{font-size:11px}.brand strong{font-size:30px}section.area{padding:45px 0}}

/* Cart quantity bubble */
.ivas-cart-link{display:inline-flex;align-items:center;gap:7px}
.ivas-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#244a49;color:#fff;font-size:12px;font-weight:800;letter-spacing:0;line-height:1}

/* Painting gallery thumbnails */
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 20px;padding:0;list-style:none}
.woocommerce div.product div.images .flex-control-thumbs li{float:none;width:100%;margin:0}
.woocommerce div.product div.images .flex-control-thumbs li img{width:100%;aspect-ratio:1;object-fit:cover;border:2px solid transparent;border-radius:5px}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active{border-color:#244a49;opacity:1}

/* Artwork dimensions shown immediately beneath price */
.woocommerce div.product .summary p.ivas-product-size{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:5px 0 18px;color:#244a49;font-size:17px;line-height:1.4}
.woocommerce div.product .summary .ivas-product-size strong{font-weight:750}
.woocommerce div.product .summary .ivas-size-label{font-weight:450;color:#666c66}
.art-card .ivas-card-size{font-size:13px;color:#244a49;margin:0 6px 13px;font-weight:700}

/* Technique, material and stock status following the artwork size. */
.woocommerce div.product .summary .ivas-art-details{margin:-7px 0 22px;display:grid;gap:7px}
.woocommerce div.product .summary .ivas-art-details p{margin:0;line-height:1.5;font-size:15px;color:#244a49}
.woocommerce div.product .summary .ivas-art-details p span{color:#666c66}
.woocommerce div.product .summary .ivas-art-details strong{font-weight:700}
.woocommerce div.product .summary .ivas-art-details .ivas-available{color:#217047}
.woocommerce div.product .summary .ivas-art-details .ivas-unavailable{color:#9b423a}


/* IVAS ART v1.5: WordPress menu and WooCommerce category dropdowns. */
.ivas-main-nav {display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.ivas-main-nav .ivas-menu {display:flex;flex-wrap:wrap;align-items:center;gap:18px;list-style:none;margin:0;padding:0}
.ivas-main-nav .ivas-menu li {position:relative;list-style:none;margin:0;padding:0}
.ivas-main-nav .ivas-menu > li > a {display:inline-block;padding:12px 0}
.ivas-main-nav .sub-menu {display:none;position:absolute;top:100%;left:0;z-index:60;min-width:230px;background:#fff;padding:8px 0;margin:0;list-style:none;border:1px solid var(--line);box-shadow:0 12px 25px #142d2b1c}
.ivas-main-nav .sub-menu a {display:block;padding:11px 16px;line-height:1.5;letter-spacing:.04em;text-transform:none;font-size:13px}
.ivas-main-nav .sub-menu a:hover,.ivas-main-nav .sub-menu a:focus-visible {background:var(--cream);color:var(--teal)}
.ivas-main-nav .ivas-menu li:hover > .sub-menu,.ivas-main-nav .ivas-menu li:focus-within > .sub-menu {display:block}
.ivas-main-nav .menu-item-has-children > a::after {content:' ▾';font-size:11px;opacity:.7}
@media (max-width:900px){
 .head .ivas-main-nav {order:3;width:100%;justify-content:center}
 .ivas-main-nav .ivas-menu{justify-content:center}
 .ivas-main-nav .sub-menu {position:static;display:block;min-width:0;box-shadow:none;border:0;border-left:2px solid var(--line);background:transparent;margin:0 0 5px 8px;padding:0 0 0 8px}
 .ivas-main-nav .sub-menu a{font-size:12px;padding:5px 8px}
 .ivas-main-nav .ivas-menu{align-items:flex-start}
}
@media (max-width:620px){
 .ivas-main-nav,.ivas-main-nav .ivas-menu{gap:10px}
 .ivas-main-nav .ivas-menu{justify-content:flex-start}
}

/* IVAS ART v1.6: keep the primary navigation compact and readable. */
.ivas-main-nav .ivas-menu {flex-wrap:nowrap;gap:16px}
.ivas-main-nav {gap:14px}
.ivas-main-nav .ivas-menu > li > a{white-space:nowrap}
@media(max-width:900px){.ivas-main-nav .ivas-menu{flex-wrap:wrap;justify-content:center}}

/* IVAS ART v1.7 – compact mobile navigation */
.ivas-mobile-toggle,.ivas-submenu-toggle{display:none}
@media(max-width:900px){
 .head{display:flex;align-items:center;flex-wrap:wrap;min-height:72px;gap:10px;padding:12px 0}
 .brand strong{font-size:clamp(25px,5vw,33px)}
 .ivas-mobile-toggle{display:inline-flex;align-items:center;gap:8px;margin-left:auto;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--teal);padding:9px 12px;font-size:14px;font-weight:800;cursor:pointer}
 .head .ivas-main-nav{display:none;order:3;width:100%;padding:5px 0 14px;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:0;border-top:1px solid var(--line)}
 .head .ivas-main-nav.is-open{display:flex}
 .ivas-main-nav .ivas-menu{display:flex;flex-direction:column;align-items:stretch;gap:0;flex-wrap:nowrap;width:100%}
 .ivas-main-nav .ivas-menu>li{position:relative;border-bottom:1px solid var(--line)}
 .ivas-main-nav .ivas-menu>li>a{display:block;padding:12px 50px 12px 6px;white-space:normal}
 .ivas-main-nav .ivas-menu li:hover>.sub-menu,.ivas-main-nav .ivas-menu li:focus-within>.sub-menu{display:none}
 .ivas-main-nav .ivas-menu li.is-expanded>.sub-menu{display:block}
 .ivas-main-nav .sub-menu{position:static;display:none;box-shadow:none;border:0;border-left:2px solid var(--line);background:#faf9f5;padding:2px 0 4px 13px;margin:0 0 10px 12px;min-width:0}
 .ivas-main-nav .sub-menu a{display:block;padding:10px 9px;font-size:13px}
 .ivas-main-nav .menu-item-has-children>a::after{content:none}
 .ivas-submenu-toggle{display:flex;align-items:center;justify-content:center;position:absolute;top:5px;right:2px;width:42px;height:40px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--teal);cursor:pointer}
 .ivas-submenu-toggle[aria-expanded="true"]{background:#e7ede8}
 .ivas-main-nav>.ivas-cart-link{padding:13px 6px;border-bottom:1px solid var(--line)}
 .ivas-main-nav>a:not(.ivas-cart-link){padding:13px 6px}
}
@media(max-width:520px){
 .woocommerce ul.products[class*="columns-"]{display:grid;grid-template-columns:1fr;gap:20px}
 .woocommerce ul.products[class*="columns-"] li.product{float:none;width:100%;margin:0}
 .woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;display:block;clear:both;margin:8px 0 12px}
 .woocommerce .woocommerce-ordering select{max-width:100%;width:100%}
}

/* v1.8 - tap the “Картини” label itself on mobile, no submenu arrow. */
@media (max-width:900px) {
  .ivas-submenu-toggle {display:none !important;}
  .ivas-main-nav .menu-item-has-children > a::after {content:none !important;}
  .ivas-main-nav .ivas-menu > li.menu-item-has-children > a {padding-right:12px;cursor:pointer;}
  .ivas-main-nav .menu-item-has-children.is-expanded > a {color:var(--teal);}
  .ivas-main-nav .menu-item-has-children.is-expanded > .sub-menu {display:block;}
}

/* IVAS ART v2.0 — sold artwork badges. Keep products visible in catalogue. */
.ivas-sold-label{position:absolute;top:14px;left:14px;z-index:6;background:#294b49;color:#fff;padding:9px 14px;border-radius:4px;font-size:13px;font-weight:800;line-height:1.2;box-shadow:0 2px 9px rgba(0,0,0,.1)}
.art-card .visual{position:relative;display:block}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link{position:relative;display:block}
.woocommerce ul.products li.product{position:relative}
.woocommerce ul.products li.product .ivas-sold-label{top:14px;left:14px}
.woocommerce div.product{position:relative}
.woocommerce div.product>.ivas-sold-label{top:18px;left:18px}
@media(max-width:640px){.ivas-sold-label{padding:8px 11px;font-size:12px}}

/* IVAS ART 2.3 catalogue search */
.ivas-catalogue-tools{clear:both;margin:10px 0 22px;}
.ivas-product-search{display:block;max-width:650px;}
.ivas-product-search label{display:block;font-size:13px;font-weight:700;margin-bottom:7px;}
.ivas-search-controls{display:flex;align-items:stretch;gap:9px;}
.ivas-search-controls input{min-width:0;flex:1;border:1px solid #cfcac0;border-radius:6px;padding:12px 14px;background:white;color:#222;}
.ivas-search-controls button{background:#244a49;border:0;border-radius:6px;color:white;font-weight:700;padding:11px 20px;}
.ivas-search-controls button:focus-visible,.ivas-search-controls input:focus-visible{outline:3px solid #d18d55;outline-offset:2px;}
@media(max-width:520px){.ivas-search-controls{flex-direction:column}.ivas-search-controls button{width:100%}}

/* v2.4 -- accessible test-checkout notice, block checkout layout */
.ivas-checkout-test{border:1px solid #d7c49a;border-left:5px solid #b18849;border-radius:8px;background:#fff9ec;padding:16px 20px;margin:12px 0 26px;color:#263e39}
.ivas-checkout-test strong{display:block;font-size:18px;margin-bottom:5px}
.ivas-checkout-test p{margin:0;font-size:15px;line-height:1.6}
@media(max-width:620px){.ivas-checkout-test{padding:14px;margin-bottom:20px}.wc-block-checkout,.wc-block-cart{max-width:100%;overflow-wrap:break-word}.wc-block-components-text-input input{max-width:100%}}

/* Bulgaria is the only permitted checkout country: the country selector is redundant.
   WooCommerce still receives BG as the country. */
.woocommerce-checkout .wc-block-components-address-form__country,
.woocommerce-checkout .wc-block-components-country-input,
.woocommerce-checkout .woocommerce-billing-fields #billing_country_field,
.woocommerce-checkout .woocommerce-shipping-fields #shipping_country_field{display:none!important}
.woocommerce-checkout .wc-block-checkout{max-width:100%}
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox input{border-radius:5px}
@media(max-width:700px){
 .woocommerce-checkout .wc-block-components-address-form{gap:12px}
 .woocommerce-checkout .wc-block-components-checkout-step{padding-left:0;padding-right:0}
}

/* IVAS ART v2.7: checkout clarity, compact layout; keeps address fields functional */
.wc-block-checkout .wc-block-components-title{font-weight:650;letter-spacing:-.02em}
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-combobox-control input{border-radius:7px}
.ivas-checkout-test{border:1px solid #c6d4cf;background:#f1f7f3;padding:16px 20px;border-radius:10px;margin:14px 0 22px}
.ivas-checkout-test p{margin:8px 0 0}
@media(max-width:600px){.wc-block-checkout .wc-block-components-title{font-size:21px!important}.wc-block-components-address-form{row-gap:12px}}

/* IVAS ART v2.8 - compact WooCommerce block checkout inputs.
   Layout only: retain field identifiers, validation and native checkout handling. */
.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox-control input,
.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox input {
  box-sizing:border-box;
  min-height:50px;
  height:50px;
  padding-left:13px;
  padding-right:13px;
  font-size:15px;
  line-height:1.3;
  border-radius:6px;
}
/* Leave enough space for WooCommerce's floating labels when filled. */
.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input.is-active input,
.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox.is-active input {
  padding-top:19px;
  padding-bottom:5px;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox-control label {
  font-size:14px;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-address-form,
.woocommerce-checkout .wc-block-checkout .wc-block-components-address-form-wrapper {
  row-gap:12px;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-step {
  margin-bottom:18px;
}
.woocommerce-checkout .wc-block-checkout textarea {
  min-height:88px;
  padding:12px 13px;
  font-size:15px;
  border-radius:6px;
}
@media(max-width:600px){
  .woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input,
  .woocommerce-checkout .wc-block-checkout .wc-block-components-combobox-control input,
  .woocommerce-checkout .wc-block-checkout .wc-block-components-combobox input {
    min-height:48px;
    height:48px;
    font-size:16px; /* prevent iOS automatic zoom */
  }
  .woocommerce-checkout .wc-block-checkout .wc-block-components-address-form {row-gap:10px;}
}


/* IVAS ART v2.9 - desktop checkout refinement.
   Place Address and Apartment fields side by side on larger screens,
   while preserving the single-column mobile layout. */
@media(min-width:782px){
  .woocommerce-checkout .wc-block-checkout .wc-block-components-address-form .wc-block-components-address-form__address_1,
  .woocommerce-checkout .wc-block-checkout .wc-block-components-address-form .wc-block-components-address-form__address_2,
  .woocommerce-checkout .wc-block-checkout .wc-block-components-address-form-wrapper .wc-block-components-address-form__address_1,
  .woocommerce-checkout .wc-block-checkout .wc-block-components-address-form-wrapper .wc-block-components-address-form__address_2{
    grid-column:auto / span 1 !important;
  }
}

/* IVAS ART v3.0 — artwork dimensions shown beside item names. */
.ivas-cart-artwork-size{font-size:.91em;color:#62746c;font-weight:500;white-space:normal}


/* IVAS ART v3.1 - size options as visual buttons instead of a dropdown */
.ivas-hidden-variation-select{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.single-product .variations_form table.variations,
.single-product .variations_form table.variations tbody,
.single-product .variations_form table.variations tr,
.single-product .variations_form table.variations td,
.single-product .variations_form table.variations th{
  display:block;
  width:100%;
}
.single-product .variations_form table.variations th.label{
  margin:0 0 8px;
  padding:0;
  text-align:left;
}
.single-product .variations_form table.variations td.value{
  padding:0 0 16px;
}
.ivas-variation-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:6px 0 12px;
}
.ivas-variation-button{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:132px;
  padding:12px 14px;
  border:1px solid #c9c4b8;
  border-radius:10px;
  background:#fff;
  color:#244a49;
  cursor:pointer;
  text-align:left;
  transition:border-color .2s, box-shadow .2s, transform .15s, opacity .2s;
}
.ivas-variation-button:hover{border-color:#244a49; box-shadow:0 3px 12px rgba(36,74,73,.12)}
.ivas-variation-button.is-selected{border-color:#244a49; box-shadow:0 0 0 2px rgba(36,74,73,.15)}
.ivas-variation-button.is-disabled{opacity:.48; cursor:not-allowed; text-decoration:none; box-shadow:none}
.ivas-variation-size{font-size:1.05rem; font-weight:700; line-height:1.25}
.ivas-variation-stock{font-size:.88rem; margin-top:4px; color:#62746c}
.single-product .reset_variations{display:inline-block; margin-top:8px; margin-left:0;}
@media (max-width: 767px){
  .ivas-variation-buttons{gap:10px}
  .ivas-variation-button{min-width:calc(50% - 5px); padding:12px}
}

/* IVAS ART 3.2: variation price inside each available size tile. */
.ivas-variation-price{display:block;margin-top:5px;font-size:1.07rem;font-weight:700;color:#244a49}
.ivas-variation-price:empty{display:none}
.ivas-variation-button.is-disabled .ivas-variation-price{opacity:.7}

/* IVAS ART v3.3 — selected size confirmation and refined artwork purchase area. */
.single-product .ivas-selected-artwork{
  display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;row-gap:4px;
  margin:0 0 15px;padding:12px 15px;
  background:#f1f5f1;border:1px solid #d8e2d9;border-radius:9px;
  font-size:15px;color:#254b44;
}
.ivas-selected-artwork-title{color:#66776e}
.ivas-selected-artwork-size{font-weight:700}
.ivas-selected-artwork-price{margin-left:auto;font-weight:700}
.ivas-selected-artwork-price .price{margin:0}
.single-product .ivas-variation-button:focus-visible{
  outline:3px solid #477d71;outline-offset:3px;
}
.single-product .ivas-variation-button.is-selected{
  background:#f0f7f2;border-color:#28584c;
  box-shadow:0 0 0 2px rgba(40,88,76,.12);
}
.single-product .ivas-variation-button.is-disabled{
  background:#f3f2ef;color:#7d8581;
}
.single-product .variations_form .single_add_to_cart_button{
  min-height:48px;border-radius:8px;
}
@media(max-width:600px){
  .single-product .ivas-selected-artwork{align-items:flex-start}
  .single-product .ivas-selected-artwork-price{margin-left:0;width:100%}
}

/* IVAS ART v3.4 — product photo gallery: polished frame, clear thumbnails, responsive display. */
.single-product .woocommerce-product-gallery__wrapper{background:#f6f4ee;border:1px solid #e3dfd6;border-radius:12px;overflow:hidden}
.single-product .woocommerce-product-gallery__image img{width:100%;height:auto;object-fit:contain;display:block}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;margin:14px 0 0;list-style:none}
.woocommerce div.product div.images .flex-control-thumbs li{float:none;width:100%;min-width:0;margin:0}
.woocommerce div.product div.images .flex-control-thumbs li img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:white;padding:3px;border:2px solid #e0ddd5;border-radius:9px;opacity:.72;transition:opacity .18s,border-color .18s,box-shadow .18s}
.woocommerce div.product div.images .flex-control-thumbs li img:hover,.woocommerce div.product div.images .flex-control-thumbs li img.flex-active{opacity:1;border-color:#28584c;box-shadow:0 0 0 2px rgba(40,88,76,.13)}
.woocommerce div.product div.images .flex-control-thumbs li img:focus-visible{outline:3px solid #ad864b;outline-offset:3px}
.single-product .woocommerce-product-gallery__trigger{background:#fff!important;border-radius:999px!important;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.ivas-gallery-hint{margin:12px 0 4px;font-size:13px;color:#68736d;line-height:1.5}
@media(max-width:620px){.woocommerce div.product div.images .flex-control-thumbs{gap:8px}.woocommerce div.product div.images .flex-control-thumbs li img{padding:2px;border-radius:7px}.ivas-gallery-hint{font-size:12px}}


/* IVAS ART v3.5 — favorites, related works, and catalogue cards */
.woocommerce ul.products li.product{position:relative;background:#fff;border:1px solid #e5e2d9;border-radius:10px;padding:12px!important;box-shadow:0 7px 23px rgba(20,47,46,.06);transition:box-shadow .2s,transform .2s;}
.woocommerce ul.products li.product:hover{box-shadow:0 12px 26px rgba(20,47,46,.12);transform:translateY(-2px)}
.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;margin-bottom:12px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Georgia,serif;font-size:21px;line-height:1.25;color:#244a49}
.woocommerce ul.products li.product .price{font-weight:750;margin:7px 0 12px}
.woocommerce ul.products li.product .button{padding:11px 16px;border-radius:6px}
.woocommerce ul.products li.product>.ivas-favorite{position:absolute;top:20px;right:20px;z-index:3}
.ivas-favorite{width:40px;height:40px;border:1px solid #d7d7cf;background:#fff;border-radius:50%;font-size:28px;line-height:1;display:inline-flex;align-items:center;justify-content:center;color:#244a49;cursor:pointer;box-shadow:0 2px 9px #132d281c}
.ivas-favorite.is-active{color:#b84d54;border-color:#dfb9b9;background:#fff8f8}
.ivas-favorite:hover{transform:scale(1.06)}
.ivas-single-favorite{display:flex;align-items:center;gap:10px;margin:4px 0 16px;font-size:14px;color:#64716d}
.woocommerce .related.products{margin-top:55px;padding-top:25px;border-top:1px solid #e4e0d8}
.woocommerce .related.products>h2{font:normal clamp(27px,3vw,38px) Georgia,serif;color:#244a49;margin-bottom:23px}
.ivas-favorites-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:25px}
.ivas-favorite-item{position:relative;padding:12px;background:white;border:1px solid #e5e2d9;border-radius:9px}
.ivas-favorite-item[hidden]{display:none!important}
.ivas-favorite-item img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px}
.ivas-favorite-item h3{font:normal 23px Georgia,serif;color:#244a49;margin:12px 0 5px}
.ivas-favorite-item .ivas-favorite{position:absolute;right:20px;top:20px}
.ivas-favorite-item-price{font-weight:700;color:#244a49}
@media(max-width:760px){.ivas-favorites-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ivas-favorites-items{grid-template-columns:1fr}}


/* IVAS ART v3.6 — catalogue alignment and dimensions next to prices */
.woocommerce ul.products{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.woocommerce ul.products::before,.woocommerce ul.products::after{content:none;display:none}
.woocommerce ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product{
  float:none;width:auto;margin:0!important;min-width:0;
  display:flex;flex-direction:column;align-items:stretch;
}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link{
  display:flex;flex-direction:column;align-items:stretch;flex:1;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  min-height:2.6em;
  margin-bottom:7px;
}
.woocommerce ul.products li.product .price{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 11px;
  margin-top:auto!important;margin-bottom:14px!important;
}
.woocommerce ul.products li.product .ivas-catalogue-sizes{
  display:inline-block;font-size:13px;line-height:1.4;font-weight:550;
  color:#65736b;letter-spacing:0;
}
.woocommerce ul.products li.product .ivas-sizes-unit{white-space:nowrap}
.woocommerce ul.products li.product>a.button,
.woocommerce ul.products li.product>.button{align-self:flex-start;margin-top:auto}
.woocommerce ul.products li.product img{height:auto;aspect-ratio:1;object-fit:cover}
@media(max-width:960px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){
  .woocommerce ul.products,.woocommerce ul.products[class*="columns-"]{grid-template-columns:1fr;gap:18px}
}


/* IVAS ART 3.7 — 5 improvements: availability, category, clear search,
   accessible catalogue controls, and back-to-top affordance. */
.woocommerce ul.products li.product .ivas-card-availability{
  display:inline-flex;align-self:flex-start;align-items:center;gap:5px;
  font-size:12px;font-weight:650;line-height:1.5;margin:2px 0 4px;
  color:#366f51;
}
.woocommerce ul.products li.product .ivas-card-availability::before{
  content:"";width:7px;height:7px;background:currentColor;border-radius:50%;
}
.woocommerce ul.products li.product .ivas-card-availability.is-unavailable{color:#946658}
.woocommerce ul.products li.product .ivas-card-category{
  display:block;font-size:12px;color:#6b7773;margin-bottom:10px;
}
.ivas-clear-search{display:inline-flex;align-items:center;padding:9px 13px;
  border-radius:7px;border:1px solid #becbc4;margin:4px 0 16px;
  text-decoration:none;color:#244a49;font-size:14px}
.ivas-clear-search:hover{background:#edf4ef}
.woocommerce .woocommerce-ordering select,
.ivas-catalogue-tools input[type="search"]{
  min-height:44px;padding:9px 12px;border:1px solid #bccbc5;
  border-radius:8px;max-width:100%;background:#fff;color:#25423e;
}
.woocommerce .woocommerce-result-count{color:#61706a;font-size:14px}
.woocommerce .woocommerce-ordering{max-width:100%}
.woocommerce :is(a,button,select,input):focus-visible,
.ivas-back-to-top:focus-visible{outline:3px solid #3a7a6c;outline-offset:3px}
.ivas-back-to-top{position:fixed;right:20px;bottom:20px;z-index:20;
  border:1px solid #bed1c6;border-radius:50%;width:46px;height:46px;
  background:#244a49;color:#fff;font-size:21px;cursor:pointer;
  box-shadow:0 6px 18px #16392d24;transition:opacity .2s,transform .2s;
  opacity:0;visibility:hidden;transform:translateY(10px)}
.ivas-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.ivas-back-to-top:hover{background:#36665b}
@media(max-width:600px){.ivas-back-to-top{right:12px;bottom:12px;width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.ivas-back-to-top{transition:none}}

/* IVAS ART v3.8 — ten homepage refinements */
/* 1: accessible skip navigation */
.ivas-skip-link{position:absolute;top:-100px;left:16px;z-index:9999;background:#fff;color:#244a49;padding:10px 17px;border:2px solid #244a49;border-radius:6px}
.ivas-skip-link:focus{top:12px}
/* 2: more deliberate hero spacing */
.home .hero{gap:clamp(18px,3vw,38px)}
.home .hero-copy{border-radius:12px}
.home .hero-img{border-radius:12px}
/* 3: easier CTA interaction */
.home .pill{min-height:44px;transition:transform .15s ease,background-color .15s ease}
.home .pill:hover{transform:translateY(-2px)}
/* 4: aligned gallery cards */
.home .art-card{display:flex;flex-direction:column;border-radius:10px;overflow:hidden}
.home .art-card .bottom{margin-top:auto;flex-wrap:wrap}
.home .art-card h3{min-height:2.36em}
/* 5: more readable on-card price and sizes */
.home .art-card .price{font-size:16px;line-height:1.45}
.home .art-card .ivas-card-size{color:#3d6057;font-weight:600}
/* 6: new arrivals displayed consistently */
.ivas-new-section{background:#fff}
.ivas-new-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ivas-new-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#f9f8f5;min-width:0}
.ivas-new-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.ivas-new-meta{display:flex;flex-direction:column;gap:5px;padding:14px 17px;color:var(--teal)}
.ivas-new-meta strong{font:normal 22px/1.2 Georgia,serif}
/* 7: accessible category shortcuts */
.ivas-categories{padding:40px 0;background:#f0f1eb}
.ivas-categories h2{font:normal 30px/1.2 Georgia,serif;color:var(--teal);margin:0 0 20px}
.ivas-category-links{display:flex;flex-wrap:wrap;gap:10px}
.ivas-category-links a{border:1px solid #cad4cd;border-radius:100px;background:#fff;padding:10px 17px;font-weight:600;color:#244a49}
.ivas-category-links a:hover{border-color:#244a49;background:#e3efe8}
/* 8: polished author image */
.home .about img{border-radius:12px;box-shadow:0 12px 30px rgba(18,39,30,.12)}
/* 9: compact contact actions */
.home .contact .cta{gap:12px}
.home .contact .pill{white-space:normal;text-align:center}
/* 10: mobile composition and typography */
@media(max-width:900px){.ivas-new-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
 .home .hero{padding-bottom:28px}
 .home .hero-copy{min-height:0;padding:26px 23px}
 .home .hero h1{font-size:clamp(37px,10vw,52px)}
 .home .hero p{font-size:15px}
 .home .hero-img{min-height:260px}
 .home .art-card h3{min-height:0}
 .ivas-new-grid{grid-template-columns:1fr}
 .ivas-categories{padding:30px 0}
 .ivas-categories h2{font-size:27px}
}
@media(prefers-reduced-motion:reduce){.home .pill{transition:none}.home .pill:hover{transform:none}}

/* IVAS ART v3.9 — 10 refinements: trust band placed near footer,
   informed catalogue cards, richer new arrivals and better wayfinding. */
.home .benefits{margin-top:0;border-top:1px solid #e6e8e0;border-bottom:1px solid #e6e8e0}
.home .benefits .container{align-items:center}
.ivas-collection-intro{max-width:760px;color:#65766e;font-size:14px;line-height:1.6;margin:0 0 23px}
.home .art-card .ivas-card-size{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.ivas-new-card{transition:transform .18s ease,box-shadow .18s ease}
.ivas-new-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #21372b1c}
.ivas-new-card:focus-visible{outline:3px solid #3a7a6c;outline-offset:3px}
.ivas-new-meta{flex:1}
.ivas-new-price{font-size:17px;font-weight:700;color:#244a49}
.ivas-new-sizes{color:#66786d;font-size:13px;overflow-wrap:anywhere}
.ivas-new-stock{font-size:12px;font-weight:650;color:#367453}
.ivas-new-stock.is-out-of-stock{color:#9c6557}
.ivas-new-link{margin-top:auto;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.ivas-cat-count{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:25px;background:#ecf2ec;color:#315448;font-size:12px}
.ivas-contact-return{margin-top:20px!important;font-size:14px}
.ivas-contact-return a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:620px){.home .benefits .container{gap:18px;padding-top:20px;padding-bottom:20px}.ivas-new-meta{padding:16px}.ivas-collection-intro{font-size:14px}}
@media(prefers-reduced-motion:reduce){.ivas-new-card{transition:none}.ivas-new-card:hover{transform:none}}

/* v4.0: more consistent home card information and mobile layouts */
.home .art-card .ivas-card-category{font-size:12px;color:#738077;margin-top:0;margin-bottom:7px}
.home .art-card .ivas-home-stock{font-size:12px;font-weight:700;margin:7px 0 12px;color:#367453}
.home .art-card .ivas-home-stock.is-unavailable{color:#9c6557}
.home .art-card .bottom{gap:12px;align-items:center}
.home .art-card .bottom .price{overflow-wrap:anywhere}
.home .art-card .bottom .pill{flex-shrink:0}
.ivas-new-card{position:relative}
.ivas-new-sold{position:absolute;top:12px;left:12px;z-index:2;padding:6px 12px;border-radius:20px;background:#244a49;color:white;font-weight:700;font-size:12px}
.home .ivas-new-card img{display:block}
.home .section-top h2{overflow-wrap:break-word}
.home .about-layout img{max-width:100%;height:auto}
.home .contact .cta a{overflow-wrap:anywhere}
@media(max-width:760px){
  .home .art-card .bottom{align-items:flex-start}
  .home .art-card .bottom .pill{min-height:44px}
  .home .about-layout{gap:20px}
}
@media(max-width:520px){
  .home .art-card h3{min-height:0}
  .home .art-card .bottom .price{width:100%}
}

/* IVAS ART v4.1 — ten coordinated product-card and collection refinements. */
.ivas-collection-heading{max-width:850px;margin:0 0 32px;padding:0 0 20px;border-bottom:1px solid var(--line)}
.ivas-collection-heading h2{font:normal clamp(34px,4vw,56px)/1.12 Georgia,serif;color:var(--teal);margin:10px 0 16px}
.ivas-collection-lead{font-size:17px;color:#455c54;max-width:760px;line-height:1.7;margin:0 0 10px}
.ivas-collection-hint{font-size:14px;color:#6b786e;margin:0}
.ivas-size-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 6px 15px}
.ivas-size-price-tile{background:#f6f8f4;border:1px solid #dce3da;border-radius:8px;padding:9px 10px;min-width:0;display:flex;flex-direction:column;gap:3px;text-align:left}
.ivas-tile-size{font-size:15px;font-weight:800;color:#244a49;line-height:1.35;overflow-wrap:anywhere}
.ivas-tile-price{font-size:14px;font-weight:700;color:#2d5248;line-height:1.5}
.ivas-tile-price del{font-size:12px;opacity:.65;margin-right:4px}
.ivas-tile-price ins{text-decoration:none}
.ivas-size-price-tile.is-sold{opacity:.6;background:#f3f2f0}
.woocommerce ul.products li.product .ivas-size-prices{margin:7px 0 12px;width:100%;flex-shrink:0}
.woocommerce ul.products li.product .ivas-size-price-tile{padding:9px}
.woocommerce ul.products li.product .ivas-tile-size{font-size:15px}
.woocommerce ul.products li.product .ivas-tile-price{font-size:14px}
.home .art-card{display:flex;flex-direction:column;min-width:0}
.home .art-card .bottom{margin-top:auto;padding-top:6px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:auto}
@media(max-width:520px){.ivas-size-prices{gap:7px}.ivas-collection-lead{font-size:16px}.ivas-tile-size{font-size:14px}.ivas-collection-heading{margin-bottom:24px}}

/* IVAS ART v4.2 — 10 catalogue improvements: complete artwork thumbnails,
   compact aligned content, consistent price choices and prominent detail buttons. */
/* 1/2: no cropped paintings, including round artwork. Preserve entire artwork. */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product a img,
.home .art-card .visual img,
.home .ivas-new-card img{
  width:100%;height:100%;object-fit:contain!important;object-position:center;
  background:#f7f5ef;
}
/* 3: consistent image area even with different aspect ratios. */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product a img{
  aspect-ratio:1/1;height:auto;max-height:none;
}
.home .art-card .visual{aspect-ratio:1/1}
.home .ivas-new-card img{aspect-ratio:4/3;height:auto}
/* 4/5: denser, compact catalogue cards and breathing room under titles. */
.woocommerce ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product{
  display:flex;flex-direction:column;gap:0;align-items:stretch;
  height:100%;padding:12px!important;
}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link{
  display:flex;flex-direction:column;flex:0 0 auto;min-height:0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  min-height:0!important;padding:6px 0 4px!important;margin:0 0 3px!important;
  font-size:clamp(20px,1.9vw,24px);line-height:1.25;
}
/* 6: match tile geometry and legible figures. */
.woocommerce ul.products li.product .ivas-size-prices{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;gap:8px;margin:9px 0 12px!important;
}
.woocommerce ul.products li.product .ivas-size-price-tile{
  border-radius:8px;padding:10px 12px;min-height:65px;justify-content:center;
}
.woocommerce ul.products li.product .ivas-tile-size{
  font-size:16px;font-weight:800;line-height:1.35;
}
.woocommerce ul.products li.product .ivas-tile-price{
  font-size:15px;font-weight:750;line-height:1.4;
}
/* 7: subdued sold variations, unambiguous availability. */
.woocommerce ul.products li.product .ivas-size-price-tile.is-sold{
  background:#f1f0ed;border-style:dashed;opacity:.7;
}
/* 8: eliminate huge blank gap below options, keep actions at same baseline. */
.woocommerce ul.products li.product .ivas-card-availability{margin-top:4px}
.woocommerce ul.products li.product .ivas-card-category{margin-bottom:12px}
/* 9: full-width dark green detail button, predictable position. */
.woocommerce ul.products li.product>a.button,
.woocommerce ul.products li.product>.button{
  width:100%;min-height:46px;display:inline-flex;justify-content:center;
  align-items:center;text-align:center;border-radius:8px;
  margin-top:auto!important;padding:12px 14px!important;
  color:#fff!important;background:#244a49!important;
  font-size:14px;font-weight:700;
}
.woocommerce ul.products li.product>.button:hover{background:#35695f!important}
/* 10: avoid cramped controls and horizontal overflow on narrow screens. */
@media(max-width:600px){
  .woocommerce ul.products li.product .ivas-size-prices{gap:7px}
  .woocommerce ul.products li.product .ivas-size-price-tile{min-height:61px;padding:10px}
  .woocommerce ul.products li.product .ivas-tile-size{font-size:15px}
  .woocommerce ul.products li.product .ivas-tile-price{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  .woocommerce ul.products li.product:hover{transform:none}
}


/* IVAS ART v4.3 — ten refinements to the single-artwork shopping experience. */
/* 1: more balanced artwork gallery and information columns. */
.single-product .woocommerce div.product div.images{width:48%;margin-bottom:26px}
.single-product .woocommerce div.product div.summary{width:47%;margin-bottom:32px}
/* 2: consistent, readable product title. */
.single-product .product .product_title{font-family:Georgia,serif;line-height:1.12;font-size:clamp(31px,3.3vw,51px);color:#244a49;margin-bottom:18px}
/* 3: clear price hierarchy without changing the calculated price. */
.single-product .summary p.price{font-size:clamp(22px,2.2vw,30px);font-weight:650;line-height:1.4;margin-bottom:16px}
/* 4: better aligned details and stock indicators. */
.single-product .summary .ivas-art-details{background:#f4f6f2;border:1px solid #e0e7df;border-radius:10px;padding:14px 16px;margin:8px 0 20px;gap:8px}
/* 5: compact, clear size-selection panels. */
.single-product .ivas-variation-buttons{gap:10px}
.single-product .ivas-variation-button{min-height:84px;flex:1 1 140px;border-radius:9px}
/* 6: stronger visual feedback for chosen size. */
.single-product .ivas-variation-button.is-selected{border-color:#214b42;background:#e7f0e9;box-shadow:inset 0 0 0 1px #214b42}
/* 7: more visible purchase button. */
.single-product .summary .single_add_to_cart_button.button{min-height:50px;padding:13px 22px;border-radius:8px;background:#244a49;color:#fff;font-weight:750}
.single-product .summary .single_add_to_cart_button.button:hover{background:#35695f}
/* 8: transparent information on ordering and delivery. */
.ivas-purchase-guidance{margin:20px 0 22px;padding:16px 18px;border:1px solid #dbe4db;border-radius:12px;background:#fff}
.ivas-purchase-guidance h3{font:normal 22px/1.2 Georgia,serif;color:#244a49;margin:0 0 12px}
.ivas-purchase-guidance .ivas-guidance-line{display:flex;gap:9px;color:#52635b;font-size:14px;line-height:1.55;margin:0 0 9px}
.ivas-purchase-guidance .ivas-guidance-line span{color:#26714f;flex-shrink:0;font-weight:750}
/* 9: direct route back to the paintings. */
.ivas-back-to-artworks{display:inline-flex;margin-top:7px;font-weight:700;font-size:14px;color:#244a49;text-decoration:underline;text-underline-offset:4px}
/* 10: stacked, touch-friendly mobile product layout. */
@media(max-width:767px){
 .single-product .woocommerce div.product div.images,.single-product .woocommerce div.product div.summary{float:none;width:100%}
 .single-product .woocommerce div.product div.summary{clear:both}
 .single-product .ivas-variation-button{min-height:76px;min-width:calc(50% - 5px)}
 .single-product .summary .single_add_to_cart_button.button{min-height:48px}
 .ivas-purchase-guidance{padding:14px}
}


/* IVAS ART v4.4: make catalogue cards with three sizes match compact one-size cards.
   The second row in the old 2-column size grid created the uneven spacing. */
@media(min-width:961px){
  .woocommerce ul.products li.product .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)){
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
  }
  .woocommerce ul.products li.product .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)) .ivas-size-price-tile{
    padding:9px 6px;
    min-height:66px;
  }
  .woocommerce ul.products li.product .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)) .ivas-tile-size{
    font-size:13px;
    white-space:nowrap;
    overflow-wrap:normal;
    letter-spacing:-.035em;
  }
  .woocommerce ul.products li.product .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)) .ivas-tile-price{
    font-size:13px;
    white-space:nowrap;
  }
}
/* Keep titles, stock descriptions and actions harmonized across all catalogue rows. */
.woocommerce ul.products li.product .ivas-size-prices{margin-top:8px!important;margin-bottom:11px!important}
.woocommerce ul.products li.product .ivas-card-availability{margin-top:2px;margin-bottom:3px}
.woocommerce ul.products li.product .ivas-card-category{margin-bottom:10px}
.woocommerce ul.products li.product .button{margin-top:auto!important}
/* On narrow cards, keep each dimension readable rather than squashing it. */
@media(min-width:961px) and (max-width:1140px){
  .woocommerce ul.products li.product .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)){
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* IVAS ART v4.6 — homepage cards without white bars around paintings.
   Remove fixed image stage so each artwork uses its natural proportions.
   Scope only to homepage cards. Catalogue/shop layout stays unchanged. */
.home #artworks{padding-top:46px;padding-bottom:48px}
.home #artworks .ivas-collection-heading{margin-bottom:22px;padding-bottom:15px}
.home #artworks .art-grid{gap:18px;align-items:start}
.home #artworks .art-card{
  height:auto!important;min-height:0!important;
  padding:11px;display:flex;flex-direction:column;
  border-radius:10px;
}
.home #artworks .art-card .visual{
  aspect-ratio:auto;display:block;
  background:transparent;padding:0;overflow:hidden;border-radius:8px;
}
.home #artworks .art-card .visual img{
  width:100%;height:auto;display:block;object-fit:unset!important;background:transparent;
}
.home #artworks .art-card h3{
  min-height:0!important;margin:12px 3px 5px!important;
  font-size:clamp(21px,2vw,25px);line-height:1.22;
}
.home #artworks .art-card .ivas-card-category{
  margin:0 3px 7px!important;font-size:12px;line-height:1.4;
}
.home #artworks .art-card .ivas-size-prices{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;margin:5px 3px 9px!important;
}
.home #artworks .art-card .ivas-size-price-tile{
  padding:7px 9px;min-height:0;border-radius:7px;
}
.home #artworks .art-card .ivas-tile-size{font-size:14px;line-height:1.25}
.home #artworks .art-card .ivas-tile-price{font-size:13px;line-height:1.4}
.home #artworks .art-card .ivas-home-stock{
  margin:0 3px 8px!important;font-size:12px;line-height:1.4;
}
.home #artworks .art-card .bottom{
  margin:0 3px 3px!important;padding:0!important;display:flex;
  align-items:center;gap:8px;justify-content:flex-start;
}
.home #artworks .art-card .bottom .pill{
  min-height:40px;padding:8px 16px;border-radius:7px;
  background:#244a49;color:white;border-color:#244a49;
}
.home #artworks .art-card .bottom .pill:hover{background:#326258}
.home #artworks .art-card .price{font-size:14px}
.home #artworks .art-card .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)){
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;
}
.home #artworks .art-card .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)) .ivas-size-price-tile{
  padding:7px 5px;
}
.home #artworks .art-card .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)) .ivas-tile-size{
  font-size:12px;letter-spacing:-.035em;overflow-wrap:anywhere;
}
.home #artworks .art-card .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)) .ivas-tile-price{font-size:12px}
@media(max-width:1080px){
  .home #artworks .art-card .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)){
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:900px){
  .home #artworks .art-grid{gap:14px}
}
@media(max-width:620px){
  .home #artworks{padding-top:28px;padding-bottom:34px}
  .home #artworks .art-grid{grid-template-columns:1fr;gap:14px}
  .home #artworks .art-card .visual{aspect-ratio:auto}
  .home #artworks .art-card .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)){
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:380px){
  .home #artworks .art-card .ivas-size-prices:has(> .ivas-size-price-tile:nth-child(3)){
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* IVAS ART v4.7 — aligned home art cards without Details buttons.
   Equal card heights within each row, centered artwork and stable text flow. */
.home #artworks .art-grid{align-items:stretch!important;grid-auto-flow:row;gap:20px}
.home #artworks .art-card{
  display:flex;flex-direction:column;height:100%!important;min-height:0;
  padding:12px!important;gap:0;
}
/* The whole artwork is visible; background blends with the page rather than
   looking like a white frame. A consistent stage aligns the titles. */
.home #artworks .art-card .visual{
  display:flex!important;align-items:center;justify-content:center;
  width:100%;height:auto;aspect-ratio:1/1!important;
  border-radius:7px;background:#f4f1e9!important;overflow:hidden;
}
.home #artworks .art-card .visual img{
  width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center;
  display:block;background:transparent!important;
}
.home #artworks .art-card h3{margin:12px 2px 6px!important;min-height:0!important;line-height:1.18}
.home #artworks .art-card .ivas-card-category{margin:0 2px 7px!important}
.home #artworks .art-card .ivas-size-prices{margin:5px 2px 8px!important}
.home #artworks .art-card .ivas-home-stock{margin:6px 2px 4px!important}
.home #artworks .art-card .bottom{margin:0 2px!important;padding:0!important;min-height:0}
.home #artworks .art-card .bottom:empty{display:none!important}
.home #artworks .art-card .bottom .pill{display:none!important}
.home #artworks .art-card h3 a:hover{color:#377366}
@media(max-width:620px){
  .home #artworks .art-grid{gap:16px}
  .home #artworks .art-card .visual{aspect-ratio:1/1!important}
}

/* IVAS ART v4.8 — remove collection eyebrow and move section upward */
.home #artworks{padding-top:14px!important;padding-bottom:42px!important}
.home #artworks .ivas-collection-heading{margin-bottom:16px!important;padding-bottom:12px!important;max-width:760px}
.home #artworks .ivas-collection-heading h2{margin-top:0!important;margin-bottom:12px!important}
.home #artworks .ivas-collection-lead{margin-bottom:8px!important;max-width:720px}
.home #artworks .ivas-collection-hint{margin-top:0!important;margin-bottom:0!important}
@media(max-width:620px){.home #artworks{padding-top:6px!important;padding-bottom:28px!important}.home #artworks .ivas-collection-heading{margin-bottom:14px!important;padding-bottom:10px!important}}

/* IVAS ART v4.9 — remove collection title completely */
.home #artworks{padding-top:2px!important;padding-bottom:38px!important}
.home #artworks .ivas-collection-heading{margin-bottom:14px!important;padding-bottom:8px!important;max-width:760px;border-bottom:1px solid var(--line)}
.home #artworks .ivas-collection-lead{margin-top:0!important;margin-bottom:8px!important;font-size:17px;line-height:1.7}
.home #artworks .ivas-collection-hint{margin-top:0!important;margin-bottom:0!important}
@media(max-width:620px){.home #artworks{padding-top:0!important;padding-bottom:24px!important}.home #artworks .ivas-collection-heading{margin-bottom:12px!important;padding-bottom:8px!important}}


/* IVAS ART v5.0: centered collection heading and enlarged supporting text. */
.home #artworks .ivas-collection-heading{
  max-width:100%!important;
  width:100%;
  text-align:center;
  margin:0 auto 20px!important;
  padding:0 0 14px!important;
}
.home #artworks .ivas-collection-heading h2{
  text-align:center;
  margin:0 0 14px!important;
}
.home #artworks .ivas-collection-lead{
  max-width:850px!important;
  margin:0 auto 9px!important;
  font-size:19px!important;
  line-height:1.6;
  text-align:center;
  font-weight:650;
}
.home #artworks .ivas-collection-hint{
  max-width:850px;
  margin:0 auto!important;
  font-size:17px!important;
  line-height:1.55;
  text-align:center;
}
@media(max-width:620px){
  .home #artworks .ivas-collection-heading{margin-bottom:14px!important;}
  .home #artworks .ivas-collection-lead{font-size:17px!important;}
  .home #artworks .ivas-collection-hint{font-size:16px!important;}
}


/* IVAS ART v5.4: evenly-sized variation cards without a stretched last item.
   Preserve real WooCommerce variations and their prices/stock status. */
.single-product .variations_form .ivas-variation-buttons {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px!important;
  width:100%;
  align-items:stretch;
  margin:8px 0 12px;
}
.single-product .variations_form .ivas-variation-button {
  box-sizing:border-box;
  width:100%;min-width:0!important;max-width:none;
  min-height:108px;
  padding:13px 12px;
  margin:0;
  flex:none!important;
  display:flex;flex-direction:column;align-items:flex-start;
  justify-content:flex-start;
  text-align:left;
  border-radius:10px;
}
.single-product .ivas-variation-size {font-size:17px;line-height:1.3;font-weight:750}
.single-product .ivas-variation-stock {font-size:13px;line-height:1.4;margin:6px 0 8px}
.single-product .ivas-variation-price {margin-top:auto;font-size:17px;font-weight:700;line-height:1.35}
@media(max-width:1100px){
  .single-product .variations_form .ivas-variation-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .single-product .variations_form .ivas-variation-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
  .single-product .variations_form .ivas-variation-button{min-height:100px;padding:12px 10px}
  .single-product .ivas-variation-size{font-size:16px}
  .single-product .ivas-variation-price{font-size:16px}
}
@media(max-width:350px){
  .single-product .variations_form .ivas-variation-buttons{grid-template-columns:1fr}
}

/* IVAS ART 5.5 — premium art-gallery hero: cohesive, compact, responsive. */
.home .ivas-hero-premium{
 display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
 align-items:stretch;gap:0;padding-top:30px;padding-bottom:28px;
 min-height:490px;
}
.home .ivas-hero-premium .hero-copy{
 padding:clamp(28px,4vw,64px);min-width:0;min-height:0;
 background:#e9ebe4;border-radius:12px 0 0 12px;
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
}
.home .ivas-hero-premium .eyebrow{font-size:11px;letter-spacing:.19em;color:#926e40;line-height:1.5}
.home .ivas-hero-premium h1{
 font:normal clamp(40px,4.45vw,68px)/1.08 Georgia,serif;
 letter-spacing:-.035em;color:#244a49;margin:20px 0 18px;
 max-width:580px;text-wrap:balance;
}
.home .ivas-hero-premium p{color:#435a52;font-size:clamp(16px,1.4vw,18px);line-height:1.65;max-width:420px;margin:0}
.home .ivas-hero-premium .hero-actions{margin-top:26px;gap:12px}
.home .ivas-hero-premium .hero-actions .pill{min-height:46px;border-radius:7px;padding:11px 18px;white-space:normal;text-align:center}
.home .ivas-hero-premium .hero-actions .pill.primary{background:#244a49;color:#fff;border-color:#244a49}
.home .ivas-hero-premium .ivas-hero-footnote{font-size:12px;line-height:1.5;color:#677970;margin-top:30px;letter-spacing:.025em}
.home .ivas-hero-premium .hero-img{
 display:flex;align-items:center;justify-content:center;position:relative;
 min-height:0;overflow:hidden;border-radius:0 12px 12px 0;
 background:#e9ebe4;padding:24px;
}
.home .ivas-hero-premium .hero-img img{
 width:100%;height:auto;max-height:485px;object-fit:contain;display:block;
 box-shadow:0 16px 34px rgba(28,45,37,.16);
}
.home .ivas-hero-premium .hero-stamp{
 position:absolute;left:auto;right:30px;bottom:30px;
 background:rgba(255,255,250,.94);color:#244a49;
 padding:8px 12px;font-size:12px;letter-spacing:.035em;border-radius:5px;
}
@media(max-width:900px){
 .home .ivas-hero-premium{grid-template-columns:1fr;gap:0;padding-top:20px;padding-bottom:18px;min-height:0}
 .home .ivas-hero-premium .hero-copy{border-radius:12px 12px 0 0;padding:32px 28px}
 .home .ivas-hero-premium .hero-img{border-radius:0 0 12px 12px;padding:20px;min-height:0}
 .home .ivas-hero-premium .hero-img img{max-height:440px}
 .home .ivas-hero-premium .ivas-hero-footnote{margin-top:20px}
}
@media(max-width:560px){
 .home .ivas-hero-premium{padding-top:12px;padding-bottom:12px}
 .home .ivas-hero-premium .hero-copy{padding:28px 21px 22px}
 .home .ivas-hero-premium h1{font-size:clamp(35px,9vw,46px);margin:14px 0}
 .home .ivas-hero-premium p{font-size:16px}
 .home .ivas-hero-premium .hero-actions{width:100%;margin-top:20px;gap:9px}
 .home .ivas-hero-premium .hero-actions .pill{flex:1 1 160px;padding:10px}
 .home .ivas-hero-premium .hero-img{padding:13px}
 .home .ivas-hero-premium .hero-img img{max-height:335px}
 .home .ivas-hero-premium .hero-stamp{right:19px;bottom:19px;font-size:10px;padding:6px 8px}
}

/* Iva Art Gallery v6.2 — elegant signature-inspired wordmark, header only */
.site-header .brand strong {
  display:block;
  font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(33px, 3.4vw, 49px);
  letter-spacing: -.035em;
  line-height: 1.12;
  text-transform: none;
  color: var(--teal);
}
@media (max-width:620px) {
  .site-header .brand strong {font-size: 36px;}
}

/* IVA ART v6.3 — logo variant 2: artistic signature-inspired wordmark */
.brand{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center}
.brand small{margin-top:10px;letter-spacing:.26em;font-size:10px}
@media(max-width:620px){.brand strong{font-size:32px}}

/* v6.5: artist section click-to-switch photos; Hero unchanged. */
.ivas-about-gallery{position:relative;min-width:0}
.ivas-about-photo-button{display:block;width:100%;margin:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:left;line-height:0;border-radius:6px;overflow:hidden}
.ivas-about-photo-button img{display:block;width:100%;height:auto;max-height:510px;object-fit:contain;background:#e7ede8}
.ivas-about-photo-button:focus-visible,.ivas-about-dot:focus-visible{outline:3px solid #b18849;outline-offset:4px}
.ivas-about-gallery-controls{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:14px}
.ivas-about-dot{width:13px;height:13px;min-width:13px;border:2px solid #244a49;border-radius:50%;background:transparent;cursor:pointer;padding:0}
.ivas-about-dot.is-active{background:#244a49}

/* Iva Art v6.6 — handwritten signature-style brand, inspired by Iva Ruseva's reference. */
.site-header .brand strong {
    display: block;
    font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", "URW Chancery L", cursive !important;
    font-size: clamp(38px, 3.4vw, 58px) !important;
    font-weight: 400 !important;
    font-style: italic !important;
    line-height: 1.16 !important;
    letter-spacing: -.055em !important;
    text-transform: none !important;
    color: #244a49 !important;
    white-space: nowrap;
}
.site-header .brand small {
    margin-top: 4px !important;
}
@media (max-width: 620px) {
    .site-header .brand strong {
        font-size: 36px !important;
    }
    .site-header .brand small {
        font-size: 9px !important;
        letter-spacing: .17em !important;
    }
}


/* v6.8 — image-based signature logo, very close to the provided reference */
.brand{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;text-align:left;line-height:1.05;min-width:0}
.brand-logo-wrap{display:block;line-height:0}
.brand-logo{display:block;width:clamp(150px, 13vw, 235px);height:auto;max-width:100%;filter:none}
.brand strong{display:none !important}
.brand small{display:block;letter-spacing:.22em;color:var(--gold);font-size:10px;margin-top:7px;font-weight:700}
@media (max-width: 768px){.brand-logo{width:175px}.brand small{font-size:8.8px;letter-spacing:.18em}}
@media (max-width: 480px){.brand-logo{width:155px}.brand small{font-size:8.2px;letter-spacing:.15em}}

/* v6.9.2 — reduce the main logo so its visual width ends close to the gold subtitle below. */
.site-header .brand-logo{width:clamp(162px, 13.2vw, 220px) !important;height:auto !important;max-width:100% !important;object-fit:contain !important}
.site-header .brand small{margin-top:6px !important;letter-spacing:.18em !important;font-size:9px !important}
@media(max-width:768px){.site-header .brand-logo{width:180px !important}}
@media(max-width:480px){.site-header .brand-logo{width:152px !important}.site-header .brand small{font-size:8px !important;letter-spacing:.12em !important}}

/* IVA ART v7.0 — presentation gallery */
.ivas-cart-link, .ivas-cart-count,.ivas-favorite-item-price,.ivas-tile-price,.ivas-size-price-tile,.woocommerce .price,.woocommerce div.product .variations_form,.woocommerce .single_add_to_cart_button,.woocommerce a.add_to_cart_button,.woocommerce a.product_type_variable,.woocommerce a.product_type_simple,.wc-block-components-product-price,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout,.ivas-purchase-guidance,.iva-art-order-notice{display:none!important}
.iva-inquiry{position:relative;width:100%;max-width:350px;z-index:2;margin:10px 0 12px;text-align:left}
.iva-inquiry>summary{list-style:none;cursor:pointer;border:1px solid #244a49;border-radius:6px;background:#244a49;color:white;font-size:13px;font-weight:700;padding:13px 18px;line-height:1.4;text-align:center}
.iva-inquiry>summary::-webkit-details-marker{display:none}
.iva-inquiry>summary:after{content:' + ';white-space:pre}
.iva-inquiry[open]>summary:after{content:' −'}
.iva-inquiry-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #d8e1dc;background:#fff;border-radius:0 0 8px 8px;box-shadow:0 5px 14px #1a302a15}
.iva-inquiry-options a{font-size:13px;text-align:center;border:1px solid #d8e1dc;border-radius:5px;padding:10px;color:#244a49;font-weight:700;word-break:break-word}
.iva-inquiry-options a:hover{background:#e8eee9}
.iva-inquiry-options p{grid-column:1/-1;margin:0;font-size:12px;color:#555}
.art-card .bottom{display:block!important}
.art-card .iva-inquiry{margin:5px 0 0;max-width:none}
.iva-card-dimensions{font-size:13px;color:#244a49;font-weight:700;margin:8px 6px}

/* Iva Art v7.1 — device responsive layout / prevent clipped mobile content */
html{max-width:100%;overflow-x:clip}
body{width:100%;min-width:0;max-width:100%;overflow-x:clip}
.site-header,.bar,main,.site-footer{max-width:100%}
.container{max-width:calc(100% - 40px)}
.head,.head>*{min-width:0}
.site-header .brand{flex:0 1 auto;min-width:0;max-width:100%;overflow:visible}
.site-header .brand-logo-wrap{max-width:100%}
.site-header .brand-logo{max-width:100% !important}
.home .ivas-hero-premium,.hero-copy,.hero-img,.home .ivas-hero-premium .hero-copy,.home .ivas-hero-premium .hero-img{min-width:0;max-width:100%}
.home .ivas-hero-premium h1{overflow-wrap:break-word}
.home .ivas-hero-premium .hero-actions{max-width:100%}
.home .ivas-hero-premium .hero-actions .pill{min-width:0}
@media(max-width:900px){
 .site-header .head{flex-wrap:nowrap;justify-content:space-between;gap:10px}
 .site-header .brand{flex:0 1 auto}
 .site-header .ivas-mobile-toggle{flex:0 0 auto;margin-left:auto}
 .site-header .head .ivas-main-nav{position:absolute;top:100%;left:0;right:0;margin:0;padding:12px max(14px,calc((100vw - 1220px)/2));width:100%;background:#fff;box-shadow:0 10px 22px #142d2b20;z-index:60}
 .site-header .head .ivas-main-nav:not(.is-open){display:none}
 .site-header .head .ivas-main-nav.is-open{display:flex}
 .home .ivas-hero-premium{grid-template-columns:minmax(0,1fr)}
 .bar{overflow-wrap:anywhere}
}
@media(max-width:620px){
 .container{width:auto;max-width:none;margin-inline:14px}
 .site-header .head{min-height:76px;padding:10px 0}
 .site-header .brand-logo{width:clamp(132px,39vw,170px) !important}
 .site-header .brand small{font-size:clamp(7px,2.05vw,8.5px) !important;letter-spacing:.09em !important;white-space:normal}
 .site-header .ivas-mobile-toggle{padding:9px 11px;font-size:14px;white-space:nowrap}
 .bar{padding:10px 15px;font-size:clamp(9px,2.6vw,11px);line-height:1.45;letter-spacing:.10em}
 .home .ivas-hero-premium{padding-top:16px;padding-bottom:18px}
 .home .ivas-hero-premium .hero-copy{padding:24px 18px;border-radius:12px 12px 0 0}
 .home .ivas-hero-premium .eyebrow{font-size:10px;letter-spacing:.09em;overflow-wrap:anywhere}
 .home .ivas-hero-premium h1{font-size:clamp(32px,9vw,44px);line-height:1.12;letter-spacing:-.035em;max-width:100%;text-wrap:wrap}
 .home .ivas-hero-premium p{font-size:15px;line-height:1.6}
 .home .ivas-hero-premium .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}
 .home .ivas-hero-premium .hero-actions .pill{width:100%;justify-content:center;white-space:normal}
 .home .ivas-hero-premium .hero-img{padding:12px;border-radius:0 0 12px 12px}
 .home .ivas-hero-premium .hero-img img{height:auto;max-width:100%;max-height:420px;object-fit:contain}
 .home .ivas-hero-premium .hero-stamp{max-width:calc(100% - 32px);overflow-wrap:anywhere}
 .home .art-grid,.art-grid,.woocommerce ul.products{grid-template-columns:minmax(0,1fr)}
 .section-top,.about-layout,.benefits .container{min-width:0}
}
@media(max-width:360px){
 .container{margin-inline:10px}
 .site-header .brand-logo{width:128px !important}
 .site-header .ivas-mobile-toggle{font-size:12px;padding:8px}
 .home .ivas-hero-premium .hero-copy{padding:22px 14px}
}
