/**
 * Giftcard Styling
 *
 * Dundle-style layouts for giftcard category and product pages.
 *
 * @package licentie-child
 * @since 1.0.0
 */

/* ==========================================================================
   Variables
   ========================================================================== */

:root {
    --gc-primary: #2271b1;
    --gc-primary-hover: #135e96;
    --gc-success: #10b981;
    --gc-danger: #ef4444;
    --gc-warning: #fbbf24;
    --gc-text: #1e1e1e;
    --gc-text-light: #6b7280;
    --gc-border: #e5e7eb;
    --gc-bg: #f9fafb;
    --gc-white: #ffffff;
    --gc-radius: 8px;
    --gc-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --gc-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Archive Page - Dundle Style List Layout
   ========================================================================== */

.giftcard-archive-wrapper {
    background: var(--gc-white);
    min-height: 100vh;
    padding: 30px 0 60px;
}

.giftcard-archive-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Full width for parent category (no sidebar) */
.giftcard-archive-container.full-width {
    grid-template-columns: 1fr;
}

/* ==========================================================================
   Parent Category - Brand Cards Grid with Quick-Buy Modal (Dundle Style)
   ========================================================================== */

.giftcard-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.giftcard-brand-card {
    display: flex;
    flex-direction: column;
    background: var(--gc-white);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.giftcard-brand-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Top colored section with logo */
.brand-card-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.brand-card-image-link:hover .brand-card-image {
    opacity: 0.9;
}

.brand-card-image {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

.brand-card-image img {
    max-width: 120px;
    max-height: 100px;
    object-fit: contain;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-card-letter {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    background: #fff;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--gc-text);
}

/* Sale badge on card */
.brand-card-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Bottom white content section */
.brand-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gc-text);
    margin: 0;
    line-height: 1.3;
}

/* Star rating */
.brand-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-card-rating .stars {
    display: flex;
    gap: 2px;
}

.brand-card-rating .stars svg {
    width: 14px;
    height: 14px;
}

.brand-card-rating .review-count {
    font-size: 13px;
    color: var(--gc-text-light);
}

/* Region/location */
.brand-card-region {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gc-text-light);
}

.brand-card-region .flag-icon {
    font-size: 14px;
}

/* Bottom row: delivery + cart button */
.brand-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #E8EBF3;
    margin-top: auto;
}

.brand-card-delivery {
    font-size: 12px;
    font-weight: 600;
    color: var(--gc-success);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.brand-card-cart-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--gc-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.brand-card-cart-btn:hover {
    background: var(--gc-primary-hover);
}

/* Hide old meta elements */
.brand-card-meta,
.brand-card-price {
    display: none;
}

/* ==========================================================================
   Quick Buy Modal
   ========================================================================== */

.giftcard-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.giftcard-modal-overlay.is-open {
    display: flex;
}

.giftcard-modal {
    background: var(--gc-white);
    border-radius: 4px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: #E8EBF3;
}

.modal-header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gc-text);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gc-text-light);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: var(--gc-text);
}

.modal-body {
    padding: 28px 32px;
    overflow-y: auto;
    flex: 1;
}

.modal-brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--gc-text);
    margin: 0 0 24px;
}

/* Two Column Layout */
.modal-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: flex-start;
}

/* Left Column */
.modal-left-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-brand-image-wrapper {
    position: relative;
}

.modal-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-brand-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gc-bg);
    border: 1px solid var(--gc-border);
}

.modal-brand-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

/* Trustpilot Section */
.modal-trustpilot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.trustpilot-stars {
    display: flex;
    gap: 3px;
}

.trustpilot-stars .tp-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #00b67a;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.trustpilot-stars .tp-star.half {
    background: linear-gradient(90deg, #00b67a 50%, #dcdce6 50%);
}

.trustpilot-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trustpilot-text {
    font-size: 11px;
    color: var(--gc-text-light);
}

.trustpilot-logo {
    height: 16px;
    width: auto;
}

