/* ============================================
   HEADER
   ============================================ */
.primary-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-search-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
}
.header-search form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 8px 16px;
    border: 1.5px solid #d0d0d0;
    width: 100%;
    max-width: 420px;
}
.header-search input[type="search"] {
    background: transparent;
    border: none;
    color: #1a1a1a;
    font-size: 14px;
    width: 100%;
    outline: none;
    padding: 0;
}
.header-search input[type="search"]::placeholder {
    color: #888888;
}
.header-search button {
    background: transparent;
    border: none;
    color: #0F6E56;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    display: flex;
    align-items: center;
}
.header-search button:hover {
    color: #1D9E75;
}

/* ============================================
   NAVIGATION
   ============================================ */
.st-menu > li > a {
    color: #0F6E56 !important;
    font-weight: 600;
}
.st-menu > li > a:hover {
    color: #1D9E75 !important;
}
.st-menu li ul,
.st-menu .sub-menu {
    background: #0F6E56 !important;
    border-top: 3px solid #1D9E75 !important;
    border-radius: 0 0 8px 8px !important;
    padding: 8px 0 !important;
    min-width: 200px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
.st-menu .sub-menu li a {
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    display: block !important;
    border-bottom: 0.5px solid rgba(255,255,255,0.1) !important;
}
.st-menu .sub-menu li:last-child a {
    border-bottom: none !important;
}
.st-menu .sub-menu li a:hover {
    background: #1D9E75 !important;
    color: #ffffff !important;
}
.site-title a,
.site-title a:visited {
    color: #0F6E56 !important;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb-trail {
    font-size: 13px;
    color: var(--color-text-secondary);
    padding: 8px 0 12px;
}
.breadcrumb-trail a {
    color: #0F6E56 !important;
    text-decoration: none;
}
.breadcrumb-trail a:hover {
    color: #1D9E75 !important;
}
.breadcrumb-trail .bcn-item-separator {
    margin: 0 6px;
    color: var(--color-text-tertiary);
}

/* ============================================
   STORE PAGE — HEADER
   ============================================ */
.store-header {
    margin-bottom: 8px;
}
.store-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #555;
    margin-top: 4px;
    margin-bottom: 6px;
}
.store-last-updated {
    font-size: 0.82rem;
    color: #888;
    margin-top: 4px;
    margin-bottom: 0;
}
.store-last-updated::before {
    content: '✓';
    color: #2d8a5e;
    font-weight: 600;
    margin-right: 5px;
}

/* ============================================
   STORE PAGE — COUPON CARDS
   ============================================ */
.coupon-footer.coupon-listing-footer {
    display: none !important;
}

/* ============================================
   STORE PAGE — COUPON FILTER TABS
   ============================================ */
.store-filter-tabs {
    display: flex;
    gap: 0;
    margin: 0 0 12px;
    border-bottom: 2px solid #e5e5e5;
    flex-wrap: wrap;
}
.store-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s;
}
.store-filter-tab:hover {
    color: #2d8a5e;
    border-bottom-color: #2d8a5e;
    text-decoration: none;
}
.store-filter-tab.is-active {
    color: #2d8a5e;
    border-bottom-color: #2d8a5e;
    font-weight: 600;
}
.store-filter-tab.is-active:hover {
    color: #2d8a5e;
}
.store-filter-count {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ============================================
   STORE PAGE — FAQ
   ============================================ */
.store-faqs {
    margin: 10px 0 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.store-faqs-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1a6b45 0%, #2d8a5e 100%);
}
.store-faqs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    font-style: normal;
}
.store-faqs-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}
.store-faq-item {
    border-bottom: 1px solid #f0f0f0;
    border-left: 3px solid transparent;
    transition: border-color 0.2s;
}
.store-faq-item:last-child {
    border-bottom: none;
}
.store-faq-item.is-open {
    border-left-color: #2d8a5e;
}
.store-faq-question {
    width: 100%;
    background: #fff;
    border: none;
    outline: none;
    padding: 14px 18px 14px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    gap: 12px;
}
.store-faq-question:focus-visible {
    outline: 2px solid #2d8a5e;
    outline-offset: -2px;
}
.store-faq-question:hover,
.store-faq-item.is-open .store-faq-question {
    background: #f7faf8;
}
.store-faq-question-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    color: #222 !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}
.store-faq-item.is-open .store-faq-question-text {
    color: #1a6b45 !important;
}
.store-faq-icon {
    flex-shrink: 0;
    color: #aaa;
    transition: transform 0.25s, color 0.2s;
    display: flex;
    align-items: center;
}
.store-faq-item.is-open .store-faq-icon {
    transform: rotate(180deg);
    color: #2d8a5e;
}
.store-faq-answer {
    padding: 2px 18px 16px 15px;
    background: #f7faf8;
    border-top: 1px solid #eaf2ed;
}
.store-faq-answer,
.store-faq-answer p,
.store-faq-answer li,
.store-faq-answer ol,
.store-faq-answer ul {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: #555 !important;
}
.store-faq-answer p {
    margin: 8px 0 0;
}
.store-faq-answer p:first-child {
    margin-top: 10px;
}
.store-faq-answer ul,
.store-faq-answer ol {
    margin: 10px 0 4px 18px;
    padding: 0;
}
.store-faq-answer li {
    margin-bottom: 5px;
}
.store-faq-answer a {
    color: #2d8a5e;
    text-decoration: underline;
}

