/* ============================================
   PRODUCT DETAIL PAGE STYLES
   ============================================ */

/* Points Badge */
.badge-points {
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    z-index: 1;
}

.product-points-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffc107;
    font-weight: 500;
    font-size: 0.9rem;
}

    .product-points-compact svg {
        color: #ffc107;
        flex-shrink: 0;
    }

.detail-section-title {
    font-weight: 600;
    color: #705542;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Ver Mais Card */
.ver-mais-card {
    background: linear-gradient(135deg, #705542 0%, #8b6f47 100%);
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .ver-mais-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(112, 85, 66, 0.3);
    }

.ver-mais-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

    .ver-mais-content svg {
        color: #f4d9a6;
    }

    .ver-mais-content h5,
    .ver-mais-content p {
        color: white;
    }

/* ============================================
   MAIN PRODUCT IMAGE SECTION
   ============================================ */

.main-image-container {
    position: relative;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(112, 85, 66, 0.1);
    border: 2px solid #f5f1ed;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
}

/* Product Carousel */
.product-carousel {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(112, 85, 66, 0.1);
    border: 2px solid #f5f1ed;
    aspect-ratio: 1 / 1;
}

.product-carousel .carousel-inner,
.product-carousel .carousel-item {
    height: 100%;
}

.product-carousel .carousel-item img {
    height: 100%;
    object-fit: contain;
    background: white;
}

.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.2s;
}

.product-carousel:hover .carousel-control-prev,
.product-carousel:hover .carousel-control-next {
    opacity: 0.7;
}

.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    filter: invert(40%) sepia(20%) saturate(500%) hue-rotate(340deg);
}

.product-carousel .carousel-indicators [data-bs-slide-to] {
    background-color: #705542;
}

.image-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.badge-novo,
.badge-destaque {
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-novo {
    background: linear-gradient(135deg, #705542 0%, #8b6f47 100%);
    color: white;
}

.badge-destaque {
    background: #f4d9a6;
    color: #705542;
}

/* Thumbnails Grid */
.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}

.thumbnail-item {
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid #f5f1ed;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
}

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 5px;
        background: #fff;
    }

    .thumbnail-item:hover {
        border-color: #d4c4b0;
        transform: scale(1.05);
    }

    .thumbnail-item.active {
        border-color: transparent;
        box-shadow: none;
    }

    .thumbnail-item.active::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 5px;
        background: rgba(112, 85, 66, 0.18);
        backdrop-filter: brightness(0.92);
        pointer-events: none;
    }

    .thumbnail-item.thumbnail-placeholder {
        opacity: 0.5;
    }

/* ============================================
   PRODUCT INFO CARD
   ============================================ */

.product-info-card {
    background: white;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(112, 85, 66, 0.1);
    border: 2px solid #f5f1ed;
}

.product-info-card-transparent {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

/* Product Title */
.product-title-ref {
    font-size: 3rem;
    font-weight: 700;
    color: #705542;
    margin-bottom: 1rem;
}

.product-title-design {
    font-size: 2.5rem;
    font-weight: 700;
    color: #705542;
    margin-bottom: 1rem;
}

.product-title-packs {
    font-size: 2rem;
    font-weight: 700;
    color: #705542;
    margin-bottom: 1rem;
}

/* Product Meta Compact */
.product-meta-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Transport Info */
.transport-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.transport-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #705542;
    font-weight: 500;
}

    .transport-item svg {
        flex-shrink: 0;
        color: #705542;
    }

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    height: 3rem;
}

    .product-stock.in-stock {
        background-color: #059669;
        color: #ffffff;
    }

    .product-stock.out-of-stock {
        background-color: #dc2626;
        color: #ffffff;
    }

    .product-stock .stock-indicator {
        width: 10px;
        height: 10px;
        border-radius: 5px;
        background-color: #ffffff;
        animation: pulse-visible 1.5s ease-in-out infinite;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    }

    .product-stock .stock-text {
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        font-size: 0.8rem;
    }

    .product-stock svg {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
    }

