/* Store Header */
.store-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #dee2e6;
}

/* Affiliate Disclaimer */
.affiliate-disclaimer {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 20px 0;
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.affiliate-disclaimer i {
    color: #0D6EFD;
    font-size: 1rem;
}

/* Store Info */
.store-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

.store-logo-wrapper {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.store-logo-wrapper:hover {
    transform: translateY(-5px);
}

.store-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 170px;
    max-height: 170px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.store-details {
    flex: 1;
}

.store-details h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.store-details .lead {
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Coupons Header */
.coupons-header h2 {
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.coupons-header .text-primary {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Coupon Cards - Horizontal Style */
.coupons-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coupon-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.coupon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.coupon-content {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
}

.discount-badge {
    width: 80px;
    height: 80px;
    background: #0D6EFD;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
    flex-shrink: 0;
}

.coupon-info {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.coupon-details {
    flex: 1;
}

.coupon-title {
    font-size: 1.1rem;
    color: #2d3436;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 6px;
}

.coupon-description {
    color: #636e72;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 8px;
}

.verified-badge {
    color: #0D6EFD;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-badge i {
    margin-right: 5px;
}

.code-section {
    min-width: 250px;
    border-left: 2px dashed #e9ecef;
    padding-left: 25px;
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 100%;
}

.coupon-btn {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.show-code-btn {
    position: relative;
    width: 100%;
    height: 42px;
    background: #3b82f6;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.15);
}

.btn-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 0 15px 0 20px;
    background: #3b82f6;
    transition: all 0.2s ease;
}

.code-text {
    position: relative;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #ffffff;
    color: #333;
    font-family: monospace;
    font-size: 16px;
    font-weight: 500;
    padding: 0 10px;
    transition: all 0.2s ease;
    border: none;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%233B82F6' stroke-width='2.5' stroke-dasharray='6%2c 6' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    margin: 0;
}

.half-char-container {
    position: relative;
    width: 6px;
    overflow: hidden;
    margin: 0;
    display: flex;
    align-items: center;
}

.half-char {
    position: relative;
    display: inline-block;
    transform: translateX(-50%);
    color: #333;
    margin: 0;
}

.last-chars {
    color: #333;
    margin-left: 4px;
    display: flex;
    align-items: center;
}

.code-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-image: url("data:image/svg+xml,%3csvg width='2' height='12' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='0' x2='1' y2='12' stroke='%233B82F6' stroke-width='2' stroke-dasharray='3%2c 3'/%3e%3c/svg%3e");
    background-repeat: repeat-y;
}

.show-code-btn:hover .code-text {
    min-width: 65px;
    background: #ffffff;
    justify-content: flex-end;
    padding: 0 10px;
}

.show-code-btn:hover .half-char-container {
    width: 12px;
    overflow: visible;
    margin: 0;
}

.show-code-btn:hover .half-char {
    transform: translateX(0);
}

.show-code-btn.revealed .code-text {
    min-width: auto;
    width: auto;
    padding: 0 12px;
    font-size: 17px;
    background-image: none;
    border: 2.5px solid #16a34a;
    border-left: none;
    color: #333;
    background-color: #f0fdf4;
}

.show-code-btn.revealed .half-char,
.show-code-btn.revealed .last-chars {
    color: #333;
}

.show-code-btn:hover {
    background: #2563eb;
}

.show-code-btn:hover .btn-text {
    background: #2563eb;
}

.show-code-btn:hover .code-text {
    min-width: 65px;
    background: #ffffff;
}

.show-code-btn.revealed {
    background: #16a34a;
}

.show-code-btn.revealed .btn-text {
    background: #16a34a;
}

.show-code-btn.revealed .code-text {
    min-width: auto;
    padding: 0 15px;
    border-left: none;
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .code-section {
        min-width: unset;
        width: 100%;
        border-left: none;
        border-top: 2px dashed #e9ecef;
        padding: 15px 0 0 0;
        margin: 15px 0 0 0;
    }

    .coupon-btn {
        padding: 10px 0;
    }

    .show-code-btn {
        height: 38px;
    }

    .code-text {
        min-width: 40px;
        font-size: 15px;
        padding: 0 8px 0 0;
    }

    .show-code-btn:hover .code-text {
        min-width: 45px;
    }

    .show-code-btn.revealed .code-text {
        font-size: 16px;
    }

    .btn-text {
        font-size: 13px;
    }

    .half-char {
        font-size: 15px;
        width: 15px;
    }

    .half-char-container {
        width: 5px;
    }
}

.deal-button {
    background: #0D6EFD;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.deal-button:hover {
    background: #0b5ed7;
    color: white;
    text-decoration: none;
}

/* Store Info Section */
.store-info-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.section-header {
    text-align: center;
    position: relative;
    margin-bottom: 35px;
    padding-bottom: 15px;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 1.6rem;
    font-weight: 600;
    display: inline-block;
    background: white;
    padding: 0 25px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.section-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(13, 110, 253, 0.15);
    z-index: 0;
}

.seo-content {
    color: #2d3748;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
}

.seo-content h3 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.seo-content p {
    margin-bottom: 20px;
}

.seo-content a {
    color: #0D6EFD;
    text-decoration: none;
    transition: all 0.3s ease;
}

.seo-content a:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .store-header {
        padding: 20px 0;
    }

    .store-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .store-logo-wrapper {
        width: 120px;
        height: 120px;
        padding: 10px;
        margin: 0 auto;
    }

    .store-logo {
        max-width: 100px;
        max-height: 100px;
    }

    .store-details h1 {
        font-size: 1.8rem;
    }

    .store-details .lead {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    /* Coupon Card Mobile Styles */
    .coupon-content {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 15px;
        text-align: center;
    }

    .discount-badge {
        width: 70px;
        height: 70px;
        font-size: 14px;
        padding: 6px;
    }

    .coupon-info {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .coupon-details {
        width: 100%;
    }

    .coupon-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .coupon-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .code-section {
        width: 100%;
        min-width: unset;
        border-left: none;
        border-top: 2px dashed #e9ecef;
        padding: 15px 0 0 0;
        margin: 0;
    }

    .code-display {
        padding: 10px;
    }

    .code-mask {
        font-size: 16px;
    }

    .show-code, .deal-button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .verified-badge {
        justify-content: center;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .store-logo-wrapper {
        width: 100px;
        height: 100px;
        padding: 8px;
    }

    .store-logo {
        max-width: 84px;
        max-height: 84px;
    }

    .coupon-content {
        padding: 12px;
        gap: 12px;
    }

    .discount-badge {
        width: 60px;
        height: 60px;
        font-size: 13px;
        padding: 5px;
    }

    .coupon-info {
        gap: 12px;
    }

    .coupon-title {
        font-size: 0.95rem;
    }

    .coupon-description {
        font-size: 0.8rem;
    }

    .code-section {
        padding: 12px 0 0 0;
    }

    .code-display {
        padding: 8px;
    }

    .code-mask {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .show-code, .deal-button {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

/* Coupon Highlights Section */
.highlights-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 20px;
    margin-top: 30px;
}

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

.highlight-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease;
    border: 1px solid #e9ecef;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.highlight-icon i {
    color: white;
    font-size: 16px;
}

.highlight-content h3 {
    color: #2c3e50;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.highlight-value {
    color: #007bff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.highlight-text {
    color: #6c757d;
    font-size: 0.75rem;
    margin: 0;
}

/* Responsive Design for Highlights */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .highlight-card {
        padding: 12px;
    }

    .highlight-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }

    .highlight-icon i {
        font-size: 14px;
    }

    .highlight-value {
        font-size: 1.1rem;
    }
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.breadcrumb-item {
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #0D6EFD;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #6c757d;
    padding: 0 8px;
}

.breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 500;
}

/* Responsive Breadcrumb */
@media (max-width: 576px) {
    .breadcrumb-nav {
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .breadcrumb-item {
        font-size: 13px;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px;
    }
}

.show-code-btn:hover .half-char-container {
    width: 12px;
    overflow: visible;
    margin: 0;
}

.show-code-btn:hover .half-char {
    transform: translateX(0);
    letter-spacing: 0;
}

.coupon-card.primary {
    border: none;
    background: linear-gradient(to right, #ffffff, #f8f9ff);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.coupon-card.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #007bff, #00c6ff);
}

.primary-badge {
    background: linear-gradient(45deg, #007bff, #00c6ff);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.coupon-card.primary .coupon-title {
    color: #007bff;
}

/* Coupon Feedback Modal Styles */
.coupon-code-display {
    font-size: 1.25rem;
    letter-spacing: 1px;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
}

#couponFeedbackModal .modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#couponFeedbackModal .modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

#couponFeedbackModal .modal-body {
    padding: 2rem;
}

#couponFeedbackModal .btn {
    transition: transform 0.2s;
    min-width: 160px;
}

#couponFeedbackModal .btn:hover {
    transform: translateY(-2px);
}

#couponFeedbackModal .btn i {
    margin-right: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

/* Enhanced Coupon Button Styles */
.coupon-button.revealed {
    background-color: #28a745;
    border-color: #28a745;
}

.coupon-button.revealed:hover {
    background-color: #218838;
    border-color: #1e7e34;
} 