/* Dinni Doll Shop. Uses the Colourfull theme's --dd-* tokens where present,
   with fallbacks so it still reads if the theme is switched back to Kadence. */

.dd-shop-filters[hidden],.dd-shop-nomatch[hidden]{display:none!important}
.dd-shop-filters{display:flex;flex-wrap:wrap;gap:.6em;margin:0 0 1.6em}
.dd-shop-filters .wp-block-button{margin:0}
.dd-shop-filters .wp-block-button__link{cursor:pointer;font:inherit}
.dd-shop-filters .wp-block-button__link[aria-pressed="true"]{
  background:var(--dd-gold,#c9a24a)!important;
  border-color:var(--dd-gold,#c9a24a)!important;
  color:#2a0f33!important;
}

/* Grid */
.dd-shop-grid{
  list-style:none;margin:0;padding:0;
  display:grid;gap:14px;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
}
.dd-shop-card{margin:0;padding:0}
.dd-shop-card[hidden]{display:none}
.dd-shop-card__link{
  display:flex;flex-direction:column;gap:.55rem;height:100%;
  padding:.7rem;text-decoration:none!important;
  background:rgba(7,9,13,.5);
  border:1px solid rgba(201,162,74,.28);
  border-radius:2px;
  box-shadow:0 0 0 1px rgba(12,17,22,.8);
  transition:border-color .18s ease;
}
.dd-shop-card__link:hover,.dd-shop-card__link:focus-visible{border-color:rgba(201,162,74,.75)}
.dd-shop-card__link:focus-visible{outline:2px solid var(--dd-goldlt,#f0c46a);outline-offset:2px}
.dd-shop-card__img{display:block;aspect-ratio:1/1;overflow:hidden;border:1px solid rgba(201,162,74,.45);border-radius:1px;background:rgba(7,9,13,.6)}
.dd-shop-card__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.dd-shop-card__link:hover .dd-shop-card__img img{transform:scale(1.03)}
.dd-shop-card__title{
  font-family:var(--dd-serif,Georgia,serif);font-weight:400;
  color:var(--dd-cream,#ede4d2);line-height:1.3;font-size:1rem;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.dd-shop-card__link:hover .dd-shop-card__title{color:var(--dd-goldlt,#f0c46a)}
.dd-shop-card__price{margin-top:auto;font-family:var(--dd-sans,system-ui,sans-serif);color:var(--dd-goldlt,#f0c46a);letter-spacing:.06em;font-size:.95rem}

.dd-shop-etsy-note{margin-top:2.2em;font-size:.72rem;line-height:1.5;color:var(--dd-mute,#a5a29a);opacity:.85}
.dd-shop-empty,.dd-shop-nomatch,.dd-shop-unavailable p{color:var(--dd-text,#c4c0b6)}

/* Product page */
/* The theme zeroes padding and max-width on page wrappers (normal pages are full-bleed blocks that bring their own gutters), so the product page sets its own. */
.dd-product-page .dd-product-entry .entry-content.single-content{max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding-left:clamp(16px,4vw,40px)!important;padding-right:clamp(16px,4vw,40px)!important;padding-bottom:3rem!important;box-sizing:border-box}
.dd-shop-crumbs{font-family:var(--dd-sans,system-ui,sans-serif);font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;margin:0 0 1.4rem;color:var(--dd-mute,#a5a29a)}
.dd-shop-crumbs a{color:var(--dd-goldlt,#f0c46a);text-decoration:none}
.dd-shop-crumbs a:hover{text-decoration:underline}
.dd-shop-crumbs span{margin:0 .5em}

.dd-product{display:grid;gap:clamp(20px,4vw,48px);grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start}
@media (max-width:860px){.dd-product{grid-template-columns:1fr}}

.dd-product__main{margin:0;border:1px solid rgba(201,162,74,.45);background:rgba(7,9,13,.6)}
.dd-product__main img{display:block;width:100%;height:auto}
.dd-product__thumbs{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.dd-product__thumbs li{margin:0}
.dd-product__thumbs a{display:block;width:72px;height:72px;border:1px solid rgba(201,162,74,.3);opacity:.75;transition:opacity .15s,border-color .15s}
.dd-product__thumbs a:hover,.dd-product__thumbs a[aria-current="true"]{opacity:1;border-color:var(--dd-gold,#c9a24a)}
.dd-product__thumbs a:focus-visible{outline:2px solid var(--dd-goldlt,#f0c46a);outline-offset:2px}
.dd-product__thumbs img{display:block;width:100%;height:100%;object-fit:cover}
.dd-product__video{margin:14px 0 0;border:1px solid rgba(201,162,74,.45);background:rgba(7,9,13,.6)}
.dd-product__video video{display:block;width:100%;height:auto}

.dd-product__info{background:var(--dd-scrim,rgba(7,9,13,.72));padding:clamp(18px,3vw,32px);border:1px solid rgba(201,162,74,.22)}
.dd-product__title{margin:0 0 .4em;font-family:var(--dd-serif,Georgia,serif);color:var(--dd-cream,#ede4d2);line-height:1.2}
/* Must out-specify the theme's h1.entry-title{font-size:...!important}; Etsy titles are long. */
.dd-product-page h1.entry-title.dd-product__title{font-size:clamp(1.35rem,2.3vw,1.85rem)!important}
/* Kadence's boxed content style pulls the article 16px past each edge on phones, cancelling the gutter above. */
.dd-product-page article.dd-product-entry{margin-left:0!important;margin-right:0!important}
.dd-product__price{font-family:var(--dd-sans,system-ui,sans-serif);color:var(--dd-goldlt,#f0c46a);font-size:1.35rem;letter-spacing:.05em;margin:0 0 .8em}
.dd-product__flag{color:var(--dd-goldpale,#e8d9a8);font-style:italic;margin:0 0 1em}
.dd-product__buy .wp-block-button__link{font-size:1rem;padding:.9rem 2rem}
.dd-product__checkout-note{font-size:.85rem;color:var(--dd-mute,#a5a29a);margin:.8em 0 1.6em}
.dd-product__checkout-note a{color:var(--dd-goldlt,#f0c46a)}
.dd-product__desc{color:var(--dd-text,#c4c0b6);line-height:1.7;border-top:1px solid rgba(201,162,74,.25);padding-top:1.4em}
.dd-product__desc p{margin:0 0 1em}
.dd-product__back a{color:var(--dd-goldlt,#f0c46a);text-decoration:none}
.dd-product__back a:hover{text-decoration:underline}

.dd-product-missing{max-width:38rem;margin:2rem auto;text-align:center}
.dd-product-missing .wp-block-buttons{justify-content:center;margin-top:1rem}

.dd-shop-buttons{margin:0}
