/**
 * 购物车页 —— 仅 cart/index 引用，不依赖 order_form.css
 */

/* 面包屑容器 */
.breadcrumb {
    font-size: 14px;
    color: #303840;
    margin: 20px 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

/* 面包屑项 */
.breadcrumb-item {
    position: relative;
}

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

.breadcrumb-item a:hover {
    color: #f69034;
}

/* 分隔符 */
.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: #999;
}

/* 当前页样式 */
.breadcrumb-item:last-child {
    color: #303840;
}
        
/* 左右布局容器 */
.cart-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.cart-left {
    width: calc(70% - 7.5px);
}

.cart-right {
    width: calc(30% - 7.5px);
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/*进度条*/
.progress-wrapper {
    margin: 0 0 20px 0;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.progress-bar {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
}

/* 进度条背景线 - 覆盖整个宽度 */
.progress-bar::before {
    content: '';
    position: absolute;
    top: 7.5px; /* 对齐圆圈中心（15px高度的一半） */
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* 已完成进度线 */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 7.5px; /* 与背景线同一高度 */
    left: 0;
    height: 4px;
    background-color: #f69034;
    width: 0%;
    z-index: 1;
}

/* 步骤1：购物车页面 - 进度33.33% */
.progress-bar.progress-step-1::after {
    width: 33.33%;
}

/* 步骤2：订单表单页面 - 进度66.66% */
.progress-bar.progress-step-2::after {
    width: 66.66%;
}

/* 步骤3：支付页面 - 进度100% */
.progress-bar.progress-step-3::after {
    width: 100%;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* 步骤圆圈 - 缩小并去掉数字 */
.step-marker {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-bottom: 8px;
    z-index: 2;
    position: relative;
}

/* 步骤文本 */
.step-text {
    font-size: 14px;
    color: #757575;
}

/* 已完成步骤样式 */
.step.completed .step-marker {
    background-color: #f69034;
    color: white;
    border: 3px solid #f69034;
}
.step.completed .step-text {
    color: #f69034;
    font-weight: 500;
}

/* 当前步骤样式 */
.step.current .step-marker {
    background-color: white;
    color: #f69034;
    border: 3px solid #f69034;
}
.step.current .step-text {
    color: #f69034;
    font-weight: 500;
}

/* 未完成步骤样式 */
.step .step-marker {
    background-color: white;
    color: #bdbdbd;
    border: 3px solid #e0e0e0;
}

/* 空状态样式 */
.product_empty {
    min-height: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 20px 38px;
    color: #999;
    text-align: center;
}

.product_empty_icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    opacity: 0.78;
}

.product_empty_tip {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.4;
    color: #777;
}

.product_empty_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    height: 40px;
    padding: 0 24px;
    border-radius: 4px;
    background-color: #f69034;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.product_empty_btn:hover {
    background-color: #e57d2a;
    color: #fff;
    text-decoration: none;
}

/* 全选区域 */
.cart-select-all-wrapper {
    margin: 0 0 10px 0;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fff;
}

.cart-select-all-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #303840;
    user-select: none;
}

