/* WooCommerce Styles for San Vicente Theme */

/* Single Product */
.single-product div#primary {
    margin-top: 30px;
    padding: 0 30px;
}

.single-product .woocommerce-breadcrumb {
    display: flex;
    flex-direction: row;
    width: 48%;
    float: right;
    margin-left: 0px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.single-product .woocommerce-breadcrumb a {
    font-weight: normal;
}

.single-product .woocommerce-breadcrumb .breadcrumb-last {
    font-weight: bold;
}

.single-product .product_title {
    font-size: 90px;
    font-family: 'Montserrat-thin', sans-serif;
    line-height: 90px;
    margin-bottom: 20px;
}

.single-product.woocommerce .price {
    color: #97BF0D;
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 20px;
}

.single-product .woocommerce-product-details__short-description {
    margin-bottom: 20px;
    font-size: 17px;
}

.single-product .woocommerce-product-details__short-description p {
    font-size: 17px;
    margin-bottom: 10px;
}

.single-product .woocommerce-product-details__short-description h3,
.single-product .woocommerce-product-details__short-description h4,
.single-product .woocommerce-product-details__short-description h5 {
    font-family: 'Lora', sans-serif;
    font-weight: 100;
    color: #38301A;
    font-size: 24px;
    letter-spacing: 0.5px;
}

.single-product .woocommerce-product-details__short-description ul {
    list-style: inside;
}

.single-product .quantity label {
    font-family: 'Lora', sans-serif;
    display: block;
    width: auto;
    height: auto;
    font-size: 24px;
    font-weight: 100;
    letter-spacing: 0.5px;
    color: #38301A;
    position: relative !important;
    clip-path: none;
    margin-bottom: 10px;
}

.single-product form.cart {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.single-product form.cart .quantity,
.single-product form.cart .single_add_to_cart_button {
    display: inline-block;
    vertical-align: middle;
}

.single-product form.cart .single_add_to_cart_button {
    background-color: #006941;
    padding: 13px 50px;
    color: #E2DBC9;
    border-radius: 27px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.single-product .product_meta {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}

.single-product .product_meta .tagged_as,
.single-product .product_meta .posted_in {
    font-weight: bold;
    font-size: 17px;
    letter-spacing: 0.5px;
}

.single-product .product_meta .tagged_as a,
.single-product .product_meta .posted_in a {
    font-weight: normal;
    letter-spacing: 0.5px;
}

.single-product .related h2 {
    font-size: 70px;
    font-family: 'Montserrat-thin', sans-serif;
    margin-bottom: 20px;
    margin-top: 3.5rem;
}

.single-product .product-video-overlay::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #3E362880;
    position: absolute;
    top: 0;
    left: 0;
}

.single-product .product-video-overlay h2 {
    font-size: 120px;
    font-family: 'Montserrat-thin', sans-serif;
}

.single-product .video-right-text p {
    width: 285px;
    font-size: 17px;
}

.single-product .video-right-text a.button-donar {
    background-color: #006941;
    padding: 13px 50px;
    color: #E2DBC9;
    border-radius: 27px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 50px;
    display: table;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .product-single {
        overflow: visible !important;
    }

    .single-product-container {
        overflow: visible !important;
    }

    .product-images.is-sticky,
    .woocommerce-product-gallery {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 100px !important;
        align-self: flex-start !important;
        z-index: 10 !important;
        height: fit-content !important;
    }

    .woocommerce .woocommerce-breadcrumb {
        display: inline;
    }

    .single-product .product_title {
        font-size: 3rem;
        line-height: 3rem;
    }

    #menu-redes-sociales {
        display: inline;
    }

    #menu-redes-sociales li {
        margin: 2px;
    }

    .single-product .product-video-overlay h2 {
        font-size: 3.5rem;
    }
}

/* Product Gallery Thumbnail Slider Styles */
.woocommerce-product-gallery .flex-control-thumbs {
    @apply flex overflow-hidden mt-4 gap-2 list-none p-0;
    transition: all 0.3s ease;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    @apply flex-shrink-0 cursor-pointer border-2 border-transparent rounded-lg transition-all duration-300;
    width: 80px;
    height: 80px;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    @apply w-full h-full object-cover rounded-md opacity-60;
}

.woocommerce-product-gallery .flex-control-thumbs li.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li:hover {
    @apply border-sv-dark-green;
}

