/* ==========================================================================
   PSU Pattani Souvenir - Privacy Policy & Terms of Service Stylesheet
   Theme: Institutional Blue (#003C71), Navy (#00284d), Gold (#c9a227)
   ========================================================================== */

/* Ensure sticky positioning works reliably on policy page without being blocked by global overflow */
html, body {
    overflow-x: clip !important;
}

.page-policy {
    background-color: #f7fafc;
    min-height: calc(100vh - 350px);
}

/* ---------------- Hero Section ---------------- */
.policy-hero {
    background: linear-gradient(135deg, #00284d 0%, #003C71 60%, #004b8d 100%);
    color: #fff;
    padding: 48px 0 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 40, 77, 0.15);
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.12) 0%, rgba(201, 162, 39, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.policy-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.policy-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.policy-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.policy-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 24px;
}

.policy-meta-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.policy-meta-bar .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------------- Main Dual Tabs Nav ---------------- */
.policy-tabs-nav {
    display: inline-flex;
    background: rgba(0, 20, 45, 0.4);
    padding: 6px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    gap: 8px;
    max-width: 100%;
}

.policy-tab-btn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    padding: 12px 28px;
    border-radius: 12px;
    font-family: inherit;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 220px;
}

.policy-tab-btn i {
    font-size: 1.3rem;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.policy-tab-btn .tab-label-main {
    font-size: 1.02rem;
    font-weight: 600;
}

.policy-tab-btn .tab-label-sub {
    font-size: 0.76rem;
    opacity: 0.8;
}

.policy-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.policy-tab-btn:hover i {
    transform: translateY(-2px);
}

.policy-tab-btn.active {
    background: #ffffff;
    color: #003C71;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

.policy-tab-btn.active .tab-label-sub {
    color: #5d7285;
}

/* ---------------- Action Bar (Search & Tools) ---------------- */
.policy-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.policy-search-box {
    position: relative;
    flex: 1 1 auto;
    max-width: none;
    min-width: 260px;
}

.policy-search-box i.fa-magnifying-glass {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.policy-search-box input {
    width: 100%;
    padding: 9px 38px 9px 38px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.policy-search-box input:focus {
    outline: 0;
    border-color: #003C71;
    box-shadow: 0 0 0 3px rgba(0, 60, 113, 0.12);
}

.policy-search-box button#policySearchClear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
}

.policy-tools {
    display: flex;
    gap: 8px;
    align-items: center;
}

.policy-tools .policy-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 16px;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1.5px solid #003C71;
    background: #ffffff;
    color: #003C71;
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 60, 113, 0.08);
    cursor: pointer;
}

.policy-tools .policy-tool-btn i {
    font-size: 0.88rem;
    color: #003C71;
    transition: color 0.2s ease, transform 0.2s ease;
}

.policy-tools .policy-tool-btn:hover {
    background: #003C71;
    border-color: #00284d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 60, 113, 0.22);
}

.policy-tools .policy-tool-btn:hover i {
    color: #ffffff;
    transform: scale(1.12);
}

.policy-tools .policy-tool-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 60, 113, 0.12);
}

/* ---------------- Tab Panes ---------------- */
.policy-tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.policy-tab-pane.active {
    display: block;
    opacity: 1;
}

/* ---------------- Executive Highlights ---------------- */
.policy-highlights {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.highlight-head h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00284d;
    margin-bottom: 4px;
}

.highlight-head p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.highlight-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 18px 16px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 40, 77, 0.08);
    border-color: #cbd5e1;
}

.highlight-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.highlight-card h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ---------------- Layout & Sticky Sidebar Index ---------------- */
.policy-layout-row {
    align-items: flex-start !important;
}

.policy-aside-col {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: calc(var(--shop-header-h, 72px) + 20px) !important;
    align-self: flex-start !important;
    z-index: 20;
}

.policy-sticky-nav {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--shop-header-h, 72px) + 20px);
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 40, 77, 0.04);
    max-height: calc(100vh - var(--shop-header-h, 72px) - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.policy-sticky-nav::-webkit-scrollbar {
    width: 4px;
}

.policy-sticky-nav::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.policy-sticky-nav .nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #00284d;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
}

.policy-sticky-nav .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.policy-sticky-nav .nav-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.policy-sticky-nav .nav-link:hover {
    background: #f1f5f9;
    color: #003C71;
    border-left-color: #94a3b8;
}

.policy-sticky-nav .nav-link.active {
    background: #eaf2fa;
    color: #003C71;
    font-weight: 600;
    border-left-color: #003C71;
}

