/*
 Theme Name:   Ops
 Theme URI:    https://developer.wordpress.org/themes/
 Description:  GeneratePress child theme
 Author:       Ops
 Author URI:   https://developer.wordpress.org/themes/
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  ops
*/

/* ==========================================================================
   Global Font System
   --------------------------------------------------------------------------
   --font-body    → "Inter"           – body text, paragraphs, labels
   --font-heading → "Playfair Display" – page titles, hero titles, h1–h3
   --font-ui      → "Poppins"          – nav links, buttons, badges, meta
   ========================================================================== */

:root {
    --font-body:    "Inter", sans-serif;
    --font-heading: "Playfair Display", Georgia, serif;
    --font-ui:      "Poppins", sans-serif;
}

body,
html {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

button,
input,
select,
textarea {
    font-family: var(--font-body);
}

/* Navigation, buttons, badges, labels — Poppins */
.ops-nav,
.ops-menu,
.add-to-cart-btn,
.action-btn,
.ops-cart-btn,
.ops-cart-qty__btn,
.book-condition-badge,
.book-availability,
.book-genre,
.book-format,
.book-language,
.book-tag,
.ops-bottom-bar {
    font-family: var(--font-ui);
}

/* ==========================================================================
   Homepage Card Grid
   ========================================================================== */

.ops-card-grid {
    display: grid;
    grid-template-columns: repeat(var(--ops-cols, 3), 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Responsive: 2 cols on tablets, 1 col on mobile */
@media (max-width: 900px) {
    .ops-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .ops-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual card */
.ops-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 220px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ops-card:hover,
.ops-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Dark gradient overlay so text is always readable */
.ops-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.10) 60%,
        transparent 100%
    );
    border-radius: 10px;
    pointer-events: none;
}

/* Title label */
.ops-card__title {
    position: relative;
    z-index: 1;
    padding: 16px 20px;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================================================
   Front Page – full-width, clean layout
   ========================================================================== */

/* Remove any leftover entry-title space on front page */
.home .entry-title,
.home .page-header {
    display: none;
}

/* Let the card grid breathe on the front page */
.home .entry-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Stretch the content container on front page */
.home .site-content .inside-article {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* ==========================================================================
   Custom Header – Two-tone: white logo top + gold nav bar
   ========================================================================== */

/* Hide GeneratePress default header/nav if any remnants show */
.site-header .inside-header,
.main-navigation {
    display: none !important;
}

/* ---- Header wrapper ---- */
.ops-header-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ---- Top section: white background, centered logo ---- */
.ops-header-top {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 140px;
    padding: 20px 15px;
    box-sizing: border-box;
}

.ops-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ops-logo-container a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ops-logo-container .site-logo {
    max-width: 220px;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.ops-logo-container .site-logo-text {
    font-size: 1.6em;
    font-weight: 700;
    color: #333;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    line-height: 1;
}

/* ---- Gold navigation bar ---- */
.ops-nav {
    background-color: #bb7c23;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    width: 100%;
    box-sizing: border-box;
}

.ops-nav .ops-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.ops-nav .ops-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ops-nav .ops-menu a,
.ops-nav .ops-menu a:link,
.ops-nav .ops-menu a:visited {
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15em;
    font-family: var(--font-ui);
    transition: color 0.3s ease;
    display: inline-block;
    text-transform: none;
    letter-spacing: 0.02em;
}

.ops-nav .ops-menu a:hover,
.ops-nav .ops-menu a:focus {
    color: #dda827 !important;
}

.ops-nav .ops-menu .current-menu-item > a,
.ops-nav .ops-menu .current_page_item > a {
    color: #dda827 !important;
}

/* ---- Mobile hamburger toggle ---- */
.ops-mobile-toggle {
    display: none;
    background: rgba(187, 124, 35, 0.9);
    border: 2px solid #bb7c23;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.3em;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.ops-mobile-toggle:hover {
    background: #bb7c23;
    border-color: #dda827;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.ops-mobile-toggle.active {
    background: rgba(221, 168, 39, 0.3);
    border-color: #dda827;
}

/* ---- Responsive: tablet & mobile ---- */
@media (max-width: 768px) {
    .ops-header-top {
        min-height: 120px;
        padding: 15px 50px 15px 15px;
        position: relative;
    }

    .ops-logo-container {
        justify-content: flex-start;
    }

    .ops-logo-container .site-logo {
        max-width: 150px;
        max-height: 150px;
    }

    .ops-logo-container .site-logo-text {
        font-size: 1.5em;
        line-height: 1.2;
    }

    .ops-mobile-toggle {
        display: flex !important;
    }

    .ops-nav {
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
        display: block;
    }

    .ops-nav.mobile-open {
        max-height: 500px;
        padding: 20px 0;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .ops-nav .ops-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0 15px;
        opacity: 0;
        transition: opacity 0.3s ease 0.1s;
    }

    .ops-nav.mobile-open .ops-menu {
        opacity: 1;
    }

    .ops-nav .ops-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ops-nav .ops-menu li:last-child {
        border-bottom: none;
    }

    .ops-nav .ops-menu a {
        font-size: 1.1em !important;
        padding: 15px 20px;
        display: block;
        width: 100%;
        text-align: left;
        border-radius: 6px;
        margin: 5px 0;
    }

    .ops-nav .ops-menu a:hover,
    .ops-nav .ops-menu a:focus {
        background: rgba(255, 255, 255, 0.1);
        color: #dda827 !important;
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .ops-header-top {
        min-height: 100px;
        padding: 12px 45px 12px 12px;
    }

    .ops-logo-container .site-logo {
        max-width: 120px;
        max-height: 120px;
    }

    .ops-logo-container .site-logo-text {
        font-size: 1.3em;
    }

    .ops-mobile-toggle {
        padding: 6px 10px;
        font-size: 1.1em;
        right: 12px;
    }

    .ops-nav .ops-menu a {
        font-size: 1em !important;
        padding: 12px 15px;
    }
}

/* ==========================================================================
   Single Post – Modern full-page template
   ========================================================================== */

.ops-single-page {
    background-color: #f5f3ef;
    color: #222;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* ---- Hero banner (featured image) ---- */
.ops-post-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.ops-post-hero--no-img {
    background: linear-gradient(135deg, #3a2200 0%, #bb7c23 100%);
    min-height: 320px;
}

.ops-post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.ops-post-hero__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px 50px;
    width: 100%;
}

.ops-post-hero__title {
    font-size: 2.8em;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.ops-post-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
}

.ops-post-hero__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ops-post-hero__author img {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.ops-post-hero__sep {
    opacity: 0.5;
}

/* ---- Article body ---- */
.ops-post-article {
    max-width: 800px;
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ops-post-body {
    padding: 50px 48px 30px;
    font-size: 1.12em;
    line-height: 2;
    color: #333;
}

.ops-post-body p {
    margin-bottom: 1.8em;
}

.ops-post-body h2 {
    font-size: 1.7em;
    font-weight: 700;
    color: #3a2200;
    margin: 2.5em 0 0.8em;
    line-height: 1.3;
    border-left: 4px solid #dda827;
    padding-left: 16px;
}

.ops-post-body h3 {
    font-size: 1.35em;
    font-weight: 600;
    color: #3a2200;
    margin: 2em 0 0.6em;
    line-height: 1.4;
}

.ops-post-body h4,
.ops-post-body h5,
.ops-post-body h6 {
    color: #3a2200;
    margin: 1.8em 0 0.5em;
}

.ops-post-body a {
    color: #bb7c23;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.ops-post-body a:hover {
    color: #3a2200;
    border-bottom-color: #bb7c23;
}

.ops-post-body strong,
.ops-post-body b {
    font-weight: 700;
    color: #3a2200;
}

.ops-post-body blockquote {
    margin: 2.5em 0;
    padding: 24px 30px;
    border-left: 4px solid #dda827;
    background: #fdf8f0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.ops-post-body blockquote p:last-child {
    margin-bottom: 0;
}

.ops-post-body ul,
.ops-post-body ol {
    margin: 1.8em 0;
    padding-left: 2em;
}

.ops-post-body li {
    margin-bottom: 0.8em;
    line-height: 1.8;
}

.ops-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em auto;
    display: block;
}

.ops-post-body pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.92em;
    line-height: 1.6;
    margin: 2em 0;
}

.ops-post-body code {
    background: #f5f0e8;
    color: #bb7c23;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.ops-post-body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.ops-post-body hr {
    margin: 3em 0;
    border: none;
    border-top: 2px solid #ede8df;
}

.ops-post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.ops-post-body th,
.ops-post-body td {
    padding: 12px 16px;
    border: 1px solid #e0dbd3;
    text-align: left;
}

.ops-post-body th {
    background: #fdf8f0;
    font-weight: 600;
    color: #3a2200;
}

/* ---- Post footer: categories & tags ---- */
.ops-post-footer {
    padding: 24px 48px 32px;
    border-top: 2px solid #f5f0e8;
}

.ops-post-taxonomies {
    margin: 10px 0;
    font-size: 0.95em;
    color: #666;
}

.ops-post-tax-label {
    font-weight: 600;
    color: #3a2200;
    margin-right: 4px;
}

.ops-post-taxonomies a {
    color: #bb7c23;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ops-post-taxonomies a:hover {
    color: #3a2200;
    text-decoration: underline;
}

/* ---- Post navigation (prev / next) ---- */
.ops-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 2px solid #f5f0e8;
}

.ops-post-nav__link {
    display: flex;
    flex-direction: column;
    padding: 24px 32px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.ops-post-nav__link:hover {
    background: #fdf8f0;
}

.ops-post-nav__next {
    text-align: right;
    border-left: 1px solid #f5f0e8;
}

.ops-post-nav__label {
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bb7c23;
    margin-bottom: 6px;
}

.ops-post-nav__title {
    font-size: 1em;
    font-weight: 500;
    color: #3a2200;
    line-height: 1.4;
}

/* ---- Back to home ---- */
.ops-post-back {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
    text-align: center;
}

.ops-post-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bb7c23;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    padding: 10px 24px;
    border: 2px solid #bb7c23;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ops-post-back a:hover {
    background: #bb7c23;
    color: #fff;
}

/* ---- Comments section ---- */
.ops-comments-wrap {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.ops-comments {
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.ops-comments__heading {
    font-size: 1.6em;
    color: #3a2200;
    margin: 0 0 30px;
    padding-bottom: 16px;
    border-bottom: 3px solid #dda827;
}

.ops-comments__list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.ops-comments .comment {
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #faf8f5;
    border-left: 4px solid #dda827;
    border-radius: 0 8px 8px 0;
}

.ops-comments .comment-author {
    font-weight: 600;
    color: #3a2200;
    margin-bottom: 6px;
}

.ops-comments .comment-author img {
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.ops-comments .comment-meta,
.ops-comments .comment-metadata {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 12px;
}

.ops-comments .comment-metadata a {
    color: #888;
    text-decoration: none;
}

.ops-comments .comment-content p {
    margin: 0;
    line-height: 1.7;
    color: #444;
}

.ops-comments .comment-reply-link {
    color: #bb7c23;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 600;
}

.ops-comments .comment-reply-link:hover {
    text-decoration: underline;
}

.ops-comments__nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.ops-comments__nav a {
    color: #bb7c23;
    text-decoration: none;
    font-weight: 500;
}

/* Comment form */
.ops-comments .comment-form {
    margin-top: 30px;
}

.ops-comments .comment-form label {
    display: block;
    font-weight: 600;
    color: #3a2200;
    margin-bottom: 6px;
    font-size: 0.95em;
}

.ops-comments .comment-form input[type="text"],
.ops-comments .comment-form input[type="email"],
.ops-comments .comment-form input[type="url"],
.ops-comments .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0dbd3;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.ops-comments .comment-form input[type="text"]:focus,
.ops-comments .comment-form input[type="email"]:focus,
.ops-comments .comment-form input[type="url"]:focus,
.ops-comments .comment-form textarea:focus {
    outline: none;
    border-color: #bb7c23;
    box-shadow: 0 0 0 3px rgba(187, 124, 35, 0.12);
}

.ops-comments .comment-form input[type="submit"],
.ops-comments .comment-form .submit {
    background: #bb7c23;
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 0.02em;
    transition: background 0.3s ease, transform 0.2s ease;
}

.ops-comments .comment-form input[type="submit"]:hover,
.ops-comments .comment-form .submit:hover {
    background: #dda827;
    transform: translateY(-1px);
}

/* ==========================================================================
   Footer – Gold three-column + bottom bar
   ========================================================================== */

.ops-footer {
    background: #bb7c23;
    color: #fff;
    margin-top: 40px;
}

.ops-footer__widgets {
    display: flex;
    justify-content: space-around;
    text-align: left;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    gap: 20px;
}

.ops-footer h3 {
    color: #000;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 1.1em;
}

.ops-footer p {
    margin: 5px 0;
    font-size: 0.95em;
}

.ops-footer a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.ops-footer a:hover,
.ops-footer a:focus {
    color: #dda827 !important;
    text-decoration: underline !important;
}

.ops-footer .social-icons {
    margin: 10px 0;
    display: flex;
    gap: 15px;
}

.ops-footer .social-icons a {
    display: inline-flex;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.ops-footer .social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.85;
    text-decoration: none !important;
}

/* ---- Bottom bar ---- */
.ops-bottom-bar {
    background: #bb7c23;
    border-top: 4px solid #fff;
    color: #3a2200;
}

.ops-bottom-bar__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    font-size: 14px;
    padding: 14px 20px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.ops-bottom-bar__inner span {
    padding: 0 20px;
    position: relative;
    display: inline-block;
}

.ops-bottom-bar__inner span:not(:last-child) {
    border-right: 1px solid #fff;
}

.ops-bottom-bar__inner a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    opacity: 0.95;
}

.ops-bottom-bar__inner a:hover,
.ops-bottom-bar__inner a:focus {
    color: #dda827 !important;
    text-decoration: underline !important;
    opacity: 1;
}

/* Reset GeneratePress default footer styling so our custom footer shows cleanly */
.site-footer {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.site-footer .inside-site-info,
.site-footer .copyright-bar {
    display: none !important;
}

/* ---- Footer Responsive ---- */
@media (max-width: 768px) {
    .ops-footer__widgets {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 24px;
    }

    .ops-footer .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ops-footer__widgets {
        padding: 20px 15px;
    }

    .ops-footer h3 {
        font-size: 1em;
    }

    .ops-footer p {
        font-size: 0.88em;
    }

    .ops-bottom-bar__inner {
        flex-direction: column;
        gap: 8px;
        padding: 12px 10px;
        font-size: 12px;
    }

    .ops-bottom-bar__inner span {
        padding: 0 10px;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 8px;
    }

    .ops-bottom-bar__inner span:last-child {
        border-bottom: none;
    }
}

/* ---- Single Post Responsive ---- */
@media (max-width: 768px) {
    .ops-post-hero {
        min-height: 300px;
    }

    .ops-post-hero__content {
        padding: 40px 20px 35px;
    }

    .ops-post-hero__title {
        font-size: 1.8em;
    }

    .ops-post-hero__meta {
        font-size: 0.85em;
    }

    .ops-post-article {
        margin: -30px 12px 0;
        border-radius: 10px;
    }

    .ops-post-body {
        padding: 30px 24px 20px;
        font-size: 1.05em;
        line-height: 1.9;
    }

    .ops-post-body h2 {
        font-size: 1.4em;
        padding-left: 12px;
    }

    .ops-post-body h3 {
        font-size: 1.2em;
    }

    .ops-post-footer {
        padding: 20px 24px 24px;
    }

    .ops-post-nav {
        grid-template-columns: 1fr;
    }

    .ops-post-nav__next {
        text-align: left;
        border-left: none;
        border-top: 1px solid #f5f0e8;
    }

    .ops-post-nav__link {
        padding: 18px 24px;
    }

    .ops-comments {
        padding: 24px 20px;
        border-radius: 10px;
    }

    .ops-comments-wrap {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .ops-post-hero {
        min-height: 240px;
    }

    .ops-post-hero__title {
        font-size: 1.5em;
    }

    .ops-post-body {
        padding: 24px 18px 16px;
        font-size: 1em;
    }

    .ops-post-body blockquote {
        padding: 16px 20px;
        margin: 1.5em 0;
    }
}

/* ==========================================================================
   About Me Page – Creative, stylish layout
   ========================================================================== */

.ops-about {
    background-color: #f5f3ef;
    color: #222;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* ---- Hero banner with gold gradient ---- */
.ops-about-hero {
    position: relative;
    width: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, #3a2200 0%, #bb7c23 50%, #dda827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ops-about-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(221, 168, 39, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 34, 0, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.ops-about-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
}

.ops-about-hero__title {
    font-size: 3em;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    font-family: var(--font-heading);
}

/* ---- Author portrait circle ---- */
.ops-about-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ops-about-portrait__ring {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.6) 100%);
    box-shadow:
        0 12px 50px rgba(0, 0, 0, 0.2),
        0 0 0 6px rgba(221, 168, 39, 0.45);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ops-about-portrait__ring:hover {
    transform: scale(1.04);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.25),
        0 0 0 8px rgba(221, 168, 39, 0.6);
}

.ops-about-portrait__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.ops-about-portrait__name {
    font-size: 2.4em;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    font-family: var(--font-heading);
}

/* ---- Article body ---- */
.ops-about-article {
    max-width: 900px;
    margin: -50px auto 0;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ops-about-body {
    padding: 60px 60px 50px;
    font-size: 1.12em;
    line-height: 2;
    color: #333;
}

/* First paragraph – highlight as intro */
.ops-about-body > p:first-of-type {
    font-size: 1.2em;
    color: #555;
    border-left: 4px solid #dda827;
    padding-left: 24px;
    margin-bottom: 2em;
    line-height: 1.9;
}

.ops-about-body p {
    margin-bottom: 1.8em;
}

/* Headings */
.ops-about-body h1,
.ops-about-body h2,
.ops-about-body h3 {
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.ops-about-body h1 {
    font-size: 2.4em;
    text-align: center;
    background: linear-gradient(135deg, #dda827 0%, #bb7c23 100%);
    padding: 22px 30px;
    margin: 2em 0 1em;
}

.ops-about-body h2 {
    font-size: 1.8em;
    background: linear-gradient(135deg, #dda827 0%, #bb7c23 100%);
    padding: 18px 28px;
    margin: 2.5em 0 1em;
}

.ops-about-body h3 {
    font-size: 1.4em;
    background: #f0c04d;
    color: #3a2200;
    padding: 14px 24px;
    margin: 2em 0 0.8em;
    text-shadow: none;
}

.ops-about-body h4,
.ops-about-body h5,
.ops-about-body h6 {
    color: #3a2200;
    margin: 1.8em 0 0.6em;
    font-weight: 600;
}

/* Links */
.ops-about-body a {
    color: #bb7c23;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.ops-about-body a:hover {
    color: #3a2200;
    border-bottom-color: #bb7c23;
}

/* Strong text */
.ops-about-body strong,
.ops-about-body b {
    font-weight: 700;
    color: #3a2200;
}

/* Lists */
.ops-about-body ul,
.ops-about-body ol {
    margin: 2em 0;
    padding-left: 2.5em;
    line-height: 2;
}

.ops-about-body li {
    margin-bottom: 0.8em;
    line-height: 2;
    color: #333;
    padding-left: 8px;
}

.ops-about-body li::marker {
    color: #bb7c23;
}

/* Blockquotes */
.ops-about-body blockquote,
.ops-about-body .wp-block-quote {
    border-left: 5px solid #dda827;
    padding: 24px 30px;
    margin: 2.5em 0;
    background: #fff9f0;
    font-style: italic;
    color: #555;
    border-radius: 0 10px 10px 0;
    line-height: 1.8;
}

.ops-about-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Images */
.ops-about-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 2em auto;
    display: block;
}

/* Horizontal rules */
.ops-about-body hr {
    border: none;
    height: 3px;
    background: linear-gradient(to right, transparent, #dda827, transparent);
    margin: 3em 0;
}

/* WP Buttons / CTAs */
.ops-about-body .wp-block-buttons,
.ops-about-body a.wp-block-button__link {
    background: #bb7c23 !important;
    color: #fff !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin: 20px auto !important;
    text-align: center !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.ops-about-body a.wp-block-button__link:hover {
    background: #dda827 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(187, 124, 35, 0.3) !important;
}

/* WP Columns (skills/portfolio) */
.ops-about-body .wp-block-columns {
    gap: 20px;
    margin: 2em 0;
}

.ops-about-body .wp-block-column {
    background: #f9f8f6;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ops-about-body .wp-block-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Tables */
.ops-about-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.ops-about-body th,
.ops-about-body td {
    padding: 12px 16px;
    border: 1px solid #e0dbd3;
    text-align: left;
}

.ops-about-body th {
    background: linear-gradient(135deg, #dda827 0%, #bb7c23 100%);
    color: #fff;
    font-weight: 600;
}

/* ---- About Me Responsive ---- */
@media (max-width: 768px) {
    .ops-about-hero {
        min-height: 300px;
    }

    .ops-about-hero__inner {
        padding: 40px 15px;
    }

    .ops-about-hero__title {
        font-size: 2em;
    }

    .ops-about-portrait__ring {
        width: 220px;
        height: 220px;
        box-shadow:
            0 8px 35px rgba(0, 0, 0, 0.2),
            0 0 0 4px rgba(221, 168, 39, 0.4);
    }

    .ops-about-portrait__name {
        font-size: 1.8em;
    }

    .ops-about-article {
        margin: -35px 12px 0;
        border-radius: 12px;
    }

    .ops-about-body {
        padding: 36px 24px 30px;
        font-size: 1.05em;
        line-height: 1.9;
    }

    .ops-about-body h1 {
        font-size: 1.7em;
        padding: 16px 20px;
    }

    .ops-about-body h2 {
        font-size: 1.4em;
        padding: 14px 20px;
    }

    .ops-about-body h3 {
        font-size: 1.2em;
        padding: 12px 18px;
    }

    .ops-about-body > p:first-of-type {
        font-size: 1.05em;
        padding-left: 18px;
    }
}

@media (max-width: 480px) {
    .ops-about-hero {
        min-height: 260px;
    }

    .ops-about-hero__title {
        font-size: 1.6em;
    }

    .ops-about-portrait__ring {
        width: 180px;
        height: 180px;
    }

    .ops-about-portrait__name {
        font-size: 1.5em;
    }

    .ops-about-article {
        margin: -25px 8px 0;
    }

    .ops-about-body {
        padding: 28px 18px 24px;
        font-size: 1em;
        line-height: 1.85;
    }

    .ops-about-body blockquote {
        padding: 16px 20px;
        margin: 1.5em 0;
    }
}

/* ==========================================================================
   Work With Me Page – Hero, content, contact form
   ========================================================================== */

.ops-work {
    background-color: #f5f3ef;
    color: #222;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* ---- Hero banner ---- */
.ops-work-hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ops-work-hero--gradient {
    background: linear-gradient(135deg, #3a2200 0%, #bb7c23 50%, #dda827 100%);
}

.ops-work-hero--img {
    background-size: cover;
    background-position: center;
}

.ops-work-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(58, 34, 0, 0.55) 0%, rgba(187, 124, 35, 0.45) 100%),
        radial-gradient(circle at 25% 75%, rgba(221, 168, 39, 0.25) 0%, transparent 55%);
    pointer-events: none;
}

.ops-work-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 20px;
    max-width: 700px;
}

.ops-work-hero__title {
    font-size: 3.2em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.15;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
    font-family: var(--font-heading);
}

.ops-work-hero__subtitle {
    font-size: 1.25em;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* ---- Content container ---- */
.ops-work-container {
    max-width: 900px;
    margin: -50px auto 0;
    position: relative;
    z-index: 2;
    padding: 0 20px 40px;
}

/* ---- Article card ---- */
.ops-work-article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ops-work-body {
    padding: 55px 55px 45px;
    font-size: 1.12em;
    line-height: 2;
    color: #333;
}

/* First paragraph intro highlight */
.ops-work-body > p:first-of-type {
    font-size: 1.2em;
    color: #555;
    border-left: 5px solid #dda827;
    padding-left: 24px;
    margin-bottom: 2em;
    background: #fff9f0;
    padding: 24px 24px 24px 28px;
    border-radius: 0 8px 8px 0;
    line-height: 1.85;
}

/* Headings */
.ops-work-body h2 {
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #dda827 0%, #bb7c23 100%);
    padding: 18px 28px;
    border-radius: 8px;
    margin: 2.5em 0 1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    text-align: center;
    font-family: var(--font-heading);
}

.ops-work-body h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: #3a2200;
    margin: 2em 0 0.8em;
    font-family: var(--font-heading);
}

.ops-work-body h4,
.ops-work-body h5,
.ops-work-body h6 {
    color: #3a2200;
    margin: 1.8em 0 0.6em;
    font-weight: 600;
}

/* Links */
.ops-work-body a {
    color: #bb7c23;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.ops-work-body a:hover {
    color: #3a2200;
    border-bottom-color: #bb7c23;
}

/* Lists – styled as service cards */
.ops-work-body ul {
    list-style: none;
    padding: 0;
    margin: 2em 0;
}

.ops-work-body ul li {
    background: #fff;
    border-left: 5px solid #bb7c23;
    margin-bottom: 20px;
    padding: 24px 28px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.8;
}

.ops-work-body ul li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.ops-work-body ol {
    margin: 2em 0;
    padding-left: 2em;
    counter-reset: ops-counter;
}

.ops-work-body ol li {
    counter-increment: ops-counter;
    margin-bottom: 16px;
    padding-left: 10px;
    line-height: 1.8;
}

.ops-work-body ol li::marker {
    color: #bb7c23;
    font-weight: 700;
}

/* Blockquotes */
.ops-work-body blockquote,
.ops-work-body .wp-block-quote {
    border-left: 5px solid #dda827;
    padding: 24px 30px;
    margin: 2.5em 0;
    background: #fff9f0;
    font-style: italic;
    color: #555;
    border-radius: 0 10px 10px 0;
    line-height: 1.8;
}

.ops-work-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Strong */
.ops-work-body strong,
.ops-work-body b {
    font-weight: 700;
    color: #3a2200;
}

/* Paragraphs */
.ops-work-body p {
    margin-bottom: 1.8em;
}

/* Images */
.ops-work-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 2em auto;
    display: block;
}

/* WP Buttons */
.ops-work-body .wp-block-buttons {
    margin: 2em 0;
    display: flex;
    justify-content: center;
}

.ops-work-body a.wp-block-button__link {
    background: linear-gradient(135deg, #dda827 0%, #bb7c23 100%) !important;
    color: #fff !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1em !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.ops-work-body a.wp-block-button__link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(187, 124, 35, 0.35) !important;
}

/* HR */
.ops-work-body hr {
    border: none;
    height: 3px;
    background: linear-gradient(to right, transparent, #dda827, transparent);
    margin: 3em 0;
}

/* WP Columns as cards */
.ops-work-body .wp-block-columns {
    gap: 20px;
    margin: 2em 0;
}

.ops-work-body .wp-block-column {
    background: #f9f8f6;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ops-work-body .wp-block-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ---- Contact section ---- */
.ops-work-contact {
    margin-top: 50px;
    background: linear-gradient(135deg, #dda827 0%, #bb7c23 100%);
    border-radius: 20px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.ops-work-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ops-work-contact__heading {
    font-size: 2.5em;
    color: #fff;
    margin: 0 0 12px;
    font-family: var(--font-heading);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.ops-work-contact__sub {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ---- Contact form ---- */
.ops-work-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 100%;
}

.ops-work-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 4px;
}

.ops-work-form__group {
    margin-bottom: 22px;
}

.ops-work-form__group label {
    display: block;
    font-weight: 600;
    color: #3a2200;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.ops-work-form__group .req {
    color: #dda827;
}

.ops-work-form__group input,
.ops-work-form__group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0dbd3;
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.ops-work-form__group input:focus,
.ops-work-form__group textarea:focus {
    outline: none;
    border-color: #dda827;
    box-shadow: 0 0 0 3px rgba(221, 168, 39, 0.12);
}

.ops-work-form__group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.ops-work-form__submit {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #dda827 0%, #bb7c23 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(187, 124, 35, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.ops-work-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(187, 124, 35, 0.4);
    background: linear-gradient(135deg, #e8b842 0%, #c88d35 100%);
}

.ops-work-form__submit:active {
    transform: translateY(0);
}

.ops-work-form__arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.ops-work-form__submit:hover .ops-work-form__arrow {
    transform: translateX(5px);
}

/* Form status messages */
.ops-work-form__msg {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
    position: relative;
    z-index: 1;
}

.ops-work-form__msg.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.ops-work-form__msg.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ---- Work With Me Responsive ---- */
@media (max-width: 768px) {
    .ops-work-hero {
        min-height: 300px;
    }

    .ops-work-hero__inner {
        padding: 50px 15px;
    }

    .ops-work-hero__title {
        font-size: 2.2em;
    }

    .ops-work-hero__subtitle {
        font-size: 1.05em;
    }

    .ops-work-container {
        margin-top: -35px;
    }

    .ops-work-article {
        border-radius: 12px;
    }

    .ops-work-body {
        padding: 36px 24px 30px;
        font-size: 1.05em;
        line-height: 1.9;
    }

    .ops-work-body h2 {
        font-size: 1.5em;
        padding: 14px 20px;
    }

    .ops-work-body h3 {
        font-size: 1.3em;
    }

    .ops-work-body > p:first-of-type {
        font-size: 1.05em;
        padding: 18px 18px 18px 22px;
    }

    .ops-work-body ul li {
        padding: 18px 20px;
    }

    .ops-work-contact {
        padding: 40px 24px;
        border-radius: 14px;
        margin-top: 35px;
    }

    .ops-work-contact__heading {
        font-size: 1.9em;
    }

    .ops-work-form {
        padding: 28px 20px;
    }

    .ops-work-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .ops-work-hero {
        min-height: 260px;
    }

    .ops-work-hero__title {
        font-size: 1.7em;
    }

    .ops-work-body {
        padding: 28px 18px 24px;
        font-size: 1em;
    }

    .ops-work-contact {
        padding: 30px 16px;
    }

    .ops-work-contact__heading {
        font-size: 1.5em;
    }

    .ops-work-form {
        padding: 22px 16px;
    }

    .ops-work-form__group input,
    .ops-work-form__group textarea {
        padding: 12px 14px;
        font-size: 0.95em;
    }
}

/* ==========================================================================
   Privacy Policy Page – Clean, professional document layout
   ========================================================================== */

.ops-privacy {
    background-color: #f5f3ef;
    color: #222;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* ---- Hero banner ---- */
.ops-privacy-hero {
    background: linear-gradient(135deg, #3a2200 0%, #bb7c23 100%);
    text-align: center;
    padding: 70px 20px 90px;
}

.ops-privacy-hero__inner {
    max-width: 700px;
    margin: 0 auto;
}

.ops-privacy-hero__icon {
    margin-bottom: 18px;
    opacity: 0.9;
}

.ops-privacy-hero__title {
    font-size: 2.8em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    font-family: var(--font-heading);
}

.ops-privacy-hero__updated {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-style: italic;
}

/* ---- Document article ---- */
.ops-privacy-article {
    max-width: 820px;
    margin: -45px auto 0;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 35px rgba(0, 0, 0, 0.09);
    overflow: hidden;
}

.ops-privacy-body {
    padding: 55px 55px 45px;
    font-size: 1.08em;
    line-height: 1.95;
    color: #3a3a3a;
}

.ops-privacy-body p {
    margin-bottom: 1.6em;
}

/* Headings – clean document style with a subtle left accent */
.ops-privacy-body h1 {
    font-size: 2em;
    font-weight: 700;
    color: #3a2200;
    margin: 2em 0 0.8em;
    padding-bottom: 12px;
    border-bottom: 3px solid #dda827;
}

.ops-privacy-body h2 {
    font-size: 1.6em;
    font-weight: 700;
    color: #3a2200;
    margin: 2.2em 0 0.8em;
    padding-left: 16px;
    border-left: 4px solid #dda827;
    line-height: 1.3;
}

.ops-privacy-body h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: #3a2200;
    margin: 1.8em 0 0.6em;
    line-height: 1.4;
}

.ops-privacy-body h4,
.ops-privacy-body h5,
.ops-privacy-body h6 {
    color: #3a2200;
    margin: 1.5em 0 0.5em;
    font-weight: 600;
}

/* Links */
.ops-privacy-body a {
    color: #bb7c23;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.ops-privacy-body a:hover {
    color: #3a2200;
    border-bottom-color: #bb7c23;
}

/* Strong */
.ops-privacy-body strong,
.ops-privacy-body b {
    font-weight: 700;
    color: #2d2d2d;
}

/* Lists */
.ops-privacy-body ul,
.ops-privacy-body ol {
    margin: 1.6em 0;
    padding-left: 2em;
}

.ops-privacy-body li {
    margin-bottom: 0.7em;
    line-height: 1.85;
}

.ops-privacy-body li::marker {
    color: #bb7c23;
}

/* Blockquotes / notices */
.ops-privacy-body blockquote {
    margin: 2em 0;
    padding: 20px 28px;
    border-left: 4px solid #dda827;
    background: #fdf8f0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.ops-privacy-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Tables */
.ops-privacy-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.ops-privacy-body th,
.ops-privacy-body td {
    padding: 12px 16px;
    border: 1px solid #e0dbd3;
    text-align: left;
}

.ops-privacy-body th {
    background: #fdf8f0;
    font-weight: 600;
    color: #3a2200;
}

/* HR */
.ops-privacy-body hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #dda827, transparent);
    margin: 2.5em 0;
}

/* ---- Back to home ---- */
.ops-privacy-back {
    max-width: 820px;
    margin: 30px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.ops-privacy-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bb7c23;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    padding: 10px 24px;
    border: 2px solid #bb7c23;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ops-privacy-back a:hover {
    background: #bb7c23;
    color: #fff;
}

/* ---- Privacy Responsive ---- */
@media (max-width: 768px) {
    .ops-privacy-hero {
        padding: 50px 15px 70px;
    }

    .ops-privacy-hero__title {
        font-size: 2em;
    }

    .ops-privacy-article {
        margin: -35px 12px 0;
        border-radius: 12px;
    }

    .ops-privacy-body {
        padding: 36px 24px 30px;
        font-size: 1.02em;
        line-height: 1.85;
    }

    .ops-privacy-body h1 {
        font-size: 1.6em;
    }

    .ops-privacy-body h2 {
        font-size: 1.35em;
        padding-left: 12px;
    }

    .ops-privacy-body h3 {
        font-size: 1.15em;
    }
}

@media (max-width: 480px) {
    .ops-privacy-hero {
        padding: 40px 12px 60px;
    }

    .ops-privacy-hero__title {
        font-size: 1.6em;
    }

    .ops-privacy-hero__icon svg {
        width: 36px;
        height: 36px;
    }

    .ops-privacy-article {
        margin: -30px 8px 0;
    }

    .ops-privacy-body {
        padding: 28px 18px 24px;
        font-size: 0.98em;
    }
}

/* ==========================================================================
   Shop Page – Book grid with cards
   ========================================================================== */

.ops-shop {
    background-color: #f2f2f2;
    color: #222;
    min-height: 100vh;
}

.ops-shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ops-shop-header {
    text-align: center;
    padding: 60px 20px 20px;
}

.ops-shop-title {
    font-size: 3em;
    font-weight: 700;
    color: #3a2200;
    margin: 0;
    font-family: var(--font-heading);
}

.ops-shop-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-top: 10px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.book-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.book-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.book-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #dda827;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-placeholder {
    font-size: 4em;
    color: #bb7c23;
}

.book-info {
    padding: 20px;
}

.book-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #3a2200;
    margin: 0 0 10px;
    font-family: var(--font-heading);
}

.book-author {
    color: #666;
    font-size: 0.95em;
    margin: 0 0 8px;
}

.book-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.book-genre,
.book-format,
.book-language {
    color: #bb7c23;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    background: #fff3e0;
    border-radius: 3px;
}

.book-short-desc {
    color: #555;
    font-size: 0.9em;
    margin: 10px 0;
    line-height: 1.4;
}

.book-details-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    align-items: center;
}

.book-pages {
    color: #666;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-icon {
    font-size: 1em;
}

.book-condition-badge {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8em;
}

.condition-new,
.condition-like-new {
    background: #d4edda;
    color: #155724;
}

.condition-very-good,
.condition-good {
    background: #d1ecf1;
    color: #0c5460;
}

.condition-fair {
    background: #fff3cd;
    color: #856404;
}

.condition-poor {
    background: #f8d7da;
    color: #721c24;
}

.book-availability {
    font-size: 0.85em;
    font-weight: 600;
    margin: 8px 0;
}

.book-availability.availability-in-stock {
    color: #28a745;
}

.book-availability.availability-low-stock {
    color: #ffc107;
}

.book-availability.availability-out-of-stock {
    color: #dc3545;
}

.book-availability.availability-pre-order {
    color: #17a2b8;
}

.book-availability.availability-discontinued {
    color: #6c757d;
}

.book-price {
    font-size: 1.5em;
    font-weight: 700;
    color: #bb7c23;
    margin: 0;
}

.book-price--original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.75em;
    font-weight: 500;
    margin-right: 6px;
}

.book-price--sale {
    color: #d9534f;
    font-weight: 700;
}

.add-to-cart-btn {
    width: 100%;
    padding: 15px;
    background: #bb7c23;
    color: #fff;
    border: none;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 0 0 8px 8px;
}

.add-to-cart-btn:hover {
    background: #dda827;
}

.add-to-cart-btn:active {
    transform: scale(0.98);
}

.no-books {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #bb7c23;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cart-notification.show {
    display: block;
    animation: opsSlideIn 0.3s ease;
}

@keyframes opsSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ---- Shop Responsive ---- */
@media (max-width: 768px) {
    .ops-shop-title {
        font-size: 2em;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* ==========================================================================
   Single Book Detail Page
   ========================================================================== */

.ops-single-book {
    background-color: #f2f2f2;
    color: #222;
    min-height: 100vh;
}

.ops-book-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.ops-book-detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ops-book-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Image Gallery */
.book-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    width: 100%;
    max-width: 400px;
}

.book-main-image,
.book-placeholder-large {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.book-placeholder-large {
    aspect-ratio: 3/4;
    background: #dda827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    color: #bb7c23;
    border-radius: 8px;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #dda827;
    transform: scale(1.05);
}

/* Book Info */
.ops-book-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ops-book-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #3a2200;
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.ops-book-short-desc {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Detail Sections */
.book-details-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.book-details-section:last-child {
    border-bottom: none;
}

.details-section-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #3a2200;
    margin: 0 0 20px;
    font-family: var(--font-heading);
    padding-bottom: 10px;
    border-bottom: 2px solid #dda827;
}

.book-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #3a2200;
    min-width: 140px;
}

.detail-value {
    color: #555;
    text-align: right;
    flex: 1;
}

.detail-value.price {
    font-size: 1.3em;
    font-weight: 700;
    color: #bb7c23;
}

.detail-value.price .book-price--original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8em;
    font-weight: 500;
    margin-right: 8px;
}

.detail-value.price .book-price--sale {
    color: #d9534f;
    font-weight: 700;
}

.book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.book-tag {
    background: #f0f0f0;
    color: #555;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.book-additional-notes {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.8;
    color: #555;
    border-left: 4px solid #dda827;
}

/* Action Buttons */
.ops-book-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #bb7c23;
    color: #fff;
}

.btn-primary:hover {
    background: #dda827;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Prologue / Preview Section */
.ops-book-prologue {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.ops-book-prologue__heading {
    font-size: 1.6em;
    font-weight: 700;
    color: #3a2200;
    margin: 0 0 20px;
    font-family: var(--font-heading);
    padding-bottom: 10px;
    border-bottom: 2px solid #dda827;
}

.ops-book-prologue__text {
    background: linear-gradient(135deg, #fdf8f0 0%, #fff9f0 100%);
    padding: 30px 35px;
    border-radius: 10px;
    border-left: 5px solid #dda827;
    font-style: italic;
    font-size: 1.08em;
    line-height: 1.9;
    color: #444;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ops-book-prologue__text::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 3em;
    color: #dda827;
    opacity: 0.4;
    font-family: var(--font-heading);
    line-height: 1;
}

/* Book Content Section */
.ops-book-content {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.ops-book-content h2 {
    color: #3a2200;
    font-family: var(--font-heading);
}

.ops-book-content p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5em;
}

/* ---- Single Book Responsive ---- */
@media (max-width: 768px) {
    .ops-book-detail-content {
        padding: 25px 20px;
    }

    .ops-book-header {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .ops-book-title {
        font-size: 2em;
    }

    .book-details-grid {
        grid-template-columns: 1fr;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .detail-label {
        min-width: auto;
    }

    .detail-value {
        text-align: left;
        width: 100%;
    }

    .ops-book-actions {
        justify-content: center;
    }

    .action-btn {
        flex: 1;
        min-width: 200px;
    }

    .thumbnail-gallery {
        justify-content: center;
    }

    .details-section-title {
        font-size: 1.2em;
    }
}

/* ==========================================================================
   Header Cart Icon
   ========================================================================== */

.ops-header-cart {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    z-index: 10;
}

.ops-header-cart:hover {
    color: #bb7c23;
}

.ops-header-cart svg {
    width: 26px;
    height: 26px;
}

.ops-cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #bb7c23;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .ops-header-cart {
        right: 55px; /* Make room for the mobile toggle */
        top: 50%;
    }

    .ops-header-cart svg {
        width: 22px;
        height: 22px;
    }

    .ops-cart-badge {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .ops-header-cart {
        right: 50px;
    }
}

/* ==========================================================================
   Cart Page
   ========================================================================== */

.ops-cart-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Hero */
.ops-cart-hero {
    text-align: center;
    padding: 50px 20px 30px;
}

.ops-cart-hero svg {
    margin-bottom: 15px;
    opacity: 0.8;
}

.ops-cart-hero__title {
    font-family: var(--font-heading);
    font-size: 2.4em;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 8px;
}

.ops-cart-hero__subtitle {
    font-size: 1.1em;
    color: #777;
    margin: 0;
}

/* Cart body layout */
.ops-cart-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

/* Cart items list */
.ops-cart-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ops-cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-bottom: none;
    transition: background 0.2s ease;
}

.ops-cart-item:first-child {
    border-radius: 12px 12px 0 0;
}

.ops-cart-item:last-child {
    border-bottom: 1px solid #eee;
    border-radius: 0 0 12px 12px;
}

.ops-cart-item:only-child {
    border-radius: 12px;
    border-bottom: 1px solid #eee;
}

.ops-cart-item:hover {
    background: #fdf8f0;
}

.ops-cart-item__info {
    flex: 1;
    min-width: 0;
}

.ops-cart-item__title {
    font-family: var(--font-heading);
    font-size: 1.15em;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ops-cart-item__price {
    font-size: 0.9em;
    color: #888;
    margin: 0;
}

.ops-cart-item__controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Quantity stepper */
.ops-cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.ops-cart-qty__btn {
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.ops-cart-qty__btn:hover {
    background: #bb7c23;
    color: #fff;
}

.ops-cart-qty__value {
    width: 36px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95em;
    color: #333;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    line-height: 34px;
}

.ops-cart-item__line-total {
    font-weight: 700;
    font-size: 1.05em;
    color: #bb7c23;
    margin: 0;
    min-width: 100px;
    text-align: right;
}

.ops-cart-item__remove {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid #eee;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4em;
    line-height: 1;
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ops-cart-item__remove:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* Empty cart */
.ops-cart-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    border: 2px dashed #ddd;
}

.ops-cart-empty__icon {
    margin-bottom: 20px;
    opacity: 0.5;
}

.ops-cart-empty h2 {
    font-family: var(--font-heading);
    font-size: 1.6em;
    color: #444;
    margin: 0 0 8px;
}

.ops-cart-empty p {
    color: #888;
    margin: 0 0 25px;
    font-size: 1.05em;
}

/* Summary card */
.ops-cart-summary__card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 20px;
}

.ops-cart-summary__card h3 {
    font-family: var(--font-heading);
    font-size: 1.3em;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.ops-cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95em;
    color: #555;
}

.ops-cart-summary__total {
    border-top: 2px solid #f0f0f0;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.15em;
    font-weight: 700;
    color: #2c2c2c;
}

.ops-cart-summary__total span:last-child {
    color: #bb7c23;
    font-size: 1.2em;
}

.ops-cart-summary__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

/* Buttons */
.ops-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.ops-cart-btn--primary {
    background: linear-gradient(135deg, #bb7c23, #dda827);
    color: #fff;
    box-shadow: 0 4px 15px rgba(187, 124, 35, 0.3);
}

.ops-cart-btn--primary:hover {
    background: linear-gradient(135deg, #a06a1c, #bb7c23);
    box-shadow: 0 6px 20px rgba(187, 124, 35, 0.4);
    transform: translateY(-1px);
}

.ops-cart-btn--secondary {
    background: transparent;
    color: #bb7c23;
    border: 2px solid #bb7c23;
}

.ops-cart-btn--secondary:hover {
    background: rgba(187, 124, 35, 0.08);
}

.ops-cart-btn--danger {
    background: transparent;
    color: #dc3545;
    border: none;
    font-size: 0.85em;
    margin-top: 15px;
    padding: 8px;
    width: 100%;
    opacity: 0.6;
}

.ops-cart-btn--danger:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .ops-cart-body {
        grid-template-columns: 1fr;
    }

    .ops-cart-hero__title {
        font-size: 1.8em;
    }

    .ops-cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 18px;
    }

    .ops-cart-item__controls {
        width: 100%;
        justify-content: space-between;
    }

    .ops-cart-item__title {
        white-space: normal;
    }

    .ops-cart-summary__card {
        position: static;
    }
}

@media (max-width: 480px) {
    .ops-cart-hero {
        padding: 30px 15px 20px;
    }

    .ops-cart-hero__title {
        font-size: 1.5em;
    }

    .ops-cart-container {
        padding: 0 15px 40px;
    }

    .ops-cart-item__line-total {
        min-width: 70px;
    }
}

/* ==========================================================================
   Checkout Page
   ========================================================================== */

.ops-checkout-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Hero */
.ops-checkout-hero {
    text-align: center;
    padding: 50px 20px 30px;
}

.ops-checkout-hero svg {
    margin-bottom: 15px;
    opacity: 0.8;
}

.ops-checkout-hero__title {
    font-family: var(--font-heading);
    font-size: 2.4em;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 8px;
}

.ops-checkout-hero__subtitle {
    font-size: 1.05em;
    color: #777;
    margin: 0;
}

/* Body layout: form + summary */
.ops-checkout-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

/* Card wrapper */
.ops-checkout-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ops-checkout-card__title {
    font-family: var(--font-heading);
    font-size: 1.35em;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 24px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Form */
.ops-checkout-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ops-form-group {
    display: flex;
    flex-direction: column;
}

.ops-form-group--full {
    grid-column: 1 / -1;
}

.ops-form-group label {
    font-family: var(--font-ui);
    font-size: 0.88em;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.ops-form-group label .required {
    color: #dc3545;
}

.ops-form-group label small {
    font-weight: 400;
    color: #999;
}

.ops-form-group input,
.ops-form-group textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95em;
    font-family: var(--font-body);
    color: #333;
    background: #fafafa;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ops-form-group input:focus,
.ops-form-group textarea:focus {
    outline: none;
    border-color: #bb7c23;
    box-shadow: 0 0 0 3px rgba(187, 124, 35, 0.12);
    background: #fff;
}

.ops-form-group input::placeholder,
.ops-form-group textarea::placeholder {
    color: #bbb;
}

/* Order summary items */
.ops-checkout-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.ops-checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ops-checkout-item:last-child {
    border-bottom: none;
}

.ops-checkout-item__name {
    font-size: 0.95em;
    color: #333;
    flex: 1;
    min-width: 0;
}

.ops-checkout-item__name small {
    color: #999;
    font-weight: 500;
}

.ops-checkout-item__price {
    font-weight: 600;
    color: #bb7c23;
    font-size: 0.95em;
    white-space: nowrap;
    margin-left: 12px;
}

/* Totals */
.ops-checkout-totals {
    border-top: 2px solid #f0f0f0;
    padding-top: 15px;
    margin-bottom: 24px;
}

.ops-checkout-totals__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95em;
    color: #555;
}

.ops-checkout-totals__total {
    font-size: 1.2em;
    font-weight: 700;
    color: #2c2c2c;
    border-top: 1px solid #eee;
    margin-top: 8px;
    padding-top: 12px;
}

.ops-checkout-totals__total span:last-child {
    color: #bb7c23;
    font-size: 1.15em;
}

/* Pay button */
.ops-pay-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #bb7c23, #dda827);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-ui);
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(187, 124, 35, 0.35);
}

.ops-pay-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #a06a1c, #bb7c23);
    box-shadow: 0 6px 22px rgba(187, 124, 35, 0.45);
    transform: translateY(-2px);
}

.ops-pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Secure badge */
.ops-checkout-secure {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    font-size: 0.8em;
    color: #999;
    margin-top: 16px;
    text-align: center;
    line-height: 1.4;
}

.ops-checkout-secure svg {
    flex-shrink: 0;
    color: #28a745;
}

/* Back link */
.ops-checkout-back {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 0.9em;
    color: #bb7c23;
    text-decoration: none;
    font-weight: 500;
}

.ops-checkout-back:hover {
    text-decoration: underline;
}

/* Success overlay */
.ops-checkout-success {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 40px 20px;
}

.ops-checkout-success__card {
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.ops-checkout-success__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #34d058);
    color: #fff;
    font-size: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.ops-checkout-success__card h2 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: #2c2c2c;
    margin: 0 0 12px;
}

.ops-checkout-success__card p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    margin: 0 0 8px;
}

.ops-checkout-success__ref {
    margin-top: 15px !important;
}

.ops-checkout-success__ref code {
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9em;
    color: #333;
}

.ops-checkout-success__card .ops-cart-btn {
    margin-top: 25px;
}

/* Summary card sticky */
.ops-checkout-summary-section .ops-checkout-card {
    position: sticky;
    top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .ops-checkout-body {
        grid-template-columns: 1fr;
    }

    .ops-checkout-hero__title {
        font-size: 1.8em;
    }

    .ops-checkout-form {
        grid-template-columns: 1fr;
    }

    .ops-checkout-summary-section .ops-checkout-card {
        position: static;
    }

    .ops-checkout-success__card {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .ops-checkout-hero {
        padding: 30px 15px 20px;
    }

    .ops-checkout-hero__title {
        font-size: 1.5em;
    }

    .ops-checkout-container {
        padding: 0 15px 40px;
    }

    .ops-checkout-card {
        padding: 20px;
    }

    .ops-pay-btn {
        font-size: 0.95em;
        padding: 14px 20px;
    }
}

/* Add your custom styles below this line */