/* Payment Methods */
.modal-payment-methods {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.modal-payment-methods img {
    height: 24px;
    width: auto;
    border: 1px solid var(--gc-border);
    border-radius: 4px;
    padding: 3px 5px;
    background: #fff;
    object-fit: contain;
}

/* Right Column - Denominations */
.modal-right-column {
    display: flex;
    flex-direction: column;
}

/* Buy button in right column */
.modal-right-column .modal-buy-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: #5BAA9D;
    color: #fff;
    border: none;
    border-bottom: 4px solid #4A9389;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.modal-right-column .modal-buy-btn:hover:not(:disabled) {
    background: #4A9389;
}

.modal-right-column .modal-buy-btn:disabled {
    background: #a8d4cd;
    border-bottom-color: #8fc4bb;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.7;
}

.modal-right-column .modal-buy-btn.is-loading {
    pointer-events: none;
}

.modal-right-column .modal-buy-btn .spinner {
    animation: gc-spin 1s linear infinite;
}

.modal-denominations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.modal-denominations .denomination-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border: 1px solid #E8EBF3;
    border-radius: 8px;
    background: var(--gc-white);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    position: relative;
    min-height: 70px;
}

.modal-denominations .denomination-btn:hover {
    border-color: var(--gc-primary);
    background: rgba(34, 113, 177, 0.02);
}

.modal-denominations .denomination-btn.is-selected {
    border-color: var(--gc-primary);
    background: rgba(34, 113, 177, 0.08);
    box-shadow: 0 0 0 1px var(--gc-primary);
}

.modal-denominations .denomination-btn.is-sale {
    position: relative;
}

.modal-denominations .denomination-btn .sale-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gc-danger);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
}

.modal-denominations .denomination-btn .denom-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--gc-text);
    margin-bottom: 2px;
}

.modal-denominations .denomination-btn .denom-price {
    font-size: 12px;
    color: var(--gc-text-light);
}

.modal-denominations .denomination-btn.is-selected .denom-price {
    color: var(--gc-primary);
}

.modal-denominations .denomination-btn.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--gc-bg);
}


/* Responsive for brand grid */
@media (max-width: 1200px) {
    .giftcard-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .giftcard-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 540px) {
    .giftcard-brands-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .giftcard-modal {
        max-height: 95vh;
        max-width: 100%;
        margin: 10px;
        border-radius: 12px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-brand-name {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .modal-two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-left-column {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 12px;
        align-items: flex-start;
    }

    .modal-brand-image-wrapper {
        grid-row: span 2;
    }

    .modal-brand-image {
        aspect-ratio: 1;
    }

    .modal-trustpilot {
        margin-bottom: 0;
    }

    .modal-payment-methods {
        grid-column: 2;
    }

    .modal-denominations {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .modal-denominations .denomination-btn {
        padding: 12px 8px;
        min-height: 60px;
    }

    .modal-denominations .denomination-btn .denom-value {
        font-size: 14px;
    }

    .modal-denominations .denomination-btn .denom-price {
        font-size: 11px;
    }

    .modal-right-column .modal-buy-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .modal-left-column {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }

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

/* Main Content */
.giftcard-main-content {
    min-width: 0;
}

/* Page Header */
.giftcard-page-header {
    margin-bottom: 30px;
}

.giftcard-page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gc-text);
    margin: 0 0 8px;
    line-height: 1.2;
}

.giftcard-page-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--gc-text-light);
    margin: 0 0 12px;
}

.giftcard-page-subtitle .verified-icon {
    flex-shrink: 0;
}

.giftcard-page-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.giftcard-page-rating .stars {
    display: flex;
    gap: 2px;
}

.giftcard-page-rating .rating-text {
    font-weight: 600;
    color: var(--gc-text);
}

.giftcard-page-rating .review-link a {
    color: var(--gc-primary);
    text-decoration: none;
}

.giftcard-page-rating .review-link a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Product Rows (Dundle Style)
   ========================================================================== */

.giftcard-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.giftcard-product-row {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    background: var(--gc-white);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius);
    padding: 16px 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.giftcard-product-row:hover {
    border-color: var(--gc-primary);
    box-shadow: var(--gc-shadow-hover);
}

.giftcard-product-row.out-of-stock {
    opacity: 0.6;
}

/* Product Image */
.product-row-image {
    display: block;
    width: 100px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--gc-bg);
}

