/* Grey PC refined look: rounded surfaces, soft gradients, one set of tokens. */
:root{
  --gp-bg:#111518;
  --gp-surface:#171b22;
  --gp-surface-2:#1e2330;
  --gp-line:rgba(255,255,255,.08);
  --gp-line-strong:rgba(255,255,255,.16);
  --gp-text:#e7ebee;
  --gp-muted:#9aa3b2;
  --gp-purple:#5b38ed;
  --gp-purple-dark:#4928cf;
  --gp-purple-soft:rgba(91,56,237,.16);
  --gp-cyan:#1fb8c9;
  --gp-green:#3ddc97;
  --gp-radius:16px;
  --gp-radius-sm:10px;
  --gp-shadow:0 14px 34px rgba(0,0,0,.35);
  --gp-glow:0 10px 30px rgba(91,56,237,.28);
  --gp-grad:linear-gradient(115deg,#6a45ff 0%,#4928cf 100%);
  --gp-grad-accent:linear-gradient(90deg,#5b38ed 0%,#8b62f5 55%,#1fb8c9 100%);
  --gp-grad-surface:linear-gradient(160deg,#1b2029 0%,#151920 100%);
  --theme-button-border-radius:999px;
}

/* Typography: built-in system font (no download), tighter bold headings */
h1,h2,h3,h4,h5,h6,.woocommerce-loop-product__title,.product_title,.elementor-heading-title{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  letter-spacing:-.02em;
}
h1,.product_title{font-weight:800}
h2,h3{font-weight:750}

/* Thin gradient line under the header */
#header{position:relative}
#header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--gp-grad-accent);opacity:.55;pointer-events:none}

/* Buttons: pill, purple gradient */
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,
.single_add_to_cart_button,.checkout-button,.wc-block-components-button:not(.is-link),
.woocommerce #respond input#submit,.wc-proceed-to-checkout .button,#place_order{
  background:var(--gp-grad)!important;color:#fff!important;border:0!important;
  border-radius:999px!important;font-weight:650;letter-spacing:.01em;
  box-shadow:0 6px 18px rgba(91,56,237,.25);
  transition:transform .15s,box-shadow .15s,filter .15s;
}
.woocommerce .button:hover,.single_add_to_cart_button:hover,.checkout-button:hover,
.wc-block-components-button:not(.is-link):hover,#place_order:hover{
  filter:brightness(1.1);box-shadow:var(--gp-glow);transform:translateY(-1px);
}
.elementor-button{border-radius:999px}

/* Form fields */
.woocommerce input[type=text],.woocommerce input[type=email],.woocommerce input[type=tel],
.woocommerce input[type=password],.woocommerce input[type=number],.woocommerce textarea,
.woocommerce select,.woocommerce-ordering select,.quantity input.qty,
.wc-block-components-text-input input,.select2-container .select2-selection{
  background-color:var(--gp-surface)!important;border:1px solid var(--gp-line-strong)!important;
  border-radius:var(--gp-radius-sm)!important;color:var(--gp-text)!important;
}
.woocommerce-ordering select{padding:8px 34px 8px 14px}
.woocommerce-ordering,.woocommerce-ordering select{width:auto!important;min-width:170px}
.woocommerce-ordering select{padding:8px 34px 8px 14px!important;color:var(--gp-text)!important;font-size:14px!important}
.woocommerce-ordering .ct-sort-icon{display:none!important}
.woocommerce-ordering select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aa3b2' stroke-width='1.6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;-webkit-appearance:none;appearance:none}
.woocommerce input:focus,.woocommerce select:focus,.woocommerce textarea:focus,.quantity input.qty:focus{
  border-color:var(--gp-purple)!important;box-shadow:0 0 0 3px var(--gp-purple-soft)!important;outline:0;
}

