:root {
  --ce-bg: #000000;
  --ce-fg: #ffffff;
  --ce-muted: #b3b3b3;
  --ce-accent: #1e5aff;
  --ce-line: #222222;
  --ce-page: 1200px;
}

html, body,
.site,
.site-main,
.elementor-kit-1,
.woocommerce,
.woocommerce-page {
  background: var(--ce-bg) !important;
  color: var(--ce-fg);
}

body {
  font-family: Inter, Helvetica, Arial, sans-serif;
}

a { color: var(--ce-fg); }
a:hover { color: var(--ce-accent); }

.site-header,
.site-footer {
  display: none !important;
}

.ce-header,
.ce-footer,
.elementor-294,
.page-id-294 .elementor,
body .site-main,
.woocommerce .site-main,
.woocommerce-page .site-main,
.page-content {
  max-width: var(--ce-page) !important;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.ce-header {
  background: #000;
  color: #fff;
  padding: 18px 28px 8px;
}

.ce-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ce-logo img {
  height: 54px;
  width: auto;
  display: block;
}

.ce-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ce-icon-link,
.ce-menu-toggle {
  color: #fff;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.ce-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.ce-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--ce-accent);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  padding: 0 3px;
}

.ce-nav .ce-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
}

.ce-nav .ce-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .02em;
}

.ce-nav .ce-menu .sub-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px 0 0;
}

.ce-nav .menu-item-has-children > .sub-menu {
  display: none;
}

@media (min-width: 901px) {
  .ce-menu-toggle { display: none; }
  .ce-nav .menu-item-has-children:hover > .sub-menu {
    display: block;
    position: absolute;
    background: #0a0a0a;
    padding: 12px 16px;
    min-width: 220px;
    z-index: 20;
  }
  .ce-nav .menu-item-has-children { position: relative; }
}

@media (max-width: 900px) {
  .ce-menu-toggle { display: block; }
  .ce-nav { display: none; }
  .ce-nav.is-open { display: block; padding-bottom: 12px; }
  .ce-nav .ce-menu { flex-direction: column; }
  .ce-nav .menu-item-has-children > .sub-menu { display: block; padding-left: 14px; }
}

.ce-footer {
  background: #000;
  color: #fff;
  padding: 48px 28px 64px;
  border-top: 1px solid var(--ce-line);
}

.ce-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 100%;
}

.ce-footer h6 {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.ce-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ce-footer-menu a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.9;
}

.woocommerce ul.products li.product,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  color: #fff;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
button.button,
.wp-element-button {
  background: var(--ce-accent) !important;
  color: #fff !important;
  border: 0 !important;
}

.ce-home-section {
  padding: 36px 20px 12px;
  max-width: var(--ce-page);
  margin: 0 auto;
}

.ce-home-section h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 22px;
}

.ce-hero img { width: 100%; height: auto; display: block; }

.ce-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.ce-cat-card {
  display: block;
  text-decoration: none;
  color: #fff;
}

.ce-cat-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #111;
}

.ce-cat-card span {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.ce-learn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.ce-learn article {
  background: #0c0c0c;
  padding: 18px;
}

.ce-learn img { width: 100%; height: 180px; object-fit: cover; }
.ce-learn h3 { margin: 12px 0 8px; font-size: 22px; }
.ce-learn p { color: var(--ce-muted); margin: 0 0 12px; }

.ce-contact {
  max-width: 720px;
  margin: 8px auto 48px;
  padding: 0 8px;
}

.ce-contact-lead {
  color: var(--ce-muted);
  text-align: center;
  margin: 0 0 12px;
  line-height: 1.6;
}

.ce-contact-thanks {
  text-align: center;
  padding: 24px 0 48px;
}

.ce-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-top: 28px;
}

.ce-form-field,
.ce-form-submit {
  margin: 0;
}

.ce-form-field-full,
.ce-form-submit {
  grid-column: 1 / -1;
}

.ce-form-field label {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 8px;
}

.ce-optional {
  color: var(--ce-muted);
  font-weight: 400;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #2a2a2a;
  background: #111;
  color: #fff;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 15px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  outline: 2px solid var(--ce-accent);
  outline-offset: 1px;
}

.wpcf7 input[type="submit"],
.wpcf7-submit {
  background: var(--ce-accent) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 4px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.wpcf7-not-valid {
  border-color: #ff4d4d !important;
}

.wpcf7-response-output {
  margin: 18px 0 0 !important;
  border-color: var(--ce-accent) !important;
  color: #fff;
}

.wpcf7-not-valid-tip {
  color: #ff8a8a;
  font-size: 13px;
}

.single-product .product_meta,
.single-product .woocommerce-tabs .wc-tabs,
.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2:first-child {
  display: none !important;
}

.ce-product-description {
  margin: 28px 0 8px;
  color: var(--ce-fg);
  line-height: 1.7;
}

.ce-product-description p {
  margin: 0 0 12px;
}

.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}

.wc-block-checkout__use-address-for-billing {
  display: none !important;
}

.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-textarea {
  display: flex !important;
  flex-direction: column-reverse !important;
  align-items: stretch !important;
  padding-top: 0 !important;
  gap: 6px;
}

.wc-block-components-country-input,
.wc-block-components-state-input,
.wc-blocks-components-select {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding-top: 0 !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-select label,
.wc-block-components-country-input label,
.wc-block-components-state-input label,
.wc-block-components-textarea label,
.wc-blocks-components-select__label {
  display: block !important;
  position: static !important;
  transform: none !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  color: var(--ce-muted) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  margin: 0 0 6px !important;
}

.wc-blocks-components-select__container {
  background: #1a1a1a !important;
  color: #fff !important;
  border-color: #3a3a3a !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-block-components-select select,
.wc-block-components-country-input input,
.wc-block-components-state-input input,
.wc-block-components-textarea textarea,
.wc-block-components-textarea,
.woocommerce form .input-text,
.woocommerce-page form .input-text,
.woocommerce form select,
.woocommerce-page form select,
.woocommerce form textarea,
.woocommerce-account .woocommerce-form-row input,
.woocommerce-account .woocommerce-form-row select {
  background: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #3a3a3a !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  caret-color: #fff;
}

.wc-block-components-text-input input::placeholder,
.wc-block-components-combobox input::placeholder,
.woocommerce form .input-text::placeholder {
  color: #888 !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-select select:focus,
.woocommerce form .input-text:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  outline: 2px solid var(--ce-accent) !important;
  outline-offset: 1px;
  border-color: var(--ce-accent) !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  background: #1a1a1a;
  border-color: #3a3a3a;
}

@media (max-width: 700px) {
  .ce-home-section h2 { font-size: 32px; }
  .ce-footer-grid { grid-template-columns: 1fr; }
  .ce-logo img { height: 40px; }
  .ce-form-grid { grid-template-columns: 1fr; }
}
