/* assets/css/product-putty.css - Wall Putty & Plaster Reusable Product Page Template */

.putty-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 80px 24px;
  font-family: var(--font-family);
  color: var(--color-text-main, #0F172A);
  box-sizing: border-box;
}

/* Ensure footer bottom bar is completely visible above sticky bar */
.footer {
  padding-bottom: 80px !important;
}



/* Top Hero Section */
.putty-hero {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 44px;
  align-items: start;
}

@media (max-width: 1024px) {
  .putty-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Left Hero Media Card */
.putty-media-card {
  background: #FDF6F0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.putty-media-card img {
  width: 100%;
  height: 100%;
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.putty-media-card:hover img {
  transform: scale(1.04);
}

/* Right Hero Info */
.putty-info-col {
  display: flex;
  flex-direction: column;
}

.putty-brand-badge {
  font-size: 13px;
  font-weight: 800;
  color: #FF4500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.putty-title {
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}

.putty-tagline {
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 16px 0;
}

/* Feature Pills */
.putty-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.putty-pill {
  background: #FFF1EB;
  border: 1.5px solid #FF8A50;
  color: #1F2937;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Short Description */
.putty-short-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 24px 0;
}

/* Select Pack Size Section */
.putty-pack-section {
  margin-bottom: 24px;
}
.putty-pack-heading {
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 16px;
}
.putty-pack-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
}
@media (max-width: 640px) {
  .putty-pack-card {
    width: calc(50% - 7px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 calc(50% - 7px) !important;
    min-height: 105px !important;
  }
}

.putty-pack-card {
  position: relative;
  width: 152px;
  min-width: 152px;
  max-width: 152px;
  min-height: 110px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 13px 10px 11px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.putty-pack-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.putty-pack-card.active,
.putty-pack-card.selected {
  border: 2px solid #FF5722;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.14);
}
.putty-pack-card .pack-size-label {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 3px;
  line-height: 1.2;
}
.putty-pack-card .pack-price-label {
  font-size: 19px;
  font-weight: 800;
  color: #0F172A;
  margin-top: 2px;
  line-height: 1.2;
}
.putty-pack-card .recommended-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF4500;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(255, 69, 0, 0.3);
  z-index: 2;
}

/* Mid 2-Column Info Cards */
.putty-mid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .putty-mid-cards {
    grid-template-columns: 1fr;
  }
}

.putty-info-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.putty-info-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px 0;
}
.putty-coverage-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.putty-coverage-col {
  display: flex;
  flex-direction: column;
}
.putty-coverage-col .cov-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 3px;
}
.putty-coverage-col .cov-val-num {
  font-size: 12.5px;
  color: #4B5563;
  line-height: 1.4;
}
.putty-coverage-col .cov-val-coat {
  font-size: 12.5px;
  color: #4B5563;
  line-height: 1.4;
}
.putty-surfaces-text {
  font-size: 13px;
  line-height: 1.6;
  color: #4B5563;
  margin: 0;
}

/* Lower 3-Card Details Container (Matching Reference Image) */
.putty-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .putty-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.putty-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.putty-card-header {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin: 0 0 20px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
  line-height: 1.3;
}

/* Card 1: Description */
.putty-desc-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.putty-desc-body p {
  font-size: 13px;
  line-height: 1.65;
  color: #4B5563;
  margin: 0;
}

/* Card 2: Specifications Vertical Rows */
.putty-specs-body {
  display: flex;
  flex-direction: column;
}

.putty-spec-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 8.5px 0;
  border-bottom: 1px solid #F8FAFC;
  font-size: 12.5px;
  line-height: 1.45;
  align-items: start;
}
.putty-spec-row:last-child {
  border-bottom: none;
}
.putty-spec-row .spec-k {
  font-weight: 700;
  color: #111827;
}
.putty-spec-row .spec-v {
  color: #4B5563;
  white-space: pre-line;
}

/* Card 3: Why Choose Benefit Blocks */
.putty-why-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.putty-why-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.putty-why-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
}
.putty-why-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #4B5563;
  margin: 0;
}

/* You May Also Like Section */
.putty-related-section {
  margin-top: 48px;
  margin-bottom: 40px;
}
.putty-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.putty-related-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}
.putty-slider-arrows {
  display: flex;
  gap: 8px;
}
.putty-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.putty-arrow-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}

.putty-related-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-top: 10px;
  padding-bottom: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.putty-related-slider::-webkit-scrollbar {
  display: none;
}

/* Sticky Action Bar */
.putty-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  z-index: 100;
  padding: 10px 24px;
}
.putty-sticky-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.putty-sticky-product {
  display: flex;
  align-items: center;
  gap: 12px;
}
.putty-sticky-product img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #FDF8F5;
  border-radius: 6px;
  padding: 2px;
  border: 1px solid #F1F5F9;
}
.putty-sticky-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
}
.putty-sticky-price {
  font-size: 15px;
  font-weight: 700;
  color: #FF3811;
  margin-top: 1px;
}
.putty-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #15803D;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 8px;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.putty-whatsapp-btn:hover {
  background: #166534;
}

/* Error State */
.putty-error-state {
  text-align: center;
  padding: 80px 20px;
}
.putty-error-state h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.putty-error-state p {
  color: #64748B;
  font-size: 15px;
}
