.pur-step {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.pur-step h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.pur-address-input {
    margin-bottom: 20px;
}

.pur-address-input label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
}

.pur-address-input input {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.pur-submit-address, .pur-proceed-button, .pur-draw-button {
    display: inline-block;
    padding: 12px 20px;
    background: #0073aa;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pur-submit-address:hover, .pur-proceed-button:hover, .pur-draw-button:hover {
    background: #005177;
}

.pur-submit-address:disabled, .pur-proceed-button:disabled, .pur-draw-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#pur-address-results {
    margin-top: 30px;
}

#pur-address-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
}

#pur-address-results p {
    font-size: 1rem;
    color: #333;
    margin: 10px 0;
}

#pur-roof-map {
    height: 300px;
    width: 100%;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.pur-map-legend {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.pur-map-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pur-legend-color {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.pur-legend-color.pur-included {
    background-color: #00FF00;
}

.pur-legend-color.pur-excluded {
    background-color: #808080;
}

.pur-no-segments, .pur-segments-status {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.pur-segments-status {
    color: #008000;
    font-weight: 500;
}

.pur-question {
    margin: 40px 0;
}

.pur-question h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 25px;
}

.pur-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pur-option {
    
    display: flex;
    flex-direction: column;
    padding: 12px 20px;
    background: #f7f7f7;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pur-option img{
    border-radius: 12px;
        width: 200px;
    height: 200px;
    object-fit: cover;
}
.pur-term-name{
    font-weight: bold;
    font-size: 20px;
}

.pur-option:hover {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.pur-option:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#pur-results {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.pur-product {
    /*flex: 0 0 calc(33.33% - 20px);*/
    /*max-width: calc(33.33% - 20px);*/
width:100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.pur-product:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-title h2 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
}

.product-price {
    color: #0073aa;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-variations select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-actions .button {
    background: #0073aa;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.product-actions .button:hover {
    background: #005177;
}

.pur-sqft-input {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .pur-address-input input {
        max-width: 100%;
    }

    #pur-roof-map {
        height: 250px;
    }

    .pur-map-legend {
        flex-direction: column;
        gap: 10px;
    }

    .pur-options {
        flex-direction: column;
        align-items: center;
    }

    .pur-option {
        width: 80%;
        max-width: 300px;
    }

    .pur-product {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .pur-step h2 {
        font-size: 1.5rem;
    }

    .pur-question h3, #pur-address-results h3 {
        font-size: 1.2rem;
    }

    .pur-option {
        width: 100%;
        padding: 10px;
    }

    .pur-product {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #pur-roof-map {
        height: 200px;
    }
}

/*CARD*/
/* Basic card styling for survey products */
.pur-product-card {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    padding: 15px;
    margin: 15px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pur-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.pur-product-title h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.pur-product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.pur-product-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
    border-radius: 6px;
}

.pur-product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pur-product-actions .pur-select {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.pur-product-actions .pur-button {
    background: #0071a1;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pur-product-actions .pur-button:hover {
    background: #005b82;
}





/*ADDONS*/

 .pur-addons-checkout {
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 6px;
    background: #fafafa;
}

.pur-addons-checkout h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 6px;
}

.pur-addons-checkout .pur-addon-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.pur-addons-checkout .pur-addon-left {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pur-addons-checkout label {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.pur-addon-desc {
    font-size: 0.85rem;
    font-weight: normal;
    color: #555;
    margin-left: 22px; 
}

.pur-addon-price {
    min-width: 70px;
    text-align: right;
    font-weight: bold;
}


.pur-shop-override-wrapper{
    margin-top:150px;
    margin-bottom: 40px;
}







/* ==== TABS (scoped; uses your default palette) ==== */

/* Tabs wrapper */
.pur-tabs {
  margin-top: 16px;
}

/* Horizontal, scrollable pill bar */
.pur-tab-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0 0 16px 0;
  padding: 8px;
  background: #fff;                 /* default bg */
  border: 1px solid #ddd;           /* match your inputs/cards */
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pur-tab-content{
	max-width:1200px;
}
/* Desktop only */
@media (min-width: 1024px) {
  .pur-tab-nav {
/*     position: absolute;
    top: 265px; */
  }
}
/* Hide list bullets just in case */
.pur-tab-nav li { list-style: none; }

/* Pill buttons */
.pur-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #f7f7f7;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.pur-tab-link:hover {
  background: #eaeaea;
  border-color: #ccc;
}

/* Active tab uses your Woo blue */
.pur-tab-link.active {
  background: #e6f4fb;          /* soft blue bg */
  border-color: #0073aa;
  color: #0073aa;
}

/* Count badge (uses data-count from markup) */
.pur-tab-link::after {
  content: attr(data-count);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  margin-left: 2px;
  border-radius: 999px;
  background: #333;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* Panels hidden by default; JS sets display:block on the active one */
.pur-tab-content { display: none; }

/* Default: Desktop (≥ 992px) → 3 columns */
.pur-tab-content.active,
.pur-tab-content[style*="display: block"],
.pur-tab-content[style*="display:block"] {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Tablet (< 992px) → 2 columns */
@media (max-width: 991px) {
  .pur-tab-content.active,
  .pur-tab-content[style*="display: block"],
  .pur-tab-content[style*="display:block"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (< 576px) → 1 column */
@media (max-width: 575px) {
  .pur-tab-content.active,
  .pur-tab-content[style*="display: block"],
  .pur-tab-content[style*="display:block"] {
    grid-template-columns: 1fr;
  }
}


/* Ensure cards inside tabs keep your existing card styles */
.pur-tab-content .pur-product-card {
  margin: 0; /* grid supplies spacing */
}

/* On very small screens, allow tighter grid */
@media (max-width: 480px) {
  .pur-tab-content.active,
  .pur-tab-content[style*="display: block"],
  .pur-tab-content[style*="display:block"] {
    grid-template-columns: 1fr;
  }
}

/* ==== Back button (uses same colors as your primary buttons) ==== */
#pur-back-btn {
  display: inline-block;
  padding: 10px 16px;
  background: #0073aa;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
  margin: 0 0 12px 0;
}
#pur-back-btn:hover { background: #005177; }
#pur-back-btn:disabled { opacity: .5; cursor: not-allowed; }


