/* PDP v3: information-rich structure, inspired by the approved reference layout. */
#productView .product-detail{align-items:start!important;gap:clamp(34px,5.8vw,80px)!important;margin-top:26px!important}
#productView .pdp-gallery{background:#fff!important;border:1px solid #e7e1e4!important;padding:13px!important}
#productView .pdp-main-photo{border:0!important;background:#fbfaf9!important}
#productView .pdp-main-photo img{padding:26px!important}
#productView .pdp-gallery>p{margin:10px 4px 0!important;color:#756a70!important;font-size:10px!important}
.pdp-v3-assurance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;border-top:1px solid #eee8eb;border-left:1px solid #eee8eb}
.pdp-v3-assurance-item{min-width:0;padding:14px 11px;border-right:1px solid #eee8eb;border-bottom:1px solid #eee8eb}
.pdp-v3-assurance-item strong{display:block;color:#382830;font-size:10px;font-weight:750;line-height:1.35}
.pdp-v3-assurance-item span{display:block;margin-top:4px;color:#776a70;font-size:9px;line-height:1.45}
#productView .pdp-brand{display:inline-flex;margin-bottom:12px!important;color:#480f32!important;font-size:10px!important;letter-spacing:1px!important}
#productView .product-detail .pdp-copy h1{margin:0!important;max-width:660px;font-size:clamp(31px,3.6vw,49px)!important;line-height:1.08!important;letter-spacing:-1.9px!important}
#productView .pdp-intro{margin-top:16px!important;max-width:620px;color:#62575c!important;font-size:15px!important;line-height:1.7!important}
#productView .pdp-price{margin-top:21px!important;padding-top:20px!important;border-top:1px solid #e8e3e5!important}
#productView .pdp-price strong{font-size:30px!important;color:#241d20!important}
.pdp-v3-info{margin:18px 0 3px;border-top:1px solid #e8e2e5;border-bottom:1px solid #e8e2e5}
.pdp-v3-status{position:relative;margin:0;padding:13px 0 13px 18px;border-bottom:1px solid #eee8eb;color:#4e4147;font-size:11px;line-height:1.55}
.pdp-v3-status:before{position:absolute;top:19px;left:1px;width:8px;height:8px;border-radius:50%;background:#480f32;content:""}
.pdp-v3-value-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:18px 0}
.pdp-v3-value{min-width:0}
.pdp-v3-value small,.pdp-v3-meta span{display:block;margin-bottom:7px;color:#8c757f;font-size:9px;font-weight:800;letter-spacing:1px}
.pdp-v3-value p{margin:0;color:#40353a;font-size:12px;line-height:1.65}
.pdp-v3-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;padding:12px 0;border-top:1px solid #eee8eb;color:#7b6d73}
.pdp-v3-meta span{margin:0;color:#7a6b72;font-weight:700;text-transform:uppercase}
.pdp-v3-meta a{color:#480f32!important;font-size:11px;font-weight:700;text-decoration:none;border-bottom:1px solid #c6a6b5!important}
#productView .pdp-selection{margin:20px 0!important}
#productView .pdp-purchase{border-color:#e4dce0!important;box-shadow:none!important}
#productView .pdp-preview[hidden]{display:none!important}
#productView .pdp-care{margin-top:14px!important}
#productView .pdp-order-assist,#productView .pdp-v2-status{display:none!important}

/* The reference-style routine block gives every PDP a clear next-step structure. */
.pdp-v3-routine{margin:64px 0 0;padding-top:0}
.pdp-v3-section-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:20px}
.pdp-v3-section-heading small{display:block;color:#806774;font-size:9px;font-weight:800;letter-spacing:1.25px}
.pdp-v3-section-heading h2{margin:7px 0 0;color:#2c2328;font-size:clamp(26px,3vw,35px);font-weight:500;letter-spacing:-.9px;line-height:1.15}
.pdp-v3-section-heading>a{flex:0 0 auto;color:#480f32;font-size:11px;font-weight:700;text-decoration:none;border-bottom:1px solid #b991a1;padding-bottom:3px}
.pdp-v3-routine-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e7e0e3;border-right:0}
.pdp-v3-routine-card{position:relative;display:flex;min-width:0;min-height:355px;flex-direction:column;padding:16px;border-right:1px solid #e7e0e3;background:#fff}
.pdp-v3-routine-card.is-current{background:#fcf9fa}
.pdp-v3-step{align-self:flex-start;padding:4px 6px;background:#480f32;color:#fff;font-size:8px;font-weight:800;letter-spacing:.75px;line-height:1}
.pdp-v3-routine-card.is-current .pdp-v3-step{background:#8a6b7a}
.pdp-v3-routine-image{display:flex;align-items:center;justify-content:center;min-height:165px;margin:8px 0 10px;background:#fbfaf9}
.pdp-v3-routine-image img{width:100%;height:158px;object-fit:contain;mix-blend-mode:multiply;padding:8px}
.pdp-v3-routine-brand{overflow:hidden;color:#846d78;font-size:9px;font-weight:800;letter-spacing:.8px;line-height:1.3;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.pdp-v3-routine-title{display:-webkit-box;min-height:39px;margin-top:7px;overflow:hidden;color:#34282e;font-size:12px;font-weight:600;line-height:1.45;text-decoration:none;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.pdp-v3-routine-price{display:block;margin-top:7px;color:#2c2127;font-size:14px;font-weight:650}
.pdp-v3-routine-link{margin-top:auto;padding-top:12px;color:#480f32;font-size:10px;font-weight:750;text-decoration:none}
.pdp-v3-routine-empty{display:flex;min-height:255px;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.pdp-v3-routine-empty strong{color:#5d4f56;font-size:13px}
.pdp-v3-routine-empty p{margin:7px 0 0;color:#82747a;font-size:10px;line-height:1.5}

/* Pair, tabs and recommendation sections follow the same uncluttered hierarchy. */
#productView .pdp-pair{margin-top:66px!important;padding-top:0!important;border:0!important}
#productView .pair-heading{margin-bottom:18px!important}
#productView .pair-heading .section-eyebrow{color:#806774!important}
#productView .pair-heading h2{color:#2c2328!important;font-size:clamp(26px,3vw,35px)!important;font-weight:500!important;letter-spacing:-.9px!important}
#productView .pair-heading p{max-width:580px;color:#766970!important}
#productView .pair-body{border-color:#e7e0e3!important;background:#fff!important;padding:24px!important}
#productView .pair-plus{position:static!important;top:auto!important;left:auto!important;align-self:center!important;transform:none!important}
#productView .pair-items img{background:#fbfaf9!important}
#productView .pair-total{border-left-color:#e7e0e3!important}
#productView .pair-total button{background:#480f32!important;border-color:#480f32!important}
#productView .product-content{margin-top:66px!important;border-top:1px solid #e4dde1!important}
#productView .pdp-guide-intro{display:none!important}
#productView .product-tabs{gap:0!important;padding:0!important;border-bottom:1px solid #e4dde1!important}
#productView .product-tabs button{margin:0!important;padding:17px 16px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:#796a72!important;font-size:10px!important;font-weight:800!important;letter-spacing:.65px!important}
#productView .product-tabs button[aria-selected="true"]{border-bottom-color:#480f32!important;background:transparent!important;color:#480f32!important}
#productView .product-tab-panel{max-width:900px;padding:31px 0 12px!important;color:#54494f!important;font-size:14px!important;line-height:1.8!important}
#productView .product-tab-panel h2{color:#2f2429!important;font-size:25px!important;font-weight:500!important;letter-spacing:-.5px!important}
#productView .pdp-glance.pdp-v3-facts{margin:24px 0!important;max-width:680px}
#productView .pdp-glance>div{border-color:#e8e1e4!important;background:#fff!important}
#productView .pdp-routine-position,#productView .pdp-knowledge-note{display:none!important}
#productView .ingredient-list li{background:#faf4f7!important;border-color:#eadbe2!important;color:#513943!important}
#productView .usage-steps li:before{background:#480f32!important}
#productView .product-source{display:none!important}
#productView .pdp-related{margin-top:70px!important;padding-top:0!important;border-top:0!important}
#productView .pdp-related-heading h2{color:#2c2328!important;font-size:clamp(26px,3vw,35px)!important;font-weight:500!important;letter-spacing:-.9px!important}
#productView .pdp-related-heading .section-eyebrow{color:#806774!important}
.pdp-v3-recommended{margin-top:70px;padding-top:0}
.pdp-v3-suggestion-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.pdp-v3-suggestion-card{min-width:0;border:1px solid #e7e0e3;background:#fff;padding:12px}
.pdp-v3-suggestion-image{display:flex;align-items:center;justify-content:center;background:#fbfaf9}
.pdp-v3-suggestion-image img{width:100%;height:190px;object-fit:contain;mix-blend-mode:multiply;padding:10px}
.pdp-v3-suggestion-card small{display:block;overflow:hidden;margin-top:12px;color:#856e79;font-size:9px;font-weight:800;letter-spacing:.8px;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.pdp-v3-suggestion-card>a:not(.pdp-v3-suggestion-image){display:-webkit-box;min-height:38px;margin-top:7px;overflow:hidden;color:#34282e;font-size:12px;font-weight:600;line-height:1.45;text-decoration:none;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.pdp-v3-suggestion-card strong{display:block;margin-top:8px;color:#2c2127;font-size:14px}

@media(max-width:850px){
  #productView .product-detail{gap:24px!important}
  #productView .product-detail .pdp-copy h1{font-size:32px!important}
  .pdp-v3-assurance{margin-top:10px}
  .pdp-v3-assurance-item{padding:11px 8px}
  .pdp-v3-assurance-item strong{font-size:9px}
  .pdp-v3-assurance-item span{font-size:8px}
  .pdp-v3-value-grid{grid-template-columns:1fr;gap:15px;padding:16px 0}
  .pdp-v3-routine,#productView .pdp-pair,#productView .product-content,#productView .pdp-related,.pdp-v3-recommended{margin-top:48px!important}
  .pdp-v3-section-heading{align-items:flex-start;flex-direction:column;gap:10px}
  .pdp-v3-routine-grid{grid-template-columns:1fr 1fr;border-right:1px solid #e7e0e3}
  .pdp-v3-routine-card{min-height:302px;padding:11px;border-right:0;border-bottom:1px solid #e7e0e3}
  .pdp-v3-routine-card:nth-child(odd){border-right:1px solid #e7e0e3}
  .pdp-v3-routine-image{min-height:134px}
  .pdp-v3-routine-image img{height:128px}
  .pdp-v3-routine-title{font-size:11px}
  #productView .pair-body{padding:17px!important}
  #productView .pair-items img{height:130px!important}
  #productView .product-tabs{margin-right:-20px!important;padding-right:20px!important}
  #productView .product-tabs button{padding:15px 12px!important;font-size:9px!important}
  .pdp-v3-suggestion-grid{grid-template-columns:1fr 1fr;gap:10px}
  .pdp-v3-suggestion-card{padding:9px}
  .pdp-v3-suggestion-image img{height:145px}
}

/* Let the product image use the full gallery area on every screen. */
#productView .pdp-gallery{padding:0!important;border:0!important;background:#fff!important}
#productView .pdp-main-photo{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden;cursor:zoom-in;box-shadow:none!important;background:#fff!important}
#productView .pdp-main-photo img{width:100%!important;height:100%!important;padding:0!important;object-fit:contain;mix-blend-mode:normal;transform:none!important}
#productView .pdp-image-action{display:none!important}