/* ---------------- Mobile Quick Jump Bar (Sticky on Mobile) ---------------- */
.policy-mobile-nav-outer {
    position: -webkit-sticky;
    position: sticky;
    top: var(--shop-header-h, 68px);
    z-index: 1020;
    margin-left: calc(-1 * var(--bs-gutter-x, 1.5rem) / 2);
    margin-right: calc(-1 * var(--bs-gutter-x, 1.5rem) / 2);
    padding: 10px calc(var(--bs-gutter-x, 1.5rem) / 2);
    margin-bottom: 16px;
    background: #f7fafc;
    border: none;
}

.policy-mobile-nav-wrap {
    width: 100%;
}

.policy-mobile-nav-btn {
    background: #ffffff;
    border: 1.5px solid #003C71;
    color: #003C71;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 60, 113, 0.1);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.policy-mobile-nav-btn span {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.policy-mobile-nav-btn:hover,
.policy-mobile-nav-btn:focus,
.policy-mobile-nav-btn[aria-expanded="true"] {
    background: #003C71;
    border-color: #00284d;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 60, 113, 0.22);
}

.policy-mobile-dropdown-menu {
    max-height: 380px;
    overflow-y: auto;
    border-radius: 14px;
    border: 1.5px solid #c5d6e8;
    box-shadow: 0 10px 30px rgba(0, 40, 77, 0.18);
    padding: 8px;
    margin-top: 6px;
}

.policy-mobile-dropdown-menu .dropdown-item {
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.15s ease;
}

.policy-mobile-dropdown-menu .dropdown-item:hover {
    background: #eaf2fa;
    color: #003C71;
    font-weight: 600;
}

.policy-mobile-dropdown-menu .dropdown-item.active {
    background: #003C71;
    color: #ffffff;
    font-weight: 600;
}

/* ---------------- Policy Content Card ---------------- */
.policy-content-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 36px 36px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.policy-section {
    scroll-margin-top: calc(var(--shop-header-h, 68px) + 85px);
}

@media (min-width: 992px) {
    .policy-section {
        scroll-margin-top: calc(var(--shop-header-h, 72px) + 24px);
    }
}

.policy-section .section-num-tag {
    display: inline-block;
    background: #eaf2fa;
    color: #003C71;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.policy-section h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #00284d;
    margin-bottom: 14px;
    line-height: 1.35;
}

.policy-section p,
.policy-section li {
    font-size: 0.94rem;
    color: #334155;
    line-height: 1.7;
}

.policy-divider {
    margin: 32px 0;
    border: 0;
    border-top: 1px dashed #cbd5e1;
}

/* Group Cards & Table inside Content */
.data-group-card,
.terms-option-card,
.warranty-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
}

.data-group-card h5,
.terms-option-card h5,
.warranty-card h5 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #00284d;
    margin-bottom: 10px;
}

.data-group-card ul,
.warranty-card ul {
    margin: 0;
    padding-left: 20px;
}

.data-group-card li,
.warranty-card li {
    margin-bottom: 6px;
}

/* PSU Theme Notice & Recommendation Box */
.policy-notice-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #f0f7fd 0%, #ffffff 100%);
    border: 1px solid #cde0f5;
    border-left: 4px solid #003C71;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 2px 8px rgba(0, 60, 113, 0.05);
    transition: all 0.2s ease;
}

.policy-notice-box:hover {
    box-shadow: 0 4px 14px rgba(0, 60, 113, 0.08);
    border-color: #b5d3f2;
}

.policy-notice-box .notice-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fef3c7;
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.policy-notice-box .notice-icon-badge.is-info {
    background: #e0f2fe;
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.2);
}

.policy-notice-box .notice-body {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #334155;
}

.policy-notice-box .notice-title {
    display: inline;
    font-weight: 700;
    color: #00284d;
    margin-right: 4px;
}

.policy-notice-box .notice-text {
    display: inline;
    color: #475569;
}

/* Return Step Cards */
.return-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.return-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 40, 77, 0.06);
    border-color: #cbd5e1;
}

.return-step-num {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

/* Purpose Table */
.purpose-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.policy-table {
    margin: 0;
    font-size: 0.88rem;
}

.policy-table thead {
    background: #f1f5f9;
}

.policy-table thead th {
    color: #00284d;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid #cbd5e1;
}

.policy-table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* Share Entity Boxes */
.share-entity-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    height: 100%;
}

