/* =========================================================
   Painted by Agata — design tokens
   Color  : --paper (bg), --ink (text), --stone (secondary text),
            --hairline (dividers), --moss (single accent)
   Type   : 'Montserrat' throughout — weight 600 for headings/titles,
            weight 400 for body/ui/nav/price/tags
   Notes  : Image crop behavior (fixed-size boxes + object-fit:cover)
            is kept identical to the original implementation, only
            re-skinned. Functional classes/ids used by script.js or
            inline page scripts (heart/heart_full, shop_filter_on/off,
            data-tags, #item-1/2/3, .card/.cards/.container/.card_img,
            .buy-btn-1/.buy-btn-span, .header/.menu*, .footer) are kept
            so no behavior changes — only their appearance does.
   ========================================================= */

:root{
  --paper:#FAFAF8;
  --ink:#232220;
  --stone:#8C8778;
  --hairline:#E4E1D8;
  --moss:#5B6B4F;
}

*{ box-sizing:border-box; }

body {
  margin: 0;
  background-color: var(--paper);
  max-width: 1200px;
  margin: auto;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:"Montserrat", Helvetica, Arial, sans-serif;
  font-weight:600;
  margin:0 0 .5em;
}

a {
  color: var(--ink);
}

small{ font-size: .9rem; color:var(--stone); }

hr{ border:none; border-top:1px solid var(--hairline); }

/* ---------------------------------------------------------
   header / nav
   (markup: includes/menu.php — .header, .logo, .menu-btn,
   .menu-icon > .nav-icon, .menu > li > a — unchanged)
   --------------------------------------------------------- */

.header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--hairline);
  box-shadow: none;
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 1200px;
  z-index: 999999999;
}

/* .header's children (.logo, .menu, .menu-icon) are floated, which
   collapses the parent's own height unless cleared -- without this,
   the header's background only paints behind the floated children
   themselves, leaving a transparent gap between them that the page
   shows through while scrolling. */
.header::after {
  content: "";
  display: table;
  clear: both;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: var(--paper);
}

.header li a {
  display: block;
  padding: 18px 18px;
  border-right: none;
  text-decoration: none;
  font-size: .92rem;
  letter-spacing: .02em;
  color: var(--ink);
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: transparent;
  color: var(--moss);
}

.header .logo {
  display: block;
  float: left;
  font-family:"Montserrat", Helvetica, Arial, sans-serif;
  font-weight:600;
  font-size: 1.35rem;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  float: right;
  padding: 24px 18px;
  position: relative;
  user-select: none;
}

