/* ==========================================================================
   Landing page template 1 - mobile first (95% of traffic is on phones)
   Every colour comes from the CSS variables the admin sets per campaign.
   ========================================================================== */

* {
    box-sizing: border-box;
}

body.lp1 {
    margin: 0;
    padding: 0;
    background: var(--lp-body-bg, #fff);
    color: var(--lp-text, #333);
    font-family: "Hind Siliguri", "SolaimanLipi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body.lp1 img {
    max-width: 100%;
    height: auto;
}

.lp-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- buttons ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--lp-btn-bg, #03af50);
    color: var(--lp-btn-text, #fff);
    border: 0;
    border-radius: 6px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
    transition: filter .2s ease, transform .15s ease;
}

.lp-btn:hover {
    filter: brightness(.92);
    color: var(--lp-btn-text, #fff);
}

.lp-btn:active {
    transform: translateY(1px);
}

.lp-btn-sm {
    padding: 9px 18px;
    font-size: 13px;
}

.lp-btn-block {
    width: 100%;
    padding: 16px;
    font-size: 17px;
}

.lp-cta {
    text-align: center;
    margin-top: 26px;
}

/* ---------- header ---------- */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.lp-logo img {
    max-height: 42px;
    width: auto;
}

/* ---------- hero ---------- */
.lp-hero {
    background: var(--lp-section-bg, #eaf7ec);
    padding: 26px 0;
    text-align: center;
}

.lp-hero-text,
.lp-hero-text * {
    color: var(--lp-heading, #f58220);
}

.lp-hero-text h1,
.lp-hero-text h2,
.lp-hero-text h3 {
    margin: 0 0 8px;
    line-height: 1.4;
}

.lp-hero-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--lp-heading, #f58220);
    margin: 0 0 8px;
}

.lp-hero-price {
    font-size: 20px;
    margin: 0;
    color: var(--lp-text);
}

.lp-hero-price del {
    opacity: .6;
    margin-right: 8px;
}

.lp-hero-price strong {
    color: var(--lp-primary);
}

/* ---------- sections ---------- */
.lp-section {
    padding: 30px 0;
}

.lp-tinted {
    background: var(--lp-section-bg, #eaf7ec);
}

.lp-section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--lp-heading, #f58220);
    margin: 0 0 18px;
    line-height: 1.5;
}

.lp-section-media {
    text-align: center;
    margin-bottom: 18px;
}

.lp-section-media img {
    border-radius: 8px;
}

.lp-banner-wrap {
    text-align: center;
}

.lp-banner {
    border-radius: 8px;
}

/* rich text coming out of the editor */
.lp-rich {
    font-size: 16px;
}

.lp-rich p {
    margin: 0 0 12px;
}

.lp-rich h2,
.lp-rich h3,
.lp-rich h4 {
    color: var(--lp-heading, #f58220);
    line-height: 1.5;
    margin: 20px 0 10px;
}

.lp-rich ul,
.lp-rich ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

.lp-rich ul {
    list-style: none;
    padding-left: 0;
}

.lp-rich ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 9px;
}

.lp-rich ul li::before {
    content: "\279C";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--lp-primary, #03af50);
    font-weight: 700;
}

.lp-rich ol li {
    margin-bottom: 9px;
}

.lp-check-list ul li::before {
    content: "\2714";
    color: var(--lp-secondary, #f58220);
}

.lp-rich img {
    border-radius: 6px;
    margin: 8px 0;
}

.lp-rich table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
    display: block;
    overflow-x: auto;
}

.lp-rich table td,
.lp-rich table th {
    border: 1px solid #ddd;
    padding: 8px;
}

/* ---------- video ---------- */
.lp-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
}

.lp-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- order form ---------- */
.lp-form-section {
    padding: 30px 0;
    scroll-margin-top: 70px;
}

.lp-form-heading {
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    color: var(--lp-heading, #f58220);
    background: var(--lp-section-bg, #eaf7ec);
    border-radius: 6px;
    padding: 12px 14px;
    margin: 0 0 18px;
    line-height: 1.6;
}

.lp-box {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.lp-box-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--lp-secondary, #f58220);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.lp-box-title.mt-3 {
    margin-top: 20px;
}

.lp-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 16px;
}

/* products */
.lp-product-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.lp-product-row:last-child {
    border-bottom: 0;
}

.lp-product-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
    flex: 0 0 auto;
}

.lp-product-name {
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.5;
}

.lp-product-price {
    flex: 0 0 auto;
    font-weight: 700;
    color: var(--lp-primary);
}

/* variants */
.lp-variant {
    margin-top: 14px;
}

.lp-variant-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.lp-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-variant-item input {
    position: absolute;
    opacity: 0;
}

.lp-variant-item span {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.lp-variant-item input:checked+span {
    border-color: var(--lp-primary);
    background: var(--lp-primary);
    color: #fff;
}

/* fields */
.lp-field {
    margin-bottom: 14px;
}

.lp-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.lp-field .req {
    color: #e02b2b;
}

.lp-field input {
    width: 100%;
    height: 46px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    /* 16px keeps iOS from zooming on focus */
    background: #fff;
    color: var(--lp-text);
}

.lp-field input:focus {
    outline: none;
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.lp-error {
    display: block;
    color: #e02b2b;
    font-size: 13px;
    margin-top: 4px;
}

/* shipping radios */
.lp-shipping-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-shipping-item {
    cursor: pointer;
    margin: 0;
}

.lp-shipping-item input {
    position: absolute;
    opacity: 0;
}

.lp-shipping-body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color .2s ease, background-color .2s ease;
}

.lp-shipping-body::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border: 2px solid #bbb;
    border-radius: 50%;
}

.lp-shipping-item input:checked+.lp-shipping-body {
    border-color: var(--lp-primary);
    background: rgba(0, 0, 0, .02);
}

.lp-shipping-item input:checked+.lp-shipping-body::before {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 4px var(--lp-primary) inset;
}

.lp-shipping-item input:focus-visible+.lp-shipping-body {
    outline: 2px solid var(--lp-primary);
    outline-offset: 2px;
}

.lp-shipping-name {
    flex: 1 1 auto;
    font-size: 14px;
}

.lp-shipping-price {
    font-weight: 700;
}

/* summary */
.lp-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.lp-summary-table th,
.lp-summary-table td {
    padding: 9px 4px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.lp-summary-table th:last-child,
.lp-summary-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.lp-summary-total td {
    font-size: 16px;
    font-weight: 700;
    color: var(--lp-primary);
    border-bottom: 0;
}

.lp-cod {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 12px;
    margin: 14px 0;
    font-size: 14px;
}

.lp-cod p {
    margin: 4px 0 0;
    color: #666;
}

/* reviews slider */
.lp-review-slider {
    position: relative;
}

.lp-review-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.lp-review-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.lp-review-slider .owl-nav {
    margin: 0;
}

.lp-review-slider .owl-nav button.owl-prev,
.lp-review-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lp-btn-bg, #03af50) !important;
    color: var(--lp-btn-text, #fff) !important;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.lp-review-slider .owl-nav button.owl-prev {
    left: -6px;
}

.lp-review-slider .owl-nav button.owl-next {
    right: -6px;
}

.lp-review-slider .owl-nav button:hover {
    filter: brightness(.9);
}

.lp-review-slider .owl-dots {
    margin-top: 12px;
    text-align: center;
}

.lp-review-slider .owl-dots .owl-dot span {
    width: 9px;
    height: 9px;
    margin: 0 4px;
    background: #cfcfcf;
    border-radius: 50%;
    display: block;
}

.lp-review-slider .owl-dots .owl-dot.active span {
    background: var(--lp-primary, #03af50);
    width: 22px;
    border-radius: 5px;
}

/* ---------- footer ---------- */
.lp-footer {
    background: #1d1d1d;
    color: #ddd;
    padding: 30px 0 0;
    margin-top: 20px;
}

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

.lp-footer h4 {
    color: #fff;
    font-size: 15px;
    letter-spacing: .5px;
    margin: 0 0 12px;
}

.lp-footer p {
    margin: 0 0 8px;
    font-size: 14px;
}

.lp-footer a {
    color: #ddd;
    text-decoration: none;
}

.lp-footer a:hover {
    color: var(--lp-primary);
}

.lp-footer-logo {
    max-height: 44px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.lp-footer-social {
    display: flex;
    gap: 8px;
}

.lp-footer-social a,
.lp-community {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--lp-primary);
    color: #fff !important;
}

.lp-footer-bottom {
    margin-top: 26px;
    padding: 14px 16px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* ---------- floating buttons ---------- */
.lp-float {
    position: fixed;
    right: 14px;
    bottom: 78px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.lp-float-call {
    background: var(--lp-primary, #03af50);
}

.lp-float-wa {
    background: #25d366;
}

/* sticky mobile order bar */
.lp-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: block;
    padding: 15px 16px;
    background: var(--lp-btn-bg, #03af50);
    color: var(--lp-btn-text, #fff);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease;
}

.lp-sticky-cta.is-hidden {
    transform: translateY(110%);
}

/* ==========================================================================
   Tablet and up
   ========================================================================== */
@media (min-width: 768px) {
    .lp-hero {
        padding: 40px 0;
    }

    .lp-hero-title {
        font-size: 32px;
    }

    .lp-hero-price {
        font-size: 24px;
    }

    .lp-section {
        padding: 45px 0;
    }

    .lp-section-title {
        font-size: 27px;
    }

    .lp-form-heading {
        font-size: 22px;
    }

    .lp-box {
        padding: 22px;
    }

    .lp-form-grid {
        grid-template-columns: 1.15fr 1fr;
    }

    .lp-footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* the sticky bar is a phone affordance only */
    .lp-sticky-cta {
        display: none;
    }

    .lp-float {
        bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .lp-hero-title {
        font-size: 38px;
    }
}

/* respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

    .lp-btn,
    .lp-sticky-cta,
    .lp-shipping-body {
        transition: none;
    }
}
