/* === HERO section === */
.hero-nocrop {
    position: relative;
}

.hero-img {
    display: block;
    width: 100%;
    height: 65vh;
    object-fit: cover;
}

#heroCarousel .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    z-index: 2;
    padding: 32px;
}

.hero-content .btn-get-started {
    display: inline-block;
    white-space: nowrap;
    padding: 10px 18px;
    font-size: clamp(0.95rem, 3.2vw, 1rem);
}

@media (max-width: 576px) {
    .hero-img {
        height: 70vh;
    }

    .hero-content {
        padding: 16px;
        width: calc(100% - 24px);
    }
}

.about-strip {
    background: #ff8a00;
}

/**** custom ***/

/* Scoped styles */
.section-wrap {
    background: #222;
    color: #fff;
    padding: 28px 0 8px;
    margin-bottom: 24px;
}

.section-title {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 16px;
    font-weight: 800;
    font-size: 28px;
    padding-bottom: 20px;
}

.grid-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 48px;
}

.cards {
    display: grid;
    grid-template-columns:repeat(1, minmax(0, 1fr));
    gap: 24px;
}

@media (min-width: 700px) {
    .cards {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .cards {
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

.card {
    background: #fff;
    color: #111;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thumb {
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tag {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
}

.name {
    font-weight: 700;
    font-size: 16px;
    margin: 6px 0 6px;
}

.summary {
    font-size: 14px;
    color: #444;
    line-height: 1.45;
}

.meta {
    font-size: 13px;
    color: #555;
    margin-top: 8px;
}

.cta-row {

    display: flex;
    gap: 10px;
    margin: 0 auto;
    margin-top: 20px;
}

.btn {
    appearance: none;
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-orange {
    background: #ff8a00;
    color: #1a1a1a;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .08);
}

.btn-orange:hover {
    background: #ffa500;
}

.product-content {
    text-align: center;
    margin-top: 20px;
}


/*** product detail */
.detail-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 48px;
}

.detail-grid {
    display: grid;
    grid-template-columns:1fr;
    gap: 24px;
}

@media (min-width: 980px) {
    .detail-grid {
        grid-template-columns:1.1fr .9fr;
    }
}

/* Smaller main image; contain keeps small sources crisp */
.main-img {
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.thumbs {
    display: grid;
    grid-template-columns:repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.thumbs a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f2f2;
    border: 2px solid transparent;
}

.thumbs a.active, .thumbs a:hover {
    border-color: #ff8a00;
}

.thumbs img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    display: block;
}

.facts {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
    padding: 18px;
}

.tag {
    font-size: 12px;
    color: #666;
}

.price {
    font-weight: 800;
    font-size: 20px;
    margin-top: 6px;
    margin-bottom: 10px;
}

.min {
    font-size: 14px;
    color: #444;
    margin-bottom: 14px;
}

.summary {
    font-size: 15px;
    color: #333;
    line-height: 1.45;
    margin-bottom: 12px;
}

.muted {
    color: #666;
    font-size: 13px;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.btn {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: #ff8a00;
    color: #1a1a1a;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .08);
}

.btn-ghost {
    background: #f4f4f4;
    color: #222;
}

.back {
    margin-top: 28px;
    font-size: 14px;
}

.back a {
    color: #ff8a00;
    text-decoration: none;
    font-weight: 700;
}


/* === Product Detail: full-width sections below grid === */
.fullwidth-sections {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
    padding: 18px;
}

.info-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.info-card .body {
    font-size: 15px;
    color: #333;
    line-height: 1.65;
    white-space: pre-wrap; /* keep client’s line breaks */
}

/* Compact 3-up meta cards (Office Hours / Return Time / License) */
.kv {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 700px) {
    .kv {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.kv .info-card {
    padding: 16px;
}


.card {
    background: #fff;
    color: #111;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-content {
    text-align: center;
    margin-top: 20px;
    flex-grow: 1; /* let content expand */
}

.cta-row {
    display: flex;
    gap: 10px;
    margin-top: auto; /* push to bottom */
    justify-content: center; /* keep button centered */
}

.btn.btn-orange {
    margin-top: 15px;
}


/** gear sales*/
.roofpod-wrap {
    max-width: 1100px;
    margin: 0 auto 36px;
    padding: 0 16px;
}

.roofpod-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* big left, small right */
    gap: 16px;
}

.roofpod-side {
    display: grid;
    grid-template-rows: 1fr 1fr; /* stack two images */
    gap: 16px;
}

/* shared image styling */
.roofpod-img {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}

.roofpod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* keep a nice aspect on the main image */
.roofpod-main {
    aspect-ratio: 16 / 9;
}

/* responsive */
@media (max-width: 992px) {
    .roofpod-grid {
        grid-template-columns: 1fr; /* stack on small screens */
    }

    .roofpod-side {
        grid-template-rows: none;
        grid-template-columns: 1fr 1fr; /* two side images next to each other */
    }
}


/* One per line, with comfortable spacing */
  .product-checkboxes .product-line {
    padding: .5rem .75rem;
    border: 1px solid rgba(0,0,0,.075);
    border-radius: .5rem;
    margin-bottom: .5rem;
    background: #fff;
  }
  .product-checkboxes .form-check-input {
    margin-top: .3rem; /* align checkbox visually with label */
  }