/*
 * pbs26-content.css  —  PBS content-area styles for the layout26 design system
 *
 * Purpose:
 *   1. PBS-specific utility classes (pbs-orange, btn-gradient, etc.)
 *   2. Bootstrap utility class equivalents for existing views / DB HTML
 *      (so old content stays visually intact while views are rebuilt one by one)
 *   3. Form and widget styles (Select2, error states, etc.)
 *
 * Loads after base26.css. No external dependencies.
 * CSS variables resolve from base26.css :root block.
 */


/* ═══════════════════════════════════════════════════════════════════════════
   1. PBS COLOUR UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.pbs-orange      { color: var(--primary) !important; }
.pbs-brightgreen { color: #2ecc71 !important; }
.pbs-purple      { color: #673ab7 !important; }
.pbs-dark        { color: var(--dark) !important; }
.pbs-save        { color: #ff3232 !important; }

.bg-pbs-orange   { background-color: var(--primary) !important; color: #fff !important; }
.bg-pbs-dark     { background-color: var(--dark) !important; color: #fff !important; }
.bg-primary      { background-color: var(--primary) !important; color: #fff !important; }
.bg-white        { background-color: #fff !important; }
.bg-light        { background-color: var(--bg-light) !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   2. BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-block;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    border-radius: var(--radius);
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
    line-height: 1.5;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-gradient,
input[type="submit"].btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff !important;
    border-radius: 2rem;
    padding: 0.5rem 2rem;
    font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.15s ease;
}
.btn-gradient:hover,
input[type="submit"].btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #fff !important;
}

.btn-primary   { background: var(--primary); color: #fff !important; }
.btn-secondary { background: var(--gray-200); color: var(--text-dark) !important; }
.btn-outline-primary { background: transparent; border: 2px solid var(--primary); color: var(--primary) !important; }
.btn-outline-primary:hover { background: var(--primary); color: #fff !important; }
.btn-lg { padding: 0.75rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.3rem 1rem; font-size: 0.85rem; }

.text-white { color: #fff !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   3. LAYOUT UTILITIES  (Bootstrap drop-in equivalents)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Container */
.container-fluid  { width: 100%; padding: 0 20px; }
.container-xxl    { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.container-xl     { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-lg     { width: 100%; max-width: 960px;  margin: 0 auto; padding: 0 20px; }

/* Row and columns — extends base26.css grid */
.row { display: flex; flex-wrap: wrap; }
.row.align-items-center  { align-items: center; }
.row.align-items-start   { align-items: flex-start; }
.row.justify-content-center { justify-content: center; }
.row.justify-content-between { justify-content: space-between; }

/* Gap helpers */
.g-0  { gap: 0; }
.g-1  { gap: 4px; }
.g-2  { gap: 8px; }
.g-3  { gap: 16px; }
.g-4  { gap: 24px; }
.g-5  { gap: 48px; }
.g-2rem { gap: 2rem; }
.gy-2 { row-gap: 8px; }
.gy-3 { row-gap: 16px; }
.gy-4 { row-gap: 24px; }
.gx-2 { column-gap: 8px; }
.gx-3 { column-gap: 16px; }

/* Full column widths not in base26.css */
@media (min-width: 576px) {
    .col-sm-1  { width: 8.333%; }
    .col-sm-2  { width: 16.666%; }
    .col-sm-3  { width: 25%; }
    .col-sm-4  { width: 33.333%; }
    .col-sm-5  { width: 41.666%; }
    .col-sm-6  { width: 50%; }
    .col-sm-7  { width: 58.333%; }
    .col-sm-8  { width: 66.666%; }
    .col-sm-9  { width: 75%; }
    .col-sm-10 { width: 83.333%; }
    .col-sm-11 { width: 91.666%; }
    .col-sm-12 { width: 100%; }
    .col-sm-25 { width: 20%; }
    .offset-sm-1 { margin-left: 8.333%; }
}
@media (min-width: 768px) {
    .col-md-1  { width: 8.333%; }
    .col-md-2  { width: 16.666%; }
    .col-md-7  { width: 58.333%; }
    .col-md-9  { width: 75%; }
    .col-md-10 { width: 83.333%; }
    .col-md-11 { width: 91.666%; }
    .col-md-12 { width: 100%; }
    .col-md-25 { width: 20%; }
    .offset-md-2 { margin-left: 16.666%; }
    .offset-md-3 { margin-left: 25%; }
}
@media (min-width: 992px) {
    .col-lg-1  { width: 8.333%; }
    .col-lg-2  { width: 16.666%; }
    .col-lg-3  { width: 25%; }
    .col-lg-4  { width: 33.333%; }
    .col-lg-5  { width: 41.666%; }
    .col-lg-6  { width: 50%; }
    .col-lg-7  { width: 58.333%; }
    .col-lg-8  { width: 66.666%; }
    .col-lg-9  { width: 75%; }
    .col-lg-10 { width: 83.333%; }
    .col-lg-12 { width: 100%; }
    .col-lg-25 { width: 20%; }
}
@media (min-width: 1200px) {
    .col-xl-3  { width: 25%; }
    .col-xl-4  { width: 33.333%; }
    .col-xl-6  { width: 50%; }
    .col-xl-8  { width: 66.666%; }
    .col-xl-10 { width: 83.333%; }
    .col-xl-12 { width: 100%; }
    .offset-xl-1 { margin-left: 8.333%; }
}
@media (min-width: 1400px) {
    .col-xxl-2 { width: 16.666%; }
    .col-xxl-3 { width: 25%; }
    .col-xxl-4 { width: 33.333%; }
    .col-xxl-8 { width: 66.666%; }
    .offset-xxl-2 { margin-left: 16.666%; }
}

/* Display */
.d-none    { display: none !important; }
.d-block   { display: block !important; }
.d-inline  { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex    { display: flex !important; }
.d-grid    { display: grid !important; }
@media (min-width: 576px)  { .d-sm-none { display: none !important; } .d-sm-block { display: block !important; } .d-sm-flex { display: flex !important; } }
@media (min-width: 768px)  { .d-md-none { display: none !important; } .d-md-block { display: block !important; } .d-md-flex  { display: flex !important; } }
@media (min-width: 992px)  { .d-lg-none { display: none !important; } .d-lg-block { display: block !important; } .d-lg-flex  { display: flex !important; } .d-lg-inline-block { display: inline-block !important; } }
@media (max-width: 575px)  { .hidden-xs  { display: none !important; } .visible-xs { display: block !important; } }
@media (max-width: 767px)  { .hidden-sm  { display: none !important; } }
@media (min-width: 768px) and (max-width: 991px) { .hidden-md { display: none !important; } }
@media (min-width: 992px)  { .hidden-lg  { display: none !important; } }

/* Flex utilities */
.flex-wrap    { flex-wrap: wrap; }
.flex-nowrap  { flex-wrap: nowrap; }
.flex-column  { flex-direction: column; }
.flex-row     { flex-direction: row; }
.flex-1       { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.align-items-center   { align-items: center !important; }
.align-items-start    { align-items: flex-start !important; }
.align-items-end      { align-items: flex-end !important; }
.justify-content-center  { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end     { justify-content: flex-end !important; }
.justify-content-start   { justify-content: flex-start !important; }
@media (min-width: 576px) {
    .justify-content-sm-center { justify-content: center !important; }
    .justify-content-sm-start  { justify-content: flex-start !important; }
}
@media (min-width: 768px) {
    .justify-content-md-end    { justify-content: flex-end !important; }
    .justify-content-md-center { justify-content: center !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   4. SPACING UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.p-0  { padding: 0 !important; }
.p-1  { padding: 4px !important; }
.p-2  { padding: 8px !important; }
.p-3  { padding: 16px !important; }
.p-4  { padding: 24px !important; }
.p-5  { padding: 48px !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 4px !important; }
.pb-2 { padding-bottom: 8px !important; }
.pb-3 { padding-bottom: 16px !important; }
.pb-4 { padding-bottom: 24px !important; }
.pb-5 { padding-bottom: 48px !important; }
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 4px !important; }
.pt-2 { padding-top: 8px !important; }
.pt-3 { padding-top: 16px !important; }
.pt-4 { padding-top: 24px !important; }
.pt-5 { padding-top: 48px !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 4px !important; padding-bottom: 4px !important; }
.py-2 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py-3 { padding-top: 16px !important; padding-bottom: 16px !important; }
.py-4 { padding-top: 24px !important; padding-bottom: 24px !important; }
.py-5 { padding-top: 48px !important; padding-bottom: 48px !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 4px !important; padding-right: 4px !important; }
.px-2 { padding-left: 8px !important; padding-right: 8px !important; }
.px-3 { padding-left: 16px !important; padding-right: 16px !important; }
.px-4 { padding-left: 24px !important; padding-right: 24px !important; }
.px-5 { padding-left: 48px !important; padding-right: 48px !important; }
.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: 4px !important; }
.ps-2 { padding-left: 8px !important; }
.ps-3 { padding-left: 16px !important; }
.pe-0 { padding-right: 0 !important; }
.pe-2 { padding-right: 8px !important; }
.pe-3 { padding-right: 16px !important; }

.m-0   { margin: 0 !important; }
.m-1   { margin: 4px !important; }
.m-2   { margin: 8px !important; }
.m-3   { margin: 16px !important; }
.m-4   { margin: 24px !important; }
.mx-1  { margin-left: 4px !important; margin-right: 4px !important; }
.mx-2  { margin-left: 8px !important; margin-right: 8px !important; }
.mx-3  { margin-left: 16px !important; margin-right: 16px !important; }
.mx-4  { margin-left: 24px !important; margin-right: 24px !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mb-0  { margin-bottom: 0 !important; }
.mb-1  { margin-bottom: 4px !important; }
.mb-2  { margin-bottom: 8px !important; }
.mb-3  { margin-bottom: 16px !important; }
.mb-4  { margin-bottom: 24px !important; }
.mb-5  { margin-bottom: 48px !important; }
.mt-0  { margin-top: 0 !important; }
.mt-1  { margin-top: 4px !important; }
.mt-2  { margin-top: 8px !important; }
.mt-3  { margin-top: 16px !important; }
.mt-4  { margin-top: 24px !important; }
.mt-5  { margin-top: 48px !important; }
.ms-0  { margin-left: 0 !important; }
.ms-1  { margin-left: 4px !important; }
.ms-2  { margin-left: 8px !important; }
.me-0  { margin-right: 0 !important; }
.me-1  { margin-right: 4px !important; }
.me-2  { margin-right: 8px !important; }
.no-margin  { margin: 0 !important; }
.no-padding { padding: 0 !important; }
.p-t-10 { padding-top: 10px; }


/* ═══════════════════════════════════════════════════════════════════════════
   5. TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

.text-center  { text-align: center !important; }
.text-left    { text-align: left !important; }
.text-right   { text-align: right !important; }
.text-start   { text-align: left !important; }
.text-end     { text-align: right !important; }

.fw-light     { font-weight: 300 !important; }
.fw-normal    { font-weight: 400 !important; }
.fw-semibold  { font-weight: 600 !important; }
.fw-bold      { font-weight: 700 !important; }
.fw-bolder    { font-weight: 800 !important; }
.font-weight-bold { font-weight: 700 !important; }

.fst-italic   { font-style: italic !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }

.fs-1  { font-size: 2.5rem !important; }
.fs-2  { font-size: 2rem !important; }
.fs-3  { font-size: 1.75rem !important; }
.fs-4  { font-size: 1.5rem !important; }
.fs-5  { font-size: 1.25rem !important; }
.fs-6  { font-size: 1rem !important; }
.small { font-size: 0.875rem; }

/* h-size helpers used in views */
.h1 { font-size: 2.5rem; font-weight: 700; }
.h2 { font-size: 2rem;   font-weight: 700; }
.h3 { font-size: 1.75rem; font-weight: 600; }
.h4 { font-size: 1.5rem;  font-weight: 600; }
.h5 { font-size: 1.25rem; font-weight: 600; }
.h6 { font-size: 1rem;    font-weight: 600; }
.h9 { font-size: 0.85rem; }

.text-muted   { color: var(--text-light) !important; }
.text-dark    { color: var(--text-dark) !important; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: #dc3545 !important; }
.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   6. CARD COMPONENT
   ═══════════════════════════════════════════════════════════════════════════ */

.card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.card-bg-white { background: #fff !important; }
.card-body  { padding: 16px; }
.card-title { font-weight: 700; margin-bottom: 8px; }
.card-text  { color: var(--text-medium); font-size: 0.9rem; }
.shadow-sm  { box-shadow: var(--shadow-sm) !important; }
.shadow     { box-shadow: var(--shadow-md) !important; }
.shadow-lg  { box-shadow: var(--shadow-lg) !important; }
.rounded    { border-radius: var(--radius) !important; }
.rounded-3  { border-radius: 12px !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   7. ACCORDION (Bootstrap JS data-bs-toggle compatible)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Accordion — fully handled by base26.css.
   SVG chevron rotates 180° and turns orange when open (base26 line 2004-2020).
   max-height transition for smooth expand/collapse (base26 line 2022-2028).
   No overrides needed here. */


/* ═══════════════════════════════════════════════════════════════════════════
   8. MODAL (Bootstrap JS data-bs-dismiss compatible)
   ═══════════════════════════════════════════════════════════════════════════ */

.modal { display: none; position: fixed; inset: 0; z-index: 1050; overflow-y: auto; }
.modal.show { display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1040; }
.modal-dialog { width: calc(100% - 32px); max-width: 500px; margin: 16px auto; }
.modal-dialog.modal-lg  { max-width: 800px; }
.modal-dialog.modal-xl  { max-width: 1140px; }
.modal-content {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
}
.modal-title { font-size: 1.1rem; font-weight: 700; margin: 0; }
.modal-body  { padding: 20px; flex: 1; }
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
}
.btn-close {
    width: 28px; height: 28px;
    border: none; background: transparent; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 18px; color: var(--text-medium);
    transition: background 0.15s;
}
.btn-close::before { content: '×'; }
.btn-close:hover { background: var(--bg-light); }
.fade { transition: opacity 0.15s; }


/* ═══════════════════════════════════════════════════════════════════════════
   9. FORM ELEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

.form-select,
.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
    line-height: 1.5;
}
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(238,90,42,0.15);
}
.form-select-lg { font-size: 1.05rem; padding: 0.6rem 0.9rem; }
.form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; display: block; }
.form-text  { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

/* Error states — consistent brand-orange style */
textarea.error, input[type="text"].error, input[type="password"].error,
input[type="email"].error, input[type="number"].error, input[type="tel"].error,
input[type="search"].error, select.error, .select2 .select2-selection.error {
    border-color: var(--primary) !important;
    background: rgba(238,90,42,.06) !important;
    box-shadow: 0 0 0 3px rgba(238,90,42,.14) !important;
}
ul.errors li { color: var(--primary); font-size: 0.85rem; margin-top: 4px; list-style: none; }

/* Select arrow */
select {
    -moz-appearance: none; -webkit-appearance: none; appearance: none;
    background-image: url(/responsive/img/select_down.png) !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 11px) 50% !important;
    cursor: pointer;
}
.select-wrapper { position: relative; }


/* ═══════════════════════════════════════════════════════════════════════════
   10. TABLE UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.table th { font-weight: 600; background: var(--bg-light); }
.table-striped tbody tr:nth-child(odd) { background: var(--gray-50); }
.table-bordered { border: 1px solid var(--gray-200); }
.table-bordered th, .table-bordered td { border: 1px solid var(--gray-200); }


/* ═══════════════════════════════════════════════════════════════════════════
   11. ALERT / BADGE
   ═══════════════════════════════════════════════════════════════════════════ */

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    font-size: 0.9rem;
}
.alert-success { background: #d1f0e0; border-color: #a7d9bc; color: #155724; }
.alert-danger  { background: #f8d7da; border-color: #f5c2c7; color: #842029; }
.alert-warning { background: #fff3cd; border-color: #ffecb5; color: #664d03; }
.alert-info    { background: #cff4fc; border-color: #b6effb; color: #055160; }

.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 2rem;
    background: var(--primary);
    color: #fff;
}
/* .badge-new and .badge-hot styles come from base26.css — do not redefine here */
.badge-hot  { background: #e74c3c; color: #fff; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; font-weight: 700; }


/* ═══════════════════════════════════════════════════════════════════════════
   12. SELECT2
   ═══════════════════════════════════════════════════════════════════════════ */

.select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; right: 12px; transform: translateY(-50%); }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text-dark); padding-left: 0; line-height: 1.5; }
.select2-dropdown { border-color: var(--gray-200); border-radius: 8px; box-shadow: var(--shadow-md); }
.select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid var(--gray-300); border-radius: 6px; padding: 8px; }
.select2-container--open .select2-dropdown { top: -4px; }
ul.select2-result-sub { padding-inline-start: unset; }


/* ═══════════════════════════════════════════════════════════════════════════
   13. MISC LEGACY HELPERS STILL REFERENCED IN VIEWS
   ═══════════════════════════════════════════════════════════════════════════ */

.clearfix::after { content: ''; display: table; clear: both; }
.float-left, .float-start  { float: left !important; }
.float-right, .float-end   { float: right !important; }
.pull-left   { float: left !important; }
.pull-right  { float: right !important; }
.overflow-hidden { overflow: hidden !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.mw-100 { max-width: 100% !important; }
.border   { border: 1px solid var(--gray-200) !important; }
.border-0 { border: none !important; }
.no-border  { border: none !important; }
.p-r-10    { padding-right: 10px; }
.p-t-10    { padding-top: 10px; }
.clearright { clear: right; display: inline-block; }
.visually-hidden, .sr-only {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important;
    overflow: hidden !important; clip: rect(0,0,0,0) !important;
    white-space: nowrap !important; border: 0 !important;
}
.hidden { display: none !important; }
.show   { display: block; }
.active { }

/* Row-cols shorthand (used in product deal grids) */
.row-cols-1 > * { width: 100%; }
.row-cols-2 > * { width: 50%; }
@media (min-width: 576px)  { .row-cols-sm-1 > * { width: 100%; } .row-cols-sm-2 > * { width: 50%; } .row-cols-sm-3 > * { width: 33.333%; } }
@media (min-width: 768px)  { .row-cols-md-3 > * { width: 33.333%; } .row-cols-md-4 > * { width: 25%; } }


/* ═══════════════════════════════════════════════════════════════════════════
   13a. NEWSLETTER SECTION — orange theme override (approved design deviation)
        base26.css uses purple (#2a2a52 → #43437c). Client approved change to
        the site's orange palette.
   ═══════════════════════════════════════════════════════════════════════════ */

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%) !important;
}
/* Decorative circles — keep subtle on orange */
.newsletter-section::before,
.newsletter-section::after {
    background: rgba(255,255,255,0.06) !important;
}
/* Tag accent on orange background */
.newsletter-tag {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: #fff !important;
}
/* Heading on orange */
.newsletter-heading { color: #fff !important; }
.newsletter-heading .nl-sub { color: rgba(255,255,255,0.85) !important; }
.newsletter-desc { color: rgba(255,255,255,0.9) !important; }
.newsletter-perks li { color: rgba(255,255,255,0.9) !important; }
.newsletter-perks li i { color: #fff !important; }
/* CTA button on orange background — use dark for contrast */
.newsletter-btn {
    background: #fff !important;
    color: var(--primary) !important;
}
.newsletter-btn:hover {
    background: var(--bg-light) !important;
    color: var(--primary-dark) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   13b. HOMEPAGE CREATIVE CAROUSEL — morph word layout
        Only position/overflow — no opacity:0 hiding.
        GSAP sets opacity and transform via inline styles at runtime.
        Keeping elements visible by default ensures content shows even
        if GSAP fails to load.
   ═══════════════════════════════════════════════════════════════════════════ */

.cc-morph-line {
    position: relative;
    overflow: hidden;
    display: block;
}
.cc-morph-word {
    display: block;
    position: absolute;
    left: 0; right: 0;
}
.cc-morph-word:first-child {
    position: relative;
}

/* Carousel caption — used in DB banner slides */
.carousel-caption {
    position: absolute;
    bottom: 6.5rem;
    color: #333;
    text-align: center;
    z-index: 10;
}
@media (max-width: 768px) { .carousel-caption { bottom: 1.5rem; } }


/* ═══════════════════════════════════════════════════════════════════════════
   14. HEADER LOGO — prevent compression on mobile
   ═══════════════════════════════════════════════════════════════════════════ */

/* The logo must never shrink — flex-shrink:0 keeps it at its natural size
   regardless of how many nav items or action icons are in the header. */
.header-container .logo {
    flex-shrink: 0;
    min-width: 0;          /* override any inherited min-width: auto */
}
.header-container .logo img {
    min-width: 100px;
    max-width: 180px;
    height: auto !important;
    width: auto !important;
    max-height: 45px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   0b. MODAL DIALOG SYSTEM  (createCustomDialog / dialogOuter / shim)
       Replaces the Fastor theme CSS that was removed.
       Used by: login modal, password reset modal, join modal, payment screens.
   ═══════════════════════════════════════════════════════════════════════════ */

#shim {
    position: fixed !important;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9000;
    display: none;
    height: 100vh !important;
    backdrop-filter: blur(2px);
}

#dialogOuter {
    position: fixed !important;
    z-index: 9001;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    /* Always centre — overrides JS-set inline left/top/width */
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: 500px !important;
    max-width: calc(100vw - 32px) !important;
}

.dialogTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-bottom: none;
}
.dialogTitle {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    flex: 1;
}
.dialogTitle #dialogBtn {
    color: rgba(255,255,255,.8);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: color .15s;
}
.dialogTitle #dialogBtn:hover { color: #fff; }

.dialogContent {
    padding: 20px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    /* height set by JS when viewport is small */
    overflow-y: auto;
}

/* jn-input-icon-wrap inside dialog — re-enforce positioning so pw toggle stays inside */
.dialogContent .jn-input-icon-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

/* base26.css applies position:absolute;left:14px to ALL i inside jn-input-icon-wrap.
   Reset that rule for the i that lives inside the eye-toggle button. */
.jn-input-icon-wrap .jn-pw-toggle i {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    pointer-events: none;
}

.dialogContent .jn-pw-toggle {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px;
    font-size: 14px;
    line-height: 1;
}
/* Input needs padding-right so text does not run under the eye toggle */
.dialogContent .jn-input-icon-wrap .jn-input[type="password"],
.dialogContent .jn-input-icon-wrap .jn-input[type="text"] {
    padding-right: 40px !important;
}

/* Dialog form elements — only style non-jn-input fields (legacy Bootstrap modal forms).
   jn-input styles come from base26.css and must not be overridden here. */
.dialogContent input[type="text"]:not(.jn-input),
.dialogContent input[type="email"]:not(.jn-input),
.dialogContent input[type="password"]:not(.jn-input) {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid var(--gray-300) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    color: var(--text-dark) !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
    transition: border-color .15s !important;
}
.dialogContent input[type="text"]:not(.jn-input):focus,
.dialogContent input[type="email"]:not(.jn-input):focus,
.dialogContent input[type="password"]:not(.jn-input):focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(238,90,42,.12) !important;
}
.dialogContent input.error {
    border-color: var(--primary) !important;
    background: rgba(238,90,42,.06) !important;
    box-shadow: 0 0 0 3px rgba(238,90,42,.14) !important;
}

.dialogContent .buttons { margin-top: 12px; }
/* Only style legacy .buttons submit — auth-submit-btn and jn-submit-btn have their own styles */
.dialogContent .buttons .btn,
.dialogContent input[type="submit"] {
    width: 100% !important;
    padding: 11px !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    cursor: pointer !important;
    transition: opacity .2s !important;
}
.dialogContent .buttons .btn:hover,
.dialogContent input[type="submit"]:hover { opacity: .88 !important; }

.dialogContent .forgot,
.dialogContent .has {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-medium);
}
.dialogContent .forgot a,
.dialogContent .has a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.dialogContent .forgot a:hover,
.dialogContent .has a:hover { text-decoration: underline; }

.dialogContent hr { border: none; border-top: 1px solid var(--gray-200); margin: 16px 0; }
.dialogContent h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }

.dialogContent label { font-size: 13px; color: var(--text-medium); }
.dialogContent .col-xs-12,
.dialogContent .col-md-12,
.dialogContent .no-padding { padding: 0 !important; }

.innerdialogshim {
    display: none; /* loading overlay — hidden by default; only shown during long async ops */
}

/* thirdPartyPaymentScreen variant (payment modals) */
.thirdPartyPaymentScreen-x#dialogOuter { max-width: 520px; }

/* ── Featured products card hover — fix base26.css line 1406
   base26 rule fires on section enter (dims all cards even with no card hovered).
   Override: only dim sibling cards when a specific card is actually hovered. */
.featured-products:hover .product-card:not(:hover) { opacity: 1; }
.featured-products:has(.product-card:hover) .product-card:not(:hover) {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}
.featured-products .product-card { transition: opacity 0.2s ease; }

/* All homepage sections now use base26.css class names directly in the DB HTML */

/* badge-new trailing position — base26.css sets margin-right (for badge-before-text).
   In layout26 the badge is placed AFTER the item name, so swap to margin-left. */
.mega-menu-link .badge-new {
    margin-right: 0;
    margin-left: 6px;
    vertical-align: middle;
}

/* ── Join / Auth form error helpers ──────────────────────────────────────── */
.jn-field--error .jn-input,
.jn-field--error .jn-input:focus { border-color: var(--primary) !important; background: rgba(238,90,42,.06) !important; box-shadow: 0 0 0 3px rgba(238,90,42,.14) !important; }
.jn-field-errors { list-style: none; padding: 0; margin: 4px 0 0; }
.jn-field-errors li { font-size: 0.82rem; color: var(--primary); display: flex; align-items: center; gap: 4px; }
.jn-field-errors li::before { content: '\f071'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px; color: var(--primary); }
.jn-global-error {
    background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px;
    padding: 12px 16px; margin-bottom: 16px;
    color: #b91c1c; font-size: 0.9rem; display: flex; align-items: center; gap: 8px;
}

/* ── Auth page wrapper (login page) ──────────────────────────────────────── */
.auth-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-md); max-width: 440px; width: 100%; overflow: hidden; }
.auth-card-head { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); padding: 28px 32px; }
.auth-card-head h1 { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.auth-card-head p  { font-size: 14px; color: rgba(255,255,255,.85); margin: 0; }
.auth-card-body { padding: 28px 32px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-light); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.auth-links { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13px; }
.auth-links a { color: var(--primary); text-decoration: none; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }
.auth-submit-btn {
    width: 100%; padding: 13px; border: none; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff; font-size: 1rem; font-weight: 700; font-family: 'Inter', sans-serif;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: opacity .2s, transform .15s;
}
.auth-submit-btn:hover { opacity: .9; transform: translateY(-1px); }


/* hero-banner: base26.css sets margin-top:103px to clear the fixed header.
   Our layout uses #main-content { padding-top } for that purpose already,
   so reset to avoid double spacing. */
.hero-banner { margin-top: 0 !important; }

/* ── Bootstrap carousel (full replacement without Bootstrap CSS) ─── */
.carousel { position: relative; }
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
}
.carousel-item.active,
.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end  { display: block; }
.carousel-item-next,
.carousel-item-prev                    { display: block; }
.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end              { transform: translateX(100%); }
.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start            { transform: translateX(-100%); }
.carousel-item img { display: block; width: 100%; height: auto; }
.carousel-control-prev,
.carousel-control-next {
    position: absolute; top: 0; bottom: 0; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 15%; padding: 0; color: #fff; text-align: center;
    background: none; border: 0; opacity: .5; transition: opacity .15s ease;
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.carousel-control-prev:hover,
.carousel-control-next:hover { opacity: .9; }
.carousel-indicators {
    position: absolute; right: 0; bottom: 0; left: 0; z-index: 2;
    display: flex; justify-content: center; padding: 0; margin: 0 15% 1rem;
    list-style: none;
}
.carousel-indicators [data-bs-target] {
    width: 30px; height: 3px; background-color: #fff;
    border: 0; opacity: .5; cursor: pointer; margin: 0 3px;
}
.carousel-indicators .active { opacity: 1; }


/* ═══════════════════════════════════════════════════════════════════════════
   15. CONTENT AREA TOP PADDING (fixed header compensation)
   layout26.js sets the exact value via inline style after measuring the
   real header height (util-bar + header-container). CSS values below are
   pre-JS fallback only — JS overrides them immediately on load.
   announcement-bar is position:relative so it is already in document
   flow above #main-content — its height must NOT be added here.
   ═══════════════════════════════════════════════════════════════════════════ */

.pbs-layout26 #main-content {
    padding-top: var(--header-h, 130px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   16. KLAVIYO NEWSLETTER FORM — overrides inside .newsletter-section
   Note: the go########## hash is Klaviyo auto-generated — update if the
   form is republished and the class changes.
   ═══════════════════════════════════════════════════════════════════════════ */
.newsletter-section .subscribe-form-bottom-wrapper { height: 55px; }

/* Klaviyo form — inline pill bar: border lives on the wrapper, not the elements */
.newsletter-section form.kl-private-reset-css-Xuajs1 { max-width: 100% !important; }
.newsletter-section form.kl-private-reset-css-Xuajs1 > div {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    border: 2px solid #d1d5db !important;
    border-radius: 2rem !important;
    overflow: hidden !important;
    background: #fff !important;
    transition: border-color 0.2s !important;
}
.newsletter-section form.kl-private-reset-css-Xuajs1 > div:focus-within {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(238,90,42,0.15) !important;
}
.newsletter-section form.kl-private-reset-css-Xuajs1 input[type="email"],
.newsletter-section form.kl-private-reset-css-Xuajs1 input[type="text"] {
    flex: 1 1 auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 16px !important;
    height: 46px !important;
    color: #333 !important;
    font-size: 14px !important;
    min-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.newsletter-section form.kl-private-reset-css-Xuajs1 input[type="email"]::placeholder,
.newsletter-section form.kl-private-reset-css-Xuajs1 input[type="text"]::placeholder {
    color: #9ca3af !important;
}
.newsletter-section form.kl-private-reset-css-Xuajs1 button.kl-private-reset-css-Xuajs1 {
    flex: 0 0 auto !important;
    height: 46px !important;
    border: none !important;
    border-radius: 0 2rem 2rem 0 !important;
    padding: 0 20px !important;
    white-space: nowrap !important;
    background: rgb(180,51,169) !important;
    background: linear-gradient(90deg, rgba(180,51,169,1) 0%, rgba(149,39,207,1) 50%, rgba(124,29,237,1) 100%) !important;
    cursor: pointer !important;
}
.newsletter-section form.kl-private-reset-css-Xuajs1 button.kl-private-reset-css-Xuajs1:after {
    content: "SUBSCRIBE \f061";
    font-size: 12px;
    font-family: 'Inter', FontAwesome, -apple-system, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
}

/* ── Product page: Bootstrap nav-pills-pbs → prod-tabs-nav visual bridge ── */
/* "Capture your memories" DB sections still use Bootstrap tabs for switching  */
/* but these styles make them look identical to the new prod-tabs-nav design.  */
.nav.nav-pills-pbs {
    border-bottom: 2px solid var(--gray-200);
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
    background: none;
    border-radius: 0;
}
.nav.nav-pills-pbs .nav-link {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-medium);
    border-radius: 0;
    transition: color 0.2s, border-color 0.2s;
}
.nav.nav-pills-pbs .nav-link:hover { color: var(--primary); background: none; }
.nav.nav-pills-pbs .nav-link.active,
.nav.nav-pills-pbs .nav-link.show { color: var(--primary); border-bottom-color: var(--primary); background: none; }
.nav.nav-pills-pbs .nav-link .nav-link-btn-wrapper { padding: 0 !important; }

/* "Capture your memories" outer section: prod-features class now replaces    */
/* old pb-5 text-center container. Tab content uses Bootstrap show/active.    */
.prod-features .tab-content { padding: 0; }
.prod-features .tab-pane { text-align: left; }
.prod-features .tab-pane h5.pbs-orange,
.prod-features .tab-pane .h5.pbs-orange { color: var(--primary); }

/* ── Custom confirm dialog (pbsConfirm) — site-wide ─────── */
.pbs-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 999997;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity .18s;
}
.pbs-confirm-overlay.is-visible { opacity: 1; }
.pbs-confirm-dialog {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
  padding: 28px 28px 22px;
  max-width: 380px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  transform: scale(.94) translateY(10px);
  transition: transform .18s;
}
.pbs-confirm-overlay.is-visible .pbs-confirm-dialog { transform: scale(1) translateY(0); }
.pbs-confirm-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 20px;
}
.pbs-confirm-icon.danger { background: rgba(239,68,68,.12); color: #ef4444; }
.pbs-confirm-icon.info   { background: rgba(238,90,42,.12); color: var(--primary); }
.pbs-confirm-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark, #1a1a2e);
  text-align: center;
  margin: 0 0 8px;
}
.pbs-confirm-msg {
  font-size: 14px;
  color: var(--text-medium, #6b7280);
  text-align: center;
  margin: 0 0 22px;
  line-height: 1.55;
}
.pbs-confirm-btns { display: flex; gap: 10px; }
.pbs-confirm-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background .15s, transform .1s;
  border: none;
}
.pbs-confirm-btn:active { transform: scale(.97); }
.pbs-confirm-btn-cancel {
  background: var(--gray-100, #f5f5f5);
  color: var(--text-medium, #6b7280);
  border: 1px solid var(--gray-200, #e5e7eb);
}
.pbs-confirm-btn-cancel:hover { background: var(--gray-200, #e5e7eb); }
.pbs-confirm-btn-ok { color: #fff; }
.pbs-confirm-btn-ok.danger { background: #ef4444; }
.pbs-confirm-btn-ok.danger:hover { background: #dc2626; }
.pbs-confirm-btn-ok.info { background: var(--primary); }
.pbs-confirm-btn-ok.info:hover { background: var(--primary-dark, #c94c22); }


/* ═══════════════════════════════════════════════════════════════════════════
   17. PRODUCT PAGES (current-offers / Flatsome legacy compatibility)
   ═══════════════════════════════════════════════════════════════════════════ */

/* col-xs-* — not in the sm/md/lg sets above (applies at all breakpoints) */
.col-xs-1  { width: 8.333%; float: left; }
.col-xs-2  { width: 16.666%; float: left; }
.col-xs-3  { width: 25%; float: left; }
.col-xs-4  { width: 33.333%; float: left; }
.col-xs-5  { width: 41.666%; float: left; }
.col-xs-6  { width: 50%; float: left; }
.col-xs-7  { width: 58.333%; float: left; }
.col-xs-8  { width: 66.666%; float: left; }
.col-xs-9  { width: 75%; float: left; }
.col-xs-10 { width: 83.333%; float: left; }
.col-xs-11 { width: 91.666%; float: left; }
.col-xs-12 { width: 100%; float: left; }

/* Flatsome structural shims — make the nested wrappers transparent containers */
.main-content { display: block; }
.background-content { display: none; }
.background { display: block; }
.background > .shadow { display: none; }
.background > .pattern { display: block; }
.ux-section { display: block; width: 100%; }
.ux-section-content { display: block; width: 100%; }

/* col-md-1-2: Flatsome's 1/8 column (between col-md-1 and col-md-2) */
@media (min-width: 768px) { .col-md-1-2 { width: 12.5%; float: left; } }

/* rowX — Flatsome custom row class */
.rowX { display: flex; flex-wrap: wrap; width: 100%; }

/* Additional spacing utilities referenced in product views */
.m-t-10 { margin-top: 10px; }
.m-t-20 { margin-top: 20px; }
.m-b-10 { margin-bottom: 10px; }
.m-b-20 { margin-bottom: 20px; }
.p-t-20 { padding-top: 20px; }
.p-b-20 { padding-bottom: 20px; }
.p-l-0  { padding-left: 0; }
.p-r-0  { padding-right: 0; }

/* Product page: Add to Cart / Buy Now button — override old red with theme26 orange */
.btn-red2,
input.btn-red2[type="submit"] {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 13px 32px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: opacity 0.2s, transform 0.15s !important;
    letter-spacing: 0.03em;
    width: 100% !important;
    margin-top: 12px;
}
.btn-red2:hover,
input.btn-red2[type="submit"]:hover { opacity: 0.9 !important; transform: translateY(-1px) !important; color: #fff !important; }

/* Product section tab navigation */
.htabs, .landingtabs {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    gap: 0;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.htabs a {
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-medium);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}
.htabs a:hover, .htabs a.selected { color: var(--primary); border-bottom-color: var(--primary); }

/* Content sections spacing */
.with-padding { padding: 24px 0; }
.enlarge { font-size: 1.05em; line-height: 1.7; }

/* Product page title */
#title-page { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); margin: 16px 0 10px; }

/* Trustpilot row */
.trustpilot-wrapper { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; font-size: 0.875rem; color: var(--text-medium); }
.trustpilotstar { display: inline-block; width: 16px; height: 16px; background: #00b67a; clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.trustpilotstar.half { background: linear-gradient(90deg, #00b67a 50%, #ddd 50%); }

/* Voucher size/price radio list — fix min-height:100vh inline style in legacy views */
form.radiolist { min-height: auto !important; place-content: unset !important; display: block !important; }
.size-voucher-option { border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; overflow-y: auto; }
.radiolist .form-control {
    display: flex !important;
    grid-template-columns: unset !important;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-200);
    font-size: 1rem !important;
    transition: background 0.15s;
    height: auto !important;
}
.radiolist .form-control:last-child { border-bottom: none; }
.radiolist .form-control:hover { background: rgba(238,90,42,0.04); }
.radiolist .form-control:focus-within { color: var(--primary); }

/* Product image slider container */
.ux-slider-wrapper { position: relative; overflow: hidden; }

/* Flickity thumbnail strip */
.ux-slider-thumbnails-wrapper { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.flickity-thumb {
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.15s;
    overflow: hidden;
}
.flickity-thumb:hover { border-color: var(--primary); }

/* Countdown timer */
.timer { display: flex; align-items: center; justify-content: flex-end; }
#countdown { font-size: 1.5rem; font-weight: 800; color: var(--primary); }

/* Product detail content images */
.productifo img, .col-xs-12 img { max-width: 100%; height: auto; }

/* "3 steps" image below Add to Cart */
.col-md-4 > div > img[src*="3steps"] { width: 100%; max-width: 280px; margin-top: 12px; border-radius: 8px; }

/* "Select A Template" / "Start Creating" designer button — override JS-set green (#00b67a) */
a.designerbutton, .designerbutton {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    border: none !important;
    transition: opacity 0.2s, transform 0.15s !important;
}
a.designerbutton:hover, .designerbutton:hover { opacity: 0.9 !important; transform: translateY(-1px) !important; color: #fff !important; }

/* Breadcrumb in old-style product views */
.main-content .breadcrumb ul { list-style: none; padding: 12px 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.85rem; }
.main-content .breadcrumb ul li { display: inline-flex; align-items: center; color: var(--text-medium); }
.main-content .breadcrumb ul li::before { content: "›"; padding: 0 4px; color: var(--text-light); }
.main-content .breadcrumb ul li:first-child::before { display: none; }
.main-content .breadcrumb ul li a { color: var(--primary); text-decoration: none; }
.main-content .breadcrumb ul li a:hover { text-decoration: underline; }

/* Section headings in product description content */
.tab-content h1 { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin: 28px 0 12px; border-bottom: 2px solid var(--gray-200); padding-bottom: 10px; }
.tab-content h2 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin: 20px 0 8px; }
.tab-content p { line-height: 1.7; color: var(--text-medium); }
.tab-content table.no-border { border: none; width: 100%; }
.tab-content table.no-border td { padding: 6px 4px; line-height: 1.6; color: var(--text-medium); font-size: 0.95rem; }