.woocommerce-product-gallery .flex-control-thumbs li.flex-active img,
.woocommerce-product-gallery .flex-control-thumbs li:hover img {
    @apply opacity-100;
}

/* Navigation arrows for Thumbnails (if added via Splide) */
.flex-control-thumbs-container {
    position: relative;
    margin-top: 20px;
    padding: 0;
}

.flex-control-thumbs-container.has-arrows {
    padding: 0 40px;
}

.flex-control-thumbs-container img.flex-active {
    border: 3px solid #deebb459;
    background: #deebb459;
    padding: 2px;
}

.splide__track--nav>.splide__list>.splide__slide.is-active {
    border: none;
    background: none;
}

.flex-control-thumbs-container .splide__arrow {
    @apply bg-sv-dark-green text-white rounded-full w-8 h-8 flex items-center justify-center top-1/2 -translate-y-1/2 absolute z-10 opacity-70 hover:opacity-100 transition-opacity;
}

.flex-control-thumbs-container .splide__arrow--prev {
    left: 0;
}

.flex-control-thumbs-container .splide__arrow--next {
    right: 0;
}

/* Grid de productos */
.woocommerce ul.products {
    @apply grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6;
}

/* Producto individual en el grid */
.woocommerce ul.products li.product {
    @apply mb-0;
}

/* Botones principales */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    @apply bg-sv-dark-green text-white px-6 py-3 rounded-lg font-semibold transition-all duration-300 border-none;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    @apply bg-opacity-90 transform scale-105;
}

/* Botón de agregar al carrito */
.woocommerce ul.products li.product .button {
    @apply w-full mt-4 text-center;
}

/* Precios */
.woocommerce .price {
    @apply text-lg font-bold;
}

.woocommerce .price del {
    @apply text-gray-400 text-base font-normal;
}

.woocommerce .price ins {
    @apply text-sv-dark-green no-underline;
}

/* Imágenes de productos */
.woocommerce ul.products li.product img {
    @apply w-full h-64 object-cover rounded-lg mb-4;
}

/* Navegación de páginas */
.woocommerce nav.woocommerce-pagination {
    @apply mt-12 flex justify-center;
}

.woocommerce nav.woocommerce-pagination ul {
    @apply flex space-x-2;
}

.woocommerce nav.woocommerce-pagination ul li {
    @apply inline-block;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    @apply px-4 py-2 border border-gray-300 rounded-lg text-gray-700 hover:bg-sv-dark-green hover:text-white transition-colors;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    @apply bg-sv-dark-green text-white;
}

/* Filtros y ordenamiento */
.woocommerce .woocommerce-ordering select {
    @apply px-4 py-2 border border-gray-300 rounded-lg;
}

.woocommerce .woocommerce-result-count {
    @apply text-gray-600 mb-4;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    @apply mb-6 text-sm text-gray-600;
}

.woocommerce .woocommerce-breadcrumb a {
    @apply text-sv-dark-green hover:underline;
}

/* Mensajes */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    @apply p-4 rounded-lg mb-6;
}

.woocommerce .woocommerce-message {
    @apply bg-green-100 text-green-800 border border-green-300;
}

.woocommerce .woocommerce-info {
    @apply bg-blue-100 text-blue-800 border border-blue-300;
}

.woocommerce .woocommerce-error {
    @apply bg-red-100 text-red-800 border border-red-300;
}

/* Formularios */
.woocommerce form .form-row {
    @apply mb-4;
}

.woocommerce form .form-row label {
    @apply block mb-2 font-semibold;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    @apply w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-sv-dark-green focus:border-transparent;
}

/* Cantidad en el carrito */
.woocommerce .quantity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.woocommerce .quantity .qty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background: #006941;
    color: #fff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.woocommerce .quantity .qty-button:active {
    transform: translateY(1px);
}