.product-row-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info */
.product-row-info {
    min-width: 0;
}

.product-row-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--gc-text);
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-row-title:hover {
    color: var(--gc-primary);
}

.product-row-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.product-row-features .feature {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--gc-text-light);
}

.product-row-features .feature svg {
    flex-shrink: 0;
}

.product-row-features .feature.stock {
    color: var(--gc-success);
}

.product-row-features .flag-icon {
    font-size: 14px;
}

/* Price & Action */
.product-row-action {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.product-row-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--gc-text);
    white-space: nowrap;
}

.product-row-price .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
}

.product-row-price del {
    font-size: 14px;
    color: var(--gc-text-light);
}

/* Buy Button */
.giftcard-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
    padding: 14px 28px;
    background: var(--gc-primary);
    color: var(--gc-white);
    border: none;
    border-radius: var(--gc-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.giftcard-buy-btn:hover {
    background: var(--gc-primary-hover);
    color: var(--gc-white);
}

.giftcard-buy-btn.loading {
    pointer-events: none;
}

.giftcard-buy-btn.added {
    background: var(--gc-success);
}

.giftcard-buy-btn .spinner {
    animation: gc-spin 1s linear infinite;
}

@keyframes gc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.out-of-stock-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gc-bg);
    color: var(--gc-text-light);
    border-radius: var(--gc-radius);
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.giftcard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-box {
    background: var(--gc-white);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius);
    padding: 20px;
}

/* Authorized Seller */
.authorized-seller {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.seller-badge {
    width: 60px;
    height: 60px;
    border-radius: var(--gc-radius);
    background: var(--gc-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
}

.seller-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.seller-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--gc-text);
}

.seller-info p {
    font-size: 13px;
    color: var(--gc-text-light);
    margin: 0;
    line-height: 1.4;
}

/* USP Boxes */
.sidebar-usp {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.usp-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usp-content {
    flex: 1;
    min-width: 0;
}

.usp-content strong {
    display: block;
    font-size: 14px;
    color: var(--gc-text);
    margin-bottom: 4px;
}

.usp-content p {
    font-size: 13px;
    color: var(--gc-text-light);
    margin: 0;
    line-height: 1.4;
}

/* Payment Icons in Sidebar */
.sidebar-usp .payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sidebar-usp .payment-icons img {
    height: 24px;
    width: auto;
    border-radius: 4px;
}

/* Reviews Box */
.sidebar-reviews .review-stars {
    display: flex;
    gap: 2px;
    margin: 8px 0;
}

.sidebar-reviews .star {
    font-size: 20px;
    color: var(--gc-border);
}

.sidebar-reviews .star.filled {
    color: var(--gc-success);
}

.sidebar-reviews .review-score {
    font-size: 13px;
    color: var(--gc-text-light);
    margin: 0;
}

/* Category Description */
.giftcard-category-description {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--gc-border);
}

.giftcard-category-description h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px;
    color: var(--gc-text);
}

.giftcard-category-description .description-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gc-text-light);
}

/* No Products */
.giftcard-no-products {
    text-align: center;
    padding: 60px 20px;
    background: var(--gc-bg);
    border-radius: var(--gc-radius);
}

/* ==========================================================================
   Single Product Page (PDP)
   ========================================================================== */

.giftcard-pdp-container {
    background: var(--gc-bg);
    padding: 30px 0 60px;
}

.giftcard-pdp-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

/* Gallery */
.giftcard-pdp-gallery {
    position: relative;
}

.giftcard-main-image {
    background: var(--gc-white);
    border-radius: var(--gc-radius);
    padding: 40px;
    box-shadow: var(--gc-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.giftcard-main-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.giftcard-brand-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gc-white);
    border-radius: var(--gc-radius);
    padding: 10px;
    box-shadow: var(--gc-shadow);
}

.giftcard-brand-badge img {
    height: 30px;
    width: auto;
}

/* Summary */
.giftcard-pdp-summary {
    background: var(--gc-white);
    border-radius: var(--gc-radius);
    padding: 30px;
    box-shadow: var(--gc-shadow);
}

.giftcard-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gc-bg);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}

