/*
Theme Name: PLP Theme
Description: Тема plp.proacton.ru — «Универсальный парсер лидов PLP». RU/EN, светлая/тёмная тема, React-виджет в герое, галерея, техподдержка со SmartCaptcha, WooCommerce. SEO/GEO: индексация, canonical, hreflang, JSON-LD, llms.txt.
Version: 0.4.84
Author: ProActOn
Text Domain: plp-theme
Requires at least: 6.0
*/
.wc-wrap{padding:40px 0 2.5rem}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button{border-radius:10px;font-weight:600}
.top .acct{margin-left:.15rem;color:var(--ink);text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap}
.top .acct:hover{color:var(--p)}
/* 0.4.84: longer «Личный кабинет» in the header still fits on a phone */
@media(max-width:560px){.top .acct{font-size:13px}}

/* ---- My Account / login / cabinet (0.4.1) ---- */
body.woocommerce-account main > .wc-wrap.narrow{max-width:1160px}
body.woocommerce-account .woocommerce > h1,
body.woocommerce-account .woocommerce .entry-title,
body.woocommerce-account .woocommerce-account-fields h1{font-size:28px;letter-spacing:-.02em;margin:0 0 1.25rem}

/* Guest login / lost password card */
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword.lost_reset_password,
body.woocommerce-account .u-column1.col-1,
body.woocommerce-account .u-column2.col-2{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  padding:1.6rem 1.7rem 1.4rem;
  box-shadow:var(--shadow);
}
body.woocommerce-account .u-columns{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
body.woocommerce-account .u-column1.col-1,
body.woocommerce-account .u-column2.col-2{flex:1 1 320px;max-width:420px;float:none;width:auto}
body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register,
body.woocommerce-account .woocommerce-ResetPassword{max-width:420px;margin:0 auto}
body.woocommerce-account .woocommerce-form-login > h2,
body.woocommerce-account .woocommerce-form-register > h2,
body.woocommerce-account .woocommerce-ResetPassword > p{margin-top:0}
.woocommerce form .form-row{margin:0 0 1rem;padding:0}
.woocommerce form .form-row label{font-weight:600;font-size:14px;color:var(--ink);display:block;margin:0 0 6px}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  width:100%;max-width:100%;
  font:inherit;font-weight:400;font-size:16px;line-height:1.4;
  padding:12px 14px;border:1px solid var(--line);border-radius:10px;
  background:var(--bg);color:var(--ink);box-sizing:border-box
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{
  outline:2px solid var(--p);outline-offset:1px;border-color:var(--p)
}
.woocommerce form .show-password-input{right:12px}
.woocommerce-form__label-for-checkbox{font-weight:500;font-size:14px;color:var(--mut)}
.woocommerce-form-login .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:8px;margin:.25rem 0 1rem}
.woocommerce a.lost_password,.woocommerce-form-login a{color:var(--p)}

/* Brand primary Woo buttons (login, reset, cabinet actions) */
.woocommerce-form-login .button,
.woocommerce-form-register .button,
.woocommerce-ResetPassword .button,
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce input.button,
.plp-cabinet .button,
.plp-cabinet button.button{
  background:var(--grad)!important;color:#fff!important;border:0!important;
  border-radius:10px!important;padding:12px 22px!important;
  font-weight:600!important;box-shadow:none!important;text-shadow:none!important;
  line-height:1.3!important;height:auto!important
}
.woocommerce-form-login .button:hover,
.woocommerce-form-register .button:hover,
.woocommerce-ResetPassword .button:hover,
body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce a.button:hover,
.plp-cabinet .button:hover{filter:brightness(1.05)}
.woocommerce-form-login .button{width:100%}

