.tfw-single-product-page{
  background:#f7f2ec;
  padding:48px 0 72px;
}

.tfw-product-top{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:start;
}

.tfw-product-gallery{
  min-width:0;
}

.tfw-product-gallery__main{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  background:#f2eadf;
  border:1px solid rgba(0,0,0,.08);
  min-height:620px;
}

.tfw-product-gallery__slide{
  display:none;
  width:100%;
  height:100%;
}

.tfw-product-gallery__slide.is-active{
  display:block;
}

.tfw-product-gallery__slide img{
  width:100%;
  height:620px;
  object-fit:cover;
  display:block;
}

.tfw-product-gallery__thumbs{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:16px;
}

.tfw-thumb{
  width:92px;
  height:92px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:0;
  cursor:pointer;
}

.tfw-thumb.is-active{
  border-color:#c2a25d;
  box-shadow:0 0 0 2px rgba(194,162,93,.2);
}

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

.tfw-product-summary{
  padding:8px 0;
}

.tfw-product-meta-row{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.tfw-product-category{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:#fffdfa;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:#151515;
  font-weight:700;
}

.tfw-product-elements{
  display:flex;
  align-items:center;
  gap:10px;
}

.tfw-element-icon{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(194,162,93,.20);
  background:#fffdfa;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.tfw-element-icon img{
  width:22px;
  height:22px;
  object-fit:contain;
  display:block;
}

.tfw-product-intention{
  margin-bottom:14px;
  font-size:13px;
  color:#7a6a38;
  font-weight:700;
  letter-spacing:.3px;
}

.tfw-product-title{
  margin:0 0 14px;
  font-size:46px;
  line-height:1.06;
  font-family:ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight:650;
  color:#151515;
}

.tfw-product-rating-row{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.tfw-product-rating-text{
  font-size:14px;
  color:#666;
}

.tfw-product-price-row{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.tfw-product-price{
  font-size:30px;
  font-weight:700;
  color:#151515;
}

.tfw-product-price del{
  color:#999;
  margin-right:8px;
}

.tfw-product-price ins{
  text-decoration:none;
}

.tfw-product-save{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(194,162,93,.12);
  color:#7a6a38;
  font-size:13px;
  font-weight:700;
}

.tfw-product-short-description{
  margin-bottom:22px;
  color:#4e4e4e;
  line-height:1.8;
  font-size:15px;
}

.tfw-product-option-group{
  margin-bottom:22px;
}

.tfw-product-option-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.tfw-option-label{
  font-size:14px;
  font-weight:700;
  color:#151515;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.tfw-option-help{
  font-size:13px;
  color:#777;
}

.tfw-size-options{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.tfw-size-chip{
  position:relative;
  cursor:pointer;
}

.tfw-size-chip input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.tfw-size-chip span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:76px;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fffdfa;
  color:#151515;
  font-size:14px;
  font-weight:600;
}

.tfw-size-chip input:checked + span{
  border-color:#151515;
  background:#151515;
  color:#fff;
}

.tfw-product-purchase-row{
  display:grid;
  grid-template-columns:auto 1fr 1fr;
  gap:12px;
  align-items:center;
  margin-bottom:18px;
}

.tfw-qty-wrap .quantity{
  display:flex;
  align-items:center;
  min-height:46px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:#fffdfa;
}

.tfw-qty-wrap .quantity input{
  width:78px;
  min-height:46px;
  border:none;
  text-align:center;
  background:transparent;
}

.tfw-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:.18s ease;
}

.tfw-btn--primary{
  border:1px solid #151515;
  background:#151515;
  color:#fff;
}

.tfw-btn--primary:hover{
  background:#222;
}

.tfw-btn--secondary{
  border:1px solid rgba(0,0,0,.12) !important;
  background:#fffdfa !important;
  color:#151515 !important;
}

.tfw-btn--secondary:hover{
  border-color:#c2a25d !important;
}

.tfw-product-trust{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  padding-top:10px;
  color:#6a6a6a;
  font-size:13px;
  border-top:1px solid rgba(0,0,0,.08);
}

.tfw-product-tabs{
  margin-top:42px;
  border-radius:28px;
  background:#fffdfa;
  border:1px solid rgba(0,0,0,.08);
  overflow:hidden;
}

.tfw-product-tabs__nav{
  display:flex;
  gap:0;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.tfw-tab-btn{
  appearance:none;
  border:none;
  background:transparent;
  min-height:60px;
  padding:0 24px;
  font-size:15px;
  font-weight:700;
  color:#666;
  cursor:pointer;
}

.tfw-tab-btn.is-active{
  color:#151515;
  box-shadow:inset 0 -2px 0 #c2a25d;
}

.tfw-product-tabs__panels{
  padding:28px;
}

.tfw-tab-panel{
  display:none;
}

.tfw-tab-panel.is-active{
  display:block;
}

.tfw-details-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  margin-bottom:24px;
}

.tfw-detail-block{
  padding:20px;
  border-radius:22px;
  background:#f9f6f0;
  border:1px solid rgba(0,0,0,.06);
}

.tfw-detail-block h3{
  margin:0 0 10px;
  font-size:18px;
  font-weight:700;
  color:#151515;
}

.tfw-detail-block p{
  margin:0;
  color:#555;
  line-height:1.75;
  font-size:14px;
}

.tfw-detail-gallery{
  display:grid;
  gap:18px;
}

.tfw-detail-gallery__item{
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(0,0,0,.08);
  background:#f9f6f0;
}

.tfw-detail-gallery__item img{
  width:100%;
  height:auto;
  display:block;
}

.tfw-reviews-head{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:28px;
  align-items:start;
  margin-bottom:24px;
}

.tfw-reviews-summary{
  padding:22px;
  border-radius:22px;
  background:#f9f6f0;
  border:1px solid rgba(0,0,0,.06);
}

.tfw-reviews-score{
  font-size:48px;
  line-height:1;
  font-weight:700;
  color:#151515;
  margin-bottom:10px;
}

.tfw-reviews-score-meta{
  color:#666;
  font-size:14px;
}

.tfw-reviews-breakdown{
  display:grid;
  gap:12px;
}

.tfw-rating-bar-row{
  display:grid;
  grid-template-columns:62px 1fr 28px;
  gap:12px;
  align-items:center;
  font-size:14px;
  color:#555;
}

.tfw-rating-bar-track{
  height:8px;
  border-radius:999px;
  background:#ebe4d8;
  overflow:hidden;
}

.tfw-rating-bar-fill{
  height:100%;
  background:#c2a25d;
}

.tfw-review-prompt{
  margin-bottom:22px;
  padding:18px 20px;
  border-radius:18px;
  background:rgba(194,162,93,.10);
  border:1px solid rgba(194,162,93,.18);
  color:#5f5130;
  line-height:1.75;
  font-size:14px;
}

.tfw-review-list{
  display:grid;
  gap:16px;
  margin-bottom:28px;
}

.tfw-review-card{
  padding:20px;
  border-radius:22px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}

.tfw-review-card__top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.tfw-review-author{
  font-size:15px;
  font-weight:700;
  color:#151515;
}

.tfw-review-date{
  font-size:13px;
  color:#777;
  margin-top:4px;
}

.tfw-review-content{
  color:#555;
  line-height:1.8;
  font-size:14px;
}

.tfw-no-reviews{
  padding:20px;
  border-radius:18px;
  background:#f9f6f0;
  border:1px solid rgba(0,0,0,.06);
  color:#666;
}

.tfw-review-form-wrap{
  padding-top:20px;
  border-top:1px solid rgba(0,0,0,.08);
}

.tfw-review-form-wrap h3{
  margin:0 0 18px;
  font-size:24px;
  font-family:ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight:650;
}

.tfw-review-form-wrap form{
  display:grid;
  gap:14px;
}

.tfw-review-form-wrap label{
  display:block;
  margin-bottom:6px;
  font-size:13px;
  font-weight:700;
  color:#151515;
}

.tfw-review-form-wrap input,
.tfw-review-form-wrap textarea,
.tfw-review-form-wrap select{
  width:100%;
  min-height:46px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-size:14px;
}

.tfw-review-form-wrap textarea{
  min-height:140px;
  resize:vertical;
}

@media (max-width: 1100px){
  .tfw-product-top{
    grid-template-columns:1fr;
  }

  .tfw-product-gallery__main{
    min-height:auto;
  }

  .tfw-product-gallery__slide img{
    height:520px;
  }
}

@media (max-width: 780px){
  .tfw-product-title{
    font-size:34px;
  }

  .tfw-product-purchase-row{
    grid-template-columns:1fr;
  }

  .tfw-details-grid{
    grid-template-columns:1fr;
  }

  .tfw-reviews-head{
    grid-template-columns:1fr;
  }

  .tfw-product-tabs__nav{
    flex-wrap:wrap;
  }

  .tfw-product-tabs__panels{
    padding:20px;
  }
}

@media (max-width: 560px){
  .tfw-single-product-page{
    padding-top:30px;
  }

  .tfw-product-gallery__slide img{
    height:400px;
  }

  .tfw-thumb{
    width:72px;
    height:72px;
  }
}

/* Generic product detail content sections */
.tfw-product-trust__item{
  display:flex;
  align-items:center;
  gap:9px;
  max-width:210px;
  color:#454545;
  line-height:1.35;
}

.tfw-product-trust__item img{
  width:28px;
  height:28px;
  object-fit:contain;
  flex:0 0 auto;
}

.tfw-section-kicker{
  margin:0 0 12px;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#8a6c34;
}

.tfw-elemental-panel,
.tfw-materials-panel,
.tfw-care-card,
.tfw-spec-card{
  background:#fffaf4;
  border:1px solid rgba(194,162,93,.24);
}

.tfw-elemental-panel{
  margin-top:44px;
  display:grid;
  grid-template-columns:1fr 1.08fr 1fr;
  gap:32px;
  align-items:center;
  padding:46px 52px;
}

.tfw-elemental-panel h2,
.tfw-materials-panel h2,
.tfw-care-card h2,
.tfw-spec-card h2{
  margin:0 0 18px;
  font-family:ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size:22px;
  letter-spacing:2px;
  text-transform:uppercase;
  font-weight:500;
  color:#1c1c1c;
}

.tfw-elemental-copy p,
.tfw-structural-fit p{
  margin:0 0 20px;
  line-height:1.75;
  color:#3f3f3f;
  font-size:15px;
}

.tfw-element-lines,
.tfw-structural-fit ul,
.tfw-care-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:15px;
}

.tfw-element-line{
  display:grid;
  grid-template-columns:30px 1fr auto;
  gap:12px;
  align-items:center;
  color:#3f3f3f;
  font-size:15px;
  line-height:1.4;
}

.tfw-element-line__icon{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(194,162,93,.24);
  background:#fffdfa;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.tfw-element-line__icon img{
  width:19px;
  height:19px;
  object-fit:contain;
  display:block;
}

.tfw-element-line__name{
  font-weight:650;
  color:#242424;
}

.tfw-element-line__direction{
  font-size:24px;
  line-height:1;
  color:inherit;
}

.tfw-element-line--wood{ color:#5c7f55; }
.tfw-element-line--fire{ color:#b85343; }
.tfw-element-line--earth{ color:#9a7b3f; }
.tfw-element-line--metal{ color:#757575; }
.tfw-element-line--water{ color:#4f90bd; }
.tfw-element-line--neutral{ color:#6f6f6f; }

.tfw-elemental-chart{
  text-align:center;
}

.tfw-elemental-chart img{
  width:min(100%, 420px);
  height:auto;
  display:block;
  margin:0 auto;
}

.tfw-structural-fit ul{
  list-style:disc;
  padding-left:20px;
  gap:14px;
  color:#3f3f3f;
  line-height:1.7;
}

.tfw-materials-panel{
  padding:36px 48px 44px;
  text-align:center;
}

.tfw-materials-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:28px;
  text-align:left;
}

.tfw-material-card{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:20px;
  align-items:center;
  padding-right:24px;
  border-right:1px solid rgba(194,162,93,.28);
}

.tfw-material-card:last-child{
  border-right:none;
  padding-right:0;
}

.tfw-material-image{
  width:130px;
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
}

.tfw-material-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.tfw-material-body h3{
  margin:0 0 10px;
  font-size:15px;
  font-weight:700;
  color:#151515;
}

.tfw-material-body ul{
  margin:0;
  padding-left:18px;
  color:#3f3f3f;
  font-size:14px;
  line-height:1.55;
}

.tfw-material-body li{
  margin-bottom:6px;
}

.tfw-material-element{
  width:22px;
  height:22px;
  margin-top:14px;
  display:block;
  border-radius:999px;
  border:1.5px solid #777;
}

.tfw-material-element--wood{ border-color:#5c7f55; background:rgba(92,127,85,.08); }
.tfw-material-element--fire{ border-color:#b85343; background:rgba(184,83,67,.08); }
.tfw-material-element--earth{ border-color:#9a7b3f; background:rgba(154,123,63,.08); }
.tfw-material-element--metal{ border-color:#757575; background:rgba(117,117,117,.08); }
.tfw-material-element--water{ border-color:#4f90bd; background:rgba(79,144,189,.08); }
.tfw-material-element--neutral{ border-color:#777; background:rgba(0,0,0,.03); }

.tfw-care-specs-grid{
  display:grid;
  grid-template-columns:1fr 1.35fr;
  gap:24px;
  margin-top:24px;
}

.tfw-care-card,
.tfw-spec-card{
  padding:34px 42px;
}

.tfw-care-list li{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:12px;
  align-items:start;
  color:#3f3f3f;
  line-height:1.65;
}

.tfw-care-list li img{
  width:22px;
  height:22px;
  object-fit:contain;
  opacity:.82;
  margin-top:2px;
}

.tfw-spec-list{
  margin:0;
}

.tfw-spec-list div{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:20px;
  padding:14px 0;
  border-bottom:1px solid rgba(0,0,0,.10);
}

.tfw-spec-list div:last-child{
  border-bottom:none;
}

.tfw-spec-list dt{
  font-weight:700;
  color:#151515;
}

.tfw-spec-list dd{
  margin:0;
  color:#3f3f3f;
}

.tfw-test-band{
  margin-top:28px;
  min-height:210px;
  display:flex;
  align-items:center;
  background:url("../images/shop/testbkg.png") center / cover no-repeat;
  color:#f3f0ea;
  padding:42px 56px;
  border:1px solid rgba(194,162,93,.32);
}

.tfw-test-band__content{
  max-width:620px;
  padding:26px 30px;
  background:rgba(15,15,15,.62);
  border:1px solid rgba(194,162,93,.28);
}

  max-width:620px;
}

.tfw-test-band h2{
  margin:0 0 22px;
  font-family:ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size:32px;
  line-height:1.18;
  font-weight:500;
}

.tfw-test-band__button{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:46px;
  padding:0 24px;
  border:1px solid rgba(194,162,93,.75);
  color:#f3f0ea;
  background:rgba(0,0,0,.22);
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:13px;
  font-weight:700;
}

.tfw-product-feature-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  padding:30px 20px 20px;
  background:#f3eee8;
  border:1px solid rgba(194,162,93,.20);
  border-top:none;
}

.tfw-product-feature-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:#777;
}

.tfw-product-feature-item img{
  width:42px;
  height:42px;
  object-fit:contain;
  opacity:.85;
}

@media (max-width: 1100px){
  .tfw-elemental-panel{
    grid-template-columns:1fr;
    padding:34px 26px;
    text-align:left;
  }

  .tfw-elemental-chart{
    order:-1;
  }

  .tfw-materials-grid{
    grid-template-columns:1fr;
  }

  .tfw-material-card{
    grid-template-columns:110px 1fr;
    border-right:none;
    border-bottom:1px solid rgba(194,162,93,.22);
    padding:0 0 24px;
  }

  .tfw-material-card:last-child{
    border-bottom:none;
    padding-bottom:0;
  }

  .tfw-material-image{
    width:110px;
  }

  .tfw-care-specs-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 680px){
  .tfw-product-trust{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }

  .tfw-product-trust__item{
    max-width:none;
  }

  .tfw-elemental-panel,
  .tfw-materials-panel,
  .tfw-care-card,
  .tfw-spec-card{
    padding:26px 20px;
  }

  .tfw-material-card{
    grid-template-columns:1fr;
    text-align:center;
  }

  .tfw-material-image{
    margin:0 auto;
  }

  .tfw-material-body ul{
    display:inline-block;
    text-align:left;
  }

  .tfw-material-element{
    margin-left:auto;
    margin-right:auto;
  }

  .tfw-spec-list div{
    grid-template-columns:1fr;
    gap:6px;
  }

  .tfw-test-band{
    padding:34px 22px;
    min-height:260px;
    background:url("../images/shop/testbkg.png") center / cover no-repeat;
  }

  .tfw-test-band__content{
    padding:22px 20px;
  }

  .tfw-test-band h2{
    font-size:25px;
  }

  .tfw-product-feature-strip{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px){
  .tfw-product-feature-strip{
    grid-template-columns:1fr;
  }
}
