/* 
 * Shopify-Style Product Page CSS
 * Windrel Theme
 */

/* ===========================
   Shopify Breadcrumb Navigation
   =========================== */
.shopify-breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
}

.shopify-breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.shopify-breadcrumb-item {
    display: flex;
    align-items: center;
}

.shopify-breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.shopify-breadcrumb-link:hover {
    color: #111827;
    text-decoration: underline;
}

.shopify-breadcrumb-separator {
    display: flex;
    align-items: center;
    color: #9ca3af;
    margin: 0 4px;
}

.shopify-breadcrumb-separator svg {
    width: 6px;
    height: 10px;
}

.shopify-breadcrumb-current .shopify-breadcrumb-text {
    color: #111827;
    font-size: 14px;
    font-weight: 500;
}

/* ===========================
   Product Page Container
   =========================== */
.shopify-product-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.shopify-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 20px 40px 20px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .shopify-product-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px 30px 20px;
    }
}

/* ===========================
   Product Gallery Section
   =========================== */
.shopify-product-gallery {
    position: relative;
}

.shopify-product-images {
    position: relative;
    width: 100%;
}

/* Main Image */
.shopify-main-image-container {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    background: #f9fafb;
    border-radius: 8px;
    overflow: hidden;
}

.shopify-main-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.shopify-main-image-wrapper:hover {
    transform: scale(1.02);
}

.shopify-main-image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Sale Badge */
.shopify-sale-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

/* Use the same badge styling as product cards for consistency */
.shopify-sale-badge .windrel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--windrel-radius, 4px);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.shopify-sale-badge .windrel-badge-sale {
    background: var(--windrel-danger, #ef4444);
    color: white;
}

/* Thumbnail Gallery */
.shopify-thumbnail-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f3f4f6;
}

.shopify-thumbnail-gallery::-webkit-scrollbar {
    height: 6px;
}

.shopify-thumbnail-gallery::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.shopify-thumbnail-gallery::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.shopify-thumbnail-gallery::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.shopify-thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f9fafb;
    padding: 0;
}

.shopify-thumbnail-item:hover {
    border-color: #9ca3af;
    transform: scale(1.05);
}

.shopify-thumbnail-item.active {
    border-color: #111827;
    box-shadow: 0 0 0 1px #111827;
}

.shopify-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image Dots (Mobile) */
.shopify-image-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .shopify-image-dots {
        display: flex;
    }
    
    .shopify-thumbnail-gallery {
        display: none;
    }
}

.shopify-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shopify-dot.active {
    background: #111827;
    width: 24px;
    border-radius: 4px;
}

/* ===========================
   Lightbox Modal
   =========================== */
.shopify-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.shopify-lightbox.active {
    display: flex;
}

.shopify-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shopify-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.shopify-lightbox-close,
.shopify-lightbox-prev,
.shopify-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.shopify-lightbox-close:hover,
.shopify-lightbox-prev:hover,
.shopify-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.shopify-lightbox-close {
    top: 24px;
    right: 24px;
}

.shopify-lightbox-prev {
    left: 24px;
}

.shopify-lightbox-next {
    right: 24px;
}

.shopify-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

/* ===========================
   Product Info Section
   =========================== */
.shopify-product-info {
    position: relative;
}

.shopify-product-info-sticky {
    position: sticky;
    top: 100px;
    padding: 0;
}

@media (max-width: 1024px) {
    .shopify-product-info-sticky {
        position: static;
    }
}

/* Product Title */
.product_title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: #111827;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .product_title {
        font-size: 24px;
    }
}

/* Star Rating */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.star-rating {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #fbbf24;
}

.woocommerce-review-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.woocommerce-review-link:hover {
    color: #111827;
    text-decoration: underline;
}

/* Price */
.price {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #111827;
}

.price del {
    color: #9ca3af;
    font-size: 22px;
    margin-right: 12px;
}

.price ins {
    text-decoration: none;
    color: #d62828;
}