.partner-logo-small {
    height: 20px;
    width: auto;
}

.giftcard-product-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px;
    color: var(--gc-text);
    line-height: 1.2;
}

.giftcard-rating {
    margin-bottom: 20px;
}

/* Price Section */
.giftcard-price-section {
    background: var(--gc-bg);
    border-radius: var(--gc-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.giftcard-main-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--gc-text);
    margin-bottom: 5px;
}

.giftcard-price-detail {
    font-size: 14px;
    color: var(--gc-text-light);
    margin-bottom: 5px;
}

.giftcard-vat-notice {
    font-size: 12px;
    color: var(--gc-success);
    font-weight: 500;
}

/* Stock Status */
.giftcard-stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
}

.giftcard-stock-status.in-stock {
    color: var(--gc-success);
}

.giftcard-stock-status.out-of-stock {
    color: var(--gc-danger);
}

/* Region Indicator (Nederland) */
.giftcard-region-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gc-text-light);
}

.giftcard-region-indicator .region-flag {
    font-size: 16px;
    line-height: 1;
}

.giftcard-region-indicator .region-name {
    font-weight: 500;
    color: var(--gc-text);
}

.giftcard-region-indicator .region-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gc-text-light);
    cursor: help;
}

.giftcard-region-indicator .region-info-icon svg {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.giftcard-region-indicator .region-info-icon:hover svg,
.giftcard-region-indicator .region-info-icon:focus svg {
    opacity: 1;
}

/* Tooltip */
.giftcard-region-indicator .region-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Tooltip arrow */
.giftcard-region-indicator .region-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
}

.giftcard-region-indicator .region-info-icon:hover .region-tooltip,
.giftcard-region-indicator .region-info-icon:focus .region-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Denomination Selector */
.giftcard-denomination-selector {
    margin: 25px 0;
}

.giftcard-denomination-selector h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--gc-text);
}

/* Button Style (Dundle) */
.denomination-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.denomination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 14px 20px;
    border: 2px solid var(--gc-border);
    border-radius: var(--gc-radius);
    background: var(--gc-white);
    text-decoration: none;
    color: var(--gc-text);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.denomination-btn:hover {
    border-color: var(--gc-primary);
    color: var(--gc-primary);
    background: var(--gc-white);
}

.denomination-btn.active {
    border-color: var(--gc-primary);
    background: var(--gc-primary);
    color: var(--gc-white);
}

.denomination-btn.active:hover {
    background: var(--gc-primary-hover);
    border-color: var(--gc-primary-hover);
    color: var(--gc-white);
}

/* ==========================================================================
   Giftcard Versions Dropdown (Norton-style for PDP V2)
   ========================================================================== */

.giftcard-versions-dropdown {
    margin-bottom: 20px;
}

.giftcard-dropdown-wrapper {
    position: relative;
}

/* Trigger Button */
.giftcard-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: var(--gc-white);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius);
    cursor: pointer;
    transition: border-color 0.2s ease;
    text-align: left;
}

.giftcard-dropdown-trigger:hover {
    border-color: #999;
}

/* When open: connect trigger to list (no gap, no bottom border-radius) */
.giftcard-dropdown-trigger[aria-expanded="true"] {
    border-color: var(--gc-border);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.giftcard-dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-trigger-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-trigger-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gc-text);
}

.dropdown-trigger-desc {
    font-size: 13px;
    color: var(--gc-text-light);
}

.dropdown-chevron {
    color: var(--gc-text);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

/* Dropdown List - Connected to trigger (no gap) */
.giftcard-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gc-white);
    border: 1px solid var(--gc-border);
    border-top: none;
    border-radius: 0 0 var(--gc-radius) var(--gc-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

/* Dropdown Items */
.giftcard-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--gc-text);
    border-bottom: 1px solid var(--gc-border);
    transition: background 0.15s ease;
}

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

.giftcard-dropdown-item:hover {
    background: #f5f5f5;
}

/* Active/Selected Item - Light blue background like Norton */
.giftcard-dropdown-item.active {
    background: #e3f2fd;
}

.giftcard-dropdown-item.active:hover {
    background: #d0e8fa;
}