.header .menu-icon .nav-icon {
  background: var(--ink);
  display: block;
  height: 1px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .nav-icon:before,
.header .menu-icon .nav-icon:after {
  background: var(--ink);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .nav-icon:before { top: 6px; }
.header .menu-icon .nav-icon:after { top: -6px; }

/* menu btn */

.header .menu-btn { display: none; }

/* generously large rather than tuned to the current number of links, so
   adding another menu item later doesn't silently clip it off-screen again
   -- max-height is only needed here to make the open/close transition
   animate, the actual visible height is still just the real content. */
.header .menu-btn:checked ~ .menu { max-height: 1000px; }

.header .menu-btn:checked ~ .menu-icon .nav-icon { background: transparent; }

.header .menu-btn:checked ~ .menu-icon .nav-icon:before {
  transform: rotate(-45deg);
  top:0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
  transform: rotate(45deg);
  top:0;
}

/* ---------------------------------------------------------
   shared page shell
   --------------------------------------------------------- */

.page-top-text{
  max-width:none;
  width:100%;
  padding:56px 32px 24px !important;
  margin:0 !important;
  text-align:left !important;
  display:block !important;
  line-height:1.65;
  color:var(--ink);
}

.page-top-text p{
  color:var(--stone);
  margin:0 0 .8em;
}

.page-top-text h1, .page-top-text h2{
  font-size:1.9rem;
}

.page-top-text a{ color:var(--moss); }

.div_photo{
  float:none;
  text-align:center;
  padding:0 32px 40px;
}

/* 48em = 768px @ 16pt font */
@media (min-width: 48em) {
  .header li { float: left; }
  .header .menu { clear: none; float: right; max-height: none; }
  .header .menu-icon { display: none; }

  .div_photo{ max-width:280px; }
}

/* reduced view */
@media (max-width: 48em) {
  .div_photo{ max-width:220px; margin:0 auto; }
  .page-top-text{ max-width:100%; padding:40px 24px 16px !important; }
}

/* ---------------------------------------------------------
   footer
   (markup: includes/footer.php — .footer unchanged)
   --------------------------------------------------------- */

.footer {
  position: static;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: var(--paper);
  border-top: 1px solid var(--hairline);
  overflow: hidden;
  box-shadow: none;
  color: var(--stone);
  font-size: .88rem;
  padding: 10px 0 30px;
  margin-top:40px;
}

.footer a{ color:var(--ink); text-decoration:none; }
.footer a:hover{ color:var(--moss); }

/* ---------------------------------------------------------
   shop grid + tag filters  (shop.php)
   --------------------------------------------------------- */

#shop_tag_filters{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  justify-content:flex-start !important;
  font-family:"Montserrat", Helvetica, Arial, sans-serif;
  font-size:.88rem;
  font-weight:400;
  border-bottom:1px solid var(--hairline);
  padding-bottom:16px;
  margin:0 32px 36px;
}

.shop_filter_on,
.shop_filter_off{
  border-radius:0;
  background:none !important;
  min-width:0;
  padding:0 0 4px !important;
  border-bottom:2px solid transparent;
}

.shop_filter_on{
  color:var(--ink);
  border-bottom-color:var(--moss);
}

.shop_filter_off{
  color:var(--stone);
}

.shop_filter_off:hover{ color:var(--ink); }

/* ---------------------------------------------------------
   editorial piece listing (shop.php)
   one painting per row, image + text column alternating
   sides on wide screens, stacked on narrow ones.
   --------------------------------------------------------- */

.item-card{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:50px;
  align-items:center;
  padding:0 !important;
  border-radius:0;
  min-width:0;
  width:100%;
  max-height:none !important;
  min-height:0 !important;
  overflow:visible !important;
  margin-bottom:90px;
}

.item-card:nth-of-type(odd) .shop-img-col{ order:1; }
.item-card:nth-of-type(odd) .shop-text-col{ order:2; }
.item-card:nth-of-type(even) .shop-img-col{ order:2; }
.item-card:nth-of-type(even) .shop-text-col{ order:1; }

.item-card:hover{ background-color:transparent; }

.item-card:hover .shop_item_cover_img{ opacity:.9; }

.shop_item_cover_img{
  border-radius: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  object-fit: contain;
  transition: opacity .35s ease;
  display:block;
}

.item-card a{ text-decoration:none; }

.item-card b{
  font-family:"Montserrat", Helvetica, Arial, sans-serif;
  font-weight:600;
  font-size:2.1rem;
  line-height:1.15;
  display:block;
  margin-bottom:6px;
}

.shop-index{ font-size:.78rem; color:var(--stone); margin-bottom:16px; }

.item-title{
  font-family:"Montserrat", Helvetica, Arial, sans-serif;
  font-weight:600;
  font-size:2.4rem;
  line-height:1.15;
  display:block;
  margin:4px 0 10px;
}
.shop-text-col{ text-align:left; max-width:420px; }
.shop-desc{ line-height:1.75; margin:10px 0 22px; max-width:380px; }
.shop-meta{ color:var(--stone); font-size:.85rem; line-height:1.9; margin-bottom:24px; }

@media (max-width: 64em){
  .item-card{ grid-template-columns:1fr; gap:24px; }
  .item-card:nth-of-type(odd) .shop-img-col,
  .item-card:nth-of-type(even) .shop-img-col{ order:1; }
  .item-card:nth-of-type(odd) .shop-text-col,
  .item-card:nth-of-type(even) .shop-text-col{ order:2; }
  .shop-text-col{ max-width:100%; }
}

/* ---------------------------------------------------------
   item page gallery  (item.php)
   Thumbnails stay in a fixed order (never reorder on click);
   the hero area crossfades to show whichever image is active,
   using the same hidden radio-input trick as before, just
   driving opacity instead of flex order. The thumbnail strip
   is only rendered at all when a painting has more than one
   real photo, and scrolls horizontally on narrow screens
   instead of wrapping.
   --------------------------------------------------------- */

input[type=radio] { display: none; }

.gallery-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  /* same 10px inset as the info block below, so the hero image, the
     thumbnails and the text all start on the same vertical line */
  padding: 0 10px;
  box-sizing: border-box;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .3s ease;
  cursor: zoom-in;
}

#item-1:checked ~ .hero #hero-1,
#item-2:checked ~ .hero #hero-2,
#item-3:checked ~ .hero #hero-3,
#item-4:checked ~ .hero #hero-4,
#item-5:checked ~ .hero #hero-5{
  opacity: 1;
  z-index: 2;
}

.thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.thumb {
  flex: 0 0 68px;
  height: 68px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color .2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#item-1:checked ~ .thumbs #thumb-1,
#item-2:checked ~ .thumbs #thumb-2,
#item-3:checked ~ .thumbs #thumb-3,
#item-4:checked ~ .thumbs #thumb-4,
#item-5:checked ~ .thumbs #thumb-5{
  border-bottom-color: var(--ink);
}

@media (max-width: 48em){
  .hero{ aspect-ratio: 1 / 1; }
}

.item-desc{
  line-height: 1.75;
  /* roughly two blank lines between the title and the description */
  margin: 2.6em 0 22px;
}

/* descriptions may contain light markup from the admin editor */
.item-desc p,
.item-desc div{
  margin: 0 0 1em;
}

/* font sizes applied from the editor's size menu */
.item-desc span[style*="font-size"]{
  line-height: 1.5;
}

.item-desc p:last-child{
  margin-bottom: 0;
}