.share-entity-box .entity-icon {
    font-size: 1.5rem;
    color: #003C71;
    margin-bottom: 10px;
}

.share-entity-box h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #00284d;
    margin-bottom: 6px;
}

.share-entity-box p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Security Features List */
.security-features-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #edf2f7;
}

.security-features-list li i {
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Rights Grid */
.rights-grid .right-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    height: 100%;
}

.rights-grid .right-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    background: #003C71;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.rights-grid h6 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #00284d;
    margin-bottom: 4px;
}

.rights-grid p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* Shipping Policy Box */
.shipping-policy-box .ship-box-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    position: relative;
}

.ship-box-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.shipping-policy-box h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #00284d;
    margin-bottom: 6px;
}

.shipping-policy-box p {
    font-size: 0.88rem;
    color: #475569;
    margin: 0;
}

/* DPO Contact Card */
.dpo-contact-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #eaf2fa 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 60, 113, 0.06);
}

.dpo-card-header {
    background: #003C71;
    color: #fff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dpo-card-header i {
    font-size: 1.8rem;
    color: #facc15;
}

.dpo-card-header h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.dpo-card-header span {
    font-size: 0.8rem;
    opacity: 0.85;
}

.dpo-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dpo-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.dpo-info-row i {
    font-size: 1.15rem;
    color: #003C71;
    margin-top: 3px;
    min-width: 20px;
    text-align: center;
}

.dpo-info-row div {
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.55;
}

/* Signature & Seal (Official Digital Center Endorsement) */
.policy-signature-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #003C71;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 4px 14px rgba(0, 40, 77, 0.04);
    transition: all 0.2s ease;
}

.policy-signature-box:hover {
    box-shadow: 0 6px 20px rgba(0, 40, 77, 0.08);
}

.sig-seal-emblem {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #003C71 0%, #00284d 100%);
    border: 2px solid rgba(201, 162, 39, 0.5);
    color: #fce588;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 4px 12px rgba(0, 40, 77, 0.18);
    flex-shrink: 0;
}

.sig-content {
    flex: 1;
    min-width: 0;
}

.sig-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 600;
    color: #003C71;
    background: rgba(0, 60, 113, 0.07);
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.sig-org-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #00284d;
    margin: 0 0 3px 0;
    line-height: 1.35;
}

.sig-org-sub {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 10px 0;
}

.sig-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sig-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    color: #334155;
    background: #edf2f7;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

@media (max-width: 575.98px) {
    .policy-signature-box {
        flex-direction: column;
        gap: 14px;
        padding: 16px 18px;
    }
}

/* Toast Message */
.policy-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #00284d;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    font-size: 0.9rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: toastSlideUp 0.25s ease;
}

@keyframes toastSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---------------- Responsive Styles ---------------- */
@media (max-width: 991.98px) {
    .policy-hero-title {
        font-size: 1.75rem;
    }
    .policy-content-card {
        padding: 24px 20px;
    }
    .policy-tabs-nav {
        width: 100%;
        display: flex;
    }
    .policy-tab-btn {
        flex: 1;
        min-width: unset;
        padding: 10px 14px;
    }
}

@media (max-width: 575.98px) {
    .policy-hero {
        padding: 32px 0 24px;
    }
    .policy-hero-title {
        font-size: 1.45rem;
    }
    .policy-hero-desc {
        font-size: 0.92rem;
    }
    .policy-tab-btn .tab-label-main {
        font-size: 0.88rem;
    }
    .policy-tab-btn .tab-label-sub {
        display: none;
    }
    .policy-action-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .policy-search-box {
        max-width: 100%;
    }
    .policy-tools {
        justify-content: flex-end;
    }
}

/* ---------------- Print Stylesheet ---------------- */
@media print {
    .shop-header,
    .shop-footer,
    .policy-hero-badge,
    .policy-tabs-nav,
    .policy-action-bar,
    .policy-sticky-nav,
    .policy-mobile-nav-wrap,
    .policy-tools,
    .policy-toast {
        display: none !important;
    }

    body, .page-policy {
        background: #fff !important;
        color: #000 !important;
    }

    .policy-hero {
        background: transparent !important;
        color: #000 !important;
        padding: 0 0 20px !important;
        box-shadow: none !important;
    }

    .policy-hero-title {
        color: #000 !important;
        font-size: 1.6rem !important;
    }

    .policy-hero-desc {
        color: #333 !important;
    }

    .policy-tab-pane {
        display: block !important;
        page-break-after: always;
    }

    .policy-content-card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}
