/* Single Deal Post Styles */
.wp-deals-single-post {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px 20px; */
}

.wp-deals-single-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ROW 1: Breadcrumb */
.wp-deals-breadcrumb-row {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wp-deals-breadcrumb {
    font-size: 14px;
    color: #666;
}

.wp-deals-breadcrumb a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wp-deals-breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.wp-deals-breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.wp-deals-breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* ROW 2: Image + Details */
.wp-deals-main-row {
    display: flex;
    gap: 30px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.wp-deals-image-col {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wp-deals-image-col.has-pin-icon {
    position: relative;
}

.wp-deals-image-col img {
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.wp-deals-no-image {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    background: #f8f9fa;
    border-radius: 10px;
}

.wp-deals-no-image .deal-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 15px;
}

/* Pin Icon on Single Deal Image */
.wp-deals-pin-icon {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 100;
    border: 3px solid #fff;
}

.wp-deals-pin-icon:hover {
    transform: scale(1.15);
}

.wp-deals-details-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wp-deals-deal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.wp-deals-price-section {
    background: #f8f9fa;
    padding: 10px 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.wp-deals-price-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.wp-deals-price-left {
    flex: 1;
    min-width: 120px;
}

.wp-deals-price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.wp-deals-price-label {
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.wp-deals-offer-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 5px;
}

.wp-deals-mrp-line {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.wp-deals-mrp-value {
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
}

.wp-deals-discount-line {
    font-size: 16px;
    color: #dc2626;
    font-weight: 600;
}

.wp-deals-badge-store-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wp-deals-price-store-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.wp-deals-store-logo {
    max-width: 80px;
    height: auto;
}

.wp-deals-discount-badge-box {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 6px 12px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.wp-deals-cta {
    margin: 10px 0;
}

.wp-deals-disclaimer {
    /* margin-top: 15px; */
}

.wp-deals-disclaimer-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .wp-deals-disclaimer-image {
        border-radius: 6px;
    }
}

/* ROW 3: Social Buttons (Right Aligned) */
.wp-deals-social-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.05); */
}

.wp-deals-social-label {
    font-weight: 600;
    color: #666;
    font-size: 18px;
}

.wp-deals-social-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wp-deals-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 30px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.wp-deals-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.wp-deals-social-btn .social-name {
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    /* text-transform: uppercase; */
}

/* ROW 4: Pricing Details (Text) */
.wp-deals-pricing-details-row {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.wp-deals-pricing-details-row h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
}

.wp-deals-pricing-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.wp-deals-pricing-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.wp-deals-pricing-text a:hover {
    text-decoration: underline;
}

/* ROW 5: Deal Post Detail */
.wp-deals-detail-row {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.wp-deals-detail-row h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
}

.wp-deals-content-block {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.wp-deals-content-block h2{
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

@media (max-width: 768px) {

    .wp-deals-content-block {
        font-size: 14px;
        margin-bottom: 0px;
    }

    .wp-deals-content-block h2 {
        font-size: 15px;
        font-weight: 700 !important;
    }

    .wp-deals-detail-row h3, .wp-deals-pricing-details-row h3, .wp-deals-related-row h3 {
        font-size: 1rem !important;
    }
}

.wp-deals-taxonomies-block {
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.wp-deals-taxonomy-section {
    /* margin-bottom: 20px; */
}

.wp-deals-taxonomy-section strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
}

.wp-deals-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wp-deals-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.category-badge {
    background: #e3f2fd;
    color: #1976d2;
}

.category-badge:hover {
    background: #1976d2;
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.tag-badge {
    background: #fff3e0;
    color: #f57c00;
}

.tag-badge:hover {
    background: #f57c00;
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.label-badge {
    color: #fff;
}

.label-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    text-decoration: none;
}

.wp-deals-coupon-box {
    display: flex;
    align-items: center;
    /* gap: 10px; */
    /* background: #f0f9ff; */
    /* border: 2px dashed #007bff; */
    /* border-radius: 10px; */
    /* padding: 10px; */
}

.wp-deals-coupon-code {
    background: #2e2e2e;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-family: monospace;
    font-weight: 700;
    font-size: 16px;
}

.wp-deals-copy-btn {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.wp-deals-copy-btn:hover {
    background: #059669;
}

/* ROW 6: Related Deals */
.wp-deals-related-row {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.wp-deals-related-row h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
}

/* ROW 7: Hot Deals (list) */
.wp-deals-hot-deals-row {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.wp-deals-hot-deals-row h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
}

.wp-deals-hot-deals-row .wp-deals-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.wp-deals-hot-deals-row .wp-deals-list-item {
    margin: 0;
    padding: 8px 0;
    line-height: 1;
    font-size: 13px;
}

.wp-deals-hot-deals-row .wp-deals-list-item + .wp-deals-list-item {
    border-top: 1px solid #e9ecef;
}

.wp-deals-hot-deals-row .wp-deals-list-item a {
    color: #393939;;
    text-decoration: none;
    /* font-weight: bold; */
}

.wp-deals-hot-deals-row .wp-deals-list-item a:hover {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

/* RESPONSIVE: Mobile (≤768px) */
@media (max-width: 768px) {
    .wp-deals-single-post {
       padding: 1px 0px;
    }
    
    .wp-deals-main-row {
        flex-direction: column;
        padding: 20px;
    }
    
    .wp-deals-image-col {
        flex: 1;
    }
    
    /* Reduce image size by 50% on mobile */
    .wp-deals-image-col img {
        max-width: 140px !important;
    }
    
    .wp-deals-price-section {
        padding: 15px !important;
    }
    
    .wp-deals-price-content {
        /* flex-direction: column !important; */
        gap: 15px !important;
    }
    
    .wp-deals-price-right {
        align-items: flex-start !important;
        width: 100% !important;
        gap: 10px !important;
    }
    
    .wp-deals-badge-store-row {
        gap: 8px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    /* Make store logo smaller on mobile */
    .wp-deals-store-logo {
        max-width: 80px !important;
    }
    
    /* Make discount badge smaller on mobile */
    .wp-deals-discount-badge-box {
        padding: 4px 10px !important;
        font-size: 12px !important;
        border-radius: 15px !important;
        white-space: nowrap !important;
    }
    
    /* Reduce deal title size on mobile */
    .wp-deals-deal-title {
        font-size: 1rem !important;
    }
    
    /* Reduce offer price size on mobile */
    .wp-deals-offer-price {
        font-size: 1.2rem !important;
    }
    
    .wp-deals-price-label {
        font-size: 13px !important;
    }
    
    .wp-deals-mrp-line {
        font-size: 12px !important;
    }
    
    .wp-deals-mrp-value {
        font-size: 13px !important;
    }
    
    .wp-deals-social-row {
        flex-direction: row;
        /* align-items: flex-start; */
        padding: 0 !important;
    }
    
    .wp-deals-social-buttons {
        /* width: 100%; */
        justify-content: flex-start;
    }
    
    .wp-deals-pricing-details-row,
    .wp-deals-detail-row,
    .wp-deals-related-row,
    .wp-deals-hot-deals-row {
        padding: 20px;
    }
    
    .wp-deals-single-title {
        font-size: 1.8rem;
    }
    
    .wp-deals-single-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .wp-deals-single-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .wp-deals-price-card {
        position: static;
    }

    .wp-deals-single-container {
        gap: 10px;
    }

    .wp-deals-social-label {
        font-size: 15px;
    }

    .wp-deals-social-btn {
        width: 75px;
        height: 28px;
       
    }

    .wp-deals-social-btn .social-name {
        font-size: 12px;
    }

    .wp-deals-pricing-text {
        font-size: 12px;
    }
    
    .wp-deals-details-col {
        gap: 10px;
    }
    
}

/* DESKTOP OPTIMIZATION: Large Screens (≥769px) */
@media (min-width: 769px) {
 
}

/* Floating Shop Now Button */
.wp-deals-floating-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.wp-deals-floating-button.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.wp-deals-floating-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
}

.wp-deals-floating-image {
    min-width: 60px;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-deals-floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-deals-floating-no-image {
    font-size: 24px;
}

.wp-deals-floating-details {
    flex: 1;
    min-width: 150px;
}

.wp-deals-floating-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.wp-deals-floating-prices {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wp-deals-floating-mrp {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.wp-deals-floating-price {
    font-size: 16px;
    font-weight: 700;
    color: #008000;
}

.wp-deals-floating-shop-btn {
    background: #000000;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s ease;
    display: inline-block;
    cursor: pointer;
}

.wp-deals-floating-shop-btn:hover {
    background: #333333;
    color: white;
}



.wp-deals-timer-row-single-deal .wp-deals-timer-icon {
    font-size: 12px;
    padding-top: 10px;
    margin-left: 2px;
}

.wp-deals-timer-text-single {
    font-size: 11px;
    color: #888;
    padding-top: 10px;
}

.wp-deals-timer-row-single-deal {
    display: flex; 
    white-space: nowrap;
    min-height: 18px;
    width: 100%;
}

@media (max-width: 768px) {

    
    .wp-deals-timer-icon {
        font-size: 12px;
    }
    
    .wp-deals-timer-text-single {
        font-size: 12px;
        margin-left: 2px;
    }
}

/* Mobile responsive floating button */
@media (max-width: 768px) {
    .wp-deals-floating-content {
        gap: 10px;
    }
    
    .wp-deals-floating-image {
        min-width: 50px;
        width: 50px;
        height: 50px;
    }
    
    .wp-deals-floating-title {
        font-size: 13px;
    }
    
    .wp-deals-floating-price {
        font-size: 14px;
    }
    
    .wp-deals-floating-shop-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    
    .wp-deals-price-left {
        min-width: 90px;
    }
    
    .wp-deals-floating-button {
        padding: 8px 12px;
    }
    
    .wp-deals-floating-content {
        gap: 8px;
    }
    
    .wp-deals-floating-image {
        min-width: 45px;
        width: 45px;
        height: 45px;
    }
    
    .wp-deals-floating-details {
        min-width: auto;
    }
    
    .wp-deals-floating-title {
        font-size: 12px;
    }
    
    .wp-deals-floating-mrp {
        font-size: 11px;
    }
    
    .wp-deals-floating-price {
        font-size: 13px;
    }
    
    .wp-deals-floating-shop-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .wp-deals-coupon-code {
        width: 100%;
        font-size: 11px;
    }
}