/* Short Description */
.woocommerce-product-details__short-description {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.woocommerce-product-details__short-description p {
    margin-bottom: 12px;
}

/* Variations */
.variations {
    margin-bottom: 24px;
}

.variations tr {
    display: block;
    margin-bottom: 16px;
}

.variations .label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variations .value {
    display: block;
}

.variations select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variations select:hover {
    border-color: #9ca3af;
}

.variations select:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

/* Variable Product Buttons */
.variations .value label {
    display: inline-block;
    padding: 10px 20px;
    margin: 4px 4px 4px 0;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.variations .value label:hover {
    border-color: #111827;
    background: #f9fafb;
}

.variations .value input[type="radio"]:checked + label {
    border-color: #111827;
    background: #111827;
    color: white;
}

/* Quantity Selector */
.quantity {
    display: inline-flex;
    align-items: center;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    background: white;
}

.quantity .qty {
    width: 60px;
    text-align: center;
    border: none;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity .qty:focus {
    outline: none;
}

.quantity button {
    width: 40px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    color: #4b5563;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity button:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Add to Cart Button */
.shopify-product-page .single_add_to_cart_button,
.shopify-product-page button.single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce #content div.product form.cart .single_add_to_cart_button,
form.cart button.single_add_to_cart_button {
    width: 100%;
    background: #111827 !important;
    background-color: #111827 !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 52px;
    margin-top: 0;
}

.shopify-product-page .single_add_to_cart_button:hover,
.shopify-product-page button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
form.cart button.single_add_to_cart_button:hover {
    background: #1f2937 !important;
    background-color: #1f2937 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.3);
}

.shopify-product-page .single_add_to_cart_button:active,
.shopify-product-page button.single_add_to_cart_button:active,
form.cart button.single_add_to_cart_button:active {
    transform: translateY(0);
}

.shopify-product-page .single_add_to_cart_button.loading,
.shopify-product-page button.single_add_to_cart_button.loading,
form.cart button.single_add_to_cart_button.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

/* Fix loading spinner position */
.shopify-product-page .single_add_to_cart_button.loading::after,
.shopify-product-page button.single_add_to_cart_button.loading::after,
form.cart button.single_add_to_cart_button.loading::after,
.woocommerce div.product form.cart .single_add_to_cart_button.loading::after {
    position: absolute !important;
    top: 50% !important;
    right: 1.5em !important;
    left: auto !important;
    margin-top: -0.5em !important;
    font-size: 1em !important;
}

.cart {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

/* Product Meta */
.product_meta {
    padding: 24px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 32px;
}

.product_meta > span {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b7280;
}

.product_meta a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product_meta a:hover {
    color: #4b5563;
    text-decoration: underline;
}

/* Hide WooCommerce "View cart" link on product pages */
.single-product .added_to_cart {
    display: none !important;
}

/* Trust Badges */
.shopify-product-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

/* Details Accordion */
.shopify-product-details-accordion {
    margin-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-header {
    width: 100%;
    padding: 20px 0;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.accordion-header:hover {
    color: #4b5563;
}

.accordion-header svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.accordion-header.active svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
    padding-bottom: 20px;
}

.accordion-content p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ===========================
   Full Width Section
   =========================== */
.shopify-product-full-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Product Tabs */
.woocommerce-tabs {
    margin-top: 60px;
}

.woocommerce-tabs .tabs {
    display: flex;
    gap: 32px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 32px;
    list-style: none;
    padding: 0;
}

.woocommerce-tabs .tabs li {
    margin: 0;
}

.woocommerce-tabs .tabs li a {
    display: block;
    padding: 16px 0;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    top: 2px;
}

.woocommerce-tabs .tabs li a:hover {
    color: #111827;
}

.woocommerce-tabs .tabs li.active a {
    color: #111827;
    border-bottom-color: #111827;
}

.woocommerce-tabs .panel {
    color: #4b5563;
    line-height: 1.6;
}

/* Reviews */
#reviews .woocommerce-Reviews-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #111827;
}

.commentlist {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.comment_container {
    display: flex;
    gap: 16px;
}

.comment-text {
    flex: 1;
}

.comment-text .meta {
    margin-bottom: 8px;
}

.comment-text .woocommerce-review__author {
    font-weight: 600;
    color: #111827;
    font-size: 16px;
}

.comment-text .woocommerce-review__published-date {
    color: #9ca3af;
    font-size: 14px;
    margin-left: 8px;
}

.comment-text .description {
    color: #4b5563;
    line-height: 1.6;
}

/* Related/Upsell Products */
.related.products,
.upsells.products {
    margin-top: 80px;
}

.related.products h2,
.upsells.products h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    color: #111827;
    text-align: center;
}

.related.products ul,
.upsells.products ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
}

/* Stock and Quantity Layout */
.stock-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.stock-display {
    flex-shrink: 0;
}

.quantity-display {
    flex-shrink: 0;
}

/* Stock Status */
.stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

/* Apply to variation availability container too */
.woocommerce-variation-availability .stock {
    margin-bottom: 0;
}

/* Hide the first automatic stock display from WooCommerce for variations */
.single_variation .woocommerce-variation-availability {
    display: none;
}

/* Show only our custom stock display in the layout */
.woocommerce-variation-add-to-cart .woocommerce-variation-availability {
    display: block;
}

/* Variable Product Layout - Stock and Quantity side by side */\n.single_variation_wrap {\n    display: flex;\n    flex-direction: column;\n    gap: 16px;\n}\n\n.woocommerce-variation-add-to-cart {\n    display: flex;\n    flex-direction: column;\n    gap: 16px;\n}\n\n.woocommerce-variation-add-to-cart .woocommerce-variation-availability {\n    order: 0;\n}\n\n.woocommerce-variation-add-to-cart .quantity {\n    order: 1;\n    margin-right: 0;\n}\n\n.woocommerce-variation-add-to-cart .single_add_to_cart_button {\n    order: 2;\n}\n\n/* Create horizontal layout for stock and quantity in variations */\n.woocommerce-variation-add-to-cart-wrapper {\n    display: flex;\n    align-items: center;\n    gap: 16px;\n    flex-wrap: wrap;\n}\n\n.woocommerce-variation-add-to-cart .woocommerce-variation-availability {\n    flex-shrink: 0;\n}\n\n.woocommerce-variation-add-to-cart .quantity {\n    flex-shrink: 0;\n}

/* Critical Stock (1-3 items) - Red background, dark red text */
.stock.stock-critical {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #b91c1c !important;
    border: 1.5px solid #fca5a5;
}

/* Low Stock (4-8 items) - Orange background, dark orange text */
.stock.stock-low {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #c2410c !important;
    border: 1.5px solid #fdba74;
}

/* Good Stock (9+ items) - Green background, dark green text */
.stock.stock-good {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #047857 !important;
    border: 1.5px solid #6ee7b7;
}

/* Out of Stock */
.stock.out-of-stock {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #6b7280 !important;
    border: 1.5px solid #d1d5db;
}

/* Backwards compatibility - override default WooCommerce in-stock class */
.stock.in-stock {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    color: #047857 !important;
    border: 1.5px solid #6ee7b7;
}

/* ===========================
   Mobile Responsive
   =========================== */
@media (max-width: 768px) {
    .shopify-product-container {
        padding: 20px 16px;
        gap: 32px;
    }

    .product_title {
        font-size: 22px;
    }

    .price {
        font-size: 24px;
    }

    .shopify-product-trust-badges {
        flex-direction: column;
        gap: 12px;
    }

    .woocommerce-tabs .tabs {
        gap: 16px;
        overflow-x: auto;
    }

    .related.products ul,
    .upsells.products ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cart {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity {
        margin-right: 0;
        margin-bottom: 12px;
        justify-content: center;
    }

    .single_add_to_cart_button,
    .shopify-product-page .single_add_to_cart_button,
    form.cart button.single_add_to_cart_button {
        width: 100% !important;
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.shopify-product-page {
    animation: fadeIn 0.5s ease;
}

.shopify-product-info-sticky > * {
    animation: slideUp 0.6s ease backwards;
}

.shopify-product-info-sticky > *:nth-child(1) { animation-delay: 0.1s; }
.shopify-product-info-sticky > *:nth-child(2) { animation-delay: 0.2s; }
.shopify-product-info-sticky > *:nth-child(3) { animation-delay: 0.3s; }
.shopify-product-info-sticky > *:nth-child(4) { animation-delay: 0.4s; }

/* ===========================
   Critical Button Override
   Force black button on product pages
   =========================== */
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page button[type="submit"],
body.single-product .single_add_to_cart_button,
body.woocommerce-page .single_add_to_cart_button {
    background-color: #111827 !important;
    background: #111827 !important;
    color: #ffffff !important;
    border-color: #111827 !important;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
body.single-product .single_add_to_cart_button:hover,
body.woocommerce-page .single_add_to_cart_button:hover {
    background-color: #1f2937 !important;
    background: #1f2937 !important;
    color: #ffffff !important;
    border-color: #1f2937 !important;
}

/* ===========================
   Trust Badges Grid Layout
   =========================== */
.trust-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.trust-badge-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.2s ease;
}

.trust-badge-card__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge-card__icon svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

.trust-badge-card--eu .trust-badge-card__icon {
    width: 30px;
    height: 20px;
}

.trust-badge-card--eu .trust-badge-card__icon svg {
    width: 30px;
    height: 20px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.trust-badge-card__content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.trust-badge-card__title {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    line-height: 1.3;
}

.trust-badge-card__text {
    display: none;
}

/* Tablet and below: 2x2 grid cards */
@media (max-width: 768px) {
    .trust-badges-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .trust-badge-card {
        padding: 14px;
        background: #f9fafb;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    
    .trust-badge-card__icon {
        width: 36px;
        height: 36px;
        background: #ecfdf5;
        border-radius: 10px;
        padding: 8px;
    }
    
    .trust-badge-card__icon svg {
        width: 20px;
        height: 20px;
    }
    
    .trust-badge-card--eu .trust-badge-card__icon {
        width: auto;
        height: auto;
        background: #eff6ff;
        padding: 6px;
    }
    
    .trust-badge-card--eu .trust-badge-card__icon svg {
        width: 36px;
        height: 24px;
    }
    
    .trust-badge-card__content {
        align-items: center;
    }
    
    .trust-badge-card__title {
        font-size: 12px;
        font-weight: 600;
        color: #111827;
    }
    
    .trust-badge-card__text {
        display: block;
        font-size: 11px;
        color: #6b7280;
        line-height: 1.4;
    }
}

/* ===========================
   Payment Methods Icons
   =========================== */
.payment-methods-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.payment-methods-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.payment-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 100%;
}

.payment-icon {
    width: 40px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.payment-icon:hover {
    transform: scale(1.08);
}

.payment-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 480px) {
    .payment-methods-icons {
        gap: 6px;
    }
    
    .payment-icons-row {
        gap: 6px;
    }
    
    .payment-icon {
        width: 36px;
        height: 24px;
    }
}

/* ===========================
   Bought This Social Proof
   =========================== */
.bought-this-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid #fcd34d;
}

.bought-this-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bought-this-icon svg {
    width: 20px;
    height: 20px;
    color: #d97706;
}

.bought-this-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #92400e;
}

.bought-this-stat strong {
    color: #78350f;
    font-weight: 700;
}

.bought-this-separator {
    color: #b45309;
}

@media (max-width: 480px) {
    .bought-this-social-proof {
        padding: 12px 14px;
    }
    
    .bought-this-content {
        font-size: 13px;
    }
    
    .bought-this-icon {
        width: 32px;
        height: 32px;
    }
    
    .bought-this-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ===========================
   Popular Product Badge
   =========================== */
.popular-product-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #fecaca;
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    }
}

.popular-badge-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.popular-badge-icon svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

.popular-badge-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.popular-badge-title {
    font-size: 15px;
    font-weight: 700;
    color: #991b1b;
}

.popular-badge-text {
    font-size: 13px;
    color: #b91c1c;
}

@media (max-width: 480px) {
    .popular-product-badge {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .popular-badge-icon {
        width: 38px;
        height: 38px;
    }
    
    .popular-badge-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .popular-badge-title {
        font-size: 14px;
    }
    
    .popular-badge-text {
        font-size: 12px;
    }
}