.item-desc ul,
.item-desc ol{
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.item-desc li{
  margin: 0 0 .35em;
}

.item-desc strong,
.item-desc b{
  font-weight: 600;
}

.item-desc a{
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}

.item-desc a:hover{
  border-bottom-color: var(--ink);
}

/* ---------------------------------------------------------
   buy button + badges
   --------------------------------------------------------- */

.buy-btn-1 {
  width: auto;
  min-width: 0;
  height: auto;
  display: block;
  margin: 18px 0;
  text-align:left;
}

.buy-btn-1 a,
.buy-btn-1 button {
  text-decoration: none;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  background-color: var(--ink);
  color: var(--paper);
  text-transform: none;
  letter-spacing: normal;
  position: relative;
  display: inline-block;
  box-shadow: none;
  width:auto;
  text-align:center;
  font-size:.92rem;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  cursor: pointer;
  transition: background-color .2s ease;
}

.buy-btn-1 a:hover,
.buy-btn-1 button:hover {
  background-color: var(--moss);
  color: var(--paper);
}

.buy-btn-span { position: relative; z-index: 3; }

.buy-btn-1 a::before, .buy-btn-1 a::after { content: none; }

.buy-btn-1 .icon{ display:none; } /* icons retired in the editorial layout; link text carries the action */

.freeshipping{
  border-radius:0;
  color:var(--stone);
  display:inline;
  font-weight:400;
  background:transparent;
  border:none;
  font-size:.85rem;
  padding:0;
}
.freeshipping::before{ content:"\00b7"; margin:0 6px; }

/* ---------------------------------------------------------
   regional pricing  (DE / EU / US / RW)
   --------------------------------------------------------- */

.not-available{
  color: var(--stone);
  font-size: .92rem;
  line-height: 1.5;
  margin: 18px 0;
  max-width: 320px;
}

/* the notice deliberately inherits .shop-meta typography (same size and
   colour as the price line), just with tighter spacing */
.region-notice{
  margin: 0 0 14px;
  max-width: none;
}

/* region selector in the footer (all pages) */
.footer-region{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: var(--stone);
  margin: 0 0 10px;
  padding: 0 16px;
}

.footer-region label{
  margin: 0;
}

.footer-region select{
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: .82rem;
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 6px 10px;
  cursor: pointer;
}

.footer-region select:focus{
  outline: none;
  border-color: var(--ink);
}

.footer-region button{
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: .82rem;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 6px 12px;
  cursor: pointer;
}

/* ---------------------------------------------------------
   contact / newsletter sign-up form (contact.php)
   --------------------------------------------------------- */

.contact-form{
  max-width: 480px;
  margin: 30px 0 10px;
}

.contact-form label{
  display: block;
  font-size: .78rem;
  color: var(--stone);
  margin-bottom: 6px;
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea{
  display: block;
  width: 100%;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: .95rem;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  margin-bottom: 22px;
  box-sizing: border-box;
  transition: border-color .2s ease;
}

.contact-form textarea{
  min-height: 140px;
  resize: vertical;
}

.contact-form input[type=text]:focus,
.contact-form input[type=email]:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: var(--ink);
}

.contact-checkbox{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 24px;
  cursor: pointer;
}

.contact-checkbox input[type=checkbox]{
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

/* honeypot field: present in the markup (so simple bots fill it in) but
   moved off-screen rather than display:none, since some bots skip fields
   hidden that way -- real visitors never see or interact with it. */
.hp-field{
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
}

.form-message{
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: .9rem;
  max-width: 480px;
}

.form-message.success{
  background: rgba(91,107,79,0.08);
  color: var(--moss);
  border: 1px solid var(--moss);
}

.form-message.error{
  background: rgba(140,135,120,0.08);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

.form-message ul{ margin:0; padding-left:1.2em; }

.subscribe-note{
  color: var(--stone);
  font-size: .76rem;
  line-height: 1.5;
  margin: 12px 0 0;
  max-width: 480px;
}

/* ---------------------------------------------------------
   favorite heart (unchanged mechanism, same colors)
   --------------------------------------------------------- */

.heart,
.heart_full {
  display:inline-block;
  width: 18px;
  height: 18px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.heart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C8778' stroke-width='1.4'%3E%3Cpath d='M12 20.2s-7.6-4.7-9.9-9.2C.5 7.6 2.3 4 6 4c2.4 0 3.9 1.4 6 3.8C14.1 5.4 15.6 4 18 4c3.7 0 5.5 3.6 3.9 7-2.3 4.5-9.9 9.2-9.9 9.2z'/%3E%3C/svg%3E");
}

.heart_full {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4d4d' stroke='%23ff4d4d' stroke-width='1.4'%3E%3Cpath d='M12 20.2s-7.6-4.7-9.9-9.2C.5 7.6 2.3 4 6 4c2.4 0 3.9 1.4 6 3.8C14.1 5.4 15.6 4 18 4c3.7 0 5.5 3.6 3.9 7-2.3 4.5-9.9 9.2-9.9 9.2z'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------
   small inline icons (cart / email / instagram / payment)
   colored via currentColor so they inherit var(--ink)
   --------------------------------------------------------- */

.icon{
  display:inline-block;
  vertical-align:middle;
  color:var(--ink);
  fill:none;
  stroke:currentColor;
}
