/* Nur DP-Shopübersicht und Kategorieansicht. */
.dp-shop-layout { --dp-cream:#fffbed; --dp-burgundy:#800b04; --dp-pale:#fff2cf; color:var(--dp-burgundy); background:var(--dp-cream); width:100%; }
.dp-shop-layout a { color:inherit; }
.dp-shop-layout h1,.dp-shop-layout h2,.dp-category-name { font-family:'Cormorant Garamond',Georgia,serif; }
.dp-shop-layout h1 { font-size:clamp(34px,4vw,60px); line-height:1.1; margin:0 0 16px; }
.dp-shop-layout h2 { font-size:clamp(27px,3vw,40px); line-height:1.2; margin:0 0 24px; }
.dp-category-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px 56px; }
.dp-category-card { display:flex; flex-direction:column; align-items:center; text-align:center; text-decoration:none; min-width:0; }
.dp-category-image { display:block; width:100%; aspect-ratio:1; border-radius:50%; background:var(--dp-pale); overflow:hidden; }
.dp-category-image img { display:block; width:100%; height:100%; object-fit:cover; }
.dp-category-name { font-size:clamp(22px,2.4vw,32px); line-height:1.2; margin-top:14px; }
.dp-category-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:40px; align-items:start; }
.dp-category-nav { font-size:17px; line-height:1.6; position:sticky; top:24px; max-height:calc(100vh - 48px); overflow:auto; }
.dp-nav-title { font-weight:600; margin:0 0 12px; }
.dp-category-nav ul { list-style:none; margin:0; padding:0; }
.dp-category-nav li { margin:8px 0; }
.dp-category-nav details ul { padding-left:16px; }
.dp-category-nav summary { cursor:pointer; }
.dp-category-nav a { text-decoration:none; }
.dp-category-nav a[aria-current=page] { font-weight:700; text-decoration:underline; }
.dp-category-description { line-height:1.55; margin-bottom:28px; }
.dp-subcategory-strip { display:flex; gap:24px; overflow-x:auto; padding-bottom:16px; margin-bottom:32px; scroll-snap-type:x proximity; }
.dp-subcategory-strip .dp-category-card { flex:0 0 calc((100% - 72px)/4); scroll-snap-align:start; }
.dp-product-section,.dp-product-group { scroll-margin-top:32px; margin:0 0 48px; }
.dp-shop-layout ul.products { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px 24px; padding:0; margin:0; }
.dp-shop-layout ul.products::before,.dp-shop-layout ul.products::after { display:none!important; }
.dp-shop-layout ul.products li.product { display:flex; flex-direction:column; float:none!important; width:auto!important; margin:0!important; min-width:0; text-align:center; }
.dp-shop-layout ul.products li.product img { width:100%; aspect-ratio:1; object-fit:contain; border-radius:50%; background:var(--dp-pale); }
.dp-shop-layout ul.products li.product .woocommerce-loop-product__title { font-size:20px; line-height:1.25; margin:12px 0; }
.dp-shop-layout ul.products li.product .price { color:var(--dp-burgundy); }
.dp-shop-layout ul.products li.product > .button { margin-top:auto!important; align-self:center; border-radius:28px; background:var(--dp-burgundy); color:white; padding:12px 20px; }
.dp-shop-layout ul.products li.product > a.woocommerce-LoopProduct-link { margin-bottom:16px; }
.dp-shop-layout a:focus-visible,.dp-shop-layout summary:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
@media(max-width:1024px) { .dp-category-layout { grid-template-columns:190px minmax(0,1fr); gap:24px; } .dp-shop-layout ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); } .dp-subcategory-strip .dp-category-card { flex-basis:calc((100% - 48px)/3); } }
@media(max-width:767px) { .dp-category-layout { display:block; } .dp-category-nav { position:static; max-height:none; margin-bottom:28px; } .dp-category-overview { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px; } .dp-shop-layout ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px; } .dp-subcategory-strip .dp-category-card { flex-basis:calc((100% - 24px)/2); } .dp-shop-layout ul.products li.product .woocommerce-loop-product__title { font-size:17px; } }

.dp-strip-controls { display:flex; justify-content:flex-end; gap:8px; margin-top:-24px; margin-bottom:24px; }
.dp-strip-controls button { background:#ff7c59; border:0; border-radius:50%; color:#fff; width:40px; height:40px; padding:0; font-size:30px; line-height:1; cursor:pointer; }

/* Navigation nach freigegebener DP-Vorlage. Theme-Linkstile explizit überschreiben. */
.dp-shop-layout .dp-category-nav {
  font-family: 'Figtree', sans-serif !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  color: #800b04;
}
.dp-shop-layout .dp-category-nav .dp-nav-title {
  font-family: inherit !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}
.dp-shop-layout .dp-category-nav ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.dp-shop-layout .dp-category-nav li {
  margin: 0 0 7px !important;
  padding: 0 !important;
  list-style: none !important;
}
.dp-shop-layout .dp-category-nav a,
.dp-shop-layout .dp-category-nav a[aria-current],
.dp-shop-layout .dp-category-nav summary {
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  color: #800b04 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.dp-shop-layout .dp-category-nav summary {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none !important;
  cursor: pointer;
}
.dp-shop-layout .dp-category-nav summary::-webkit-details-marker { display: none !important; }
.dp-shop-layout .dp-category-nav summary::marker { content: ''; }
.dp-shop-layout .dp-category-nav summary::before { display: none !important; }
.dp-shop-layout .dp-category-nav summary::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  box-sizing: border-box;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  margin-right: 4px;
}
.dp-shop-layout .dp-category-nav details[open] > summary::after {
  transform: translateY(3px) rotate(225deg);
}
.dp-shop-layout .dp-category-nav summary > a { flex: 1; min-width: 0; }
.dp-shop-layout .dp-category-nav details > ul {
  padding: 8px 0 0 14px !important;
}
@media(max-width:767px) {
  .dp-shop-layout .dp-category-nav,
  .dp-shop-layout .dp-category-nav a,
  .dp-shop-layout .dp-category-nav summary,
  .dp-shop-layout .dp-category-nav .dp-nav-title { font-size: 16px !important; }
}
