@charset "utf-8";
/* CSS Document */

.dynamic-category {
  --dc-accent: #687653;
  --dc-background: #f8f6f1;
  --dc-text: #393b32;

  width: 100%;
  max-width: 1400px;
  margin: 15px auto;
  padding: 25px 25px;
  box-sizing: border-box;
 /* background: var(--dc-background);*/
  color: var(--dc-text);
  font-family: Arial, sans-serif;
  border-bottom:1px #7ac8f1 solid;
}

.dc-header {
  text-align: left;
  margin-bottom: 15px;
}

.dc-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #9a7046;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  display:none;
}

.dc-header h2 {
  margin: 0 0 12px;
/*  font-family: Georgia, serif;*/
  font-size: clamp(24px, 4vw, 32px);
  font-weight: normal;
  font-style: italic;
}

.dc-header p {
  max-width: 600px;
  margin: auto;
  color: #777;
  font-size: 15px;
  line-height: 1.7;
  display:none;
}

.dc-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.dc-product {
  display: block;
  min-width: 0;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform .25s ease;
  border:0.5px #e3e1da solid;
  border-radius:15px;
  padding:10px;
  box-shadow: 3px 5px lightblue;
}



.dc-product:hover {
  transform: translateY(-5px);
}

.dc-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 15px;
  background: #eeeae2;
}

.dc-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.dc-product:hover .dc-image img {
  transform: scale(1.05);
}

.dc-product h3 {
  margin: 0 0 8px;
  /*font-family: Georgia, serif;*/
  font-size: 17px;
  font-weight: normal;
  line-height: 1.4;
}

.dc-price {
  display: block;
  color: #777;
  font-size: 14px;
}

.dc-footer {
  margin-top: 18px;
  text-align: right;
}

.dc-button {
  display: inline-block;
  padding: 14px 27px;
  background: #7ac8f1;
  color: #000 !important;
  font-size: 16px;
  letter-spacing: .4px;
  text-decoration: none !important;
  transition: transform .5s ease;
  border-radius:25px;
  box-shadow:2px 3px #999;
}

.dc-button:hover {
 transform: translateX(15px);
}

.dc-button span {
  margin-left: 10px;
}

.dc-loading,
.dc-error {
  grid-column: 1 / -1;
  padding: 35px 10px;
  text-align: center;
  color: #777;
  font-size: 14px;
}

/* TABLET */
@media(max-width: 850px) {
  .dc-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }
  .dc-header {text-align:center;}
  .dc-footer { text-align:center;}
}

/* MOBILE */
@media(max-width: 480px) {
  .dynamic-category {
    padding: 35px 15px;
    margin: 25px auto;
  }

  .dc-products {
    gap: 25px 12px;
  }

  .dc-product h3 {
    font-size: 15px;
  }
  
  
}