/* Logged-in: pill navigation */
.woocommerce-MyAccount-navigation{margin:0 0 1.5rem;max-width:100%;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin}
.woocommerce-MyAccount-navigation ul{
  list-style:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;gap:8px;width:max-content;min-width:100%
}
.woocommerce-MyAccount-navigation ul li{margin:0;padding:0;list-style:none}
.woocommerce-MyAccount-navigation a{
  display:inline-block;padding:8px 14px;border-radius:999px;
  border:1px solid var(--line);background:var(--card);color:var(--ink);
  text-decoration:none;font-weight:600;font-size:14px;line-height:1.3
}
.woocommerce-MyAccount-navigation a:hover{color:var(--p);border-color:var(--p)}
.woocommerce-MyAccount-navigation .is-active a{
  background:var(--grad);color:#fff;border-color:transparent
}
.woocommerce-MyAccount-content{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.4rem 1.5rem;box-shadow:var(--shadow)}
.woocommerce-MyAccount-content > p:first-child{margin-top:0}
.woocommerce-MyAccount-content .woocommerce-Message,
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error{
  position:relative;
  border-radius:10px;border:1px solid var(--line);background:var(--surf);
  padding:14px 16px 14px 3.4em; /* room for Woo ::before icon вЂ” was overlapping text at 12/14 */
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;line-height:1.45;margin:0
}
.woocommerce-MyAccount-content .woocommerce-info::before,
.woocommerce-MyAccount-content .woocommerce-message::before,
.woocommerce-MyAccount-content .woocommerce-Message::before,
.woocommerce-MyAccount-content .woocommerce-error::before{
  top:50%;left:1.05em;transform:translateY(-50%);margin:0
}
.woocommerce-MyAccount-content .woocommerce-info .button,
.woocommerce-MyAccount-content .woocommerce-message .button,
.woocommerce-MyAccount-content .woocommerce-Message .button{
  margin:0;flex:0 0 auto
}

/* Downloads table (installer row from plp-store) */
.woocommerce-MyAccount-content .woocommerce-order-downloads{margin:0}
.woocommerce-MyAccount-content .woocommerce-table--order-downloads{
  width:100%;border-collapse:separate;border-spacing:0;
  border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surf)
}
.woocommerce-MyAccount-content .woocommerce-table--order-downloads th,
.woocommerce-MyAccount-content .woocommerce-table--order-downloads td{
  padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;font-size:14px
}
.woocommerce-MyAccount-content .woocommerce-table--order-downloads thead th{
  background:var(--card);font-weight:600;color:var(--mut);font-size:13px
}
.woocommerce-MyAccount-content .woocommerce-table--order-downloads tr:last-child td{border-bottom:0}
.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads-file.button{
  display:inline-block;padding:10px 18px!important;font-size:14px!important;white-space:nowrap
}

/* License cards */
.plp-cabinet .plp-lic{
  border:1px solid var(--line);border-radius:14px;padding:1.15rem 1.35rem;
  margin:1rem 0;background:var(--surf)
}
.plp-cabinet .plp-lic h3{margin:0 0 .55rem;font-size:18px}
.plp-cabinet .plp-lic p{margin:0 0 .65rem;color:var(--ink)}
.plp-cabinet .plp-key{
  font-size:1.05em;user-select:all;display:inline-block;
  background:var(--card);border:1px solid var(--line);border-radius:8px;
  padding:3px 8px;letter-spacing:.02em
}
.plp-cabinet .plp-act{margin:.55rem 0;display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:var(--mut);font-size:14px}
.plp-cabinet .plp-act .button{padding:8px 14px!important;font-size:13px!important}
.plp-cabinet > p .button{display:inline-block;margin:0 0 .5rem}

@media(max-width:640px){
  body.woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-form-login,
  .woocommerce-ResetPassword.lost_reset_password{padding:1.2rem 1.15rem}
  body.woocommerce-account .woocommerce > h1{font-size:24px}
}