.woocommerce .quantity input.qty {
    width: 56px;
    text-align: center;
    padding: 6px 8px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Variant for single product layout spacing */
.single-product form.cart .quantity {
    margin-right: 8px;
}

/* Tablas */
.woocommerce table.shop_table {
    @apply w-full border-collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    @apply text-left border-b border-gray-200 py-3;
}

.woocommerce table.shop_table th {
    @apply font-semibold bg-gray-50;
}

/* Rating de estrellas */
.woocommerce .star-rating {
    @apply text-yellow-400;
}

/* Productos relacionados */
.woocommerce .cross-sells,
.woocommerce .upsells {
    @apply mt-12;
}

.woocommerce .cross-sells h2,
.woocommerce .upsells h2 {
    @apply text-2xl font-bold mb-6;
}

/* Responsivo */
@media (max-width: 768px) {
    .woocommerce ul.products {
        @apply grid-cols-1;
    }

    .woocommerce table.shop_table_responsive {
        @apply block;
    }

    .woocommerce table.shop_table_responsive thead {
        @apply hidden;
    }

    .woocommerce table.shop_table_responsive tbody,
    .woocommerce table.shop_table_responsive tr,
    .woocommerce table.shop_table_responsive td {
        @apply block;
    }

    .woocommerce table.shop_table_responsive tr {
        @apply border border-gray-200 rounded-lg mb-4 p-4;
    }

    .woocommerce table.shop_table_responsive td {
        @apply border-none py-2;
    }

    .woocommerce table.shop_table_responsive td::before {
        content: attr(data-title) ": ";
        @apply font-semibold inline-block w-32;
    }

    .woocommerce .woocommerce-breadcrumb {
        width: 100%;
        display: inline;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .single-product .product_title {
        font-size: 2rem;
        line-height: 2rem;
    }

    .single-product.woocommerce .price {
        font-size: 1.75rem;
    }

    .single-product form.cart {
        gap: 10px;
    }

    .single-product form.cart .single_add_to_cart_button {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .single-product .related h2 {
        font-size: 2rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* Related Products Slider Mobile Adjustments */
    .related.products .splide__list {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
    }

    .related.products .splide__slide {
        @apply mb-0;
        width: 100% !important;
        margin-right: 0px;
        padding: 25px 0;
    }

    .related.products .related-products-slider {
        @apply mt-6;
    }

    .related.products .splide__pagination {
        @apply mt-6 flex justify-center gap-2;
        bottom: -20px;
    }

    .related.products .splide__pagination__page {
        @apply w-2 h-2 rounded-full bg-gray-300 transition-all duration-300;
        background: #969696;
    }

    .related.products .splide__pagination__page.is-active {
        @apply bg-sv-dark-green w-4;
        background: #97bf0d;
    }

    .single-product .product-video-overlay h2 {
        font-size: 2.75rem;
    }

    .woocommerce .quantity input.qty {
        width: 50px;
    }
}

/* Line-clamp utility classes */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Guarantees Section */
.guarantees-section {
    /* background-color: #f9f9f9; */
    /* border-color: #ec2d2d; */
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 32px;
    padding-right: 32px;
    width: calc(100% + 64px);
}

.guarantees-section h2 {
    font-family: 'Lora', sans-serif;
    font-weight: 100;
    color: #38301A;
    font-size: 24px;
    letter-spacing: 0.5px;
}

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

@media (max-width: 1024px) {
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
}

.guarantee-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 16px;
    border-radius: 8px;

    /* Product video section */
    .product-video-section {
        position: relative;
    }

    .product-video-section .product-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    .product-video-section .product-video-dim {
        z-index: 1;
    }

    .product-video-section .product-video-overlay {
        position: relative;
        z-index: 2;
        color: #ffffff;
    }

    .product-video-section .video-left h2 {
        color: #ffffff;
    }

    .product-video-section .video-right-placeholder {
        min-width: 220px;
        min-height: 140px;
    }

    @media (max-width: 768px) {
        .product-video-section .video-left h2 {
            font-size: 32px;
        }

        .product-video-section .video-right-placeholder {
            width: 100%;
            height: auto;
        }
    }

    /* border-left: 4px solid #97BF0D; */
    transition: all 0.3s ease;
}

.guarantee-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.guarantee-icon {
    color: #97BF0D;
    font-weight: bold;
    min-width: 32px;
    text-align: center;
}

.guarantee-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .guarantees-section {
        padding: 16px;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
    }

    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .guarantee-item {
        padding: 12px;
    }

    .guarantees-section h2 {
        font-size: 20px;
    }

    .guarantee-item p {
        font-size: 14px;
    }
}

/* ============================================
   ORDER RECEIVED / THANK YOU PAGE STYLES
   ============================================ */

.woocommerce-order {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Montserrat', sans-serif;
}

/* Success Notice */
.woocommerce-notice--success.woocommerce-thankyou-order-received {
    /* background: linear-gradient(135deg, #006941 0%, #97BF0D 100%); */
    background: #006941;
    color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    border: none;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 105, 65, 0.15);
}

/* Order Overview Section */
.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    border-left: 5px solid #97BF0D;
}

