/* SlingMatic product page styles — scoped under #af-root (tokens from landing.css --af-*) */

/* ===== breadcrumb ===== */
#af-root .afp-crumbs{border-bottom:1px solid var(--af-line);background:var(--af-surface)}
#af-root .afp-crumbs-in{display:flex;align-items:center;gap:10px;padding-top:14px;padding-bottom:14px;font-size:13px;color:var(--af-muted)}
#af-root .afp-crumbs-in a:hover{color:var(--af-text)}
#af-root .afp-crumbs-in b{color:var(--af-text);font-weight:600}

/* ===== main grid ===== */
#af-root .afp-main{padding:56px 0 80px}
#af-root .afp-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:start}

/* gallery card */
#af-root .afp-gallery{position:sticky;top:92px}
#af-root .afp-gallery .woocommerce-product-gallery{background:#FFFFFF;border-radius:18px;border:1px solid var(--af-line);padding:22px;position:relative}
#af-root .afp-gallery .woocommerce-product-gallery__wrapper{margin:0;border-radius:12px;overflow:hidden}
#af-root .afp-gallery .woocommerce-product-gallery__image img,
#af-root .afp-gallery .woocommerce-product-gallery__wrapper img{border-radius:12px;width:100%;height:auto;display:block}
#af-root .afp-gallery .flex-control-thumbs,
#af-root .afp-gallery .wd-product-thumbs,
#af-root .afp-gallery .swiper-wrapper{gap:10px}
#af-root .afp-gallery .flex-control-thumbs li,
#af-root .afp-gallery .wd-thumb img{border-radius:9px;overflow:hidden}
#af-root .afp-gallery img{border-radius:9px}
#af-root .afp-gallery .onsale,#af-root .afp-gallery .wd-badge{border-radius:8px}

/* ===== summary ===== */
#af-root .afp-eyebrow{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--af-accent);margin-bottom:14px}
#af-root .afp-title{font-family:'Oswald',sans-serif;font-weight:700;font-size:44px;line-height:1.08;text-transform:uppercase;margin-bottom:16px}
#af-root .afp-rating{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;color:var(--af-muted);margin-bottom:20px}
#af-root .afp-rating .stars{color:var(--af-brass);letter-spacing:2px;font-size:14px}
#af-root .afp-rating b{color:var(--af-text);font-family:'Oswald',sans-serif;font-size:15px}
#af-root .afp-rating:hover span:last-child{color:var(--af-text)}
#af-root .afp-price{margin-bottom:16px}
#af-root .afp-price .price{font-family:'Oswald',sans-serif;font-weight:700;font-size:32px;color:var(--af-accent)}
#af-root .afp-price .price del{font-size:18px;color:var(--af-muted);font-weight:400;margin-right:10px}
#af-root .afp-price .price ins{text-decoration:none}
#af-root .afp-short{color:var(--af-muted);font-size:15px;line-height:1.7;margin-bottom:24px;max-width:480px}
#af-root .afp-short b{color:var(--af-text)}

#af-root .afp-trust{display:flex;flex-direction:column;gap:10px;padding:18px 0;border-top:1px dashed var(--af-line);border-bottom:1px dashed var(--af-line);margin-bottom:26px}
#af-root .afp-trust .trust-item{font-size:13.5px}

/* buy area — restyle Woo controls */
#af-root .afp-buy{margin-bottom:22px}
#af-root .afp-buy table.variations{border:none;background:none;margin-bottom:14px}
#af-root .afp-buy table.variations th.label{padding:0 14px 10px 0;text-align:left;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--af-muted);vertical-align:middle}
#af-root .afp-buy table.variations td.value{padding:0 0 10px}
#af-root .afp-buy table.variations select{background:var(--af-card);color:var(--af-text);border:1px solid var(--af-line);border-radius:10px;padding:12px 42px 12px 16px;font-family:'Inter',sans-serif;font-size:14.5px;font-weight:600;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239A9288' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;cursor:pointer;min-width:230px}
#af-root .afp-buy table.variations select:focus{outline:none;border-color:var(--af-accent)}
#af-root .afp-buy .reset_variations{color:var(--af-accent);font-size:12px}
#af-root .afp-buy .woocommerce-variation{margin-bottom:14px}
#af-root .afp-buy .woocommerce-variation-price .price{font-family:'Oswald',sans-serif;font-weight:700;font-size:26px;color:var(--af-accent)}
#af-root .afp-buy .woocommerce-variation-price .price del{color:var(--af-muted);font-size:16px;font-weight:400}
#af-root .afp-buy .woocommerce-variation-availability p{font-size:13px;color:var(--af-ok)}
#af-root .afp-buy .quantity{display:inline-flex;align-items:center;gap:0;margin-right:12px;border:1px solid var(--af-line);border-radius:10px;overflow:hidden;background:var(--af-card)}
#af-root .afp-buy .quantity .minus,#af-root .afp-buy .quantity .plus{background:transparent;border:none;color:var(--af-text);width:38px;height:48px;font-size:16px;cursor:pointer}
#af-root .afp-buy .quantity .minus:hover,#af-root .afp-buy .quantity .plus:hover{color:var(--af-accent)}
#af-root .afp-buy .quantity .input-text{background:transparent;border:none;color:var(--af-text);width:44px;height:48px;text-align:center;font-weight:600;font-family:'Inter',sans-serif}
#af-root .afp-buy .single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:'Oswald',sans-serif;font-weight:600;font-size:15px;letter-spacing:.1em;text-transform:uppercase;padding:15px 34px;border-radius:10px;border:none;background:var(--af-accent);color:#1A0E05;cursor:pointer;transition:all .2s;min-height:50px}
#af-root .afp-buy .single_add_to_cart_button:hover{background:#F08A3E;transform:translateY(-1px)}
#af-root .afp-buy .single_add_to_cart_button.disabled{opacity:.5;cursor:not-allowed;transform:none}

