/* OMG product page (hardware & accessory) */
.omgp{--ink:#14112a;--mut:#6b6880;--line:#ebe9f3;--soft:#f5f4fa;--pur:#7c3aed;--pur2:#e0115f;--ok:#12a150;--okbg:#e9f8ef;--r:16px;color:var(--ink);font-family:Poppins,system-ui,sans-serif;font-size:15px;line-height:1.55;padding:18px 0 56px}
.omgp *{box-sizing:border-box}
.omgp h1,.omgp h2,.omgp h3{font-family:inherit;color:var(--ink);margin:0;letter-spacing:-.01em}
.omgp-crumbs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--mut);margin:0 0 18px}
.omgp-crumbs a{color:var(--mut);text-decoration:none}.omgp-crumbs a:hover{color:var(--pur)}
.omgp-crumbs span{color:var(--ink)}.omgp-crumbs svg{width:13px;height:13px;opacity:.6}
.omgp-top{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:24px;align-items:start}
.omgp-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.omgp-box{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px}
.omgp-box h2{font-size:19px;font-weight:600}

/* gallery */
.omgp-gallery{display:flex;gap:12px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:12px}
.omgp-thumbs{display:flex;flex-direction:column;gap:10px;width:84px;flex:none;max-height:520px;overflow:auto;scrollbar-width:none}
.omgp-thumbs button{all:unset;cursor:pointer;display:block;width:84px;height:84px;border-radius:12px;overflow:hidden;background:var(--soft);border:2px solid transparent}
.omgp-thumbs button.is-on{border-color:var(--pur)}
.omgp-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.omgp-stage{position:relative;flex:1;min-width:0;aspect-ratio:4/3;border-radius:12px;background:var(--soft);overflow:hidden}
.omgp-slides figure{position:absolute;inset:0;margin:0;display:none;align-items:center;justify-content:center;padding:24px}
.omgp-slides figure.is-on{display:flex}
.omgp-slides img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:8px}
.omgp-badges{position:absolute;left:14px;top:14px;z-index:2;display:flex;gap:8px}
.omgp-off{display:inline-block;background:#e0115f;color:#fff;font-size:12px;font-weight:700;padding:3px 9px;border-radius:999px}
.omgp-pill{display:inline-block;background:#fff;color:var(--ink);font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;box-shadow:0 1px 3px rgba(20,17,42,.1)}
.omgp-nav{all:unset;cursor:pointer;position:absolute;top:50%;margin-top:-20px;width:40px;height:40px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 2px 8px rgba(20,17,42,.12);z-index:2}
.omgp-nav.prev{left:14px}.omgp-nav.next{right:14px}.omgp-nav:hover{color:var(--pur)}
.omgp-count{position:absolute;right:14px;bottom:14px;background:rgba(20,17,42,.65);color:#fff;font-size:12px;padding:3px 10px;border-radius:999px;z-index:2}

/* highlights */
.omgp-high{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:var(--r)}
.omgp-high>div{display:flex;gap:12px;align-items:center;padding:16px;border-right:1px solid var(--line);min-width:0}
.omgp-high>div:last-child{border-right:0}
.omgp-high .ic,.omgp-works header .ic{flex:none;width:36px;height:36px;border-radius:10px;background:#f1ebff;color:var(--pur);display:grid;place-items:center}
.omgp-high small{display:block;color:var(--mut);font-size:12px}.omgp-high b{display:block;font-size:14px;line-height:1.3;overflow-wrap:anywhere}

/* works with */
.omgp-works header{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}
.omgp-works header p{margin:2px 0 0;color:var(--mut);font-size:13px}
.omgp-works .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.omgp-works .grid>div{border-radius:12px;padding:12px;background:var(--okbg)}
.omgp-works .grid>div.is-no{background:var(--soft)}
.omgp-works .st{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--ok);color:#fff;margin-bottom:10px}
.omgp-works .st svg{width:13px;height:13px}.omgp-works .is-no .st{background:#a8a5b8}
.omgp-works b{display:block;color:#0f7a3d;font-size:14px}.omgp-works .is-no b{color:var(--ink)}
.omgp-works small{display:block;color:var(--mut);font-size:12px;line-height:1.35}
.omgp-checks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.omgp-checks li{display:flex;gap:10px;align-items:flex-start;background:var(--okbg);border-radius:10px;padding:10px 12px;font-size:14px}
.omgp-checks svg{flex:none;color:var(--ok);margin-top:2px}

/* setup */
.omgp-setup h2{margin-bottom:16px}
.omgp-setup .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 1.1fr;gap:12px}
.omgp-setup .it{position:relative;display:flex;flex-direction:column;gap:6px;border:1.5px solid var(--pur);border-radius:12px;padding:8px 8px 12px;cursor:pointer}
.omgp-setup .it.is-off{border-color:var(--line);opacity:.7}
.omgp-setup .it input{position:absolute;opacity:0}
.omgp-setup .ck{position:absolute;right:12px;top:12px;width:20px;height:20px;border-radius:5px;background:var(--pur);color:#fff;display:grid;place-items:center}
.omgp-setup .ck svg{width:13px;height:13px}.omgp-setup .it.is-off .ck{background:#fff;border:1.5px solid #c9c6d6;color:transparent}
.omgp-setup img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:var(--soft)}
.omgp-setup b{font-size:13px;line-height:1.3;font-weight:500}
.omgp-setup .pr{font-weight:700;font-size:15px}.omgp-setup del{color:var(--mut);font-weight:400;font-size:12px}
.omgp-setup .sum{background:var(--soft);border-radius:12px;padding:18px;display:flex;flex-direction:column;justify-content:center;gap:4px}
.omgp-setup .sum small{color:var(--mut)}.omgp-setup .sum .t{font-size:26px}.omgp-setup .sv{color:var(--ok);font-size:13px}
.omgp-addall{all:unset;cursor:pointer;margin-top:10px;background:var(--ink);color:#fff;text-align:center;font-weight:600;font-size:14px;border-radius:10px;padding:12px}
.omgp-addall:disabled{opacity:.5;cursor:default}

/* tabs */
.omgp-tabs{padding:0}
.omgp-tabbar{display:flex;gap:26px;border-bottom:1px solid var(--line);padding:0 22px;overflow-x:auto;scrollbar-width:none}
.omgp-tabbar button{all:unset;cursor:pointer;padding:16px 0 14px;font-size:14px;color:var(--mut);border-bottom:2px solid transparent;white-space:nowrap}
.omgp-tabbar button.is-on{color:var(--ink);font-weight:600;border-color:var(--pur)}
.omgp-tabbar button span{font-size:11px;background:var(--soft);border-radius:999px;padding:1px 7px;margin-left:4px;color:var(--mut)}
.omgp-pane{display:none;padding:22px}.omgp-pane.is-on{display:block}
.omgp-ov{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:start}
.omgp-desc p{margin:0 0 14px;color:#34314a}
.omgp-feats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.omgp-feats>div{border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.omgp-feats b{display:block;font-size:14px}.omgp-feats p{margin:2px 0 0;font-size:13px;color:var(--mut)}
.omgp-inbox{background:var(--soft);border-radius:12px;padding:16px 18px}
.omgp-inbox h3{font-size:14px;margin-bottom:10px}
.omgp-inbox ul,.omgp-sysreq ul{list-style:none;margin:0;padding:0}
.omgp-inbox li{display:flex;gap:10px;align-items:flex-start;font-size:14px;padding:4px 0}
.omgp-inbox svg{flex:none;width:15px;height:15px;color:var(--ok);margin-top:3px}
.omgp-spec{width:100%;border-collapse:collapse;font-size:14px}
.omgp-spec th,.omgp-spec td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.omgp-spec th{width:38%;color:var(--mut);font-weight:500}.omgp-spec tr:nth-child(odd) td,.omgp-spec tr:nth-child(odd) th{background:#fbfaff}
.omgp-sysreq p{font-weight:600;margin:12px 0 6px}.omgp-sysreq li{padding:7px 0;border-bottom:1px solid var(--line);font-size:14px}

/* buy box */
.omgp-side{position:sticky;top:96px;display:flex;flex-direction:column;gap:14px}
.omgp-buy{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px;box-shadow:0 10px 30px -18px rgba(20,17,42,.25)}
.omgp-brand{color:var(--pur);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.omgp-title{font-size:24px!important;font-weight:600;line-height:1.25;margin:4px 0 8px!important}
.omgp-rating{display:flex;align-items:center;gap:6px;font-size:13px;margin-bottom:14px}
.omgp-rating .stars{position:relative;color:#ddd;letter-spacing:1px}
.omgp-rating .stars:before{content:"★★★★★";position:absolute;left:0;top:0;width:var(--r);overflow:hidden;color:#f5a524}
.omgp-rating a{color:var(--pur);text-decoration:none}
.omgp-price{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.omgp-price .now{font-size:34px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
.omgp-price .now small{font-size:13px;font-weight:500;color:var(--mut);margin-right:6px;letter-spacing:0}
.omgp-price .save{background:var(--okbg);color:#0f7a3d;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px}
.omgp-sub{color:var(--mut);font-size:12px;margin:4px 0 14px}
.omgp-short{font-size:13px;color:#4a4760;margin-bottom:12px}.omgp-short p{margin:0}
.omgp-stock{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;padding:9px 12px;border-radius:10px;margin-bottom:14px}
.omgp-stock i{width:8px;height:8px;border-radius:50%}
.omgp-stock.in{background:var(--okbg);color:#0f7a3d}.omgp-stock.in i{background:var(--ok)}
.omgp-stock.out{background:#fdecef;color:#b4123f}.omgp-stock.out i{background:#e0115f}
.omgp-atc form.cart{margin:0!important}
.omgp-atc form.cart:not(.variations_form),.omgp-atc .woocommerce-variation-add-to-cart{display:flex!important;align-items:stretch;gap:10px;flex-wrap:wrap}
.omgp-atc .quantity{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;padding:0 4px;margin:0!important}
.omgp-atc .quantity input.qty{width:46px;border:0!important;background:none!important;text-align:center;font-weight:600;font-size:15px;box-shadow:none!important;-moz-appearance:textfield}
.omgp-atc .quantity input::-webkit-inner-spin-button{-webkit-appearance:none}
.omgp-buynow{all:unset;cursor:pointer;flex:1;text-align:center;color:#fff;font-weight:600;font-size:16px;border-radius:12px;padding:14px 18px;background:linear-gradient(100deg,var(--pur),#c026d3 55%,var(--pur2));box-shadow:0 10px 22px -10px rgba(124,58,237,.6)}
.omgp-buynow:hover{filter:brightness(1.06)}.omgp-buynow:disabled{opacity:.5;cursor:not-allowed}
.omgp-atc .single_add_to_cart_button.omgp-cartbtn{flex:none;width:52px;min-height:50px;padding:0!important;border-radius:12px!important;background:var(--ink)!important;color:transparent!important;font-size:0!important;position:relative;border:0!important}
.omgp-atc .single_add_to_cart_button.omgp-cartbtn:after{content:"";position:absolute;inset:0;margin:auto;width:20px;height:20px;background:#fff;-webkit-mask: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 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center/contain no-repeat;mask: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 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center/contain no-repeat}
.omgp-atc .single_add_to_cart_button.disabled{opacity:.45}
.omgp-atc table.variations{width:100%;border:0;margin:0 0 12px}
.omgp-atc table.variations tr{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.omgp-atc table.variations th,.omgp-atc table.variations td{padding:0!important;border:0!important;background:none!important;text-align:left}
.omgp-atc table.variations label{font-size:13px;font-weight:600;color:var(--ink)}
.omgp-atc table.variations select{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:14px;background-color:#fff}
.omgp-atc .reset_variations{font-size:12px;color:var(--mut);display:inline-block;margin-top:6px}
.omgp-atc .woocommerce-variation-price{margin:0 0 10px;font-weight:600}
.omgp-atc .woocommerce-variation-availability p{margin:0 0 8px;font-size:13px;color:var(--mut)}
.omgp-hidden-select{position:absolute!important;opacity:0;pointer-events:none;height:0;width:0}
.omgp-swatches{display:flex;gap:10px;flex-wrap:wrap}
.omgp-swatches .sw{all:unset;cursor:pointer;min-width:38px;height:38px;border-radius:999px;background:var(--c,#fff);border:1px solid var(--line);box-shadow:inset 0 0 0 3px #fff;display:grid;place-items:center;font-size:12px;padding:0 4px}
.omgp-swatches .sw:not([style]){padding:0 12px;box-shadow:none}
.omgp-swatches .sw.is-on{outline:2px solid var(--pur);outline-offset:2px}.omgp-swatches .sw.is-na{opacity:.3}
.omgp-ship{text-align:center;color:var(--mut);font-size:12px;margin:12px 0}
.omgp-trust{display:grid;grid-template-columns:repeat(3,1fr);background:var(--soft);border-radius:12px}
.omgp-trust>div{display:flex;align-items:center;gap:8px;padding:10px;font-size:12px;font-weight:500;line-height:1.25;border-right:1px solid var(--line)}
.omgp-trust>div:last-child{border-right:0}.omgp-trust svg{flex:none;width:16px;height:16px;color:var(--pur)}
.omgp-seller{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;text-decoration:none;color:var(--ink)}
.omgp-seller .lg{width:38px;height:38px;border-radius:10px;background:var(--ink);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center}
.omgp-seller b{display:block;font-size:14px}.omgp-seller small{color:var(--mut);font-size:12px}

/* more */
.omgp-more{margin-top:44px}
.omgp-more .hd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px}
.omgp-more h2{font-size:24px;font-weight:600}.omgp-more .hd a{color:var(--pur);font-size:14px;text-decoration:none}
.omgp-row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 64px)/5);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:thin}
.omgp-card{scroll-snap-align:start;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:8px;text-decoration:none;color:var(--ink);transition:transform .15s,box-shadow .15s}
.omgp-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px -16px rgba(20,17,42,.35)}
.omgp-card .im{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--soft)}
.omgp-card .im img{width:100%;height:100%;object-fit:cover;display:block}
.omgp-card .omgp-off{position:absolute;left:8px;top:8px}
.omgp-card .b{padding:10px 6px 4px}.omgp-card .c{font-size:12px;color:var(--mut)}
.omgp-card h3{font-size:14px!important;font-weight:500;line-height:1.35;margin:2px 0 8px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.omgp-card .p{display:flex;align-items:center;gap:8px;font-weight:700}
.omgp-card .price del{font-weight:400;color:var(--mut);font-size:12px}.omgp-card .price ins{text-decoration:none}
.omgp-card .r{display:inline-flex;align-items:center;gap:2px;font-size:12px;font-weight:500;color:var(--mut)}.omgp-card .r svg{width:12px;height:12px;color:#f5a524;fill:#f5a524}

/* reviews (WooCommerce template) */
.omgp #reviews .commentlist{list-style:none;margin:0;padding:0}
.omgp #reviews .comment_container{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.omgp #reviews img.avatar{width:40px;height:40px;border-radius:50%}
.omgp #reviews .comment-text{flex:1}.omgp #reviews .description p{margin:4px 0 0}
.omgp #review_form_wrapper{margin-top:18px}.omgp #reviews textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px}
.omgp #reviews .submit{background:var(--ink);color:#fff;border:0;border-radius:10px;padding:10px 18px;cursor:pointer}

@media (max-width:1100px){.omgp-top{grid-template-columns:minmax(0,1fr) 340px}.omgp-setup .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.omgp-row{grid-auto-columns:calc((100% - 32px)/3)}}
@media (max-width:900px){
  .omgp-top{grid-template-columns:1fr}.omgp-side{position:static;order:-1}
  .omgp-main{display:contents}.omgp-gallery{order:-2}.omgp-side{order:-1}
  .omgp-top{display:flex;flex-direction:column}
  .omgp-high{grid-template-columns:repeat(2,minmax(0,1fr))}.omgp-high>div:nth-child(2){border-right:0}.omgp-high>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .omgp-ov{grid-template-columns:1fr}
}
@media (max-width:600px){
  .omgp{font-size:14px;padding-top:10px}
  .omgp-gallery{flex-direction:column-reverse;padding:8px}.omgp-thumbs{flex-direction:row;width:auto;max-height:none}.omgp-thumbs button{width:60px;height:60px;flex:none}
  .omgp-stage{aspect-ratio:1}
  .omgp-box{padding:16px}.omgp-pane{padding:16px}.omgp-tabbar{padding:0 16px;gap:18px}
  .omgp-title{font-size:20px!important}.omgp-price .now{font-size:28px}
  .omgp-feats,.omgp-checks{grid-template-columns:1fr}
  .omgp-setup .grid{grid-template-columns:1fr 1fr}.omgp-setup .sum{grid-column:1/-1}
  .omgp-row{grid-auto-columns:72%}
  .omgp-trust>div{flex-direction:column;text-align:center;gap:4px;padding:10px 6px}
}

/* buy box fixes */
.omgp-ov.is-single{grid-template-columns:1fr}.omgp-ov.is-single .omgp-desc{max-width:820px}
.omgp-atc form.cart:not(.variations_form),.omgp-atc .woocommerce-variation-add-to-cart{flex-wrap:nowrap!important}
.omgp-atc .quantity{flex:none!important;width:auto!important;max-width:none!important}
.omgp-atc .quantity input.qty{width:46px!important;min-width:0!important;height:48px;padding:0!important}
.omgp-atc .quantity .action,.omgp-atc .quantity button{width:30px!important;height:30px!important;min-width:0!important;border:0!important;background:var(--soft)!important;border-radius:8px!important;padding:0!important;display:grid;place-items:center}
.omgp-atc .omgp-buynow{min-width:0}
.omgp-atc table.variations,.omgp-atc table.variations tbody,.omgp-atc table.variations tr,.omgp-atc table.variations td.value{display:block;width:100%!important}
.omgp-atc table.variations select{width:100%!important;max-width:none!important;min-width:0!important}
.omgp-atc table.variations td.value>*:not(.omgp-swatches):not(.reset_variations){width:100%!important;max-width:none!important}
.omgp-atc .single_variation_wrap .woocommerce-variation{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.omgp-atc .single_variation_wrap .woocommerce-variation-price .price{font-size:18px;font-weight:700}

/* overflow + button sizing */
.omgp-side,.omgp-buy,.omgp-atc,.omgp-atc form.cart{min-width:0;max-width:100%}
.omgp-trust{grid-template-columns:repeat(3,minmax(0,1fr))}
.omgp-atc .single_add_to_cart_button.omgp-cartbtn{flex:0 0 52px!important;width:52px!important;max-width:52px!important;min-width:0!important;margin:0!important}
.omgp-atc .omgp-buynow{flex:1 1 0!important;white-space:nowrap}
.omgp-atc .quantity{height:52px}
.omgp-high>div{min-width:0}
