/* ================================================
   Fixed Pages Content Styling
   For: Privacy Policy, Terms & Conditions, FAQs, 
   Payment & Shipping, Refunds & Returns, About Us, Contact
   ================================================ */

/* Breadcrumb */
.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px 20px;
    font-size: 14px;
    color: #999;
}

.breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #97BC62;
}

/* Main Content Area */
.content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.site-main {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 60px 80px;
}

/* Entry Header */
.entry-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.entry-title {
    font-size: 48px;
    font-weight: 300;
    color: #333;
    margin: 0;
}

/* Entry Content */
.entry-content {
    max-width: 900px;
    margin: 0 auto;
}

.entry-content h2.wp-block-heading {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 45px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #97BC62;
    display: block;
    width: auto;
}

.entry-content h2.wp-block-heading:first-child {
    margin-top: 0;
}

.entry-content h3.wp-block-heading {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
}

.entry-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.entry-content a {
    color: #97BC62;
    text-decoration: none;
    font-weight: 500;
}

.entry-content a:hover {
    text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0 20px 30px;
    color: #666;
    line-height: 1.8;
}

.entry-content li {
    margin-bottom: 10px;
    font-size: 16px;
}

.entry-content strong {
    color: #333;
    font-weight: 600;
}

.entry-content em {
    font-style: italic;
}

/* Tables (for shipping rates, etc.) */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.entry-content table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid #97BC62;
}

.entry-content table td {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    color: #666;
}

.entry-content table tr:last-child td {
    border-bottom: none;
}

/* Blockquote */
.entry-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #f9f9f9;
    border-left: 4px solid #97BC62;
    font-style: italic;
    color: #666;
}

/* Code blocks */
.entry-content code {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    color: #333;
}

/* ================================================
   Table Styles for FAQs and Content Pages
   ================================================ */

/* Nutritional Table - Striped Style */
.nutrition-table {
    width: 100%;
    margin: 30px 0;
    background: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.nutrition-table thead {
    background: linear-gradient(135deg, #97BC62 0%, #5a9e35 100%);
}

.nutrition-table thead th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nutrition-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.nutrition-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.nutrition-table tbody tr:hover {
    background-color: #f0f8ec;
}

.nutrition-table tbody tr:last-child {
    border-bottom: none;
}

.nutrition-table tbody td {
    padding: 15px;
    color: #666;
    font-size: 15px;
}

.nutrition-table tbody td:first-child {
    font-weight: 600;
    color: #333;
}

/* Indented rows (for sub-items like "- Saturated fat") */
.nutrition-table tbody td:first-child {
    padding-left: 15px;
}

.nutrition-table tbody tr.sub-item td:first-child {
    padding-left: 35px;
    font-weight: 400;
    color: #666;
    font-style: italic;
}

/* Alternative Table Style - Bordered */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.info-table thead {
    background-color: #f9f9f9;
    border-bottom: 3px solid #97BC62;
}

.info-table thead th {
    padding: 16px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.info-table tbody tr {
    border-bottom: 1px solid #e5e5e5;
}

.info-table tbody tr:last-child {
    border-bottom: none;
}

.info-table tbody td {
    padding: 14px 15px;
    color: #666;
    font-size: 15px;
}

.info-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* ================================================
   List Styles for FAQs and Content Pages
   ================================================ */

/* Standard Bulleted List */
.entry-content ul {
    margin: 20px 0 25px 0;
    padding-left: 0;
    list-style: none;
}

.entry-content ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 6px;
    color: #666;
    font-size: 16px;
}

.entry-content ul li:before {
    content: "\25CF";
    position: absolute;
    left: 0;
    color: #97BC62;
    font-size: 12px;
    top: 3px;
}

/* Checkmark List - For features/benefits */
.entry-content ul.checkmark-list {
    margin: 20px 0 25px 0;
    padding-left: 0;
    list-style: none;
}

.entry-content ul.checkmark-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 14px;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.entry-content ul.checkmark-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #97BC62;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    top: 0;
}

/* Numbered List */
.entry-content ol.numbered-list {
    margin: 20px 0 25px 0;
    padding-left: 0;
    list-style: none;
    counter-reset: item;
}

.entry-content ol.numbered-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 14px;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    counter-increment: item;
}

.entry-content ol.numbered-list li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: #97BC62;
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

/* Warning/Important List - For precautions */
.entry-content ul.warning-list {
    margin: 20px 0 25px 0;
    padding: 20px 25px;
    background: #fff9e6;
    border-left: 4px solid #ffa500;
    border-radius: 4px;
    list-style: none;
}

