/* =========================================
   POLICY PAGES STYLES
   (Privacy Policy, Terms & Conditions, Refund Policy)
   ========================================= */

/* Policy Hero Section - Matches Shop Page Style */
.policy-hero {
    background: url('/wp-content/uploads/2026/01/hero-banner-scaled.webp') no-repeat center center;
    background-size: cover;
    height: 50vh;
    min-height: 400px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;

    /* Full Width Breakout */
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    margin-right: -50vw;
    right: 50%;
}

.policy-hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(1, 49, 19, 0.85), rgba(1, 49, 19, 0.6));
    z-index: 1;
}

.policy-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.policy-hero-content h1 {
    color: #fff;
    font-size: 4rem;
    font-family: var(--font-heading);
    margin: 0;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Policy Content Wrapper */
.policy-content-wrapper {
    padding: 60px 0 80px;
    background: transparent;
}

.policy-content-wrapper .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Policy Content */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4,
.policy-content h5,
.policy-content h6 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-top: 0;
}

.policy-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 10px;
}

.policy-content h3 {
    font-size: 1.5rem;
}

.policy-content h4 {
    font-size: 1.25rem;
}

.policy-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.policy-content ul,
.policy-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.policy-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

.policy-content a {
    color: var(--primary-green);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: var(--gold-accent);
}

.policy-content strong {
    color: var(--primary-green);
    font-weight: 600;
}

.policy-content em {
    font-style: italic;
    color: #555;
}

.policy-content blockquote {
    border-left: 4px solid var(--gold-accent);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.policy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.policy-content table th,
.policy-content table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.policy-content table th {
    background: var(--primary-green);
    color: #fff;
    font-weight: 600;
}

.policy-content table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Last Updated Date */
.policy-content .last-updated {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

/* Tablet and below (≤ 992px) */
@media (max-width: 992px) {
    .policy-hero {
        height: 45vh;
        min-height: 350px;
    }

    .policy-hero-content h1 {
        font-size: 2.2rem;
    }

    .policy-content-wrapper .container {
        padding: 0 30px;
    }

    .policy-content {
        padding: 40px 30px;
    }

    .policy-content h1 {
        font-size: 2rem;
    }

    .policy-content h2 {
        font-size: 1.75rem;
    }

    .policy-content h3 {
        font-size: 1.35rem;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    .policy-hero {
        height: 40vh;
        min-height: 300px;
    }

    .policy-hero-content h1 {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    .policy-content-wrapper .container {
        padding: 0 20px;
    }

    .policy-content {
        padding: 30px 20px;
    }

    .policy-content h1 {
        font-size: 1.75rem;
    }

    .policy-content h2 {
        font-size: 1.5rem;
    }

    .policy-content h3 {
        font-size: 1.25rem;
    }

    .policy-content p,
    .policy-content li {
        font-size: 0.95rem;
    }
}

/* Extra small devices (≤ 480px) */
@media (max-width: 480px) {
    .policy-content-wrapper .container {
        padding: 0 15px;
    }

    .policy-content {
        padding: 25px 15px;
        border-radius: 10px;
    }

    .policy-content table {
        font-size: 0.85rem;
    }

    .policy-content table th,
    .policy-content table td {
        padding: 8px 10px;
    }
}