/* Item Image */
.giftcard-dropdown-item .dropdown-item-image {
    width: 55px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--gc-bg);
}

.giftcard-dropdown-item .dropdown-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Item Info */
.giftcard-dropdown-item .dropdown-item-info {
    flex: 1;
    min-width: 0;
}

.giftcard-dropdown-item .dropdown-item-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gc-text);
    margin-bottom: 2px;
}

.giftcard-dropdown-item .dropdown-item-desc {
    display: block;
    font-size: 13px;
    color: var(--gc-text-light);
    line-height: 1.3;
}

/* Item Price */
.giftcard-dropdown-item .dropdown-item-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

/* Sale price styling */
.giftcard-dropdown-item .dropdown-item-price .price-sale {
    color: #dc2626;
    font-weight: 700;
}

.giftcard-dropdown-item .dropdown-item-price .price-regular {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 400;
}

.giftcard-dropdown-item .dropdown-item-price .price-regular del {
    text-decoration: line-through;
}

/* Most Chosen - no special background */
.giftcard-dropdown-item.most-chosen {
    /* No background styling */
}

/* Meest gekozen badge - pill style like "Inclusief Antivirus" */
.dropdown-item-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ea580c;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Shield/check icon before text */
.dropdown-item-ribbon::before {
    content: "✓";
    font-size: 11px;
    font-weight: 700;
}

/* Legacy badge - keep for backwards compatibility */
.dropdown-item-badge {
    display: none;
}

/* ==========================================================================
   Dropdown Image Style (Trigger with product image)
   ========================================================================== */

.giftcard-dropdown-image-style .giftcard-dropdown-trigger-image {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
}

/* Trigger Image */
.giftcard-dropdown-trigger-image .dropdown-trigger-image {
    width: 55px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--gc-bg);
}

.giftcard-dropdown-trigger-image .dropdown-trigger-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Trigger Content in Image Style */
.giftcard-dropdown-trigger-image .dropdown-trigger-content {
    flex: 1;
    min-width: 0;
}

.giftcard-dropdown-trigger-image .dropdown-trigger-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gc-text);
    display: block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.giftcard-dropdown-trigger-image .dropdown-trigger-desc {
    font-size: 13px;
    color: var(--gc-text-light);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Connected dropdown - same rules apply */
.giftcard-dropdown-image-style .giftcard-dropdown-trigger[aria-expanded="true"] {
    border-color: var(--gc-border);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

/* ==========================================================================
   Product Versions Dropdown Styles (for linked products & variations)
   ========================================================================== */

.versions-dropdown-style {
    margin-bottom: 20px;
}

.versions-dropdown-wrapper {
    position: relative;
}

/* Trigger Button */
.versions-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: var(--gc-white);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius);
    cursor: pointer;
    transition: border-color 0.2s ease;
    text-align: left;
}

.versions-dropdown-trigger:hover {
    border-color: #999;
}

.versions-dropdown-trigger[aria-expanded="true"] {
    border-color: var(--gc-border);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.versions-dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

.versions-dropdown-trigger .dropdown-trigger-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.versions-dropdown-trigger .dropdown-trigger-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gc-text);
}

.versions-dropdown-trigger .dropdown-trigger-desc {
    font-size: 13px;
    color: var(--gc-text-light);
}

/* Trigger with Image */
.versions-dropdown-trigger-image {
    gap: 14px;
    padding: 12px 16px;
}

.versions-dropdown-trigger-image .dropdown-trigger-image {
    width: 55px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--gc-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.versions-dropdown-trigger-image .dropdown-trigger-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.versions-dropdown-trigger-image .dropdown-trigger-placeholder {
    color: var(--gc-text-light);
}

/* Dropdown List */
.versions-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gc-white);
    border: 1px solid var(--gc-border);
    border-top: none;
    border-radius: 0 0 var(--gc-radius) var(--gc-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

/* Dropdown Items */
.versions-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--gc-text);
    border: none;
    border-bottom: 1px solid var(--gc-border);
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

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

.versions-dropdown-item:hover {
    background: #f5f5f5;
}

.versions-dropdown-item.active {
    background: #e3f2fd;
}

.versions-dropdown-item.active:hover {
    background: #d0e8fa;
}