.entry-content ul.warning-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #856404;
    font-size: 15px;
    line-height: 1.7;
}

.entry-content ul.warning-list li:last-child {
    margin-bottom: 0;
}

.entry-content ul.warning-list li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #ffa500;
    font-size: 18px;
    line-height: 1.5;
    top: 0;
}

/* Info Box List - For important notes */
.entry-content ul.info-list {
    margin: 20px 0 25px 0;
    padding: 20px 25px;
    background: #e8f5e9;
    border-left: 4px solid #97BC62;
    border-radius: 4px;
    list-style: none;
}

.entry-content ul.info-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #2e7d32;
    font-size: 15px;
    line-height: 1.7;
}

.entry-content ul.info-list li:last-child {
    margin-bottom: 0;
}

.entry-content ul.info-list li:before {
    content: "ℹ";
    position: absolute;
    left: 0;
    color: #97BC62;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    top: 0;
}

/* Compact List - For short items */
.entry-content ul.compact-list {
    margin: 15px 0 20px 0;
    padding-left: 0;
    list-style: none;
}

.entry-content ul.compact-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.entry-content ul.compact-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #97BC62;
    font-size: 14px;
    line-height: 1.6;
    top: 0;
}

/* ================================================
   CONTACT PAGE SPECIFIC STYLES
   ================================================ */

/* Contact Us Intro Text */
.contact-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.contact-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 16px;
}

.contact-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 12px;
}

.contact-intro .contact-email {
    margin: 20px 0;
}

.contact-intro .contact-email a {
    font-size: 18px;
    font-weight: 600;
    color: #7ab842;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-intro .contact-email a:hover {
    color: #6ca537;
    text-decoration: underline;
}

.contact-intro .contact-hours {
    font-size: 14px;
    font-style: italic;
    color: #999999;
    margin-top: 20px;
}

/* Contact Form 7 - Form Container */
.wpcf7 {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Form 7 - Labels and Field Layout */
.wpcf7 p {
    margin-bottom: 24px;
}

.wpcf7 label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

/* Contact Form 7 - Text Input Fields */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #333333 !important;
    background-color: #ffffff !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
}

/* Focus State */
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus {
    outline: none !important;
    border-color: #999 !important;
    box-shadow: none !important;
}

/* Contact Form 7 - Textarea (Message) */
.wpcf7-form-control.wpcf7-textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #333333 !important;
    background-color: #ffffff !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
    min-height: 150px !important;
    resize: vertical !important;
    font-family: inherit !important;
}

/* Focus State */
.wpcf7-form-control.wpcf7-textarea:focus {
    outline: none !important;
    border-color: #999 !important;
    box-shadow: none !important;
}

/* Contact Form 7 - Submit Button */
.wpcf7-form-control.wpcf7-submit {
    background-color: #7ab842 !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #6ca537 !important;
}

.wpcf7-form-control.wpcf7-submit:active {
    background-color: #5d912f !important;
}

/* Contact Form 7 - Validation Errors */
.wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3545 !important;
    font-size: 13px !important;
    margin-top: 4px !important;
    display: block !important;
}

/* Contact Form 7 - Response Messages */
.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    border: 2px solid !important;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
    border-color: #7ab842 !important;
}

/* Error Messages */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: #ffebee !important;
    color: #c62828 !important;
    border-color: #f44336 !important;
}

/* Spam Blocked Message */
.wpcf7-spam-blocked {
    background-color: #fff3e0 !important;
    color: #e65100 !important;
    border-color: #ff9800 !important;
}

/* Contact Form 7 - Spinner (Loading Icon) */
.wpcf7-spinner {
    margin-left: 10px !important;
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    vertical-align: middle !important;
}

/* Contact Form 7 - Form Control Wrapper */
.wpcf7-form-control-wrap {
    position: relative;
    display: block;
}

/* ================================================
   Responsive Design
   ================================================ */