.woocommerce-order-overview li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.woocommerce-order-overview li::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #97BF0D;
    border-radius: 2px;
    margin-bottom: 8px;
}

.woocommerce-order-overview li strong {
    color: #006941;
    font-size: 18px;
    font-weight: 700;
}

.woocommerce-order-overview li {
    color: #3E3628;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Bank Details Section */
.woocommerce-bacs-bank-details {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 5px solid #000000
}

.wc-bacs-bank-details-heading {
    color: #3E3628;
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 0;
}

.wc-bacs-bank-details-account-name {
    color: #781268;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 15px 0;
}

.wc-bacs-bank-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wc-bacs-bank-details li {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    color: #3E3628;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc-bacs-bank-details li strong {
    color: #006941;
    font-weight: 700;
    font-size: 16px;
}

/* Order Details Table */
.woocommerce-order-details {
    margin-bottom: 40px;
}

.woocommerce-order-details__title {
    color: #3E3628;
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E2DBC9;
}

.woocommerce-table--order-details {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.woocommerce-table--order-details thead {
    background: #006941;
    color: #E2DBC9;
}

.woocommerce-table--order-details thead th {
    padding: 20px 25px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
}

.woocommerce-table--order-details tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.woocommerce-table--order-details tbody tr:hover {
    background-color: #f9f9f9;
}

.woocommerce-table--order-details tbody td {
    padding: 20px 25px;
    color: #3E3628;
    font-size: 15px;
    border: none;
}

.woocommerce-table--order-details .product-name a {
    color: #006941;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.woocommerce-table--order-details .product-name a:hover {
    color: #97BF0D;
}

.woocommerce-table--order-details .product-quantity {
    color: #781268;
    font-weight: 700;
    margin-left: 8px;
}

.woocommerce-table--order-details tfoot {
    background: #f9f9f9;
}

.woocommerce-table--order-details tfoot th {
    padding: 15px 25px;
    text-align: left;
    font-weight: 600;
    color: #3E3628;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid #e0e0e0;
}

.woocommerce-table--order-details tfoot td {
    padding: 15px 25px;
    text-align: right;
    font-weight: 600;
    color: #006941;
    border-top: 1px solid #e0e0e0;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    background: #ffffff;
    padding: 20px 25px;
}

/* Customer Details Section */
.woocommerce-customer-details {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #97BF0D;
}

.woocommerce-column__title {
    color: #3E3628;
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.woocommerce-customer-details address {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    line-height: 1.8;
    font-style: normal;
    color: #3E3628;
    font-size: 15px;
}

.woocommerce-customer-details address br {
    display: block;
    content: "";
    margin: 5px 0;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #E2DBC9;
    font-weight: 600;
    color: #006941;
}

/* Condolences Data Display in Order */
.condolences-data {
    margin-top: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #E2DBC9 100%);
    border-left: 4px solid #781268;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
}

.condolences-data strong {
    color: #3E3628;
    font-weight: 700;
}

.condolences-data em {
    color: #666;
    font-style: italic;
    display: block;
    margin-top: 8px;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-order {
        padding: 20px 15px;
    }

    .woocommerce-notice--success.woocommerce-thankyou-order-received {
        font-size: 18px;
        padding: 20px;
    }

    .woocommerce-order-overview {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .woocommerce-order-details__title {
        font-size: 24px;
    }

    .woocommerce-table--order-details {
        font-size: 13px;
    }

    .woocommerce-table--order-details thead th,
    .woocommerce-table--order-details tbody td,
    .woocommerce-table--order-details tfoot th,
    .woocommerce-table--order-details tfoot td {
        padding: 12px 15px;
    }

    .woocommerce-bacs-bank-details,
    .woocommerce-customer-details {
        padding: 20px;
    }

    .wc-bacs-bank-details li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* AJAX Add to Cart Button States */
.single_add_to_cart_button.loading {
    background-color: #004d2b !important;
    /* Darker green */
    color: #fff !important;
    cursor: wait;
    position: relative;
}

.single_add_to_cart_button.loading::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.single_add_to_cart_button.added {
    background-color: #97BF0D !important;
    /* Accent color green */
    color: #fff !important;
}

.single_add_to_cart_button.added::after {
    content: '✔';
    /* Checkmark icon */
    margin-left: 10px;
    font-size: 1.2em;
    vertical-align: middle;
}