.versions-dropdown-item .dropdown-item-image {
    width: 55px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--gc-bg);
}

.versions-dropdown-item .dropdown-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.versions-dropdown-item .dropdown-item-info {
    flex: 1;
    min-width: 0;
}

.versions-dropdown-item .dropdown-item-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gc-text);
    margin-bottom: 2px;
}

.versions-dropdown-item .dropdown-item-desc {
    display: block;
    font-size: 13px;
    color: var(--gc-text-light);
    line-height: 1.3;
}

.versions-dropdown-item .dropdown-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #e65100;
    white-space: nowrap;
}

/* ==========================================================================
   Denomination Selector (for standalone giftcard pages)
   ========================================================================== */

/* Dropdown Style */
.denomination-dropdown-wrapper {
    position: relative;
}

.denomination-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: var(--gc-white);
    border: 2px solid var(--gc-border);
    border-radius: var(--gc-radius);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.denomination-dropdown-trigger:hover,
.denomination-dropdown-trigger[aria-expanded="true"] {
    border-color: var(--gc-primary);
}

.denomination-dropdown-trigger[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-current {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--gc-text);
}

.dropdown-price {
    font-size: 14px;
    color: var(--gc-text-light);
}

.dropdown-arrow {
    color: var(--gc-text-light);
    transition: transform 0.2s ease;
}

.denomination-dropdown-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--gc-white);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 100;
    max-height: 350px;
    overflow-y: auto;
}

.denomination-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--gc-text);
    border-bottom: 1px solid var(--gc-border);
    transition: background 0.15s ease;
}

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

.denomination-dropdown-item:hover {
    background: var(--gc-bg);
}

.denomination-dropdown-item.active {
    background: rgba(34, 113, 177, 0.08);
    border-left: 3px solid var(--gc-primary);
}

.dropdown-item-image {
    width: 50px;
    height: 35px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--gc-bg);
}

.dropdown-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dropdown-item-info {
    flex: 1;
    min-width: 0;
}

.dropdown-item-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gc-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-item-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--gc-primary);
    white-space: nowrap;
}

/* Add to Cart */
.giftcard-add-to-cart {
    margin-bottom: 25px;
}

.giftcard-add-to-cart-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gc-primary);
    color: var(--gc-white);
    border: none;
    padding: 16px 24px;
    border-radius: var(--gc-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.giftcard-add-to-cart-btn:hover {
    background: var(--gc-primary-hover);
}

.giftcard-add-to-cart-btn.disabled {
    background: var(--gc-border);
    color: var(--gc-text-light);
    cursor: not-allowed;
}

/* USPs on PDP */
.giftcard-usps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.giftcard-usp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gc-text);
}

.giftcard-usp-item svg {
    color: var(--gc-success);
    flex-shrink: 0;
}

/* Payment Methods */
.giftcard-payment-methods {
    border-top: 1px solid var(--gc-border);
    padding-top: 20px;
}

.payment-label {
    font-size: 12px;
    color: var(--gc-text-light);
    display: block;
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons img {
    height: 24px;
    width: auto;
}

/* Instructions */
.giftcard-instructions {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.giftcard-instructions > div {
    background: var(--gc-white);
    border-radius: var(--gc-radius);
    padding: 30px;
    box-shadow: var(--gc-shadow);
}

.giftcard-instructions h3 {
    font-size: 20px;
    margin: 0 0 20px;
}

.instructions-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gc-text);
}

