/* ========================================
   HOMEPAGE SECTIONS
   ======================================== */

/* Hero */
.lp-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}
.lp-hero-inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.lp-hero-eyebrow {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #F7CC7F;
}
.lp-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.lp-hero-sub {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 32px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Buttons */
.lp-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #F7CC7F;
    color: #282828;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
}
.lp-btn:hover {
    background: #f0be60;
    transform: translateY(-1px);
    color: #282828;
}
.lp-btn-outline {
    background: transparent;
    border: 2px solid #F7CC7F;
    color: #F7CC7F;
}
.lp-btn-outline:hover {
    background: #F7CC7F;
    color: #282828;
}

/* USP Row */
.lp-usp {
    padding: 40px 20px;
    background: #fafafa;
}
.lp-usp-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.lp-usp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lp-usp-item img {
    border-radius: 50%;
    margin-bottom: 12px;
}
.lp-usp-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #282828;
}
.lp-usp-item p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Why Choose Us */
.lp-why {
    padding: 80px 20px;
}
.lp-why-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.lp-why-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #282828;
}
.lp-why-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 28px;
}
.lp-why-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Products Section */
.lp-products {
    padding: 60px 20px 80px;
    background: #fafafa;
}
.lp-products-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.lp-products-inner > h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px;
    color: #282828;
}

/* Product Grid - force 4 columns */
.lp-products .lp-grid.peptide-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    flex-wrap: nowrap;
}
.lp-products .peptide-item {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}
.lp-products .peptide-item .peptide-item-link {
    min-width: 0 !important;
    overflow: hidden !important;
}
.lp-products .peptide-item figure {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}
.lp-products .peptide-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}
.lp-products .lp-grid a {
    text-decoration: none;
}

/* Trust Bar */
.lp-trust {
    padding: 50px 20px;
    background: #282828;
    color: #fff;
}
.lp-trust-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.lp-trust-item {
    padding: 20px 12px;
    border-radius: 8px;
    cursor: default;
    transition: transform 0.3s ease, background 0.3s ease;
}
.lp-trust-item:hover {
    transform: translateY(-4px);
    background: rgba(247,204,127,0.06);
}
.lp-trust-item svg {
    color: #F7CC7F;
    margin-bottom: 12px;
    transition: filter 0.3s ease, transform 0.3s ease;
}
.lp-trust-item:hover svg {
    filter: drop-shadow(0 0 8px rgba(247,204,127,0.5));
    transform: scale(1.1);
}
.lp-trust-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #fff;
    transition: color 0.3s ease;
}
.lp-trust-item:hover h4 {
    color: #F7CC7F;
}
.lp-trust-item p {
    font-size: 14px;
    color: #aaa;
    margin: 0;
    transition: color 0.3s ease;
}
.lp-trust-item:hover p {
    color: #ccc;
}

/* Hide default page title on homepage */
.home .entry-title,
.home .page-title,
.home article > .entry-header { display: none; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .lp-hero { padding: 70px 20px; }
    .lp-hero-title { font-size: 36px; }
    .lp-why-inner { grid-template-columns: 1fr; gap: 30px; }
    .lp-why-img { order: -1; }
    .lp-trust-inner { grid-template-columns: repeat(2, 1fr); }
    .lp-products .lp-grid.peptide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
    .lp-hero { padding: 50px 16px; }
    .lp-hero-title { font-size: 28px; }
    .lp-hero-sub { font-size: 16px; }
    .lp-usp-inner { grid-template-columns: 1fr; gap: 30px; }
    .lp-trust-inner { grid-template-columns: 1fr; }
}

/* ========================================
   GLP MEMBERS-ONLY SECTION
   ======================================== */
.lp-glp {
    padding: 64px 20px 72px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}
.lp-glp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #F7CC7F 30%, #F7CC7F 70%, transparent);
    opacity: 0.5;
}
.lp-glp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #F7CC7F 30%, #F7CC7F 70%, transparent);
    opacity: 0.5;
}
.lp-glp-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.lp-glp-header {
    text-align: center;
    margin-bottom: 44px;
}
.lp-glp-badge {
    display: inline-block;
    padding: 5px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    background: #F7CC7F;
    border-radius: 2px;
    margin-bottom: 18px;
}
.lp-glp-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}
.lp-glp-header p {
    font-size: 15px;
    color: #888;
    margin: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Product Grid */
.lp-glp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Cards */
.lp-glp-card {
    background: #242424;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.lp-glp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(247,204,127,0.35);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4), 0 0 20px rgba(247,204,127,0.06);
}
.lp-glp-card-link {
    display: block;
    text-decoration: none;
}
.lp-glp-card-img {
    margin: 0;
    padding: 0;
    background: #2a2a2a;
    overflow: hidden;
}
.lp-glp-card-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.lp-glp-card:hover .lp-glp-card-img img {
    transform: scale(1.04);
}
.lp-glp-card-body {
    padding: 16px 18px 14px;
}
.lp-glp-card-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: #f0f0f0;
    margin: 0 0 6px;
    line-height: 1.3;
}
.lp-glp-card-price {
    font-size: 14px;
    color: #F7CC7F;
    font-weight: 600;
}
.lp-glp-card-price del {
    color: #666;
    font-weight: 400;
}
.lp-glp-card-price ins {
    text-decoration: none;
}

/* Variant Pills */
.lp-glp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 18px 16px;
    justify-content: center;
}
.lp-glp-pill {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    color: #ccc;
    background: #333;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.lp-glp-pill:hover {
    background: #444;
    color: #fff;
}

