/*
Theme Name: Robot Assistant Shop Child
Theme URI: https://robotassistantshop.com
Description: Mobile-first WooCommerce child theme for Robot Assistant Shop.
Version: 1.0.0
Author: Site Operations
Template: woostify
*/
:root {
  --robot-blue: #005B96;
  --robot-blue-dark: #003F68;
  --robot-gray: #4A4A4A;
  --robot-muted: #68737d;
  --robot-line: #dfe5e9;
  --robot-surface: #f4f7f9;
  --robot-white: #ffffff;
  --robot-radius: 6px;
  --robot-content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--robot-gray);
  background: var(--robot-white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--robot-blue); }
a:hover { color: var(--robot-blue-dark); }

.robot-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  background: var(--robot-white);
  border-bottom: 1px solid var(--robot-line);
}
.robot-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--robot-blue);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.robot-logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--robot-white);
  background: var(--robot-blue);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
}
.robot-nav {
  display: none;
  align-items: center;
  gap: 22px;
}
.robot-nav a {
  color: var(--robot-gray);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.robot-nav a:hover { color: var(--robot-blue); }

.robot-hero {
  padding: 68px 20px 76px;
  color: var(--robot-white);
  background: var(--robot-blue);
}
.robot-hero-inner,
.robot-section,
.robot-footer-inner {
  width: min(100%, var(--robot-content));
  margin: 0 auto;
}
.robot-hero-inner { max-width: 800px; }
.robot-hero h1 {
  margin: 0 0 14px;
  color: var(--robot-white);
  font-size: clamp(2.3rem, 8vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
}
.robot-hero-subtitle {
  max-width: 650px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  line-height: 1.45;
}
.robot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.robot-button {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid var(--robot-white);
  border-radius: var(--robot-radius);
  color: var(--robot-white);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.robot-button-primary {
  color: var(--robot-blue);
  background: var(--robot-white);
}
.robot-button:hover { color: var(--robot-white); background: var(--robot-blue-dark); }
.robot-button-primary:hover { color: var(--robot-blue-dark); background: #eaf2f7; }

.robot-section { padding: 56px 20px; }
.robot-section-heading { max-width: 680px; margin-bottom: 26px; }
.robot-section h2 {
  margin: 0 0 8px;
  color: var(--robot-blue);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.2;
}
.robot-section-heading p { margin: 0; color: var(--robot-muted); }
.robot-feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 34px;
}
.robot-feature {
  padding: 20px;
  border: 1px solid var(--robot-line);
  border-left: 4px solid var(--robot-blue);
  background: var(--robot-white);
}
.robot-feature h3 { margin: 0 0 6px; color: var(--robot-gray); font-size: 1.05rem; }
.robot-feature p { margin: 0; color: var(--robot-muted); font-size: .95rem; }

/* WooCommerce uses float/percentage widths by default; the child grid owns them here. */
.robot-products ul.products,
.robot-products .products,
.woocommerce .robot-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.robot-products ul.products::before,
.robot-products ul.products::after,
.robot-products .products::before,
.robot-products .products::after { display: none !important; }
.robot-products ul.products li.product,
.woocommerce .robot-products ul.products li.product {
  width: auto !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--robot-line) !important;
  border-radius: var(--robot-radius) !important;
  background: var(--robot-white) !important;
  text-align: left;
}
.robot-products ul.products li.product img {
  display: block;
  width: 100% !important;
  height: 220px !important;
  margin: 0 0 15px !important;
  object-fit: contain;
}
.robot-products ul.products li.product .woocommerce-loop-product__title {
  min-height: 3em;
  color: var(--robot-gray);
  font-size: 1rem;
  font-weight: 700;
}
.robot-products ul.products li.product .price {
  display: block !important;
  margin: 10px 0 2px !important;
  color: var(--robot-blue) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
}
.robot-products ul.products li.product .button {
  margin-top: 8px !important;
  border-radius: var(--robot-radius) !important;
  color: var(--robot-white) !important;
  background: var(--robot-blue) !important;
  font-weight: 700 !important;
}
.robot-products ul.products li.product .button:hover { background: var(--robot-blue-dark) !important; }

.robot-cta {
  margin-top: 12px;
  padding: 34px 24px;
  color: var(--robot-white);
  background: var(--robot-gray);
  text-align: center;
}
.robot-cta h2 { margin: 0 0 8px; color: var(--robot-white); }
.robot-cta p { margin: 0 auto 20px; color: rgba(255, 255, 255, .86); }
.robot-footer {
  padding: 28px 20px;
  color: rgba(255, 255, 255, .88);
  background: var(--robot-gray);
  font-size: .9rem;
}
.robot-footer a { color: var(--robot-white); }

@media (min-width: 720px) {
  .robot-header { padding-inline: 32px; }
  .robot-nav { display: flex; }
  .robot-hero { padding: 100px 32px 112px; }
  .robot-section { padding: 76px 32px; }
  .robot-feature-row { grid-template-columns: repeat(3, 1fr); }
  .robot-footer { padding-inline: 32px; }
}

@media (max-width: 719px) {
  .robot-products ul.products,
  .robot-products .products,
  .woocommerce .robot-products ul.products {
    grid-template-columns: 1fr !important;
  }
}
