/* Fonts moved to HTML head for performance */

:root {
    /* Japandi / Nordic Palette */
    /* Japandi / Nordic Palette - Softened */
    --bg-color: #F2F0E9;
    /* Softer, warm grey-beige (Bone) */
    --card-bg: #FAF9F6;
    /* Off-white (Baby Powder) instead of pure white */

    --text-primary: #44403C;
    /* Stone-700 - Softer Charcoal */
    --text-secondary: #78716C;
    /* Stone-500 - Muted warm grey */

    --accent: #44403C;
    /* Matching text for consistency */
    --accent-light: #E7E5E4;
    /* Stone-200 */

    --border-color: #D6D3D1;
    /* Slightly darker to maintain definition with softer bg */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Heebo', sans-serif;
    /* Prevent invisible text flash */
    -webkit-tap-highlight-color: transparent;
}

body {
    direction: rtl;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header & Identity */
header {
    text-align: center;
    margin-bottom: 5rem;
    padding-top: 3rem;
}

.brand-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.brand-identity:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.logo-container {
    width: 85px;
    height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.logo-container-mini {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.2rem;
}

.logo-icon {
    width: 100%;
    height: 100%;
    display: block;
}

/* The Integral */
header h1 {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1;
    /* Prioritize loading for LCP element */
}

header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 300;
}

/* Search */
.search-container {
    max-width: 500px;
    margin: 0 auto 2rem;
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: all 0.3s ease;
    border-radius: 14px;
}

/* Add shadow to the input directly to ensure visibility against the background */
.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Stronger shadow for visibility */
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--text-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 639px) {
    .search-container {
        max-width: none;
        margin-left: -0.8rem;
        margin-right: -0.8rem;
    }
}

/* Grid & Cards */
.brands-grid {
    column-count: 1;
    column-gap: 2rem;
}

@media (min-width: 768px) {
    .brands-grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .brands-grid {
        column-count: 3;
    }
}

.coupons-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
    break-inside: avoid;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #D6D3D1;
}

.brand-header,
.coupon-context-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-color);
}

.brand-logo-container,
.context-brand-logo {
    width: 80px;
    height: 80px;
    background: #F5F5F4;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.brand-logo-container:active,
.context-brand-logo:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.brand-logo-container img,
.context-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Coupon Internal */
.coupon-list {
    display: flex;
    flex-direction: column;
}

.coupon-list .coupon-item+.coupon-item {
    border-top: 1px dashed var(--border-color);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.coupon-item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.coupon-discount {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0px;
    margin-top: 0.5rem;
}

.influencer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.influencer-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.influencer-link {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    display: inline-block;
    user-select: none;
}

.influencer-link:hover {
    text-decoration: underline;
    color: var(--text-primary);
}

.influencer-link:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.verified-badge svg {
    display: block;
}

.coupon-code-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-color);
    /* Cut-out effect */
    border: 1px dashed #D6D3D1;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.coupon-code {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 15px 0 20px;
}