@media (max-width: 1024px) {
    .site-main {
        padding: 40px 50px;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 20px 20px 10px;
    }

    .content-area {
        padding: 0 20px 60px;
    }

    .site-main {
        padding: 30px 25px;
        border-radius: 8px;
    }

    .entry-title {
        font-size: 36px;
    }

    .entry-content h2.wp-block-heading {
        font-size: 24px;
    }

    .entry-content h3.wp-block-heading {
        font-size: 20px;
    }

    .entry-content p,
    .entry-content li {
        font-size: 15px;
    }

    .entry-content table {
        font-size: 14px;
    }

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

    /* Table Styles - Mobile */
    .nutrition-table,
    .info-table {
        font-size: 13px;
    }
    
    .nutrition-table thead th,
    .info-table thead th {
        padding: 12px 10px;
        font-size: 13px;
    }
    
    .nutrition-table tbody td,
    .info-table tbody td {
        padding: 10px;
        font-size: 13px;
    }
    
    /* List Styles - Mobile */
    .entry-content ul.standard-list li,
    .entry-content ul.checkmark-list li,
    .entry-content ol.numbered-list li,
    .entry-content ul.warning-list li,
    .entry-content ul.info-list li {
        font-size: 15px;
    }

    /* Contact Form - Mobile */
    .wpcf7 {
        padding: 0 16px;
    }
    
    .wpcf7-form-control.wpcf7-submit {
        width: 100%;
        padding: 12px 24px !important;
    }
}

@media (max-width: 480px) {
    .entry-title {
        font-size: 28px;
    }

    .entry-content h2.wp-block-heading {
        font-size: 20px;
    }

    .entry-content h3.wp-block-heading {
        font-size: 18px;
    }

    /* Tables - Extra Small Screens */
    .nutrition-table,
    .info-table {
        font-size: 12px;
    }
    
    .nutrition-table thead th,
    .info-table thead th {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .nutrition-table tbody td,
    .info-table tbody td {
        padding: 8px;
        font-size: 12px;
    }
    
    /* Stack table on very small screens if needed */
    .nutrition-table.responsive thead {
        display: none;
    }
    
    .nutrition-table.responsive tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 10px;
    }
    
    .nutrition-table.responsive tbody td {
        display: block;
        text-align: right;
        padding: 8px 10px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nutrition-table.responsive tbody td:last-child {
        border-bottom: none;
    }
    
    .nutrition-table.responsive tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #333;
    }
}

/* ================================================
   About Us Page Specific Styles
   ================================================ */

.about-features {
    margin: 40px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #f9f9f9;
    padding: 25px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: block !important;
}

.feature-item:hover {
    border-color: #97BC62;
    box-shadow: 0 4px 12px rgba(108, 184, 65, 0.15);
    transform: translateX(5px);
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.about-cta {
    background: linear-gradient(135deg, #f0f8ed 0%, #e8f5e0 100%);
    padding: 50px 30px;
    border-radius: 12px;
    margin-top: 50px;
}

.about-features {
    margin: 40px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #f9f9f9;
    padding: 25px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: block !important;
}

.feature-item:hover {
    border-color: #97BC62;
    box-shadow: 0 4px 12px rgba(108, 184, 65, 0.15);
    transform: translateX(5px);
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.about-cta {
    background: linear-gradient(135deg, #f0f8ed 0%, #e8f5e0 100%);
    padding: 50px 30px;
    border-radius: 12px;
    margin-top: 50px;
    text-align: center;
}

/* About CTA内のテキストスタイル */
.about-cta h2,
.about-cta h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-cta p {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Shop Now ボタン - Add to Cartと同じスタイル */
.about-cta .button,
.about-cta a.button,
a.button[href="/shop"],
a.button[href*="shop"] {
    background: linear-gradient(135deg, #97BC62 0%, #85a854 100%) !important;
    color: white !important;
    padding: 14px 40px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: var(--font-body) !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(151, 188, 98, 0.2) !important;
    text-align: center !important;
}

.about-cta .button:hover,
.about-cta a.button:hover,
a.button[href="/shop"]:hover,
a.button[href*="shop"]:hover {
    background: linear-gradient(135deg, #85a854 0%, #73963d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(151, 188, 98, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

.about-cta .button:active,
.about-cta a.button:active,
a.button[href="/shop"]:active,
a.button[href*="shop"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(151, 188, 98, 0.2) !important;
}

/* About Us - Responsive Design */
@media (max-width: 768px) {
    .feature-grid {
        gap: 18px;
    }
    
    .feature-item {
        padding: 20px 25px;
    }
    
    .feature-item h3 {
        font-size: 17px;
    }
    
    .feature-item p {
        font-size: 14px;
    }
    
    .about-cta {
        padding: 40px 20px;
    }
    
    /* Shop Nowボタン - モバイル */
    .about-cta .button,
    .about-cta a.button,
    a.button[href="/shop"],
    a.button[href*="shop"] {
        width: 100% !important;
        max-width: 300px !important;
        padding: 12px 30px !important;
        font-size: 15px !important;
    }
}
.entry-meta,
.posted-on,
.byline,
.entry-date,
.author,
.post-author,
.cat-links{
    display: none !important;
}
