/* -----------------------------------------------------------------
   Product section
----------------------------------------------------------------- */
.product-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
  background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
}

.product-section .container {
  max-width: var(--d3-maxw);
}

/* -----------------------------------------------------------------
   Section header
----------------------------------------------------------------- */
.product-section .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.product-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--d3-ff-nav);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--d3-brand);
  margin-bottom: .75rem;
}

.product-section .section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--d3-brand);
}

.product-section .section-title {
  font-family: var(--d3-ff-disp);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0;
  color: var(--d3-ink);
  line-height: 1.25;
}

/* -----------------------------------------------------------------
   Product grid
----------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* -----------------------------------------------------------------
   Product card — horizontal layout
----------------------------------------------------------------- */
.product-card {
  background: var(--d3-white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 2px 12px -4px rgba(3, 16, 49, .06);
  transition: all .35s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -10px rgba(3, 16, 49, .15);
}

.product-card .card-image {
  width: 160px;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, var(--d3-paper-2) 0%, var(--d3-paper-3) 100%);
  overflow: hidden;
  align-self: stretch;
  min-height: 160px;
}

.product-card .card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform .5s ease;
}

.product-card:hover .card-image img {
  transform: scale(1.08);
}

.product-card .card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--d3-blue) 0%, #004a99 100%);
  color: #fff;
  font-family: var(--d3-ff-nav);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

.product-card .card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.product-card .card-title {
  font-family: var(--d3-ff-disp);
  font-size: 1.1rem;
  margin: 0 0 .5rem;
  color: var(--d3-ink);
  line-height: 1.35;
}

.product-card .card-title a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.product-card .card-title a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--d3-brand);
  transition: width .25s ease;
}

.product-card .card-title a:hover::after {
  width: 100%;
}

.product-card .card-excerpt {
  font-size: .88rem;
  color: var(--d3-ink-soft);
  line-height: 1.55;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-card .card-actions {
  display: flex;
  gap: .75rem;
  margin-top: auto;
}

.product-card .btn-link-plain {
  font-family: var(--d3-ff-nav);
  font-size: .85rem;
  font-weight: 600;
  color: var(--d3-brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .2s;
}

.product-card .btn-link-plain:hover {
  gap: .7rem;
}

/* -----------------------------------------------------------------
   Empty state
----------------------------------------------------------------- */
.product-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--d3-white);
  border-radius: 12px;
  box-shadow: 0 2px 12px -4px rgba(3, 16, 49, .06);
  color: var(--d3-steel);
  font-family: var(--d3-ff-body);
  font-size: 1rem;
}

/* -----------------------------------------------------------------
   Featured strip
----------------------------------------------------------------- */
.featured-strip {
  background: var(--d3-white);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--d3-rule);
  position: relative;
}

.featured-strip .strip-container {
  max-width: var(--d3-maxw);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  position: relative;
  z-index: 2;
}

.featured-strip .strip-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.featured-strip .strip-title {
  font-family: var(--d3-ff-disp);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--d3-ink);
  margin: 0;
}

.featured-strip .strip-subtitle {
  color: var(--d3-steel);
  font-size: 1rem;
  margin: .5rem 0 0;
}

.featured-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.featured-item {
  background: var(--d3-paper);
  border: 1px solid var(--d3-rule);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: all .3s;
}

.featured-item:hover {
  background: var(--d3-paper-2);
  border-color: var(--d3-rule-hard);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -8px rgba(3, 16, 49, .12);
}

.featured-thumb {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--d3-paper-2);
}

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

.featured-content {
  flex: 1;
  min-width: 0;
}

.featured-title {
  font-family: var(--d3-ff-disp);
  font-size: 1.05rem;
  color: var(--d3-ink);
  margin: 0 0 .5rem;
}

.featured-title a {
  color: inherit;
  text-decoration: none;
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--d3-brand);
  font-family: var(--d3-ff-nav);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: .5rem;
  transition: gap .2s;
}

.featured-link:hover {
  gap: .75rem;
}

/* -----------------------------------------------------------------
   Responsive
----------------------------------------------------------------- */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-direction: row;
  }

  .product-card .card-image {
    width: 120px;
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .product-card {
    flex-direction: column;
  }

  .product-card .card-image {
    width: 100%;
    height: 180px;
    min-height: 180px;
  }

  .featured-carousel {
    grid-template-columns: 1fr;
  }
}