/* Add to Cart button */
.lp-glp-card-btn {
    padding: 0 18px 16px;
    text-align: center;
}
.lp-glp-card-btn .button {
    width: 100%;
    background: #333;
    color: #f0f0f0;
    border: none;
    border-radius: 3px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.lp-glp-card-btn .button:hover {
    background: #F7CC7F;
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 991px) {
    .lp-glp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lp-glp-header h2 {
        font-size: 28px;
    }
}
@media (max-width: 599px) {
    .lp-glp {
        padding: 48px 16px 56px;
    }
    .lp-glp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .lp-glp-header h2 {
        font-size: 24px;
    }
    .lp-glp-badge {
        font-size: 10px;
    }
}

/* ========================================
   GUEST GATE — MEMBERS CTA
   ======================================== */
.lp-gate {
    padding: 56px 20px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}
.lp-gate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(247,204,127,0.4) 30%, rgba(247,204,127,0.4) 70%, transparent);
}
.lp-gate::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(247,204,127,0.4) 30%, rgba(247,204,127,0.4) 70%, transparent);
}
.lp-gate-inner {
    max-width: 680px;
    margin: 0 auto;
}
.lp-gate-content {
    text-align: center;
}
.lp-gate-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(247,204,127,0.1);
    border: 1px solid rgba(247,204,127,0.25);
    color: #F7CC7F;
    margin-bottom: 24px;
}
.lp-gate-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
}
.lp-gate-content > p {
    font-size: 16px;
    color: #999;
    margin: 0 0 32px;
    line-height: 1.65;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.lp-gate-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.lp-gate-btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: #F7CC7F;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.3px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.lp-gate-btn-primary:hover {
    background: #f0be60;
    color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(247,204,127,0.25);
}
.lp-gate-btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: #ccc;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #444;
    transition: border-color 0.25s, color 0.25s;
}
.lp-gate-btn-secondary:hover {
    border-color: #888;
    color: #fff;
}
.lp-gate-note {
    font-size: 13px;
    color: #666;
    margin: 0;
}
@media (max-width: 599px) {
    .lp-gate {
        padding: 44px 16px;
    }
    .lp-gate-content h2 {
        font-size: 23px;
    }
    .lp-gate-actions {
        flex-direction: column;
        align-items: center;
    }
    .lp-gate-btn-primary,
    .lp-gate-btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Gate inline registration form */
.lp-gate-form-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}
.lp-gate-form-wrap.open {
    opacity: 1;
    margin-top: 28px;
}
.lp-gate-fields {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 520px;
    margin: 0 auto;
}
.lp-gate-field {
    flex: 1;
    min-width: 180px;
}
.lp-gate-field input {
    width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    color: #f0f0f0;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.lp-gate-field input::placeholder {
    color: #777;
}
.lp-gate-field input:focus {
    border-color: #F7CC7F;
}
.lp-gate-submit {
    padding: 13px 28px;
    background: #F7CC7F;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    white-space: nowrap;
}
.lp-gate-submit:hover {
    background: #f0be60;
    transform: translateY(-1px);
}
.lp-gate-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.lp-gate-msg {
    font-size: 13px;
    margin: 12px 0 0;
    min-height: 20px;
}
.lp-gate-msg.success {
    color: #7ecf8a;
}
.lp-gate-msg.error {
    color: #e8685a;
}
@media (max-width: 599px) {
    .lp-gate-fields {
        flex-direction: column;
    }
    .lp-gate-submit {
        width: 100%;
    }
}

/* Gate tab toggle states */
.lp-gate-tab {
    cursor: pointer;
    border: none;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.lp-gate-btn-primary.lp-gate-tab {
    border: 1px solid transparent;
}
.lp-gate-btn-primary.lp-gate-tab:not(.active) {
    background: transparent;
    color: #ccc;
    border-color: #444;
}
.lp-gate-btn-primary.lp-gate-tab:not(.active):hover {
    border-color: #888;
    color: #fff;
}
.lp-gate-btn-secondary.lp-gate-tab.active {
    background: #F7CC7F;
    color: #1a1a1a;
    border-color: transparent;
    font-weight: 700;
}

/* Mobile gate fixes */
/* Fix iOS Safari white input background on focus/autofill */
.lp-gate-field input,
.lp-gate-field input:focus,
.lp-gate-field input:active {
    background-color: #2a2a2a !important;
    color: #f0f0f0 !important;
    -webkit-appearance: none;
    -webkit-text-fill-color: #f0f0f0;
}
.lp-gate-field input:-webkit-autofill,
.lp-gate-field input:-webkit-autofill:hover,
.lp-gate-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px #2a2a2a inset !important;
    -webkit-text-fill-color: #f0f0f0 !important;
    caret-color: #f0f0f0;
}
/* Reduce bottom padding and form wrap margin */
.lp-gate-form-wrap.open {
    margin-top: 24px;
    margin-bottom: 0;
}
@media (max-width: 599px) {
    /* Add top padding so heading isn't under sticky header */
    .lp-gate {
        padding-top: 56px;
        padding-bottom: 36px;
    }
    /* Tighten spacing between elements */
    .lp-gate-content > p {
        margin-bottom: 24px;
    }
    .lp-gate-note {
        margin-bottom: 0;
    }
    .lp-gate-form-wrap.open {
        margin-top: 20px;
    }
}
