﻿/*
Theme Name: Glow and Wear
Author: saad subhani x soltekkers
Author Phone: +923096318015
Description: Glow and Wear WordPress theme
Version: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glowandwear
*/

:root {
    --primary: #e53935;
    --white: #ffffff;
    --text: rgb(26, 26, 26);
    --text-dark: #111;
    --text-gray-500: #333;
    --text-gray-600: #666;
    --text-gray-700: #444;
    --text-secondary: #555;
    --text-muted: #888;
    --text-light: #999;
    --text-placeholder: #ccc;
    --text-on-primary: rgba(255, 255, 255, 0.7);
    --footer-bg: #1c1c1c;
    --footer-text: #ffffff;
    --footer-muted: rgba(255, 255, 255, 0.85);
    --footer-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-size-base: 16px;
    --topbar-h: 44px;
    --header-h: 80px;
    --header-height: 88px;
    --fs-9: 9px;
    --fs-10: 10px;
    --fs-11: 11px;
    --fs-12: 12px;
    --fs-13: 13px;
    --fs-14: 14px;
    --fs-15: 15px;
    --fs-16: 16px;
    --fs-18: 18px;
    --fs-20: 20px;
    --fs-22: 22px;
    --fs-24: 24px;
    --fs-26: 26px;
    --fs-28: 28px;
    --fs-30: 30px;
    --fs-32: 32px;
    --fs-36: 36px;
    --fs-40: 40px;
    --fs-42: 42px;
    --fs-52: 52px;
    --h1: var(--fs-36);
    --h2: var(--fs-28);
    --h3: var(--fs-22);
    --h4: var(--fs-18);
    --h5: var(--fs-16);
    --h6: var(--fs-14);
    --border-default: #eee;
    --border-light: #f0f0f0;
    --border-medium: #ddd;
    --border-strong: #e1e1e1;
    --border-focus: #0066cc;
    --bg-light: #f5f5f5;
    --bg-lighter: #f9f9f9;
    --bg-off-white: #fcfcfc;
    --bg-dark: #111;
    --bg-gray-100: #f0f0f0;
    --bg-gray-200: #f1f1f1;
    --bg-gray-300: #f4f4f4;
    --bg-gray-500: #f8f8f8;
    --bg-fafafa: #fafafa;
    --star-color: #FFB800;
    --logo-dot-color: #FFDE59;
    --accent-blue: #0066cc;
    --accent-toggle: #2196F3;
    --accent-gold: #ffd700;
    --success-bg: #E8F5E9;
    --success-border: #A5D6A7;
    --success-text: #2E7D32;
    --success-text-light: #388E3C;
    --button-secondary-bg: #FACC15;
    --button-secondary-text: #111;
    --button-primary-bg: #111;
    --button-primary-text: #fff;
    --faq-bg: #EFE6D5;
    --faq-accordion-bg: #E3D5BE;
    --faq-icon-bg: #D9CAB3;
    --checkout-logo-color: #4a3b8c;
    --checkout-icon-color: #4a8cf0;
    --checkout-coupon-bg: #e8e8e8;
    --checkout-coupon-text: #999;
    --checkout-right-bg: #f5f5f5;
    --checkout-header-bg: #fafafa;
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(0, 0, 0, 0.05);
    --overlay-medium: rgba(0, 0, 0, 0.1);
    --overlay-15: rgba(0, 0, 0, 0.15);
}

.ms-body-locked {
    overflow: hidden !important;
}
.ms-qty-hidden {
    display: none !important;
}
.ms-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    :root {
        --topbar-h: 30px;
        --header-h: 60px;
        --header-height: 64px;
    }
}

html.lenis {
    scroll-behavior: auto;
}

html.lenis-smooth {
    scroll-behavior: auto;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-base);
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    body {
        font-size: var(--fs-14);
        line-height: 22px;
    }
}

body:not(.home) .site-main,
body:not(.home) main {
    padding-top: calc(var(--topbar-h) + var(--header-h) + 24px);
}