@keyframes pulse-visible {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
        transform: scale(1.15);
    }
}

/* Product Price Compact - Align to Right */
.product-price-compact {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* Price Tag Shape */
.price-tag-wrapper {
    position: relative;
    width: 250px;
    height: 104px;
    margin-left: 8px;
    align-self: flex-start;
    filter: drop-shadow(2px 4px 7px rgba(112,85,66,0.28));
}

.price-tag-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.price-tag-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px 0 54px;
    text-align: right;
}

.price-tag-unit-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    line-height: 1;
}

.price-tag-unit-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #705542;
    letter-spacing: 0.02em;
}

.price-tag-label .price-main {
    font-size: 2.4rem;
    font-weight: 700;
    color: #705542;
    line-height: 1.1;
}

.price-tag-secondary {
    font-size: 0.8rem;
    color: #9c7a5e;
    margin-top: 4px;
    letter-spacing: 0.01em;
}

/* ============================================
   POINTS INFO - PROFESSIONAL & SIMPLE
   ============================================ */

.points-info-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

/* Points Earn Section */
.points-earn-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}

.points-icon {
    color: #fbbf24;
    flex-shrink: 0;
}

.points-earn-text {
    font-weight: 700;
    color: #705542;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Points Progress Section */
.points-progress-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.points-progress-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
    align-items: flex-start;
}

.points-balance-label {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    display: block;
    width: 100%;
}

.points-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #d1d5db;
}

/* REMOVED DUPLICATE - See line 431 for main definition */

@keyframes progress-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(112, 85, 66, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(112, 85, 66, 0.8);
    }
}

/* Points Progress Section - Inline Layout */
.points-progress-section-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.points-labels-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.points-labels-inline .points-earn-text {
    font-weight: 700;
    color: #705542;
    font-size: 0.875rem;
    white-space: nowrap;
}

.points-labels-inline .points-balance-label {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
}

.points-progress-bar-inline {
    flex: 1;
    height: 28px !important;
    background: #f4d9a6;
    border-radius: 5px;
    overflow: hidden !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 2px solid #e8c994;
    min-width: 150px;
    position: relative;
}

/* Labels inside progress bar */
.points-progress-labels {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem;
    pointer-events: none;
    z-index: 2;
}