/* ---------- 0.4.15: My Account вЂ” pill nav + chips with icons, clean dashboard ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-wrap:nowrap;gap:8px;width:max-content;min-width:100%}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;flex:0 0 auto}
.woocommerce-account .woocommerce-MyAccount-navigation li a,.plp-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);text-decoration:none;font-weight:600;font-size:15px;line-height:1.2;white-space:nowrap;transition:border-color .15s,background .15s,color .15s}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,.plp-chip:hover{border-color:var(--p);color:var(--p)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--p);border-color:var(--p);color:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation li a::before,.plp-ico::before{content:"";width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.woocommerce-MyAccount-navigation-link--dashboard a{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--plp-licenses a,.plp-ico--plp-licenses{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9M17 6l3 3M15 8l2 2'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--orders a,.plp-ico--orders{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h4'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--downloads a,.plp-ico--downloads{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 20h16'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--edit-account a,.plp-ico--edit-account{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--customer-logout a,.plp-ico--customer-logout{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--customer-logout{margin-left:auto!important}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%}
.plp-dash-hi{font-size:22px;font-weight:700;margin:0 0 16px;color:var(--ink)}
.plp-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.plp-chips .plp-chip{border-radius:16px;padding:18px;font-size:16px}
.plp-chips .plp-chip::before{width:22px;height:22px;color:var(--p)}
.plp-chips .plp-chip:hover::before{color:var(--p)}
.woocommerce-MyAccount-navigation-link--web-app a,.plp-ico--web-app{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E")}
.plp-webapp h2{margin:0 0 .7rem;font-size:22px}
.plp-webapp p{margin:0 0 1rem}
.plp-webapp__open,.woocommerce-MyAccount-content a.button.plp-webapp__open{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 22px!important;border-radius:10px!important;
  background:var(--grad)!important;color:#fff!important;border:0!important;
  font-weight:600!important;text-decoration:none!important
}
.plp-webapp__open:hover,.woocommerce-MyAccount-content a.button.plp-webapp__open:hover{filter:brightness(1.05);color:#fff!important}
body.woocommerce-account .wc-wrap,
body.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content{max-width:100%;min-width:0;box-sizing:border-box}
@media(max-width:768px){
  .woocommerce-MyAccount-navigation ul,
  .woocommerce-account .woocommerce-MyAccount-navigation ul{
    flex-wrap:wrap;width:100%;max-width:100%;margin:0 0 24px
  }
  .woocommerce-MyAccount-navigation-link--customer-logout{margin-left:0!important}
}
@media(max-width:600px){.woocommerce-MyAccount-navigation-link--customer-logout{margin-left:0!important}.plp-chips{grid-template-columns:1fr 1fr}}


/* ---- Shop /catalog (0.4.16 Aimy-parity) ---- */
body.plp-shop-page .woocommerce-products-header{margin:0 0 1.5rem}
body.plp-shop-page .woocommerce-products-header__title,
body.plp-shop-page .woocommerce-products-header h1{font-size:clamp(1.6rem,3vw,2rem);letter-spacing:-.02em;margin:0 0 .35rem}
body.plp-shop-page .woocommerce-result-count,
body.plp-shop-page .woocommerce-ordering{display:none!important}
body.plp-shop-page ul.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;list-style:none;margin:0;padding:0;max-width:880px}
body.plp-shop-page ul.products::before,body.plp-shop-page ul.products::after{display:none!important;content:none!important}
body.plp-shop-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:0;border:1px solid color-mix(in srgb,var(--p) 18%,var(--line));border-radius:16px;background:linear-gradient(180deg,#FBFAFF 0%,var(--card) 55%);overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow)}
body.plp-shop-page ul.products li.product a img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block;margin:0;border-radius:0}
body.plp-shop-page ul.products li.product .woocommerce-loop-product__title{font-size:1.15rem;margin:.9rem 1rem .35rem;padding:0;letter-spacing:-.01em}
body.plp-shop-page ul.products li.product .price{margin:0 1rem .85rem;font-weight:800;font-size:1.25rem;color:var(--ink)}
body.plp-shop-page ul.products li.product .price del{opacity:.55;font-weight:600;font-size:.9em}
body.plp-shop-page ul.products li.product .button,
body.plp-shop-page ul.products li.product a.button{margin:auto 1rem 1rem;text-align:center;background:var(--grad);color:#fff;border:0}
body.plp-shop-page ul.products li.product .button:hover{filter:brightness(1.06)}

/* Coupon form never on store pages */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-cart .woocommerce-form-coupon-toggle,
body.woocommerce-cart form.checkout_coupon{display:none!important}

/* Companion APK вЂ” store badge image (AIsup / ProActOn style) */
a.plp-apk-store{
  display:inline-block;line-height:0;max-width:min(280px,100%);
  text-decoration:none;border-radius:12px;transition:opacity .15s ease,transform .15s ease;
}
a.plp-apk-store img{display:block;width:100%;height:auto}
a.plp-apk-store:hover{opacity:.92;transform:translateY(-1px)}
a.plp-apk-store:focus-visible{outline:2px solid #14b8a6;outline-offset:3px}
.plp-apk-card{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.25rem}
.plp-apk-card .muted{margin:0;flex:1 1 220px}
.plp-apk-card .muted,.plp-apk-card code{overflow-wrap:anywhere;word-break:break-word}
.plp-apk-card .muted{min-width:0}
/* Full-width within .wrap (not a narrow 720px card) */
#companion .plp-companion-panel{
  display:grid;gap:1.15rem;width:100%;max-width:none;box-sizing:border-box;
  background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:1.5rem 1.75rem 1.45rem;box-shadow:var(--shadow);
}
#companion .plp-companion-panel .lead{margin:0;font-size:1.05rem;line-height:1.55;max-width:none}
#companion .plp-companion-panel p{margin:0;line-height:1.55;max-width:none}
#companion .plp-companion-panel .plp-apk-card{margin-top:.15rem}


/* Checkout consents alignment (0.4.16) */
body.woocommerce-checkout #payment .place-order{align-items:stretch}
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout #payment .plp-consent{max-width:36rem;margin-left:auto;margin-right:auto;padding:0!important;text-align:left!important}
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper{display:flex;flex-direction:column;gap:.85rem}
body.woocommerce-checkout #payment .plp-consent.form-row,
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper .form-row{margin:0!important;padding:0!important;padding-left:0!important;width:100%!important;float:none!important}
body.woocommerce-checkout #payment .plp-consent + .plp-consent,
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper + .plp-consent{margin-top:.85rem!important}
body.woocommerce-checkout #payment .plp-consent label.checkbox,
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper label{display:flex!important;align-items:flex-start;gap:.65rem;margin:0!important;padding:0!important;line-height:1.45;text-align:left;font-weight:500}
body.woocommerce-checkout #payment .plp-consent .input-checkbox,
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper .input-checkbox{flex:0 0 auto;margin:.2rem 0 0!important;float:none!important}

/* ---- Single product polish (0.4.27/0.4.28) + brand wash 0.4.32 ---- */
body.single-product,
body.plp-shop-page{
  background:
    radial-gradient(920px 420px at 10% -10%,#ece8ff 0%,transparent 58%),
    radial-gradient(720px 380px at 95% 0%,rgba(33,212,180,.10) 0%,transparent 52%),
    var(--surf,#F4F3FA);
}
html[data-plp-theme="dark"] body.single-product,
html[data-plp-theme="dark"] body.plp-shop-page{
  background:
    radial-gradient(900px 420px at 12% -8%,rgba(91,61,245,.28) 0%,transparent 58%),
    radial-gradient(700px 360px at 92% 0%,rgba(33,212,180,.10) 0%,transparent 52%),
    var(--bg,#0B0818);
}
body.single-product main > .wc-wrap.narrow{max-width:1100px}
body.single-product div.product{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(280px,1.15fr);
  gap:2rem 2.75rem;
  align-items:start;
}
body.single-product .woocommerce-product-gallery,
body.single-product .summary.entry-summary{
  width:100%!important;float:none!important;margin:0!important;padding:0;
}
body.single-product .summary.entry-summary{
  background:linear-gradient(165deg,#ece8ff 0%,#F8F6FF 38%,var(--card,#fff) 100%);
  border:1px solid color-mix(in srgb,var(--p) 22%,var(--line));
  border-radius:16px;
  padding:1.35rem 1.45rem 1.4rem;
  box-shadow:var(--shadow);
}
html[data-plp-theme="dark"] body.single-product .summary.entry-summary{
  background:linear-gradient(165deg,rgba(108,77,255,.28) 0%,rgba(91,61,245,.12) 40%,var(--card,#1C1738) 100%);
  border-color:color-mix(in srgb,var(--p) 35%,var(--line));
}
body.single-product .product_title.entry-title{
  font-size:clamp(1.7rem,3.2vw,2.4rem);
  font-weight:800;
  letter-spacing:-.025em;
  line-height:1.2;
  margin:0 0 .65rem;
  max-width:none!important;
  width:100%;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  word-break:normal;
  hyphens:manual;
  color:var(--ink);
}
body.single-product .summary .price{
  font-size:1.7rem;font-weight:800;margin:0 0 .85rem;
  color:#c9a227;
}
body.single-product .summary .price del{opacity:.5;font-weight:600;font-size:.85em}
body.single-product .woocommerce-product-details__short-description{
  color:var(--mut);font-size:1.05rem;line-height:1.55;margin:0 0 1.2rem;max-width:none;
}
body.single-product .product_meta,
body.single-product .woocommerce-tabs,
body.single-product #reviews,
body.single-product .woocommerce-noreviews,
body.single-product .star-rating,
body.single-product .woocommerce-product-rating{display:none!important}
body.single-product form.cart{
  display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin:0;
}
body.single-product form.cart .quantity .qty{
  width:4.2rem;border:1.5px solid rgba(59,43,191,.18);border-radius:12px;padding:.55rem .5rem;background:#FBFAFF;color:var(--ink);
}
html[data-plp-theme="dark"] body.single-product form.cart .quantity .qty{background:rgba(91,61,245,.12);border-color:var(--line)}
body.single-product form.cart .single_add_to_cart_button.button{
  background:var(--grad);color:#fff;border:0;padding:.85rem 1.45rem;border-radius:10px;font-weight:700;
}
body.single-product form.cart .single_add_to_cart_button.button:hover{filter:brightness(1.06)}
body.single-product .woocommerce-product-gallery__wrapper{margin:0}
body.single-product .woocommerce-product-gallery__image a{display:block;border-radius:16px;overflow:hidden;border:1px solid color-mix(in srgb,var(--p) 18%,var(--line));background:linear-gradient(180deg,#FBFAFF 0%,var(--card) 70%);box-shadow:var(--shadow)}
body.single-product .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;border-radius:0;aspect-ratio:1;object-fit:cover}
body.single-product .flex-control-thumbs{display:none!important}
body.single-product .related.products{margin-top:2.75rem;padding-top:1.5rem;border-top:1px solid var(--line)}
body.single-product .related.products > h2{font-size:1.35rem;letter-spacing:-.01em;margin:0 0 1rem}
body.single-product .related.products ul.products{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.15rem;list-style:none;margin:0;padding:0;max-width:720px;
}
body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after{display:none!important;content:none!important}
body.single-product .related.products ul.products li.product{
  width:auto!important;float:none!important;margin:0!important;padding:0;
  border:1px solid color-mix(in srgb,var(--p) 18%,var(--line));border-radius:16px;background:linear-gradient(180deg,#FBFAFF 0%,var(--card) 55%);overflow:hidden;
  display:flex;flex-direction:column;box-shadow:var(--shadow);
}
body.single-product .related.products ul.products li.product a img{width:100%;aspect-ratio:1;object-fit:cover;margin:0;border-radius:0}
body.single-product .related.products ul.products li.product .woocommerce-loop-product__title{font-size:1.1rem;margin:.85rem 1rem .3rem;padding:0}
body.single-product .related.products ul.products li.product .price{margin:0 1rem .75rem;font-weight:800;color:var(--ink)}
body.single-product .related.products ul.products li.product .button{margin:auto 1rem 1rem;text-align:center;background:var(--grad);color:#fff;border:0}
@media(max-width:768px){
  body.single-product div.product{grid-template-columns:1fr;gap:1.35rem}
  body.single-product .product_title.entry-title{font-size:clamp(1.45rem,6vw,1.9rem)}
}

/* 0.4.28 related edition heading */
body.single-product .related.products > h2{
  font-size:clamp(1.2rem,2.4vw,1.45rem);
  font-weight:800;
  letter-spacing:-.02em;
  max-width:none;
}

/* ---- Product SEO description (no tabs) ---- */
.plp-product-desc{max-width:880px;margin:1.75rem auto 0;padding:1.4rem 1.5rem 1.2rem;background:linear-gradient(180deg,#FBFAFF 0%,var(--card) 60%);border:1px solid color-mix(in srgb,var(--p) 18%,var(--line));border-radius:16px;box-shadow:var(--shadow)}
html[data-plp-theme="dark"] .plp-product-desc{background:linear-gradient(180deg,rgba(91,61,245,.14) 0%,var(--card) 60%)}
.plp-product-desc h2{font-size:1.35rem;letter-spacing:-.02em;margin:0 0 .85rem}
.plp-product-desc h3{font-size:1.05rem;margin:1.15rem 0 .45rem}
.plp-product-desc p,.plp-product-desc li{line-height:1.55;color:var(--ink)}
.plp-product-desc ul{margin:.35rem 0 .6rem 1.15rem;padding:0}
.plp-product-desc a{font-weight:600}

/* 0.4.32: storefront (shop/product) lilac wash + cards — cart/checkout in plp-store 0.3.15 */

/* ---- 0.4.30: My Account orders / view-order / tickets polish ---- */
.woocommerce-MyAccount-navigation-link--plp-support a,.plp-ico--plp-support{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E")}

/* Orders list */
.woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-MyAccount-content table.shop_table.my_account_orders,
.woocommerce-MyAccount-content .plp-tickets table.shop_table{
  width:100%;border-collapse:separate;border-spacing:0;
  border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surf);margin:0 0 1rem
}
.woocommerce-MyAccount-content .woocommerce-orders-table th,
.woocommerce-MyAccount-content .woocommerce-orders-table td,
.woocommerce-MyAccount-content table.shop_table.my_account_orders th,
.woocommerce-MyAccount-content table.shop_table.my_account_orders td,
.woocommerce-MyAccount-content .plp-tickets table.shop_table th,
.woocommerce-MyAccount-content .plp-tickets table.shop_table td{
  padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;font-size:14px;background:transparent
}
.woocommerce-MyAccount-content .woocommerce-orders-table thead th,
.woocommerce-MyAccount-content table.shop_table.my_account_orders thead th,
.woocommerce-MyAccount-content .plp-tickets table.shop_table thead th{
  background:var(--card);font-weight:700;color:var(--mut);font-size:12px;letter-spacing:.04em;text-transform:uppercase
}
.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:last-child td,
.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:last-child th,
.woocommerce-MyAccount-content table.shop_table.my_account_orders tbody tr:last-child td,
.woocommerce-MyAccount-content .plp-tickets table.shop_table tbody tr:last-child td{border-bottom:0}
.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:hover,
.woocommerce-MyAccount-content table.shop_table.my_account_orders tbody tr:hover{background:rgba(91,61,245,.04)}
html[data-plp-theme="dark"] .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:hover,
html[data-plp-theme="dark"] .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody tr:hover{background:rgba(108,77,255,.12)}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a,
.woocommerce-MyAccount-content .woocommerce-orders-table a{
  color:var(--p);font-weight:700;text-decoration:none
}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a:hover{text-decoration:underline}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-total{font-weight:700;color:var(--ink);white-space:nowrap}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-date{color:var(--mut)}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions{white-space:nowrap}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button{
  padding:8px 14px!important;font-size:13px!important;margin:0 4px 4px 0;display:inline-block
}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button.view,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.view{
  background:var(--grad)!important;color:#fff!important;border:0!important
}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button.pay,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.pay{
  background:var(--acc)!important;color:#0F0B24!important;border:0!important
}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button.cancel,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.cancel{
  background:transparent!important;color:var(--mut)!important;border:1px solid var(--line)!important
}

/* Status badges */
.plp-order-badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 11px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.2;
  letter-spacing:.01em;border:1px solid transparent;white-space:nowrap
}
.plp-order-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.9}
.plp-order-badge--completed,.plp-order-badge--processing{
  background:rgba(33,212,180,.16);color:#0d8a72;border-color:rgba(33,212,180,.35)
}
.plp-order-badge--on-hold,.plp-order-badge--pending{
  background:rgba(245,180,61,.16);color:#a06a00;border-color:rgba(245,180,61,.4)
}
.plp-order-badge--failed,.plp-order-badge--cancelled,.plp-order-badge--refunded{
  background:rgba(220,70,90,.12);color:#b4233a;border-color:rgba(220,70,90,.3)
}
.plp-order-badge--checkout-draft,.plp-order-badge--trash{
  background:var(--surf);color:var(--mut);border-color:var(--line)
}
html[data-plp-theme="dark"] .plp-order-badge--completed,
html[data-plp-theme="dark"] .plp-order-badge--processing{color:#3EEAC8;background:rgba(33,212,180,.18)}
html[data-plp-theme="dark"] .plp-order-badge--on-hold,
html[data-plp-theme="dark"] .plp-order-badge--pending{color:#f0c14b;background:rgba(245,180,61,.18)}
html[data-plp-theme="dark"] .plp-order-badge--failed,
html[data-plp-theme="dark"] .plp-order-badge--cancelled,
html[data-plp-theme="dark"] .plp-order-badge--refunded{color:#ff8a9a;background:rgba(220,70,90,.18)}

mark.order-status{background:transparent;padding:0}
.woocommerce-MyAccount-content mark.order-number,
.woocommerce-MyAccount-content mark.order-date{background:transparent;color:var(--ink);font-weight:700;padding:0}
.woocommerce-MyAccount-content > p:has(mark.order-status),
.woocommerce-MyAccount-content .plp-view-order-lead{
  margin:0 0 1.15rem;padding:1rem 1.15rem;border-radius:12px;background:var(--surf);
  border:1px solid var(--line);line-height:1.55;color:var(--ink)
}

/* Order details (view-order) */
.woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-MyAccount-content .woocommerce-customer-details{margin:1.25rem 0}
.woocommerce-MyAccount-content .woocommerce-order-details__title,
.woocommerce-MyAccount-content .woocommerce-column__title,
.woocommerce-MyAccount-content .woocommerce-OrderUpdates + h2,
.woocommerce-MyAccount-content h2{
  font-size:1.15rem;letter-spacing:-.015em;margin:0 0 .75rem
}
.woocommerce-MyAccount-content table.woocommerce-table--order-details{
  width:100%;border-collapse:separate;border-spacing:0;
  border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surf)
}
.woocommerce-MyAccount-content table.woocommerce-table--order-details th,
.woocommerce-MyAccount-content table.woocommerce-table--order-details td{
  padding:12px 14px;border-bottom:1px solid var(--line);font-size:14px
}
.woocommerce-MyAccount-content table.woocommerce-table--order-details thead th{
  background:var(--card);font-weight:700;color:var(--mut);font-size:12px;text-transform:uppercase;letter-spacing:.04em
}
.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot th{font-weight:600;color:var(--mut)}
.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:last-child td{
  border-bottom:0;font-weight:800;color:var(--ink);font-size:15px
}
.woocommerce-MyAccount-content .woocommerce-customer-details address{
  border:1px solid var(--line);border-radius:14px;padding:1rem 1.15rem;background:var(--surf);font-style:normal;line-height:1.5
}
.woocommerce-MyAccount-content .woocommerce-OrderUpdates{list-style:none;margin:0;padding:0}
.woocommerce-MyAccount-content .woocommerce-OrderUpdate{
  border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0 0 10px;background:var(--surf)
}
.woocommerce-MyAccount-content .woocommerce-OrderUpdate-meta{color:var(--mut);font-size:13px;margin:0 0 6px}

.plp-orders-hint{
  margin:0 0 1rem;padding:.85rem 1rem;border-radius:12px;
  background:rgba(91,61,245,.07);border:1px solid rgba(91,61,245,.18);
  color:var(--ink);font-size:14px;line-height:1.45
}
.plp-orders-hint a{color:var(--p);font-weight:700;text-decoration:none}
.plp-orders-hint a:hover{text-decoration:underline}
html[data-plp-theme="dark"] .plp-orders-hint{background:rgba(108,77,255,.14);border-color:rgba(108,77,255,.28)}

/* Dashboard recent orders */
.plp-dash-orders{margin:1.5rem 0 0}
.plp-dash-orders__title{font-size:1.05rem;font-weight:800;margin:0 0 .75rem;letter-spacing:-.015em}
.plp-dash-orders__list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.plp-dash-order{
  display:grid;grid-template-columns:1fr auto;gap:8px 14px;align-items:center;
  padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surf);text-decoration:none;color:inherit;
  transition:border-color .15s,box-shadow .15s
}
.plp-dash-order:hover{border-color:var(--p);box-shadow:0 6px 20px rgba(59,43,191,.08)}
.plp-dash-order__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.plp-dash-order__num{font-weight:800;color:var(--p)}
.plp-dash-order__date{color:var(--mut);font-size:13px}
.plp-dash-order__total{font-weight:800;justify-self:end}
.plp-dash-orders__more{margin:.85rem 0 0;font-size:14px}
.plp-dash-orders__more a{color:var(--p);font-weight:700;text-decoration:none}
.plp-dash-empty{margin:1.25rem 0 0;padding:1rem 1.1rem;border-radius:14px;border:1px dashed var(--line);color:var(--mut);font-size:14px;line-height:1.5}
.plp-dash-empty a{color:var(--p);font-weight:700}

/* Support tickets in LK */
.plp-tickets h2{margin:0 0 .5rem}
.plp-tickets > p{color:var(--mut);font-size:14px;margin:0 0 1rem}
.plp-tickets__thread{display:flex;flex-direction:column;gap:10px;margin:0 0 1rem}
.plp-tickets__msg{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--surf)}
.plp-tickets__msg--staff{border-color:rgba(33,212,180,.35);background:rgba(33,212,180,.08)}
.plp-tickets__meta{font-size:13px;color:var(--mut);margin:0 0 6px}
.plp-tickets__body{line-height:1.5}
.plp-tickets__reply textarea{
  width:100%;font:inherit;font-size:15px;padding:12px 14px;border:1px solid var(--line);
  border-radius:10px;background:var(--bg);color:var(--ink);box-sizing:border-box
}
.plp-tickets__reply textarea:focus{outline:2px solid var(--p);outline-offset:1px;border-color:var(--p)}

/* Mobile: orders as stacked cards */
@media(max-width:768px){
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive thead,
  .woocommerce-MyAccount-content table.my_account_orders.shop_table_responsive thead{display:none}
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive tr,
  .woocommerce-MyAccount-content table.my_account_orders.shop_table_responsive tr{
    display:block;margin:0 0 12px;border:1px solid var(--line);border-radius:14px;background:var(--card);padding:4px 0;overflow:hidden
  }
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive tbody,
  .woocommerce-MyAccount-content table.my_account_orders.shop_table_responsive tbody{display:block}
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive,
  .woocommerce-MyAccount-content table.my_account_orders.shop_table_responsive{
    border:0;background:transparent;overflow:visible
  }
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive td,
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive th,
  .woocommerce-MyAccount-content table.my_account_orders.shop_table_responsive td,
  .woocommerce-MyAccount-content table.my_account_orders.shop_table_responsive th{
    display:flex;justify-content:space-between;align-items:center;gap:12px;
    width:100%!important;border-bottom:1px solid var(--line)!important;padding:12px 14px;text-align:right
  }
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive tr td:last-child,
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive tr th:last-child,
  .woocommerce-MyAccount-content table.my_account_orders.shop_table_responsive tr td:last-child{border-bottom:0!important}
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive td::before,
  .woocommerce-MyAccount-content table.woocommerce-orders-table.shop_table_responsive th::before,
  .woocommerce-MyAccount-content table.my_account_orders.shop_table_responsive td::before,
  .woocommerce-MyAccount-content table.my_account_orders.shop_table_responsive th::before{
    content:attr(data-title);float:none;font-weight:700;color:var(--mut);font-size:12px;text-transform:uppercase;letter-spacing:.03em;text-align:left
  }
  .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions{flex-wrap:wrap;justify-content:flex-end}
  .plp-dash-order{grid-template-columns:1fr}
  .plp-dash-order__total{justify-self:start}
}

/* 0.4.73: PLP Web lead packs have no box art — centred summary card */
body.single-product.plp-web-pack div.product{grid-template-columns:minmax(0,640px);justify-content:center}