/* ============================================
   STORE PAGE — RELATED STORES
   ============================================ */
.related-stores {
    margin: 10px 0 30px;
}
.related-stores-title {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2d8a5e;
    display: inline-block;
}
.related-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.related-store-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px 12px 12px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    text-align: center;
}
.related-store-card:hover {
    border-color: #2d8a5e;
    box-shadow: 0 2px 8px rgba(45,138,94,0.12);
    transform: translateY(-2px);
    text-decoration: none;
}
.related-store-logo {
    width: 80px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.related-store-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.related-store-initial {
    width: 48px;
    height: 48px;
    background: #f0f7f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d8a5e;
}
.related-store-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.related-store-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}
.related-store-count {
    font-size: 0.78rem;
    color: #2d8a5e;
    font-weight: 500;
}

/* ============================================
   STORE PAGE — SIDEBAR
   ============================================ */
.store-sidebar .inner.shadow-box,
.store-sidebar .shadow-box {
    border-radius: 8px !important;
    overflow: hidden;
}
.store-summary-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.store-summary-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin: 0 0 12px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    line-height: 1.3 !important;
}
.store-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.store-summary-row {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.88rem !important;
    color: #333;
    line-height: 1.4 !important;
}
.store-summary-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 0;
}
.store-summary-verified {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4 !important;
}
.store-jump-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
}
.store-jump-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0.06em !important;
    color: #222 !important;
    margin: 0 !important;
    padding: 10px 16px 8px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    line-height: 1.4 !important;
}
.store-jump-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    font-size: inherit !important;
}
.store-jump-list li {
    margin: 0 !important;
    font-size: inherit !important;
}
.store-jump-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.87rem !important;
    color: #333;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    line-height: 1.4 !important;
}
.store-jump-link:hover {
    background: #f7faf8;
    color: #2d8a5e;
    border-left-color: #2d8a5e;
    text-decoration: none;
}
.store-summary-card p,
.store-summary-card li,
.store-jump-card p,
.store-jump-card li {
    font-family: 'Inter', sans-serif !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
.store-sidebar .inner.shadow-box li,
.store-sidebar .inner.shadow-box p {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* ============================================
   STORE PAGE — MOBILE HEADER
   ============================================ */
@media (max-width: 768px) {
    .store-header.d-flex {
        flex-wrap: wrap;
    }
    .store-header .header-store-thumb {
        width: 100%;
        margin-bottom: 10px;
    }
    .entry-title.store-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }
    .store-subtitle {
        font-size: 1rem !important;
        width: 100% !important;
    }
}

/* ============================================
   COUPON DESCRIPTION TOGGLE
   ============================================ */
.coupon-des {
    padding: 8px 0 4px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}
.coupon-des-toggle {
    background: none;
    border: none;
    padding: 4px 0 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #222 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}
.coupon-des-toggle:hover {
    color: #444 !important;
}
.coupon-des-toggle-hide {
    display: none;
}
.coupon-des-toggle.is-open .coupon-des-toggle-show {
    display: none;
}
.coupon-des-toggle.is-open .coupon-des-toggle-hide {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Coupon title colour */
.coupon-title a,
.coupon-link {
    color: #222 !important;
}
.coupon-title a:hover,
.coupon-link:hover {
    color: #222 !important;
}

/* Badge and toggle on same line */
.c-type {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-bottom: 2px;
}

/* Sale/Deal CTA and badge colour */
.coupon-deal.coupon-button,
.coupon-deal.coupon-button:hover {
    background: rgb(29, 158, 117) !important;
    border-color: rgb(29, 158, 117) !important;
}
.c-sale {
    background: rgb(29, 158, 117) !important;
}

.coupon-item.coupon-listing-item {
    padding-bottom: 16px !important;
}

.coupon-modal-cta {
    display: inline-block;
    width: auto;
    min-width: 200px;
    padding: 14px 32px;
    background: rgb(29, 158, 117);
    color: #fff !important;
    text-align: center;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
    margin-bottom: 16px;
}

/* ============================================
   BLOG
   ============================================ */
.blog .header-content h1 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    visibility: hidden;
    position: relative;
}
.blog .header-content h1::after {
    content: 'Savings Guides & Voucher Tips';
    visibility: visible;
    position: absolute;
    left: 0;
    white-space: nowrap;
}

/* ============================================
   SIDEBAR WIDGET TITLES
   ============================================ */
#secondary h4.widget-title {
    font-size: 16px !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
    letter-spacing: 1.2px !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    color: #222 !important;
}

/* Blog sidebar category widget */
.sidebar .widget_block.widget_categories {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.sidebar .wp-block-categories-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar .wp-block-categories-list li a {
    display: block;
    padding: 7px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #333 !important;
    text-decoration: none !important;
    border-radius: 6px;
    border-left: 2px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.sidebar .wp-block-categories-list li a:hover {
    background: #f7faf8;
    color: #2d8a5e !important;
    border-left-color: #2d8a5e;
}

/* ============================================
   AUTHOR WIDGET
   ============================================ */
.sv-author-widget,
.sv-author-widget * {
    font-family: 'Inter', sans-serif !important;
}
h4.sv-author-widget__label {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #222 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
    margin: 0 0 12px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-family: 'Inter', sans-serif !important;
}
.sv-author-widget__name {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #0F6E56 !important;
    margin: 0 0 4px !important;
}
.sv-author-widget__bio {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.88rem !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin: 0 0 8px !important;
}
.sv-author-widget__link {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #2d8a5e !important;
    text-decoration: none !important;
    border-bottom: 1px solid #5DCAA5 !important;
}
.sv-author-widget__link:hover {
    border-bottom-color: #0F6E56 !important;
    color: #0F6E56 !important;
}

.savvy-post-author-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    color: inherit !important;
}
.savvy-post-author-link:hover .savvy-post-author-name,
.savvy-post-author-link:hover .savvy-author-name {
    color: #2d8a5e !important;
}

/* ============================================
   BREADCRUMBS — UI (store + category pages)
   ============================================ */
.ui.breadcrumb {
    text-transform: none !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px;
    padding: 4px 0 8px;
    margin-bottom: 6px;
}
.ui.breadcrumb span {
    text-transform: none !important;
    font-size: 13px;
    color: #888;
}
.ui.breadcrumb span a {
    color: #0F6E56 !important;
    text-decoration: none !important;
    font-size: 13px;
}
.ui.breadcrumb span a:hover {
    color: #1D9E75 !important;
    text-decoration: underline !important;
}
.ui.breadcrumb .current-item {
    color: #555 !important;
}
a.post.post-page span {
    color: #0F6E56 !important;
}
a.home span {
    color: #0F6E56 !important;
}

/* ============================================
   BRAND CATEGORY PAGES
   ============================================ */
.savvy-cat-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin: 24px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2d8a5e;
    display: inline-block;
}
.savvy-cat-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}
.savvy-cat-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px 12px 12px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    text-align: center;
}
.savvy-cat-brand-card:hover {
    border-color: #2d8a5e;
    box-shadow: 0 2px 8px rgba(45,138,94,0.12);
    transform: translateY(-2px);
    text-decoration: none;
}
.savvy-cat-brand-card img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    margin-bottom: 10px;
}
.savvy-cat-brand-initial {
    width: 48px;
    height: 48px;
    background: #f0f7f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d8a5e;
    margin-bottom: 10px;
}
.savvy-cat-brand-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}
.savvy-cat-brand-count {
    font-size: 0.78rem;
    color: #2d8a5e;
    font-weight: 500;
    margin-top: 3px;
}
.savvy-cat-coupon-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.savvy-cat-coupon-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 14px 16px;
}
.savvy-cat-coupon-store {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0F6E56;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.savvy-cat-coupon-title {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 500;
    color: #222;
}
.savvy-cat-coupon-btn {
    background: #1D9E75;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}
.savvy-cat-coupon-btn:hover {
    background: #0F6E56;
    text-decoration: none;
}
.savvy-cat-coupon-meta {
    min-width: 80px;
}

.page .post-entry.shadow-box {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.page-template-default #primary {
    width: 100% !important;
}

/* ============================================
   BRAND CATEGORY HUB
   ============================================ */
.savvy-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.savvy-hub-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 200px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.savvy-hub-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    border-radius: 8px;
}
.savvy-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    text-decoration: none;
}
.savvy-hub-label {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    padding: 0 12px 18px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
    .savvy-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
#sv-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border-top: 3px solid #0F6E56;
    box-shadow: 0 -4px 24px rgba(15,110,86,0.10);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
#sv-cookie-banner.sv-visible { transform: translateY(0); }
#sv-cookie-banner.sv-hiding { transform: translateY(100%); }
.sv-cookie-text { flex: 1 1 300px; min-width: 0; }
.sv-cookie-text strong { display: block; font-size: 15px; font-weight: 600; color: #111; margin-bottom: 4px; }
.sv-cookie-text p { color: #555; margin: 0; }
.sv-cookie-text a { color: #0F6E56; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.sv-cookie-text a:hover { color: #1D9E75; }
.sv-cookie-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.sv-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease; white-space: nowrap; }
.sv-btn-accept { background: #0F6E56; color: #fff; border-color: #0F6E56; }
.sv-btn-accept:hover { background: #1D9E75; border-color: #1D9E75; }
.sv-btn-decline { background: transparent; color: #0F6E56; border-color: #0F6E56; }
.sv-btn-decline:hover { background: #f0faf6; }
@media (max-width: 560px) {
    #sv-cookie-banner { padding: 16px 16px 20px; flex-direction: column; align-items: flex-start; }
    .sv-cookie-actions { width: 100%; }
    .sv-btn { flex: 1; justify-content: center; }
}

/* ============================================
   MISC
   ============================================ */
.page .coupon-item .latest-coupon {
    max-width: none !important;
    width: auto !important;
}

#store-extra-info {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ============================================
   MOBILE — COUPON CARD GRID LAYOUT
   ============================================ */
/* Mobile badge under logo */
.c-type-mobile {
    display: none;
}

@media (max-width: 767px) {

    .coupon-item {
        overflow: hidden;
    }

    .coupon-item.coupon-listing-item {
        padding-bottom: 8px !important;
    }

    /* Logo column */
    .store-thumb-link {
        float: left;
        width: 110px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Mobile badge under logo */
    .c-type-mobile {
        display: flex;
        justify-content: center;
        margin-top: 16px;
    }

    .c-type-mobile .c-code {
        display: inline-flex;
        align-items: center;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #fff;
				background: rgb(29, 158, 117);  
	}

    .c-type-mobile .c-sale {
        background: rgb(29, 158, 117) !important;
    }

    /* Hide original badge, keep show details */
    .c-type .c-code,
    .c-type .c-sale {
        display: none !important;
    }

    /* Tighten show details */
    .coupon-des-toggle {
        font-size: 0.78rem !important;
        padding: 2px 0 4px !important;
    }

    /* Title column */
    .latest-coupon {
    margin-left: 120px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 69px;
		}

    /* CTA column */
    .coupon-detail {
        margin-left: 120px;
        float: none !important;
        margin-top: 12px !important;
        padding-top: 0 !important;
        width: 238px !important;
        box-sizing: border-box !important;
    }

.coupon-detail .coupon-button {
    float: none !important;
    width: calc(100% - 12px) !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
		}

.coupon-button .get-code {
    min-width: 70% !important;
		}

    .coupon-detail .clear {
        display: none !important;
    }

    .coupon-item > .clear {
        display: none !important;
    }

    /* Description */
    .coupon-des[hidden] {
        display: none !important;
    }

    .coupon-des:not([hidden]) {
        display: block !important;
        width: 100%;
        margin-top: 8px;
    }

    /* Store page mobile header */
    .store-header.d-flex {
        flex-wrap: wrap;
    }

    .store-header .header-store-thumb {
        width: 100%;
        margin-bottom: 10px;
    }

    .entry-title.store-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }

    .store-subtitle {
        font-size: 1rem !important;
        width: 100% !important;
    }

    .savvy-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

.coupon-modal .coupon-code-wrap,
.coupon-modal .code-val,
.coupon-modal .coupon-code {
    font-size: 0.78rem !important;
    letter-spacing: 0.5px !important;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    word-break: break-all !important;
}

@media (max-width: 767px) {
    .logo_area {
        width: 150px !important;
        display: flex !important;
        align-items: center !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .header-search-center {
        flex: 0 0 160px !important;
        padding: 0 !important;
        margin: 0 25px 0 auto !important;
    }
    .header-search form {
        width: 160px !important;
        max-width: 100% !important;
    }
    .header-search input[type="search"] {
        display: block !important;
        width: 100% !important;
        font-size: 13px !important;
    }
    .header_right {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .nav-toggle .bars.icon {
        font-size: 22px !important;
    }
    .primary-header .container {
        align-items: center !important;
    }
	 #nav_toggle_open {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
}

.breadcrumb-trail .home span[property="name"] {
    font-size: 0;
}

.breadcrumb-trail .home span[property="name"]::after {
    content: 'Home';
    font-size: 14px;
}

.ui.breadcrumb .home span {
    font-size: 0;
}
.ui.breadcrumb .home span::after {
    content: 'Home';
    font-size: 13px;
    color: #0F6E56;
}

@font-face {
    font-family: 'Lato';
    font-display: swap;
}

/* ============================================
   LIVE SEARCH DROPDOWN
   ============================================ */
.header-search-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
}
#search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    overflow: hidden;
    min-width: 720px;
}
#search-dropdown.is-open {
    display: block;
}
.search-cols {
    display: flex;
}
.search-col {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}
.search-col--coupons {
    flex: 1.4;
    border-right: 1px solid #f0f0f0;
}
.search-col--brands {
    flex: 0 0 220px;
}
.search-col-heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #222;
    padding: 10px 16px 10px;
}
.search-result-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    text-decoration: none;
    color: #222;
    transition: background 0.1s;
}
.search-result-item a:hover,
.search-result-item.is-active a {
    background: #f5fdf9;
}
.search-thumb {
    width: 52px;
    height: 32px;
    object-fit: contain;
    border-radius: 3px;
    border: 1px solid #eee;
    flex-shrink: 0;
    padding: 3px;
    background: #fff;
}
.search-thumb-placeholder {
    width: 52px;
    height: 32px;
    border-radius: 3px;
    background: #E1F5EE;
    color: #0F6E56;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.search-result-title {
    flex: 1;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    color: #222;
}
.search-result-title mark {
    background: none;
    color: #0F6E56;
    font-weight: 700;
}
.search-no-results {
    padding: 16px 14px;
    font-size: 0.9rem;
    color: #666;
    font-family: 'Inter', sans-serif;
}
.search-dropdown-footer {
    padding: 10px 14px;
    background: #f5fdf9;
    border-top: 1px solid #e0ede8;
}
.search-dropdown-footer a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0F6E56;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}
.search-dropdown-footer a:hover {
    text-decoration: underline;
}
.search-col--brands .search-result-title {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}
@media (max-width: 767px) {
    .header-search-wrap {
        max-width: 160px;
    }
    .header-search input[type="search"] {
        font-size: 16px !important;
    }
    #search-dropdown {
        position: fixed;
        top: 70px;
        left: 8px;
        right: 8px;
        min-width: 0;
        width: auto;
        transform: none;
        border-radius: 8px;
        max-height: 80vh;
        overflow-y: auto;
    }
    .search-cols {
        flex-direction: column;
    }
    .search-col--brands {
        order: -1;
        flex: 1;
    }
    .search-col--coupons {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    .search-result-item a {
        padding: 10px 12px;
    }
    .search-col-heading {
        padding: 8px 12px;
    }
    .search-thumb {
        width: 40px;
        height: 26px;
    }
    .search-result-title {
        font-size: 0.88rem;
    }
    .search-col--brands .search-result-title {
        font-size: 0.95rem;
    }
}

.search-col--coupons .search-result-title mark {
    color: #0F6E56;
    font-weight: 700;
}
.search-col--brands .search-result-title mark {
    color: #222;
    font-weight: 700;
}