/* Description */
.giftcard-description {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

/* Reviews Section */
.giftcard-reviews-section {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.giftcard-reviews-section h3 {
    font-size: 20px;
    margin: 0 0 20px;
}

/* Related Products */
.giftcard-related-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.giftcard-related-section h3 {
    font-size: 20px;
    margin: 0 0 20px;
}

.giftcard-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ==========================================================================
   Product Card (for grids/related)
   ========================================================================== */

.giftcard-product-card {
    background: var(--gc-white);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.giftcard-product-card:hover {
    border-color: var(--gc-primary);
    box-shadow: var(--gc-shadow-hover);
}

.giftcard-card-image {
    display: block;
    padding: 20px;
    background: var(--gc-bg);
}

.giftcard-card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.giftcard-card-info {
    padding: 15px;
    flex: 1;
}

.giftcard-card-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gc-text);
    text-decoration: none;
    margin-bottom: 8px;
}

.giftcard-card-purchase {
    padding: 15px;
    border-top: 1px solid var(--gc-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.giftcard-card-price .price-amount {
    font-size: 18px;
    font-weight: 700;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .giftcard-archive-container {
        grid-template-columns: 1fr;
    }

    .giftcard-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

@media (max-width: 768px) {
    .giftcard-pdp-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .giftcard-main-image {
        min-height: 300px;
    }

    .giftcard-product-row {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .product-row-action {
        grid-column: 1 / -1;
        justify-content: space-between;
        padding-top: 15px;
        border-top: 1px solid var(--gc-border);
        margin-top: 10px;
    }

    .giftcard-sidebar {
        grid-template-columns: 1fr;
    }

    .giftcard-usps {
        grid-template-columns: 1fr;
    }

    .giftcard-related-grid {
        grid-template-columns: 1fr;
    }

    .product-row-features {
        flex-direction: column;
        gap: 8px;
    }

    /* Denomination selector mobile */
    .denomination-buttons {
        gap: 8px;
    }

    .denomination-btn {
        min-width: 60px;
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .giftcard-archive-wrapper,
    .giftcard-pdp-container {
        padding: 15px 0 40px;
    }

    .giftcard-page-title {
        font-size: 22px;
    }

    .giftcard-product-row {
        padding: 12px 15px;
    }

    .product-row-image {
        width: 70px;
        height: 50px;
    }

    .product-row-title {
        font-size: 14px;
    }

    .product-row-price {
        font-size: 18px;
    }

    .giftcard-buy-btn {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 100px;
    }

    /* Denomination selector small screens */
    .denomination-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .denomination-btn {
        min-width: unset;
        padding: 10px 12px;
        font-size: 13px;
    }

    .denomination-dropdown-trigger {
        padding: 12px 14px;
    }

    .dropdown-value {
        font-size: 14px;
    }

    .dropdown-item-image {
        width: 40px;
        height: 28px;
    }
}

/* ==========================================================================
   Giftcard Instructions - Accordion & Tab Styles
   ========================================================================== */

/* Accordion Content Styling */
.giftcard-instructions-content {
    padding: 5px 0;
}

.giftcard-instructions-content ol,
.giftcard-instructions-content ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: step-counter;
}

.giftcard-instructions-content ol li {
    counter-increment: step-counter;
    position: relative;
    padding: 12px 0 12px 40px;
    border-bottom: 1px solid var(--gc-border);
    font-size: 14px;
    line-height: 1.5;
}

.giftcard-instructions-content ol li:last-child {
    border-bottom: none;
}

.giftcard-instructions-content ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 12px;
    width: 26px;
    height: 26px;
    background: var(--gc-primary);
    color: var(--gc-white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.giftcard-instructions-content ul li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid var(--gc-border);
    font-size: 14px;
    line-height: 1.5;
}

.giftcard-instructions-content ul li:last-child {
    border-bottom: none;
}

.giftcard-instructions-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--gc-success);
    font-weight: 700;
    font-size: 14px;
}

.giftcard-instructions-content p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gc-text-light);
}

.giftcard-instructions-content p:last-child {
    margin-bottom: 0;
}

/* Tab Content Styling */
.pdp-v2-giftcard-howto {
    padding: 20px 0;
}

.pdp-v2-giftcard-howto h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--gc-text);
    margin: 0 0 24px;
}

.giftcard-howto-content {
    background: var(--gc-bg);
    border-radius: var(--gc-radius);
    padding: 24px 28px;
}

.giftcard-howto-content ol,
.giftcard-howto-content ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: step-counter;
}

.giftcard-howto-content ol li {
    counter-increment: step-counter;
    position: relative;
    padding: 16px 0 16px 50px;
    border-bottom: 1px solid var(--gc-border);
    font-size: 15px;
    line-height: 1.6;
}

.giftcard-howto-content ol li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.giftcard-howto-content ol li:first-child {
    padding-top: 0;
}