/* meta */
#af-root .afp-meta{margin-bottom:26px;font-size:13px;color:var(--af-muted)}
#af-root .afp-meta .posted_in,#af-root .afp-meta .sku_wrapper{display:block;margin-bottom:4px}
#af-root .afp-meta a{color:var(--af-muted);text-decoration:underline;text-underline-offset:3px}
#af-root .afp-meta a:hover{color:var(--af-text)}

/* accordions */
#af-root .afp-acc{border-top:1px solid var(--af-line)}
#af-root .afp-acc details{border-bottom:1px solid var(--af-line)}
#af-root .afp-acc summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:17px 0;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--af-text);cursor:pointer;font-weight:500}
#af-root .afp-acc summary::-webkit-details-marker{display:none}
#af-root .afp-acc summary::after{content:"+";font-family:'JetBrains Mono',monospace;color:var(--af-accent);font-size:16px}
#af-root .afp-acc details[open] summary::after{content:"–"}
#af-root .afp-acc .afp-acc-p{color:var(--af-muted);font-size:14px;line-height:1.7;padding-bottom:18px;max-width:480px}
#af-root .afp-acc .afp-acc-p a{color:var(--af-accent)}
#af-root .afp-acc .spec-list .spec-row:last-child{border-bottom:none;padding-bottom:18px}

/* ===== description section ===== */
#af-root .afp-desc-sec{background:var(--af-surface);border-top:1px solid var(--af-line);border-bottom:1px solid var(--af-line);padding:80px 0}
#af-root .afp-desc{max-width:820px}
#af-root .afp-desc p{color:#CFC8BD;font-size:15px;line-height:1.75;margin-bottom:18px}
#af-root .afp-desc ul{margin:0 0 20px;padding-left:6px;list-style:none}
#af-root .afp-desc li{position:relative;padding-left:26px;margin-bottom:12px;color:#CFC8BD;font-size:15px;line-height:1.6}
#af-root .afp-desc li::before{content:"";position:absolute;left:0;top:9px;width:10px;height:10px;border-radius:3px;background:linear-gradient(140deg,var(--af-accent),var(--af-accent-deep))}
#af-root .afp-desc li strong,#af-root .afp-desc p strong{color:var(--af-text)}
#af-root .afp-desc h2,#af-root .afp-desc h3{font-family:'Oswald',sans;font-size:26px;text-transform:uppercase;margin:34px 0 14px;color:var(--af-text)}
#af-root .afp-desc a{color:var(--af-accent)}

/* ===== related (reuses .item cards) ===== */
#af-root .collection .glyph img{background:#FFFFFF;padding:8px}

/* mobile */
@media (max-width:1024px){
  #af-root .afp-grid{grid-template-columns:1fr;gap:32px}
  #af-root .afp-gallery{position:static}
  #af-root .afp-title{font-size:34px}
  #af-root .afp-main{padding:32px 0 56px}
  #af-root .afp-desc-sec{padding:56px 0}
}
@media (max-width:640px){
  #af-root .afp-title{font-size:29px}
  #af-root .afp-price .price{font-size:26px}
  #af-root .afp-buy .quantity{margin-right:10px}
  #af-root .afp-buy .single_add_to_cart_button{width:calc(100% - 140px);min-width:0;padding:15px 16px}
}

/* ===== custom gallery ===== */
#af-root .afp-gal-main{background:#FFFFFF;border-radius:18px;border:1px solid var(--af-line);padding:26px;cursor:zoom-in}
#af-root .afp-gal-main img{width:100%;height:auto;display:block;border-radius:10px}
#af-root .afp-gal-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}
#af-root .afp-gal-thumb{background:var(--af-card);border:2px solid var(--af-line);border-radius:10px;padding:6px;cursor:pointer;transition:border-color .2s}
#af-root .afp-gal-thumb img{width:100%;height:auto;display:block;border-radius:6px;background:#fff}
#af-root .afp-gal-thumb:hover{border-color:rgba(224,118,46,.5)}
#af-root .afp-gal-thumb.is-active{border-color:var(--af-accent)}
#af-root .afp-lightbox{position:fixed;inset:0;z-index:200;background:rgba(10,9,8,.92);display:none;align-items:center;justify-content:center;cursor:zoom-out}
#af-root .afp-lightbox.is-open{display:flex}
#af-root .afp-lightbox img{max-width:92vw;max-height:92vh;border-radius:12px}

/* short-description inner table (Woo admin markup) — brand restyle */
#af-root .afp-short table,#af-root .afp-short tbody{display:block;border:none;background:none}
#af-root .afp-short tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;border-bottom:1px dashed var(--af-line);padding:9px 0;margin:0}
#af-root .afp-short tr:first-child{border-top:1px dashed var(--af-line)}
#af-root .afp-short td,#af-root .afp-short th{display:inline;border:none;padding:0;background:none;font-size:13px;color:var(--af-muted);line-height:1.5}
#af-root .afp-short strong,#af-root .afp-short b,#af-root .afp-short th strong{color:var(--af-text);font-weight:600}
#af-root .afp-short p{margin-bottom:14px}