.points-progress-start,
.points-progress-end {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.points-icon-small {
    width: 19px;
    height: 19px;
    vertical-align: top;
    display: inline-block;
}

.points-icon-medium {
    width: 30px;
    height: 30px;
    vertical-align: top;
    display: inline-block;
}

.points-icon-large {
    width: 40px;
    height: 40px;
    vertical-align: bottom;
    display: inline-block;
}

.points-progress-fill {
    position: absolute !important;
    top: 0;
    left: 0;
    height: 100% !important;
    min-width: 5%;
    background: linear-gradient(90deg, #b8956f 0%, #8b6f47 100%) !important;
    border-radius: 5px;
    transition: width 0.3s ease;
    z-index: 1 !important;
}

.points-progress-fill.can-claim {
    background: linear-gradient(90deg, #8b6f47 0%, #705542 100%) !important;
    animation: progress-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(112, 85, 66, 0.5);
}

/* Points Progress Section - Stacked Two-Row Layout */
.points-progress-section-stacked {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.points-labels-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.points-labels-row .points-earn-text {
    font-weight: 700;
    color: #705542;
    font-size: 1rem;
    white-space: nowrap;
}

.points-labels-row .points-balance-label {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
}

.points-progress-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.points-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.points-reward-img-wrapper {
    position: relative;
    flex-shrink: 0;
}

.points-reward-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 5px;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.points-reward-img:hover {
    border-color: #fbbf24;
    transform: scale(1.05);
}

.points-reward-tooltip {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%) translateX(-8px);
    background: white;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.points-reward-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1f2937;
}

.points-reward-img-wrapper:hover .points-reward-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

.points-reward-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.points-reward-cost-tooltip {
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.7rem;
}

.points-reward-cost {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}

.points-balance-only {
    margin-left: auto;
}

.points-login-link {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 600;
    color: #705542;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    background: #f5f1ed;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.points-login-link:hover {
    background: #e8e1d8;
    color: #5a4436;
}

/* ============================================
   POINTS SECTION - Modern Card Style (legacy - can be removed if not used elsewhere)
   ============================================ */

.points-section-card {
    background: linear-gradient(135deg, #fef9e7 0%, #fdf2d5 100%);
    border: 1px solid #f4d03f;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.15);
}

.points-section-header {
    background: linear-gradient(135deg, #f4d03f 0%, #f1c40f 100%);
    color: #5d4e37;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.points-section-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Points Earn Badge */
.points-earn-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    padding: 0.875rem 1rem;
    border-radius: 5px;
    border: 2px dashed #27ae60;
}

.points-earn-icon {
    color: #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.points-earn-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.points-earn-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.points-earn-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #27ae60;
}

/* Points Balance Section */
.points-balance-section {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.points-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(244, 208, 63, 0.3);
}

.points-balance-label {
    font-size: 0.875rem;
    color: #5d4e37;
    font-weight: 500;
}

.points-balance-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #d4a01c;
}

/* Points Reward Progress */
.points-reward-progress {
    background: #ffffff;
    border-radius: 5px;
    padding: 1rem;
    border: 1px solid rgba(244, 208, 63, 0.3);
}

.points-reward-header {
    margin-bottom: 0.75rem;
}

.points-reward-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.points-reward-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.points-reward-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0;
}

.points-reward-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.points-reward-cost {
    font-size: 0.8rem;
    color: #d4a01c;
    font-weight: 600;
}

/* Progress Bar */
.points-progress-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.points-progress-bar {
    height: 10px;
    background: #e8e8e8;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.points-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f4d03f 0%, #f1c40f 100%);
    border-radius: 5px;
    transition: width 0.6s ease;
    position: relative;
}

.points-progress-fill.can-claim {
    background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
    animation: progress-glow 1.5s ease-in-out infinite;
}

@keyframes progress-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(39, 174, 96, 0.6);
    }
}

.points-progress-text {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Claim Button */
.btn-claim-reward {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #ffffff;
    border: none;
    padding: 0.375rem 0.875rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-claim-reward:hover {
    background: linear-gradient(135deg, #219a52 0%, #27ae60 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Login Prompt */
.points-login-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: #666;
}

.points-login-prompt .btn {
    flex-shrink: 0;
}

/* Price Section */
.product-price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.price-main {
    font-size:3.5rem;
    font-weight: 700;
    color: #705542;
    line-height: 1.2;
}

.price-promo {
    color: #ff6b6b !important;
}

.price-original {
    font-size: 1.5rem;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

/* Login to See Price */
.login-to-see-price {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f1ed 0%, #e8e0d5 100%);
    border-radius: 5px;
}

    .login-to-see-price svg {
        color: #8b6f47;
        margin-bottom: 1rem;
    }

    .login-to-see-price p {
        font-size: 1.1rem;
        color: #705542;
        margin-bottom: 1rem;
    }

/* Short Description */
.product-short-desc p {
    color: #6c757d;
    line-height: 1.6;
}

/* ============================================
   ADD TO CART SECTION
   ============================================ */

.add-to-cart-section {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.quantity-selector {
    display: flex;
    border: 2px solid #d4c4b0;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    min-width: fit-content;
}

.qty-btn {
    background: #f5f1ed;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #705542;
    flex-shrink: 0;
}

    .qty-btn:hover {
        background: #e8e0d5;
    }

.qty-input {
    width: 80px;
    min-width: 80px;
    text-align: center;
    border: none;
    border-left: 1px solid #d4c4b0;
    border-right: 1px solid #d4c4b0;
    font-weight: 600;
    color: #705542;
    flex-shrink: 0;
}

    .qty-input:focus {
        outline: none;
    }

.btn-add-cart {
    flex: 1 1 auto;
    min-width: 150px;
    background: linear-gradient(135deg, #705542 0%, #8b6f47 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .btn-add-cart:hover {
        background: linear-gradient(135deg, #8b6f47 0%, #705542 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(112, 85, 66, 0.3);
        color: white;
    }

.btn-add-pack-cart {
    width: 100%;
    background: linear-gradient(135deg, #705542 0%, #8b6f47 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .btn-add-pack-cart:hover {
        background: linear-gradient(135deg, #8b6f47 0%, #705542 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(112, 85, 66, 0.3);
        color: white;
    }

    .btn-add-pack-cart:active {
        transform: translateY(0);
    }

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f1ed;
}

    .detail-item.detail-item-full {
        flex-direction: column;
    }

.detail-label {
    font-weight: 600;
    color: #705542;
}

.detail-value {
    color: #6c757d;
}

    .detail-value a {
        color: #705542;
        text-decoration: none;
    }

        .detail-value a:hover {
            text-decoration: underline;
        }

/* Alert styling for allergens */
.alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

/* ============================================
   PACK PROMOTIONS - COMPACT STYLE
   ============================================ */

.pack-promotions-right-column {
    margin-top: 1rem;
}

.pack-promo-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pack-promo-desc {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    margin-bottom: 1rem;
}

.pack-column-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #705542;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.pack-products-column {
    border-radius: 5px;
    padding: 0.75rem;
    min-height: 120px;
}

/* Compact Product Card */
.pack-product-compact {
    background: white;
    border-radius: 5px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    border: 1px solid #e9ecef;
}

.pack-product-img-wrapper {
    position: relative;
    flex-shrink: 0;
}

.pack-product-img-compact {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.pack-product-info-compact {
    flex: 1;
    min-width: 0;
}

.pack-product-name-compact {
    font-size: 0.75rem;
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
}

.pack-product-ref-compact,
.pack-product-qty-compact {
    font-size: 0.65rem;
    color: #666;
}

/* ============================================
   COUPON STYLES
   ============================================ */

/* Coupon Container */
.coupons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* Coupon Item */
.coupon-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 2px solid #e0e0e0;
    padding: 5px;
    min-height: 100px;
}

.coupon-item:hover {
    border-color: #705542;
    box-shadow: 0 2px 6px rgba(112, 85, 66, 0.12);
    transform: translateY(-1px);
}

.coupon-item.active {
    border: 2px dashed #705542;
    background: #fffaf5;
    box-shadow: 0 3px 10px rgba(112, 85, 66, 0.25);
}

/* Coupon Top Section - Price */
.coupon-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: transparent;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 6px;
}

.coupon-item.active .coupon-top {
    border-bottom-color: #705542;
}

.coupon-price {
    font-size: 2rem;
    font-weight: 700;
    color: #705542;
    line-height: 1;
}

/* 1+1 Promotion Display */
.coupon-1plus1-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.coupon-1plus1-product {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    /*background: #f8f9fa;*/
    border-radius: 5px;
}

.coupon-1plus1-product img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.coupon-1plus1-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.coupon-1plus1-product-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coupon-1plus1-product-ref {
    font-size: 0.65rem;
    color: #28a745;
    font-weight: 500;
}

/* A_TO_VALORDEST Promotion Display */
.coupon-valordest-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.coupon-valordest-product {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    /*background: #f8f9fa;*/
    border-radius: 5px;
}

.coupon-valordest-content {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.coupon-valordest-image-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.coupon-valordest-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.coupon-valordest-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #28a745;
    color: white;
    border-radius: 5px;
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.45rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.coupon-valordest-badge .discount-value {
    font-size: 0.6rem;
}

.coupon-valordest-badge .discount-label {
    font-size: 0.35rem;
    font-weight: 600;
}

.coupon-valordest-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.coupon-valordest-product-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coupon-valordest-product-ref {
    font-size: 0.65rem;
    color: #28a745;
    font-weight: 500;
}

/* Coupon Bottom Section - Text */
.coupon-bottom {
    width: 100%;
    text-align: left;
    padding: 0 10px 0 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coupon-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 3px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
}

.coupon-description {
    font-size: 0.7rem;
    color: #6c757d;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.coupon-savings {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.65rem;
    color: #28a745;
    font-weight: 500;
    margin-top: 3px;
    text-align: left;
}

.coupon-savings svg {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
}

.coupon-check {
    position: absolute;
    top: 6px;
    left: 6px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
    color: #28a745;
}

.coupon-check svg {
    width: 18px;
    height: 18px;
}

.coupon-item.active .coupon-check {
    opacity: 1;
    transform: scale(1);
}

/* Subtle animation */
.coupon-item.active {
    animation: subtleSelect 0.2s ease;
}

@keyframes subtleSelect {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.99);
    }
}

/* ============================================
   RECIPE SECTION STYLES
   ============================================ */

.recipe-section-item {
    margin-top: 2.5rem;
}

.recipe-card-item {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(112, 85, 66, 0.12);
    border: 1px solid #e0cfc2;
}

.recipe-card-header-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #705542 0%, #8b6b52 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.recipe-card-body-item {
    background: white;
    padding: 1.75rem;
}

.recipe-subsection-label-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #705542;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(112, 85, 66, 0.2);
}

.recipe-ingredients-list-item {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.recipe-ingredients-list-item li {
    font-size: 0.9rem;
    color: #4a3728;
    line-height: 1.55;
    padding-left: 1.1rem;
    position: relative;
}

.recipe-ingredients-list-item li::before {
    content: '\25B8';
    position: absolute;
    left: 0;
    color: #705542;
    font-size: 0.75rem;
    top: 0.15em;
}

.recipe-divider-item {
    border: none;
    border-top: 1px dashed rgba(112, 85, 66, 0.25);
    margin: 1.5rem 0;
}

.recipe-steps-list-item {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: recipe-step;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recipe-steps-list-item li {
    font-size: 0.9rem;
    color: #4a3728;
    line-height: 1.7;
    padding-left: 2.25rem;
    position: relative;
    counter-increment: recipe-step;
}

.recipe-steps-list-item li::before {
    content: counter(recipe-step);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.5rem;
    height: 1.5rem;
    background: #705542;
    color: #fff;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5rem;
}

.recipe-info-content-item {
    color: #4a3728;
    font-size: 0.92rem;
    line-height: 1.8;
    white-space: pre-line;
}

.recipe-inline-subtitle-item {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #705542;
    border-left: 3px solid #705542;
    padding-left: 0.6rem;
    margin-top: 1.25rem;
    margin-bottom: 0.65rem;
}

.recipe-inline-subtitle-item:first-child {
    margin-top: 0;
}

.recipe-inline-subtitle2-item {
    font-size: 0.78rem;
    font-weight: 600;
    color: #8b6b52;
    margin-top: 0.85rem;
    margin-bottom: 0.4rem;
    padding-left: 0.9rem;
}

.recipe-inline-subtitle2-item:first-child {
    margin-top: 0;
}

.recipe-plain-text-item {
    font-size: 0.9rem;
    color: #4a3728;
    line-height: 1.7;
    margin: 0.4rem 0;
}

.recipe-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    padding: 0;
    color: #705542;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.recipe-open-btn:hover {
    color: #5a4335;
    text-decoration: underline;
}

.recipe-modal-header-mobile {
    background: linear-gradient(135deg, #705542 0%, #8b6b52 100%);
    color: #fff;
    padding: 0.85rem 1.25rem;
}

.recipe-modal-title-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

@media (max-width: 576px) {
    .recipe-card-body-item {
        padding: 1.25rem;
    }
}

/* ============================================
   PRICE DISPLAY STYLES
   ============================================ */

.price-display-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.price-old {
    font-size: 1.4rem;
    color: #ab2121;
    text-decoration: line-through;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
}

/* Animation for price change */
@keyframes priceChange {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.price-main.price-updated {
    animation: priceChange 0.4s ease;
    color: #28a745;
}

/* Price Label Heading */
.product-price-section .mb-3 h6 {
    font-size: 0.9rem;
    color: #705542;
}

.product-price-section .price-main {
    font-size: 2rem;
    color: #705542;
}

/* Coupons Title */
.product-price-section h6.mb-3.fw-bold {
    font-size: 0.95rem;
    color: #705542;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991px) {
    .thumbnails-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pack-promo-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .product-info-card {
        padding: 1.5rem;
    }

    .product-title-ref,
    .product-title-design {
        font-size: 1.5rem;
    }

    .product-title-packs {
        font-size: 1.25rem;
    }

    .price-main {
        font-size: 2rem;
    }

    .price-original {
        font-size: 1.25rem;
    }

    .add-to-cart-section {
        flex-direction: column;
    }

    .quantity-selector {
        justify-content: center;
    }

    .product-meta-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .promotions-list {
        grid-template-columns: 1fr;
    }

    /* Price display responsive */
    .price-display-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .price-old {
        font-size: 1.1rem;
    }

    .product-price-section .price-main {
        font-size: 1.6rem;
    }

    /* Coupon responsive */
    .coupons-container {
        grid-template-columns: 1fr;
    }

    .coupon-item {
        min-height: 85px;
    }

    .coupon-bottom {
        padding: 0 8px 0 8px;
    }

    .coupon-title {
        font-size: 0.7rem;
    }

    .coupon-description,
    .coupon-savings {
        font-size: 0.65rem;
    }

    .coupon-price {
        font-size: 1.6rem;
    }

    .coupon-1plus1-product img {
        width: 35px;
        height: 35px;
    }

    .coupon-1plus1-product-name {
        font-size: 0.65rem;
    }

    .coupon-1plus1-product-ref {
        font-size: 0.6rem;
    }
    
    .coupon-valordest-product img {
        width: 35px;
        height: 35px;
    }
    
    .coupon-valordest-image-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .coupon-valordest-badge {
        width: 22px;
        height: 22px;
    }
    
    .coupon-valordest-badge .discount-value {
        font-size: 0.55rem;
    }
    
    .coupon-valordest-badge .discount-label {
        font-size: 0.3rem;
    }
    
    .coupon-valordest-product-name {
        font-size: 0.65rem;
    }
    
    .coupon-valordest-product-ref {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .price-main {
        font-size: 1.75rem;
    }

    .price-original {
        font-size: 1.1rem;
    }

    .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .pack-product-compact {
        flex-direction: column;
        text-align: center;
    }

    .pack-product-img-compact {
        width: 60px;
        height: 60px;
    }
}


/* ============================================
   ITEM PROMOTION MODAL (LeopoldoClick style)
   ============================================ */

.item-promo-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.item-promo-card {
    border: 1px solid #e8e0d8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(112, 85, 66, 0.07);
}

.item-promo-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    background: #faf7f4;
    border-bottom: 1px solid #f0e6dd;
}

.item-promo-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: #705542;
    color: #fff;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.item-promo-desc {
    font-size: 0.75rem;
    color: #6b5b50;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-promo-card-body {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
}

.item-promo-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e8e0d8;
    flex-shrink: 0;
}

.item-promo-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.78rem;
    color: #6b5b50;
    line-height: 1.3;
}

.item-promo-info strong {
    display: block;
    color: #3d2f26;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-promo-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: #705542;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.item-promo-apply-btn:hover {
    background: #5a4335;
    transform: translateY(-1px);
}

.item-promo-apply-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}