.giftcard-howto-content ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 14px;
    width: 32px;
    height: 32px;
    background: var(--gc-primary);
    color: var(--gc-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.giftcard-howto-content ol li:first-child::before {
    top: 0;
}

.giftcard-howto-content ul li {
    position: relative;
    padding: 12px 0 12px 36px;
    border-bottom: 1px solid var(--gc-border);
    font-size: 15px;
    line-height: 1.6;
}

.giftcard-howto-content ul li:last-child {
    border-bottom: none;
}

.giftcard-howto-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--gc-success);
    font-weight: 700;
    font-size: 18px;
}

.giftcard-howto-content p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gc-text);
}

.giftcard-howto-content p:last-child {
    margin-bottom: 0;
}

/* Mobile adjustments for instructions */
@media (max-width: 768px) {
    .giftcard-howto-content {
        padding: 20px;
    }

    .giftcard-howto-content ol li {
        padding-left: 42px;
        font-size: 14px;
    }

    .giftcard-howto-content ol li::before {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .pdp-v2-giftcard-howto h2 {
        font-size: 20px;
    }
}

/* ==========================================================================
   Rich Content Section (Category Description)
   ========================================================================== */

.giftcard-category-description {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gc-border);
}

.giftcard-category-description .rich-content,
.giftcard-category-description .description-content.rich-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gc-text);
    max-height: none;
    overflow: visible;
}

.giftcard-category-description .description-content.rich-content::after {
    display: none;
}

.giftcard-category-description .rich-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gc-text);
    margin: 32px 0 16px;
}

.giftcard-category-description .rich-content h2:first-child {
    margin-top: 0;
}

.giftcard-category-description .rich-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gc-text);
    margin: 28px 0 12px;
}

.giftcard-category-description .rich-content p {
    margin: 0 0 16px;
}

.giftcard-category-description .rich-content ul,
.giftcard-category-description .rich-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.giftcard-category-description .rich-content ul {
    list-style: disc;
}

.giftcard-category-description .rich-content ul li,
.giftcard-category-description .rich-content ol li {
    padding: 4px 0;
    margin: 0;
}

.giftcard-category-description .rich-content ul li::marker {
    color: var(--gc-text-light);
}

.giftcard-category-description .rich-content ol {
    list-style: decimal;
}

.giftcard-category-description .rich-content ol li::marker {
    color: var(--gc-text-light);
}

.giftcard-category-description .rich-content strong {
    font-weight: 600;
    color: var(--gc-text);
}

.giftcard-category-description .rich-content a {
    color: var(--gc-primary);
    text-decoration: underline;
}

.giftcard-category-description .rich-content a:hover {
    text-decoration: none;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */

.giftcard-faq-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gc-border);
}

.faq-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gc-text);
    margin: 0 0 24px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--gc-bg);
    border-radius: var(--gc-radius);
    overflow: hidden;
    border: 1px solid var(--gc-border);
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: #c3c4c7;
}

.faq-item.is-open {
    /* No border color change when open */
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
}

.faq-question-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--gc-text);
    line-height: 1.4;
}

.faq-toggle-icon {
    flex-shrink: 0;
    color: var(--gc-text-light);
    transition: transform 0.2s ease;
}

.faq-item.is-open .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--gc-primary);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-answer-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gc-text-light);
    padding-top: 0;
    border-top: 1px solid var(--gc-border);
    padding-top: 16px;
}

.faq-answer-content p {
    margin: 0 0 12px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content a {
    color: var(--gc-primary);
    text-decoration: underline;
}

.faq-answer-content a:hover {
    text-decoration: none;
}

/* FAQ Mobile */
@media (max-width: 768px) {
    .giftcard-faq-section {
        margin-top: 30px;
        padding-top: 30px;
    }

    .faq-section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 16px 16px;
    }

    .faq-answer-content {
        font-size: 14px;
    }

    .giftcard-category-description {
        margin-top: 30px;
        padding-top: 30px;
    }

    .giftcard-category-description .rich-content h2 {
        font-size: 20px;
    }

    .giftcard-category-description .rich-content h3 {
        font-size: 18px;
    }
}