/* Homepage main — no padding-top; the hero section handles the
   fixed-header offset via its own margin-top. */
.home-main {
    padding-top: 0 !important;
}

body:not(.home) .ms-page-policy {
    padding-top: calc(var(--topbar-h) + var(--header-h) + 60px);
}

/* Policy pages */
.ms-page-policy {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    font-family: var(--font-family);
    color: var(--text);
}

.ms-page-policy h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.ms-page-policy h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: #1a1a1a;
}

.ms-page-policy p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.ms-page-policy a {
    color: #e53935;
}

/* Why Glow and Wear Section — left content, right form */
.ms-why-glow {
    padding: 80px 20px;
    background: #fff;
}

.ms-why-glow__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* â”€â”€ Left side â”€â”€ */
.ms-why-glow__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #e53935;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.ms-why-glow__left h2 {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 16px;
}

.ms-why-glow-red {
    color: #e53935;
}

.ms-why-glow__desc {
    font-size: 15px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 28px;
}

.ms-why-glow__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin-bottom: 32px;
}

.ms-why-glow__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.ms-why-glow__item strong {
    color: #1a1a1a;
    font-size: 13px;
}

.ms-why-glow__icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.ms-why-glow__bottom {
    background: #fef2f2;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.ms-why-glow__img-wrap {
    width: 130px;
    min-width: 130px;
}

.ms-why-glow__img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ms-why-glow__bottom-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.ms-why-glow__bottom-text p {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.ms-why-glow__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: #e53935;
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ms-why-glow__btn:hover {
    opacity: 0.85;
    color: #fff;
}

/* â”€â”€ Right side â€” form â”€â”€ */
.ms-why-glow__form-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.ms-why-glow__form-head h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.ms-why-glow__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ms-why-glow__field {
    position: relative;
    display: flex;
    align-items: center;
}

.ms-why-glow__field svg {
    position: absolute;
    left: 14px;
    pointer-events: none;
    z-index: 1;
}

.ms-why-glow__field input,
.ms-why-glow__field select,
.ms-why-glow__field--textarea textarea {
    width: 100%;
    padding: 14px 14px 14px 40px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.ms-why-glow__field input::placeholder,
.ms-why-glow__field--textarea textarea::placeholder {
    color: #aaa;
}

.ms-why-glow__field input:focus,
.ms-why-glow__field select:focus,
.ms-why-glow__field--textarea textarea:focus {
    border-color: #e53935;
}

.ms-why-glow__field--textarea {
    position: relative;
}

.ms-why-glow__field--textarea textarea {
    padding-left: 40px;
    resize: vertical;
    min-height: 80px;
}

.ms-why-glow__field--textarea svg {
    top: 14px;
}

.ms-why-glow__field--select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.ms-why-glow__field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ms-why-glow__check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    padding: 4px 0;
}

.ms-why-glow__check input {
    width: 16px;
    height: 16px;
    accent-color: #e53935;
}

.ms-why-glow__checkmark {
    display: none;
}

.ms-why-glow__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 4px;
}

.ms-why-glow__submit:hover {
    opacity: 0.85;
}

/* â”€â”€ Trust badges â”€â”€ */
.ms-why-glow__trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.ms-why-glow__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ms-why-glow__trust-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-why-glow__trust-item strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
}

.ms-why-glow__trust-item span {
    display: block;
    font-size: 10px;
    color: #999;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 900px) {
    .ms-why-glow__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ms-why-glow__trust {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ms-why-glow__grid {
        grid-template-columns: 1fr;
    }
    .ms-why-glow__field-row {
        grid-template-columns: 1fr;
    }
    .ms-why-glow__bottom {
        flex-direction: column;
        text-align: center;
    }
    .ms-why-glow__img-wrap {
        width: 100px;
    }
    .ms-why-glow__trust {
        grid-template-columns: 1fr 1fr;
    }
}

.ms-why-glow-success {
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-size: var(--fs-14);
    text-align: center;
}