.copy-btn,
.discount-link-btn {
    background: var(--text-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, opacity 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.discount-link-btn {
    margin-right: auto;
}

.textual-discount-link {
    color: var(--text-primary);
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.textual-discount-link:hover {
    opacity: 0.7;
}

.coupon-action {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.coupon-action .coupon-code-wrapper {
    width: 100%;
}

.copy-btn:hover,
.discount-link-btn:hover {
    background: #44403C;
}

.copy-btn:active,
.discount-link-btn:active {
    transform: scale(0.96);
    opacity: 0.9;
}

.coupon-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-card {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Brand Page Specifics */
.brand-page-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 3rem 0;
}

.brand-header-section {
    text-align: center;
    margin-bottom: 4rem;
}

.brand-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.category-chip {
    padding: 0.4rem 1rem;
    background: var(--accent-light);
    color: var(--text-primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: inline-block;
    user-select: none;
}

.category-chip:hover {
    background: #EBE9E1;
    border-color: var(--text-secondary);
}

.category-chip:active {
    transform: scale(0.96);
    opacity: 0.9;
}

.brand-logo-large {
    width: 120px;
    height: 120px;
    background: #F5F5F4;
    border-radius: 24px;
    padding: 1.5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.brand-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    border: 1px solid var(--text-primary);
    border-radius: 100px;
    font-weight: 500;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, color 0.2s;
    user-select: none;
}

.brand-website-btn:hover {
    background: var(--text-primary);
    color: white;
}

.brand-website-btn:active {
    transform: scale(0.97);
}

/* Influencer Page Specifics */
.influencer-header {
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
}

.influencer-profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    padding: 4px;
    background: var(--card-bg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.influencer-name-large {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.influencer-role {
    display: inline-block;
    background: var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.influencer-bio {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s;
    font-size: 0.9rem;
    user-select: none;
}

.social-link:hover {
    border-color: var(--text-primary);
}

.social-link:active {
    transform: scale(0.97);
    opacity: 0.9;
}

/* Navigation Back */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(242, 240, 233, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.sticky-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Menu Toggle Button */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
    transition: transform 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    padding: 6rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.menu-section {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.mobile-menu.active .menu-section:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-menu.active .menu-section:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-menu.active .menu-section:nth-child(3) {
    animation-delay: 0.3s;
}

.brand-identity-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.brand-identity-menu h2 {
    font-size: 1.75rem;
    font-weight: 600;
}

.menu-tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.menu-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-light);
    display: inline-block;
}

.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.menu-links a {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.menu-links a:hover {
    color: var(--text-primary);
    padding-right: 0.5rem;
}

.menu-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.menu-contact a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Ensure the logo within back-nav looks right */
.sticky-nav .brand-identity {
    flex-direction: row;
    margin-bottom: 0;
    gap: 0.2rem;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.sticky-nav .brand-identity:active {
    transform: scale(0.96);
    opacity: 0.8;
}

.brand-name-mini {
    font-size: 1.25rem;
    font-weight: 500;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
    user-select: none;
}

.back-link:hover {
    color: var(--text-primary);
}

.back-link:active {
    transform: scale(0.97);
}

/* Footer */
.site-footer {
    margin-top: 6rem;
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    background: var(--bg-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-credits {
    font-weight: 500;
}

/* Toast */
#toast {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--text-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Brand Page Specific Coupon Layout */
.brand-page-coupon {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.brand-page-coupon:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #D6D3D1;
}

.brand-page-coupon .coupon-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: right;
}

.brand-page-coupon .coupon-action {
    margin-top: 0;
}

@media (min-width: 640px) {
    .brand-page-coupon {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 2rem;
    }

    .brand-page-coupon .coupon-content {
        flex: 1;
        align-items: flex-start;
    }

    .brand-page-coupon .coupon-action {
        margin-right: 2rem;
        flex-shrink: 0;
    }

    /* Overrides for specific elements inside */
    .brand-page-coupon .coupon-discount {
        font-size: 1.75rem;
        text-align: right;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .brand-page-coupon .influencer-info,
    .brand-page-coupon .coupon-context-brand {
        justify-content: flex-start;
        font-size: 1rem;
        margin-bottom: 0;
    }

    .brand-page-coupon .coupon-context-brand {
        margin-bottom: 0.25rem;
    }

    .brand-page-coupon .coupon-code-wrapper {
        margin-top: 0;
        min-width: 180px;
    }

    .brand-page-coupon .coupon-description {
        text-align: right;
        margin-top: 0;
        margin-bottom: 0.5rem;
        padding-top: 0;
        border-top: none;
        font-size: 0.9rem;
    }
}

.coupon-logo-box {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

@media (max-width: 639px) {
    .coupon-logo-box {
        justify-content: center;
        width: 100%;
        margin-bottom: 1rem;
    }
}

.related-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: center;
}

.view-more-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.view-more-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Legal & Terms Page */
.legal-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--accent-light);
    padding-bottom: 2rem;
}

.legal-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.legal-content {
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-right: 4px solid var(--text-primary);
    padding-right: 1rem;
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* About Page */
.about-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.integral-symbol {
    width: 60px;
    height: auto;
    margin: 0 auto 1.5rem;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.value-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.value-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 4rem 2rem;
    background: var(--accent-light);
    border-radius: 24px;
}

/* 404 Error Page */
.error-container {
    text-align: center;
    padding: 6rem 1.5rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-message {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: white;
    border-radius: 100px;
    font-weight: 500;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, box-shadow 0.2s;
    user-select: none;
}

.home-btn:hover {
    box-shadow: var(--shadow-md);
}

.home-btn:active {
    transform: scale(0.97);
}

.domain-section {
    margin-bottom: 75px;
}

.external-link-icon {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.external-link-icon:active {
    transform: scale(0.9);
    opacity: 0.7;
}

/* FAQ Page Styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--text-secondary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-answer a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .faq-item {
        padding: 1.25rem 1.5rem;
    }

    .faq-question {
        font-size: 1.15rem;
    }
}

/* Inactive Coupon Styles */
.coupon-item.coupon-inactive {
    opacity: 0.6;
    filter: grayscale(0.5);
    background: var(--bg-secondary);
    border-color: var(--border-color);
    position: relative;
    overflow: hidden;
}

.inactive-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4d4d;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.coupon-date-end {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.coupon-date-end.expired {
    color: #ff4d4d;
}

.coupon-inactive .coupon-code-wrapper,
.coupon-inactive .discount-link-btn,
.coupon-inactive .textual-discount-link {
    pointer-events: none;
    opacity: 0.7;
}