/* Custom CSS for Valve Tech Pro Theme */

/* ============================
   General Layout for Header Section
   ============================ */
.product-header-section {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start; /* Aligns content to the top */
}

.product-image-column {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
}

.product-info-column {
    flex: 2;
}

/* Main Product Image Styling - This was the inline style, but keeping class for reference */
.product-main-image {
    width: 100%; /* Makes the image take 100% width of its parent column */
    height: auto; /* Maintains aspect ratio */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Call to Action Box beneath the image */
.product-cta-box {
    background-color: #f0f8ff; /* Light blue background */
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid #cceeff; /* Light blue border */
}

.product-cta-box p {
    font-size: 1.1em;
    font-weight: bold;
    color: #337ab7; /* Darker blue text */
    margin-top: 0; /* Remove default paragraph margin */
    margin-bottom: 15px;
}

/* Lead paragraph styling */
p.lead {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Link styling for "Learn more" / "Dive deeper" */
p.section-link {
    margin-top: 30px;
}

p.section-link a {
    font-weight: bold;
    color: #337ab7;
    text-decoration: none;
}

p.section-link a:hover {
    text-decoration: underline;
}

/* List Item Styling for main features */
.product-info-column ul {
    list-style-type: disc;
    padding-left: 20px;
}

.product-info-column li strong {
    font-weight: bold;
}


/* ============================
   Chuck System Section Styling
   ============================ */
.chuck-system-section {
    margin-bottom: 50px;
}

.chuck-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    margin-top: 30px;
    gap: 20px; /* Space between feature items */
}

.feature-item {
    flex: 1 1 280px; /* Allows items to grow/shrink, minimum 280px before wrapping */
    padding: 15px;
}

.feature-item h4 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

.feature-item p {
    margin-top: 0;
    font-size: 0.95em;
}

/* Icon List (Accessories Section) */
ul.icon-list {
    list-style-type: none;
    padding-left: 0;
}

ul.icon-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

ul.icon-list li i {
    margin-right: 10px;
}

/* Specific Icon Colors */
.icon-green { color: #4CAF50; }
.icon-blue { color: #337ab7; }
.icon-orange { color: #f0ad4e; }
.icon-red { color: #dc3545; }


/*
/* Force override Quark button styles site-wide */
body .button,
body a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.6rem 1.1rem !important;
  line-height: 1 !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;           /* remove outline/inset box */
  box-shadow: none !important;
  white-space: nowrap !important;
}

/* Primary: white text on blue background */
body .button.button-primary,
body a.button.button-primary {
  background-color: #2a7ae2 !important;
  color: #ffffff !important;
  border: none !important;
}
body .button.button-primary:hover,
body a.button.button-primary:hover,
body .button.button-primary:focus,
body a.button.button-primary:focus {
  background-color: #1f66c2 !important;
  color: #ffffff !important;
  border: none !important;
}

/* Secondary: white text on red background */
body .button.button-secondary,
body a.button.button-secondary {
  background-color: #d63b3b !important;
  color: #ffffff !important;
  border: none !important;
}
body .button.button-secondary:hover,
body a.button.button-secondary:hover,
body .button.button-secondary:focus,
body a.button.button-secondary:focus {
  background-color: #b92f2f !important;
  color: #ffffff !important;
  border: none !important;
}

/* Hero context (keeps buttons clean on overlays) */
.modular .hero .button,
.modular .hero a.button {
  border: none !important;
  opacity: 0.98;
}
.modular .hero .button:hover,
.modular .hero a.button:hover {
  opacity: 1;
}

/* Keep spacing between adjacent buttons */
body .button + .button,
body a.button + a.button {
  margin-left: 0.5rem !important;
}
/* Expandable details styling */
details {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0 0.75rem;
  background: #fafafa;
}

details[open] {
  background: #f5f9ff;
  border-color: #cfe2ff;
}

details > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

details > summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.5rem;
  color: #2a7ae2;
  transition: transform 0.15s ease;
}

details[open] > summary::before {
  transform: rotate(90deg);
}