/* Product cards */
.products .product{
  background:var(--gp-grad-surface);border:1px solid var(--gp-line);
  border-radius:var(--gp-radius);padding:12px 12px 16px;
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
.products .product:hover{transform:translateY(-3px);border-color:rgba(91,56,237,.45);box-shadow:var(--gp-shadow)}
.products .product .ct-media-container,.products .product figure img{border-radius:12px;overflow:hidden}
.products .product .woocommerce-loop-product__title{font-size:15px;line-height:1.35}
.products .product .price{font-weight:750;color:#fff}
.products .product .price del{color:var(--gp-muted);font-weight:400;opacity:1}
.products .product .price ins{text-decoration:none}
.products .product .button{width:100%;justify-content:center;text-align:center;padding:10px 14px}

/* Sale badge */
.onsale,.ct-woo-badge-onsale{
  background:var(--gp-grad-accent)!important;border-radius:999px!important;
  padding:4px 10px!important;font-weight:700;letter-spacing:.02em;box-shadow:0 4px 12px rgba(0,0,0,.25);
}

/* Category / shop header: soft glowing panel */
.hero-section[data-type="type-2"]{
  background:
    radial-gradient(ellipse 70% 90% at 20% 0%,rgba(91,56,237,.28) 0%,transparent 70%),
    radial-gradient(ellipse 50% 70% at 90% 100%,rgba(31,184,201,.14) 0%,transparent 70%)!important;
  border-bottom:1px solid var(--gp-line);
}
.hero-section .page-description,.term-description{color:var(--gp-muted)}

/* Single product */
.woocommerce-product-gallery .flexy-items img,.woocommerce-product-gallery img,.ct-product-gallery-container img{border-radius:var(--gp-radius)}
.flexy-pills img,.flexy-pills li{border-radius:10px}
.entry-summary{
  background:var(--gp-grad-surface);border:1px solid var(--gp-line);border-radius:20px;padding:24px;
}
.entry-summary .price{font-weight:800}
.stock.in-stock{color:var(--gp-green)!important;background:rgba(61,220,151,.1);display:inline-block;padding:4px 12px;border-radius:999px;font-size:14px;font-weight:600}
.stock.out-of-stock{color:#ff8a8a!important;background:rgba(255,90,90,.1);display:inline-block;padding:4px 12px;border-radius:999px;font-size:14px;font-weight:600}
.ct-payment-methods,.ct-product-additional-info{border-radius:12px}

/* Product tabs as pills */
.woocommerce-tabs .tabs{gap:8px;border:0!important}
.woocommerce-tabs .tabs li{border-radius:999px!important;border:1px solid var(--gp-line-strong)!important;background:transparent}
.woocommerce-tabs .tabs li.active{background:var(--gp-purple-soft)!important;border-color:rgba(91,56,237,.6)!important}
.woocommerce-tabs .tabs li::before,.woocommerce-tabs .tabs li::after{display:none!important}
.woocommerce-tabs .tabs li a{padding:8px 18px!important}
.woocommerce-tabs .panel{background:var(--gp-surface);border:1px solid var(--gp-line);border-radius:var(--gp-radius);padding:24px!important;margin-top:14px}
table.shop_attributes,.woocommerce table.shop_table{border-radius:12px;overflow:hidden;border-collapse:separate;border-spacing:0}

/* Cart, checkout, notices */
.woocommerce-cart-form,.cart-collaterals .cart_totals,.woocommerce-checkout-review-order,
.woocommerce-checkout #customer_details,.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation{
  background:var(--gp-surface);border:1px solid var(--gp-line);border-radius:var(--gp-radius);padding:20px;
}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{
  border-radius:12px!important;border:1px solid var(--gp-line-strong)!important;background:var(--gp-surface-2)!important;
}

/* Pagination */
.ct-pagination .page-numbers{border-radius:10px}
.ct-pagination .page-numbers.current{background:var(--gp-grad)!important;color:#fff!important;border-color:transparent!important}

/* Footer: gradient line on top */
footer.ct-footer{position:relative}
footer.ct-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--gp-grad-accent);opacity:.5}

@media (max-width:689px){
  .products .product{padding:8px 8px 12px;border-radius:14px}
  .entry-summary{padding:18px;border-radius:16px}
}
@media (prefers-reduced-motion:reduce){
  .products .product,.woocommerce .button{transition:none}
  .products .product:hover{transform:none}
}

.ct-payment-methods{border:1px solid var(--gp-line-strong)!important;background:rgba(255,255,255,.02)}
.ct-product-divider{border-color:var(--gp-line)!important;background:var(--gp-line)!important;opacity:1}

/* Category chips and quick filters */
.woo-listing-top{flex-wrap:wrap}
.gp-catbar{flex:0 0 100%;width:100%;margin:0 0 22px;display:flex;flex-direction:column;gap:14px}
.gp-chips{display:flex;flex-wrap:wrap;gap:8px}
.gp-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(160deg,#1b2029,#151920);color:#e7ebee;font-size:14px;font-weight:600;text-decoration:none;transition:border-color .15s,background .15s}
.gp-chip span{font-size:11px;font-weight:600;color:#9aa3b2;background:rgba(255,255,255,.06);border-radius:999px;padding:1px 7px}
.gp-chip:hover{border-color:rgba(91,56,237,.7);background:rgba(91,56,237,.16);color:#fff}
.gp-quick{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.gp-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.16);color:#dbdbdb;font-size:13px;font-weight:600;text-decoration:none}
.gp-pill .gp-dot{width:8px;height:8px;border-radius:50%;background:#3ddc97;display:inline-block}
.gp-pill:hover{border-color:rgba(91,56,237,.7);color:#fff}
.gp-pill.is-on{background:linear-gradient(115deg,#6a45ff,#4928cf);border-color:transparent;color:#fff}
.gp-pill.is-on .gp-dot{background:#fff}
.gp-brand select{height:auto!important;min-height:0!important;line-height:1.4;padding:7px 34px 7px 14px!important;border-radius:999px;border:1px solid rgba(255,255,255,.16);background-color:#171b22;color:#e7ebee;font-size:13px;font-weight:600;min-width:150px}
.gp-clear{font-size:13px;color:#9aa3b2;text-decoration:underline}
@media (max-width:689px){.gp-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;margin:0 -4px}.gp-chips::-webkit-scrollbar{display:none}.gp-chip{flex:0 0 auto}}