.cart-select-all-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 购物车产品列表 */
.cart-products {
    margin: 0 0 10px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex: 0 1 55%;
    min-width: 0;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-title {
    font-size: 14px;
    color: #303840;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-item-title a {
    color: #303840;
    text-decoration: none;
    transition: color 0.2s;
}
.cart-item-title a:hover {
    color: #f69034;
    text-decoration: none;
}

.cart-item-sku {
    font-size: 12px;
    color: #666;
}

/* 商品单价（在商品信息下方一行） */
.cart-item-unit-price {
    margin-top: 6px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.unit-price-member {
    font-size: 16px;
    font-weight: 500;
    color: #ff0000;
}

.unit-price-normal {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.unit-price-original {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    text-decoration: none;
}

.unit-price-original .price_currency_symbol {
    font-size: 0.8em;
}

.unit-price-original .price-amount {
    text-decoration: line-through;
}

.cart-item-quantity {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-decrease,
.quantity-increase {
    width: 30px;
    height: 30px;
    border: none;
    background-color: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.quantity-decrease:hover,
.quantity-increase:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 50px;
    height: 30px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}

.cart-item-price {
    flex: 0 0 auto;
    min-width: 80px;
    text-align: right;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    position: relative;
}

.cart-item-price .cart-item-sp-breakdown {
    position: absolute;
    top: 100%;
    right: 0;
    white-space: nowrap;
    margin-top: 6px !important;
}

.cart-item-price .sp-breakdown-operator {
    display: inline-block;
    margin: 0 1px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: #555;
}

.cart-item.has-sp-breakdown {
    padding-bottom: 32px;
}

.cart-item-subtotal-allspecial {
    color: #ff0000;
    font-weight: bold;
}

.cart-item-price .sp-breakdown-special {
    color: #ff0000;
    font-weight: bold;
}

.cart-item-delete {
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.2s;
    border-radius: 4px;
}

.cart-item-delete:hover {
    color: #000 !important;
    background-color: transparent !important;
}

.cart-item-delete:hover i {
    color: #000 !important;
}

.cart-item-delete i {
    font-size: 18px;
    color: inherit;
}

/* 下架商品样式 */
.cart-item-risk-blocked {
    background: rgba(255, 110, 64, 0.05);
    border: 1px solid rgba(240, 90, 40, 0.22);
}

.cart-item-risk-notice {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #f05a28;
}
.cart-item-disabled {
    opacity: 0.6;
    position: relative;
}

.cart-item-status-badge {
    display: inline-block;
    padding: 2px 8px;
    background-color: #dc3545;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.cart-item-disabled .cart-item-price,
.cart-item-disabled .unit-price-member,
.cart-item-disabled .unit-price-normal,
.cart-item-disabled .unit-price-original {
    color: #999;
}

.cart-item-disabled .quantity-decrease[disabled],
.cart-item-disabled .quantity-increase[disabled] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.5;
}

.cart-item-disabled .quantity-decrease[disabled]:hover,
.cart-item-disabled .quantity-increase[disabled]:hover {
    background-color: #f5f5f5;
}

.cart-item-disabled .quantity-input[disabled] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #999;
}

/* 操作按钮区域 */
.cart-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 30px 0;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-sizing: border-box;
}

.cart-check-all,
.cart-delete-selected {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.cart-check-all {
    background-color: #2d2d38;
    color: white;
}

.cart-check-all:hover {
    background-color: #1a1a22;
}

.cart-delete-selected {
    background-color: #f5f5f5;
    color: #333;
}

.cart-delete-selected:hover {
    background-color: #e0e0e0;
}

/* 会员选项模块 */
.cart-membership-module {
    margin: 0 0 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.cart-membership-header {
    font-size: 16px;
    font-weight: 700;
    color: #303840;
    margin-bottom: 16px;
}

.cart-membership-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-membership-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.cart-membership-option:hover {
    border-color: #ddd;
}

.cart-membership-option:has(.cart-membership-radio:checked) {
    background: linear-gradient(90deg, #fef6ef, #ffffff);
    border-color: #f69034;
    box-shadow: 0 0 0 1px rgba(246, 144, 52, 0.2);
}

.cart-membership-radio {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    align-self: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
}

.cart-membership-radio:checked {
    border-color: #f69034;
    background: #fff;
    background-image: radial-gradient(circle, #f69034 35%, transparent 35%);
}

.cart-membership-option-content {
    flex: 1;
    min-width: 0;
}

.cart-membership-option-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #303840;
    margin-bottom: 6px;
}

/* 已是会员状态显示 */
.cart-membership-active-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #fffbe6 0%, #fff7e6 100%);
    border: 1px solid #ffe58f;
    border-radius: 6px;
}

.membership-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #d48806;
}

.membership-active-badge i {
    font-size: 20px;
    color: #d48806;
}

.membership-expire-info {
    font-size: 14px;
    color: #666;
}

.membership-expire-info strong {
    color: #d48806;
    font-weight: 600;
}

.membership-benefit-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
}

.membership-benefit-note i {
    font-size: 16px;
    color: #d48806;
    flex-shrink: 0;
}

.cart-membership-badge {
    display: inline-block;
    margin-left: auto;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #e74c3c;
    background-color: transparent;
    border: 1px solid #e74c3c;
    border-radius: 12px;
}

.cart-membership-savings {
    font-size: 13px;
    color: #ff0000;
    margin-bottom: 4px;
}

.cart-membership-price {
    font-size: 14px;
    font-weight: 600;
    color: #303840;
    margin-bottom: 6px;
}

.cart-membership-tc {
    font-size: 11px;
    color: #999;
}

.cart-membership-tc a {
    color: #f69034;
    text-decoration: underline;
}

.cart-membership-nonmember {
    font-size: 14px;
    color: #303840;
}

/* 右侧摘要卡片容器（与订单表单页一致：摘要+推广码同一卡片） */
.cart-summary-card {
    margin: 0 0 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

/* 订单摘要（在 cart-summary-card 内，无单独背景） */
.cart-summary {
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

.cart-summary-header {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid #e6e6e6;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.summary-label {
    font-size: 14px;
    color: #666;
}

.summary-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 红框内字段字体放大1.6倍 - 只放大数值，不放大标签 */
.summary-item:has(#cart-total-incl-tax) .summary-value,
.summary-item:has(#cart-total-incl-tax) .summary-value #cart-total-incl-tax {
    font-size: 22.4px;
}

/* 底部操作（与订单表单页一致） */
.cart-footer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 10px 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

.checkout-button {
    padding: 12px 40px;
    background-color: #f69034;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.checkout-button:hover {
    background-color: #e57d2a;
}

/* 推广码区域（在 cart-summary-card 内，与订单表单页风格一致） */
.cart-promo-section {
    margin: 0;
    padding: 15px 0 0;
    border-top: 1px dashed #e0e0e0;
    background: none;
    border-radius: 0;
}

.cart-promo-header {
    padding: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #303840;
}

.cart-promo-body {
    padding: 0 0 5px 0;
}

.cart-promo-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cart-promo-input {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #303840;
    box-sizing: border-box;
    letter-spacing: 1px;
    background: #fff;
    text-transform: uppercase;
}

.cart-hidden {
    display: none !important;
}

.cart-promo-input:focus {
    border-color: #f69034;
    box-shadow: 0 0 0 2px rgba(246, 144, 52, 0.08);
    outline: none;
}

.cart-promo-apply-btn {
    height: 38px;
    padding: 0 20px;
    background-color: #f69034;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.cart-promo-apply-btn:hover {
    background-color: #e57d2a;
}

.cart-promo-apply-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.cart-promo-edit-btn {
    height: 38px;
    padding: 0 20px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.cart-promo-edit-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.cart-promo-msg {
    margin-top: 6px;
    font-size: 12px;
    min-height: 16px;
}

/* 无报错/无提示时隐藏，有内容时由 JS 写入后自动显示 */
.cart-promo-msg:empty {
    display: none;
}

.cart-promo-msg.success {
    color: #2d8f4e;
}

.cart-promo-msg.error {
    color: #e74c3c;
}

.cart-promo-result {
    padding-top: 8px;
    border-top: none;
}

.cart-promo-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
}

.cart-promo-result-label {
    color: #666;
}

.cart-promo-discount {
    font-weight: 500;
    color: #ff0000;
    font-size: 14px; /* 与 Taxes 等 summary-value 字号保持一致 */
}

/* 支付方式图片 */
.cart-payment-methods {
    margin: 0 0 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.cart-payment-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.cart-payment-methods img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ========== 物流渠道选择触发行 ========== */
.summary-item-shipping.cart-shipping-detail {
    display: block;
    cursor: pointer;
    transition: background 0.15s;
    border-radius: 4px;
    padding: 8px 4px;
    margin: -4px -4px 4px;
}
.summary-item-shipping.cart-shipping-detail:hover {
    background: #f5f5f5;
}
.cart-shipping-lines {
    width: 100%;
}
.cart-shipping-main {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
}
.cart-shipping-label {
    margin-right: 4px;
}
.cart-shipping-fee {
    color: #222;
}
.cart-shipping-sub {
    margin-top: 2px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}
.cart-shipping-sub i {
    font-size: 11px;
    margin-left: 3px;
    color: #999;
}
.summary-item-shipping.cart-shipping-detail:hover .cart-shipping-sub,
.summary-item-shipping.cart-shipping-detail:hover .cart-shipping-sub i {
    color: #f69034;
}
.cart-shipping-country,
#cartShippingChannelName {
    color: #333;
    font-weight: 600;
}
.cart-shipping-eta {
    margin-top: 2px;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}
.cart-shipping-eta strong {
    color: #666;
    font-weight: 400;
}
/* ========== 物流渠道选择弹窗 ========== */
.shipping-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.shipping-modal-overlay.open {
    display: flex;
}
.shipping-modal {
    background: #fff;
    border-radius: 12px;
    width: 480px;
    max-width: 95vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    animation: shippingModalIn 0.2s ease;
}
@keyframes shippingModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.shipping-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
}
.shipping-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}
.shipping-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.shipping-modal-close:hover {
    color: #333;
}
.shipping-modal-body {
    padding: 18px 24px;
    overflow-y: auto;
    flex: 1;
}
.shipping-modal-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    gap: 12px;
}
.shipping-modal-info strong {
    color: #333;
}
.shipping-modal-options {
    display: grid;
    gap: 10px;
}
.shipping-modal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}
.shipping-modal-item:hover {
    border-color: #cfcfcf;
}
.shipping-modal-item.is-active {
    border-color: #2d2d38;
    background: #f7f8fb;
}
.shipping-modal-radio {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #2d2d38;
    flex-shrink: 0;
}
.shipping-modal-item-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.shipping-modal-channel-name {
    font-size: 14px;
    color: #2d2d38;
    font-weight: 600;
}
.shipping-modal-eta {
    font-size: 12px;
    color: #7a7a7a;
}
.shipping-modal-item-price {
    font-size: 14px;
    color: #2d2d38;
    font-weight: 700;
    white-space: nowrap;
}
.shipping-modal-footer {
    padding: 14px 24px 18px;
    border-top: 1px solid #eee;
}
.shipping-modal-confirm {
    width: 100%;
    padding: 12px;
    background: #f69034;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.shipping-modal-confirm:hover {
    background: #e07e28;
}

/* Mobile: bottom sheet style */
@media (max-width: 600px) {
    .shipping-modal-overlay.open {
        align-items: flex-end;
    }
    .shipping-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 80vh;
        animation: shippingModalSlideUp 0.25s ease;
    }
    @keyframes shippingModalSlideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}

.buy-now-transition-loading {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.82);
    color: #333;
    font-size: 14px;
}

.buy-now-transition-loading[hidden] {
    display: none;
}

.buy-now-transition-spinner {
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 3px solid rgba(231, 76, 60, 0.2);
    border-top-color: #e74c3c;
    border-radius: 50%;
    animation: buy-now-transition-spin 0.75s linear infinite;
}

@keyframes buy-now-transition-spin {
    to {
        transform: rotate(360deg);
    }
}
