
/* =========================================================
   TH SOLUTION — POLICY & INFORMATION PAGES
   Shared CSS:
   shippingmethod / securitypolicy / productwarranty / terms
========================================================= */

.policy-page {
    --policy-orange: #f36b21;
    --policy-orange-dark: #d95712;
    --policy-charcoal: #17212b;
    --policy-text: #3d4650;
    --policy-muted: #687481;
    --policy-border: #e8e9eb;
    --policy-bg: #f8f9fa;
    --policy-white: #ffffff;

    color: var(--policy-text);
    background: var(--policy-white);
    font-family: "Noto Sans Thai", sans-serif;
}

.policy-page *, .breadcrumb-modern * { box-sizing: border-box; }
.policy-page .container, .breadcrumb-modern > .container { width: 100%; max-width: 1290px; margin-inline: auto; padding-inline: 24px; }
.section-space { padding-block: 76px; }

/* Shared page breadcrumb — intentionally scoped */

.breadcrumb-modern::before, .breadcrumb-modern::after { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; border-radius: 50%; background: rgba(243,107,33,.045); pointer-events: none; }
.breadcrumb-modern::before { left: -160px; bottom: -145px; }
.breadcrumb-modern::after { top: -155px; right: -105px; }
.breadcrumb-modern .breadcrumb-content { position: relative; z-index: 1; width: 100%; text-align: left; }
.breadcrumb-modern .page-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 15px; padding: 8px 14px; color: #bd5a20; background: #fff; border: 1px solid #f0dcc7; border-radius: 999px; box-shadow: 0 3px 14px rgba(69,43,21,.035); font-size: 12px; font-weight: 600; line-height: 1.5; }
.breadcrumb-modern .page-badge i { color: var(--bc-orange); font-size: 15px; }
.breadcrumb-modern .page-title { margin: 0; color: var(--bc-charcoal); font-size: clamp(27px,2.5vw,35px); font-weight: 700; line-height: 1.45; letter-spacing: -.2px; overflow-wrap: anywhere; }
.breadcrumb-modern .page-title span { color: #66717d; font-size: .62em; font-weight: 500; letter-spacing: 0; }
.breadcrumb-modern .page-subtitle { max-width: 760px; margin: 8px 0 0; color: var(--bc-muted); font-size: 14px; line-height: 1.8; }
.breadcrumb-modern .theme-breadcrumb { margin-top: 17px; }
.breadcrumb-modern .breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; background: transparent; font-size: 12px; line-height: 1.8; }
.breadcrumb-modern .breadcrumb-item { display: inline-flex; align-items: center; min-width: 0; color: var(--bc-muted); }
.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before { content: "/"; margin-right: 7px; color: #c5cbd1; }
.breadcrumb-modern .breadcrumb-item a { display: inline-flex; align-items: center; gap: 5px; color: #a85e31; text-decoration: none; transition: color .2s ease; }
.breadcrumb-modern .breadcrumb-item a i { color: var(--bc-orange); font-size: 14px; }
.breadcrumb-modern .breadcrumb-item a:hover { color: var(--bc-orange-dark, #d95b18); }
.breadcrumb-modern .breadcrumb-item.active { color: #45505c; font-weight: 500; overflow-wrap: anywhere; }

/* Main content */
.policy-page .policy-content {
    max-width: 1260px;
    margin: 0 auto;
    padding: 64px 0 76px;
}

/* Intro */
.policy-page .policy-intro {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}

.policy-page .policy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--policy-orange-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.policy-page .policy-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--policy-orange);
}

.policy-page .policy-title {
    margin: 0 0 14px;
    color: var(--policy-charcoal);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.45;
}

.policy-page .policy-description {
    margin: 0;
    color: var(--policy-muted);
    font-size: 15px;
    line-height: 1.9;
}

/* Content sections */
.policy-page .policy-section {
    margin-bottom: 22px;
    padding: 28px 30px;
    border: 1px solid var(--policy-border);
    border-radius: 14px;
    background: var(--policy-white);
    box-shadow: 0 4px 16px rgb(23 33 43 / 3%);
}

.policy-page .policy-section:last-child {
    margin-bottom: 0;
}

.policy-page .policy-section-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--policy-charcoal);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.6;
}

.policy-page .policy-section-title::before {
    content: "";
    flex: 0 0 4px;
    align-self: stretch;
    min-height: 28px;
    border-radius: 4px;
    background: var(--policy-orange);
}

.policy-page .policy-section p {
    margin: 0 0 14px;
    color: var(--policy-text);
}

.policy-page .policy-section p:last-child {
    margin-bottom: 0;
}

.policy-page .policy-section strong,
.policy-page .policy-section b {
    color: var(--policy-charcoal);
    font-weight: 700;
}

.policy-page .policy-section a {
    color: var(--policy-orange-dark);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.policy-page .policy-section a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Ordered and unordered lists */
.policy-page .policy-list {
    margin: 0;
    padding-left: 24px;
}

.policy-page .policy-list li {
    margin-bottom: 10px;
    padding-left: 5px;
    color: var(--policy-text);
}

.policy-page .policy-list li:last-child {
    margin-bottom: 0;
}

.policy-page .policy-list li::marker {
    color: var(--policy-orange);
    font-weight: 700;
}

/* Important notice */
.policy-page .policy-notice {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #f5d2bd;
    border-left: 4px solid var(--policy-orange);
    border-radius: 8px;
    background: #fff8f3;
    color: var(--policy-text);
}

.policy-page .policy-notice strong {
    color: var(--policy-orange-dark);
}

/* Optional information cards */
.policy-page .policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.policy-page .policy-card {
    padding: 22px;
    border: 1px solid var(--policy-border);
    border-radius: 12px;
    background: var(--policy-bg);
}

.policy-page .policy-card-title {
    margin: 0 0 12px;
    color: var(--policy-charcoal);
    font-size: 17px;
    font-weight: 800;
}

.policy-page .policy-card p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
    .policy-page .policy-content {
        padding: 42px 0 52px;
    }

    .policy-page .policy-intro {
        margin-bottom: 26px;
        padding: 0 8px;
    }

    .policy-page .policy-title {
        font-size: 26px;
    }

    .policy-page .policy-description {
        font-size: 14px;
    }

    .policy-page .policy-section {
        margin-bottom: 14px;
        padding: 21px 18px;
        border-radius: 11px;
    }

    .policy-page .policy-section-title {
        gap: 10px;
        margin-bottom: 14px;
        font-size: 18px;
    }

    .policy-page .policy-section p,
    .policy-page .policy-list li {
        font-size: 14px;
    }

    .policy-page .policy-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .policy-page .policy-card {
        padding: 18px;
    }
}

/* =========================================
   POLICY PAGES - HEADER SPACING FIX
   Shared by FAQ, Shipping, Warranty,
   Privacy Policy, Terms and other policy pages
========================================= */

.policy-page {
    position: relative;
    isolation: isolate;
    clear: both;
    padding-top: 0px;
}

.policy-page .policy-content {
    position: relative;
    min-width: 0;
}

.policy-page .policy-intro,
.policy-page .faq-intro {
    position: relative;
    margin-top: 0;
    padding-top: 0px;
    z-index: auto;
}

/* Desktop */
@media (min-width: 992px) {
    .policy-page {
        padding-top: 00px;
    }
}

/* Tablet and mobile */
@media (max-width: 991px) {
    .policy-page {
        padding-top: 0px;
    }

    .policy-page .policy-intro,
    .policy-page .faq-intro {
        padding-top: 12px;
    }
}
