/* ==========================================================================
   PEELO COMPONENTS - Konverzné moduly
   ========================================================================== */

/* --------------------------------------------------------------------------
   Showcase Layout (pre ukážky)
   -------------------------------------------------------------------------- */
.components-showcase {
    background: var(--cream);
    min-height: 100vh;
    padding: 2rem;
}

.component-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.component-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.component-badge {
    display: inline-block;
    background: var(--purple);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.component-header h1 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.component-header p {
    color: #666;
    font-size: 1.1rem;
}

.component-section {
    margin-bottom: 3rem;
}

.component-section h2 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.component-preview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.component-preview-dark {
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.component-preview-narrow {
    max-width: 400px;
}

.component-preview-wide {
    max-width: 100%;
}

.component-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.component-note {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.component-note h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--purple);
}

.component-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.component-note li {
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.875rem;
    color: #666;
}

.component-note li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--green);
}

/* --------------------------------------------------------------------------
   1. SHIPPING PROGRESS BAR
   -------------------------------------------------------------------------- */
.shipping-progress {
    background: linear-gradient(135deg, #f8f5f0 0%, #fff 100%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 1.25rem;
}

.shipping-progress-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.shipping-progress-icon {
    width: 48px;
    height: 48px;
    background: var(--purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shipping-progress-icon-success {
    background: var(--green);
}

.shipping-progress-text {
    flex: 1;
}

.shipping-progress-message {
    display: block;
    font-size: 1rem;
    color: var(--dark);
}

.shipping-progress-message strong {
    color: var(--purple);
}

.shipping-progress-message-success strong {
    color: var(--green);
}

.shipping-progress-hint {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

.shipping-progress-bar {
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    position: relative;
    overflow: visible;
}

.shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.shipping-progress-complete .shipping-progress-fill {
    background: var(--green);
}

.shipping-progress-marker {
    position: absolute;
    top: -24px;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--purple);
    font-weight: 600;
}

.shipping-progress-goal {
    position: absolute;
    right: 0;
    top: -24px;
    font-size: 0.7rem;
    color: #888;
}

/* Compact version */
.shipping-progress-compact {
    background: #f8f5f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.shipping-progress-compact-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.shipping-progress-compact-text svg {
    color: var(--purple);
}

.shipping-progress-compact-bar {
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.shipping-progress-compact-fill {
    height: 100%;
    background: var(--purple);
    border-radius: 2px;
}

/* With product suggestion */
.shipping-progress-suggestion {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.shipping-suggestion-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shipping-suggestion-product img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.shipping-suggestion-info {
    flex: 1;
}

.shipping-suggestion-name {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
}

.shipping-suggestion-price {
    display: block;
    color: var(--purple);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Sticky version */
.shipping-progress-sticky {
    background: var(--dark);
    color: white;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 8px;
}

.shipping-progress-sticky-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.shipping-progress-sticky-content svg {
    flex-shrink: 0;
}

.shipping-progress-sticky-bar {
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.shipping-progress-sticky-fill {
    height: 100%;
    background: var(--green);
    border-radius: 2px;
}

.btn-white {
    background: white;
    color: var(--dark);
}

.btn-white:hover {
    background: #f5f5f5;
}

/* --------------------------------------------------------------------------
   2. CROSS-SELL
   -------------------------------------------------------------------------- */
.cross-sell-bundle {
    max-width: 600px;
}

.cross-sell-title {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.cross-sell-products {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cross-sell-product {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
    text-align: center;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    position: relative;
    transition: border-color 0.2s;
}

.cross-sell-product-main {
    border-color: var(--purple);
    background: rgba(108, 99, 255, 0.05);
}

.cross-sell-product-image {
    margin-bottom: 0.75rem;
}

.cross-sell-product-image img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.cross-sell-product-name {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cross-sell-product-price {
    font-size: 0.9rem;
    color: var(--purple);
    font-weight: 600;
}

.cross-sell-checkbox {
    margin-top: 0.75rem;
}

.cross-sell-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--purple);
}

.cross-sell-checkbox label {
    font-size: 0.7rem;
    color: #888;
}

.cross-sell-plus {
    color: #ccc;
    flex-shrink: 0;
}

.cross-sell-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cross-sell-total-label {
    font-size: 0.9rem;
    color: #666;
}

.cross-sell-total-prices {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.cross-sell-total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.cross-sell-total-original {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.cross-sell-total-save {
    display: block;
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 600;
}

/* Cart cross-sell */
.cart-cross-sell {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.25rem;
}

.cart-cross-sell-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.cart-cross-sell-title svg {
    color: var(--gold);
}

.cart-cross-sell-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-cross-sell-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
}

/* Cross-sell image styles moved to styles.css */

.cart-cross-sell-info {
    flex: 1;
}

.cart-cross-sell-name {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-cross-sell-desc {
    display: block;
    font-size: 0.75rem;
    color: #888;
}

.cart-cross-sell-price {
    display: block;
    font-weight: 600;
    color: var(--purple);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Inline cross-sell */
.inline-cross-sell {
    background: rgba(108, 99, 255, 0.05);
    border: 1px dashed var(--purple);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.inline-cross-sell-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.inline-cross-sell-items {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-cross-sell-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid #ddd;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.inline-cross-sell-item:hover {
    border-color: var(--purple);
    background: rgba(108, 99, 255, 0.05);
}

.inline-cross-sell-item img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

/* Related products slider */
.related-products {
    width: 100%;
}

.related-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.related-products-header h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
}

.related-products-nav {
    display: flex;
    gap: 0.5rem;
}

.related-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.related-nav-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.related-product-card {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.related-product-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.related-product-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.related-product-price {
    display: block;
    font-weight: 600;
    color: var(--purple);
    margin-bottom: 0.75rem;
}

/* Added to cart popup */
.added-to-cart-popup {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.added-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--green);
    color: white;
}

.added-popup-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.added-popup-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
}

.added-popup-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
}

.added-popup-product img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.added-popup-product-info {
    flex: 1;
}

.added-popup-product-info span {
    display: block;
    font-size: 0.9rem;
}

.added-popup-product-info strong {
    color: var(--purple);
}

.added-popup-cross-sell {
    padding: 1rem 1.25rem;
    background: #f8f8f8;
}

.added-popup-cross-title {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.added-popup-cross-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
}

.added-popup-cross-item img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.added-popup-cross-info {
    flex: 1;
}

.added-popup-cross-info span {
    display: block;
    font-size: 0.85rem;
}

.added-popup-cross-info strong {
    color: var(--purple);
    font-size: 0.85rem;
}

.added-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
}

/* --------------------------------------------------------------------------
   3. EMAIL POPUP
   -------------------------------------------------------------------------- */
.email-popup {
    background: white;
    border-radius: 16px;
    display: flex;
    max-width: 700px;
    overflow: hidden;
    position: relative;
}

.email-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    z-index: 10;
    padding: 0.25rem;
}

.email-popup-image {
    flex: 0 0 40%;
    display: none;
}

.email-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.email-popup-content {
    flex: 1;
    padding: 2.5rem 2rem;
}

.email-popup-badge {
    display: inline-block;
    background: var(--green);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.email-popup-title {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.email-popup-title span {
    color: var(--purple);
}

.email-popup-desc {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.email-popup-form {
    margin-bottom: 1rem;
}

.email-popup-input-group {
    display: flex;
    gap: 0.5rem;
}

.email-popup-input-group input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.email-popup-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
}

.email-popup-consent input {
    margin-top: 0.125rem;
}

.email-popup-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #888;
}

/* Exit intent variant */
.email-popup-exit {
    max-width: 450px;
}

.email-popup-exit .email-popup-content {
    padding: 3rem 2rem;
}

.email-popup-content-centered {
    text-align: center;
}

.email-popup-icon {
    color: var(--gold);
    margin-bottom: 1rem;
}

.email-popup-exit .email-popup-form input {
    width: 100%;
    margin-bottom: 0.75rem;
}

.email-popup-skip {
    background: none;
    border: none;
    color: #888;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 1rem;
}

/* Success state */
.email-popup-success .email-popup-success-icon {
    color: var(--green);
    margin-bottom: 1.5rem;
}

.email-popup-code {
    background: #f8f8f8;
    border: 2px dashed var(--purple);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.code-label {
    font-size: 0.8rem;
    color: #666;
}

.code-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 2px;
}

.code-copy {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
}

/* Email bar */
.email-bar {
    background: var(--purple);
    color: white;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
}

.email-bar-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.email-bar-text {
    display: flex;
    flex-direction: column;
}

.email-bar-text span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.email-bar-form {
    display: flex;
    gap: 0.5rem;
}

.email-bar-form input {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    width: 200px;
}

.email-bar-close {
    background: none;
    border: none;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    margin-left: 1rem;
}

/* Slide-in */
.email-slidein {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    width: 280px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
}

.email-slidein-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

.email-slidein-icon {
    color: var(--purple);
    margin-bottom: 1rem;
}

.email-slidein h3 {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.email-slidein p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.email-slidein-form input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   4. PROMO RULES
   -------------------------------------------------------------------------- */
.promo-banner {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(242, 183, 232, 0.1));
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promo-banner-icon {
    color: var(--purple);
}

.promo-banner-content {
    flex: 1;
}

.promo-banner-content strong {
    display: block;
    color: var(--purple);
}

.promo-banner-content span {
    font-size: 0.85rem;
    color: #666;
}

.promo-banner-link {
    font-size: 0.85rem;
    color: var(--purple);
    font-weight: 500;
}

/* Cart promo applied */
.cart-promo-applied {
    background: rgba(21, 128, 61, 0.05);
    border: 1px solid rgba(21, 128, 61, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
}

.cart-promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-promo-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 500;
}

.cart-promo-name {
    font-weight: 600;
    color: var(--dark);
}

.cart-promo-items {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1rem;
}

.cart-promo-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.cart-promo-item img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.cart-promo-item span {
    flex: 1;
    font-size: 0.9rem;
}

.cart-promo-item-price {
    font-weight: 500;
}

.cart-promo-item-free {
    background: rgba(21, 128, 61, 0.1);
    margin: 0 -0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
}

.cart-promo-item-free .cart-promo-item-price del {
    color: #999;
    margin-right: 0.5rem;
}

.cart-promo-item-free .cart-promo-item-price strong {
    color: var(--green);
}

.cart-promo-savings {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0,0,0,0.1);
    font-weight: 600;
}

.cart-promo-savings strong {
    color: var(--green);
}

/* Gift progress */
.gift-progress {
    background: linear-gradient(135deg, #fff5f8, #fff);
    border: 1px solid rgba(242, 183, 232, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
}

.gift-progress-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gift-progress-icon {
    color: var(--pink);
}

.gift-progress-text strong {
    display: block;
    color: var(--dark);
}

.gift-progress-text span {
    font-size: 0.85rem;
    color: #666;
}

.gift-progress-text b {
    color: var(--pink);
}

.gift-progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    position: relative;
    margin-bottom: 1rem;
}

.gift-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    border-radius: 4px;
}

.gift-progress-gift {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gift-progress-gift img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
}

.gift-progress-tiers {
    display: flex;
    justify-content: space-between;
}

.gift-tier {
    text-align: center;
    opacity: 0.5;
}

.gift-tier-active {
    opacity: 1;
}

.gift-tier-value {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
}

.gift-tier-reward {
    display: block;
    font-size: 0.7rem;
    color: var(--pink);
}

/* Quantity discount */
.quantity-discount {
    max-width: 400px;
}

.quantity-discount-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quantity-discount-tiers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-tier {
    display: block;
    cursor: pointer;
}

.quantity-tier input {
    display: none;
}

.quantity-tier-content {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    transition: all 0.2s;
}

.quantity-tier input:checked + .quantity-tier-content {
    border-color: var(--purple);
    background: rgba(108, 99, 255, 0.05);
}

.quantity-tier-popular .quantity-tier-content {
    border-color: var(--green);
}

.quantity-tier-badge {
    position: absolute;
    top: -10px;
    left: 1rem;
    background: var(--green);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
}

.quantity-tier-qty {
    font-weight: 600;
    min-width: 50px;
}

.quantity-tier-price {
    flex: 1;
}

.quantity-tier-price del {
    color: #999;
    margin-right: 0.5rem;
}

.quantity-tier-price strong {
    color: var(--purple);
}

.quantity-tier-save {
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 500;
}

/* Countdown */
.promo-countdown {
    background: var(--dark);
    color: white;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-countdown-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promo-countdown-icon {
    color: var(--gold);
}

.promo-countdown-text strong {
    display: block;
}

.promo-countdown-text span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.promo-countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.countdown-unit {
    text-align: center;
}

.countdown-value {
    display: block;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 45px;
}

.countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.countdown-separator {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0 0.125rem;
}

/* Promo code */
.promo-code-section {
    max-width: 400px;
}

.promo-code-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--purple);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
}

.toggle-arrow {
    transition: transform 0.2s;
}

.promo-code-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.promo-code-input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.promo-code-applied {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(21, 128, 61, 0.1);
    border: 1px solid rgba(21, 128, 61, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.promo-code-applied-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    color: var(--green);
    font-size: 0.9rem;
}

.promo-code-applied-value {
    font-weight: 700;
    color: var(--green);
}

.promo-code-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. BACK IN STOCK
   -------------------------------------------------------------------------- */
.product-out-of-stock {
    max-width: 400px;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.stock-status-out {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.notify-form {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.5rem;
}

.notify-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notify-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.notify-input-group {
    display: flex;
    gap: 0.5rem;
}

.notify-input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
}

.notify-input-group .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.notify-success {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(21, 128, 61, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
}

.notify-success-icon {
    color: var(--green);
    flex-shrink: 0;
}

.notify-success-text strong {
    display: block;
    color: var(--green);
    margin-bottom: 0.25rem;
}

.notify-success-text span {
    font-size: 0.85rem;
    color: #666;
}

/* Product card soldout */
.product-card-soldout {
    max-width: 250px;
}

.product-card-image {
    position: relative;
    margin-bottom: 1rem;
}

.product-card-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-soldout {
    background: #666;
    color: white;
}

.product-card-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.product-card-price {
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.btn-notify {
    font-size: 0.85rem;
}

.btn-notify svg {
    margin-right: 0.375rem;
}

/* Notify modal */
.notify-modal {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.notify-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

.notify-modal-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f8f8;
}

.notify-modal-product img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.notify-modal-product-name {
    display: block;
    font-weight: 500;
}

.notify-modal-product-price {
    color: var(--purple);
    font-weight: 600;
}

.notify-modal-content {
    padding: 2rem;
    text-align: center;
}

.notify-modal-icon {
    color: var(--purple);
    margin-bottom: 1rem;
}

.notify-modal-content h2 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.notify-modal-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.notify-modal-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.notify-modal-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1rem;
}

/* Waitlist */
.notify-with-waitlist {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.25rem;
}

.waitlist-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.waitlist-avatars {
    display: flex;
}

.waitlist-avatars img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}

.waitlist-avatars img:first-child {
    margin-left: 0;
}

.waitlist-count {
    width: 28px;
    height: 28px;
    background: var(--purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: -8px;
    border: 2px solid white;
}

.waitlist-text {
    font-size: 0.85rem;
    color: #666;
}

.notify-waitlist-form {
    display: flex;
    gap: 0.5rem;
}

.notify-waitlist-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Email preview */
.email-preview {
    background: white;
    border-radius: 12px;
    border: 1px solid #ddd;
    max-width: 500px;
    overflow: hidden;
}

.email-preview-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.email-preview-from {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.email-preview-subject {
    font-size: 0.85rem;
    color: #666;
}

.email-preview-body {
    padding: 1.5rem;
}

.email-preview-body h3 {
    font-family: var(--font-headline);
    margin-bottom: 0.5rem;
}

.email-preview-body > p {
    color: #666;
    margin-bottom: 1.5rem;
}

.email-preview-product,
.email-reorder-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.email-preview-product img,
.email-reorder-product img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.email-preview-product-info strong,
.email-reorder-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.email-preview-product-info span,
.email-reorder-info span {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.email-reorder-price {
    font-weight: 600;
    color: var(--purple) !important;
}

.email-preview-urgency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #dc2626;
    margin-top: 1rem;
}

.email-preview-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   6. REVIEWS
   -------------------------------------------------------------------------- */
.reviews-summary {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.reviews-summary-score {
    text-align: center;
}

.reviews-score-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.reviews-stars {
    display: flex;
    gap: 0.125rem;
    justify-content: center;
    margin: 0.5rem 0;
}

.star {
    color: #ddd;
}

.star-filled {
    color: var(--gold);
}

.star-half {
    color: var(--gold);
    opacity: 0.5;
}

.reviews-count {
    font-size: 0.85rem;
    color: #666;
}

.reviews-summary-bars {
    flex: 1;
    min-width: 200px;
}

.reviews-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.reviews-bar-label {
    font-size: 0.85rem;
    color: #666;
    width: 16px;
}

.reviews-bar-track {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
}

.reviews-bar-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 4px;
}

.reviews-bar-count {
    font-size: 0.8rem;
    color: #888;
    width: 24px;
    text-align: right;
}

/* Review item */
.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author-name {
    display: block;
    font-weight: 500;
}

.review-verified {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--green);
}

.review-meta {
    text-align: right;
}

.review-date {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

.review-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-images {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-images img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
}

.review-helpful {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.review-helpful-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: none;
    border: 1px solid #ddd;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.review-helpful-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
}

/* Compact rating */
.rating-compact {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.rating-stars-compact {
    display: flex;
    gap: 1px;
}

.rating-count-compact {
    font-size: 0.8rem;
    color: #888;
}

/* Review form */
.review-form {
    max-width: 500px;
}

.review-form-title {
    font-family: var(--font-headline);
    margin-bottom: 1rem;
}

.review-form-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8f8f8;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.review-form-product img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: var(--gold);
}

.review-photo-upload {
    margin-top: 0.5rem;
}

.photo-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

.photo-upload-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
}

/* Trust badges */
.trust-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.trust-badge {
    text-align: center;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.trust-badge-icon {
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.trust-badge span {
    font-size: 0.8rem;
    color: #666;
}

.trust-reviews-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(245, 198, 65, 0.1), rgba(245, 198, 65, 0.05));
    border: 1px solid rgba(245, 198, 65, 0.3);
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.trust-score {
    text-align: center;
}

.trust-score-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.trust-score-stars {
    color: var(--gold);
    font-size: 0.9rem;
}

.trust-score-text strong {
    display: block;
}

.trust-score-text span {
    font-size: 0.85rem;
    color: #666;
}

/* --------------------------------------------------------------------------
   7. STICKY BAR
   -------------------------------------------------------------------------- */
.sticky-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.sticky-bar-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sticky-bar-content svg {
    flex-shrink: 0;
}

.sticky-bar-shipping {
    background: var(--green);
    color: white;
}

.sticky-bar-sale {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
}

.sticky-bar-badge {
    background: white;
    color: var(--purple);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
}

.sticky-bar-countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.countdown-mini {
    display: flex;
    gap: 0.125rem;
    font-weight: 700;
}

.sticky-bar-cta {
    background: white;
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

.sticky-bar-code {
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    color: var(--dark);
}

.sticky-code {
    background: var(--purple);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    letter-spacing: 1px;
}

.sticky-bar-copy {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: white;
    border: 1px solid #ddd;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

.sticky-bar-new {
    background: var(--gold);
    color: var(--dark);
}

.sticky-bar-new-badge {
    background: var(--dark);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sticky-bar-info {
    background: #f8f8f8;
    border: 1px solid #eee;
    color: #666;
}

.sticky-bar-close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    padding: 0;
}

.sticky-bar-rotating {
    background: var(--dark);
    color: white;
}

.sticky-bar-messages {
    position: relative;
    height: 24px;
    overflow: hidden;
}

.sticky-bar-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s;
}

.sticky-bar-message.active {
    opacity: 1;
}

.sticky-bar-progress {
    background: var(--purple);
    color: white;
}

.sticky-progress-bar {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.sticky-progress-fill {
    height: 100%;
    background: white;
    border-radius: 2px;
}

/* Bottom bar */
.sticky-bar-bottom {
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 1.25rem 1.5rem;
}

.sticky-bar-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.sticky-bar-bottom-text strong {
    display: block;
    margin-bottom: 0.125rem;
}

.sticky-bar-bottom-text span {
    font-size: 0.85rem;
    color: #666;
}

.sticky-bar-bottom-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sticky-bar-input {
    padding: 0.625rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 200px;
}

.sticky-bar-dismiss {
    background: none;
    border: none;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Mobile sticky add to cart */
.sticky-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.sticky-product-name {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
}

.sticky-product-price {
    font-weight: 700;
    color: var(--purple);
}

.sticky-add-to-cart .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   8. QUICK CHECKOUT
   -------------------------------------------------------------------------- */
.quick-checkout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: flex-start;
}

.checkout-form-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Express checkout */
.express-checkout {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.5rem;
}

.express-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 1rem;
}

.express-buttons {
    display: flex;
    gap: 0.75rem;
}

.express-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.express-btn:hover {
    opacity: 0.9;
}

.express-btn-apple {
    background: #000;
    color: white;
}

.express-btn-google {
    background: white;
    border: 1px solid #ddd;
    color: #333;
}

.express-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    color: #888;
    font-size: 0.85rem;
}

.express-divider::before,
.express-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

/* Checkout sections */
.checkout-section {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.section-number {
    width: 24px;
    height: 24px;
    background: var(--purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.checkout-section-content {
    padding: 1.25rem;
}

/* Form layout */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row-2 > .form-group {
    flex: 1;
}

.form-row-3 > .form-group {
    flex: 1;
}

.form-row-3 > .form-group-2 {
    flex: 2;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
}

/* Delivery options */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.delivery-option {
    display: block;
    cursor: pointer;
}

.delivery-option input {
    display: none;
}

.delivery-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all 0.2s;
}

.delivery-option input:checked + .delivery-option-content {
    border-color: var(--purple);
    background: rgba(108, 99, 255, 0.05);
}

.delivery-option-name {
    display: block;
    font-weight: 500;
}

.delivery-option-time {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.delivery-option-price {
    font-weight: 600;
}

.delivery-price-free {
    color: var(--green);
}

/* Payment options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all 0.2s;
}

.payment-option input:checked + .payment-option-content {
    border-color: var(--purple);
    background: rgba(108, 99, 255, 0.05);
}

.payment-option-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-option-name {
    font-weight: 500;
}

.payment-cards {
    display: flex;
    gap: 0.375rem;
}

.payment-option-fee {
    font-size: 0.85rem;
    color: #888;
}

/* Card form */
.card-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Checkout summary */
.checkout-summary-column {
    position: sticky;
    top: 2rem;
}

.checkout-summary-sticky {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.5rem;
}

.summary-title {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.summary-items {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.summary-item-image {
    position: relative;
}

.summary-item-image img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.summary-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.summary-item-variant {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.summary-item-price {
    font-weight: 600;
}

.summary-promo {
    padding: 0.75rem 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.summary-promo-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--purple);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
}

.summary-totals {
    padding-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    font-size: 0.9rem;
}

.summary-row-total {
    font-size: 1.1rem;
    font-weight: 700;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid #ddd;
}

.checkout-submit {
    margin-top: 1.25rem;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.checkout-terms {
    font-size: 0.75rem;
    color: #888;
    margin-top: 1rem;
    text-align: center;
}

.checkout-terms a {
    color: var(--purple);
}

.checkout-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #ddd;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    color: #666;
}

.trust-item svg {
    color: var(--green);
}

/* Checkout progress */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.progress-step-icon {
    width: 32px;
    height: 32px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    background: white;
}

.progress-step span {
    font-size: 0.8rem;
    color: #888;
}

.progress-step-active .progress-step-icon {
    border-color: var(--purple);
    background: var(--purple);
    color: white;
}

.progress-step-active span {
    color: var(--purple);
    font-weight: 500;
}

.progress-step-completed .progress-step-icon {
    border-color: var(--green);
    background: var(--green);
    color: white;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #ddd;
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
}

.progress-line-completed {
    background: var(--green);
}

/* --------------------------------------------------------------------------
   9. REPEAT ORDER
   -------------------------------------------------------------------------- */
.order-row {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.order-row-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-row-images {
    display: flex;
}

.order-row-images img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid white;
    margin-left: -10px;
}

.order-row-images img:first-child {
    margin-left: 0;
}

.order-row-info {
    flex: 1;
}

.order-row-number {
    display: block;
    font-weight: 600;
}

.order-row-date {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.order-row-total {
    font-weight: 600;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.order-status-delivered {
    background: rgba(21, 128, 61, 0.1);
    color: var(--green);
}

.order-row-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.order-row-actions .btn svg {
    margin-right: 0.25rem;
}

/* Order detail actions */
.order-detail-actions {
    text-align: center;
}

.order-detail-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.order-detail-hint {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
}

/* Reorder items */
.reorder-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reorder-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.reorder-item img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

.reorder-item-info {
    flex: 1;
}

.reorder-item-name {
    display: block;
    font-weight: 500;
}

.reorder-item-details {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

/* Subscription option */
.subscription-option {
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    max-width: 400px;
}

.subscription-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #fafafa;
}

.subscription-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

/* Switch/toggle */
.switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: var(--green);
}

.switch input:checked + .slider::before {
    transform: translateX(20px);
}

.subscription-save {
    background: var(--green);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.subscription-content {
    padding: 1rem;
}

.subscription-content > p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.subscription-frequency {
    margin-bottom: 1rem;
}

.subscription-frequency label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.375rem;
}

.subscription-frequency select {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.subscription-summary {
    background: rgba(21, 128, 61, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
}

.subscription-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.subscription-price-old {
    color: #999;
    text-decoration: line-through;
}

.subscription-price-new {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green);
}

.subscription-price-period {
    color: #666;
    font-size: 0.85rem;
}

/* Reorder widget */
.reorder-widget {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    max-width: 350px;
}

.reorder-widget-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.reorder-widget-header h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    margin: 0;
}

.reorder-widget-header svg {
    color: var(--purple);
}

.reorder-widget-items {
    padding: 0.5rem;
}

.reorder-widget-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.reorder-widget-item:hover {
    background: #f8f8f8;
}

.reorder-widget-item img {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

.reorder-widget-item-info {
    flex: 1;
}

.reorder-widget-item-name {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
}

.reorder-widget-item-last {
    display: block;
    font-size: 0.75rem;
    color: #888;
}

.reorder-widget-link {
    display: block;
    text-align: center;
    padding: 0.75rem;
    border-top: 1px solid #eee;
    color: var(--purple);
    font-size: 0.85rem;
    text-decoration: none;
}

/* Reorder modal */
.reorder-modal {
    background: white;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
}

.reorder-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid #eee;
}

.reorder-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.reorder-modal-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

.reorder-modal-content {
    padding: 1.25rem;
}

.reorder-modal-content > p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.reorder-modal-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reorder-modal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.reorder-modal-item img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

.reorder-modal-item-name {
    flex: 1;
    font-size: 0.9rem;
}

.reorder-modal-item-qty {
    color: #888;
    font-size: 0.85rem;
}

.reorder-modal-item-price {
    font-weight: 500;
}

.reorder-modal-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 1.1rem;
}

.reorder-modal-total strong {
    color: var(--purple);
}

.reorder-modal-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(108, 99, 255, 0.05);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #666;
}

.reorder-modal-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem;
    border-top: 1px solid #eee;
}

.reorder-modal-actions .btn {
    flex: 1;
}

/* --------------------------------------------------------------------------
   10. BUNDLES
   -------------------------------------------------------------------------- */
.bundle-builder {
    max-width: 450px;
}

.bundle-title {
    font-family: var(--font-headline);
    margin-bottom: 1rem;
}

.bundle-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bundle-option {
    display: block;
    cursor: pointer;
}

.bundle-option input {
    display: none;
}

.bundle-option-content {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 1rem;
    position: relative;
    transition: all 0.2s;
}

.bundle-option input:checked + .bundle-option-content {
    border-color: var(--purple);
    background: rgba(108, 99, 255, 0.05);
}

.bundle-option-popular .bundle-option-content {
    border-color: var(--green);
}

.bundle-badge {
    position: absolute;
    top: -10px;
    left: 1rem;
    background: var(--green);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
}

.bundle-badge-value {
    background: var(--gold);
    color: var(--dark);
}

.bundle-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.bundle-option-name {
    font-weight: 600;
}

.bundle-option-prices {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.bundle-option-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple);
}

.bundle-option-original {
    color: #999;
    text-decoration: line-through;
}

.bundle-option-save {
    display: block;
    font-size: 0.8rem;
    color: var(--green);
    margin-top: 0.25rem;
}

/* Bundle card */
.bundle-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    max-width: 400px;
    position: relative;
}

.bundle-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--purple);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.bundle-card-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    background: #f8f8f8;
}

.bundle-card-images img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.bundle-card-plus {
    color: #888;
    font-size: 1.25rem;
}

.bundle-card-content {
    padding: 1.25rem;
}

.bundle-card-title {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.bundle-card-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.bundle-card-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.bundle-card-items span {
    font-size: 0.85rem;
    color: #666;
    padding-left: 1rem;
    position: relative;
}

.bundle-card-items span::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
}

.bundle-card-pricing {
    margin-bottom: 1rem;
}

.bundle-card-prices {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.bundle-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
}

.bundle-card-original {
    color: #999;
    text-decoration: line-through;
}

.bundle-card-save {
    display: block;
    font-size: 0.85rem;
    color: var(--green);
    margin-top: 0.25rem;
}

/* Bundle in grid */
.product-grid-preview {
    display: flex;
    justify-content: center;
}

.product-card-bundle {
    max-width: 250px;
}

.bundle-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 12px;
}

.bundle-images-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
}

.bundle-images-grid img:last-child:nth-child(3) {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.badge-bundle {
    background: var(--purple);
    color: white;
}

.product-card-subtitle {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.product-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-card-original {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

/* Mix & Match */
.mix-match-bundle {
    max-width: 500px;
}

.mix-match-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mix-match-header h3 {
    font-family: var(--font-headline);
    margin-bottom: 0.25rem;
}

.mix-match-header p {
    color: #666;
}

.mix-match-progress {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.mix-match-slots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mix-match-slot {
    width: 80px;
    height: 80px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mix-match-slot-empty {
    color: #aaa;
    gap: 0.25rem;
}

.mix-match-slot-empty span {
    font-size: 0.7rem;
}

.mix-match-slot-filled {
    border-style: solid;
    border-color: var(--purple);
}

.mix-match-slot-filled img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.mix-match-slot-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.mix-match-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.mix-match-discount {
    color: var(--green);
    font-weight: 600;
}

.mix-match-products {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mix-match-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.mix-match-product img {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

.mix-match-product-name {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
}

.mix-match-product-price {
    color: var(--purple);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Gift set */
.gift-set-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    max-width: 400px;
    position: relative;
}

.gift-set-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--pink);
    color: white;
    padding: 0.375rem 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.gift-set-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gift-set-content {
    padding: 1.5rem;
}

.gift-set-title {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.gift-set-desc {
    color: #666;
    margin-bottom: 1rem;
}

.gift-set-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.gift-set-includes li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.9rem;
}

.gift-set-includes svg {
    color: var(--green);
    flex-shrink: 0;
}

.gift-set-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.gift-set-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--purple);
}

.gift-set-value {
    font-size: 0.85rem;
    color: #888;
}

.gift-set-card .btn svg {
    margin-right: 0.5rem;
}

/* Cart bundle suggestion */
.cart-bundle-suggestion {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(242, 183, 232, 0.1));
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.cart-bundle-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(108, 99, 255, 0.1);
    color: var(--purple);
    font-weight: 600;
}

.cart-bundle-content {
    padding: 1rem;
}

.cart-bundle-content > p {
    margin-bottom: 1rem;
}

.cart-bundle-compare {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cart-bundle-before,
.cart-bundle-after {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
}

.cart-bundle-before {
    background: white;
}

.cart-bundle-after {
    background: rgba(21, 128, 61, 0.1);
}

.cart-bundle-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.cart-bundle-price {
    font-weight: 700;
}

.cart-bundle-after .cart-bundle-price {
    color: var(--green);
}

/* --------------------------------------------------------------------------
   11. UPSELL
   -------------------------------------------------------------------------- */
.upsell-popup {
    background: white;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.upsell-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    z-index: 1;
}

.upsell-popup-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.upsell-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.upsell-popup-header h2 {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.upsell-popup-header p {
    color: #666;
}

.upsell-popup-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
}

.upsell-option {
    flex: 1;
    text-align: center;
    padding: 1.25rem;
    border-radius: 12px;
    position: relative;
}

.upsell-option-current {
    background: #f5f5f5;
}

.upsell-option-upgrade {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(242, 183, 232, 0.1));
    border: 2px solid var(--purple);
}

.upsell-option-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 0.75rem;
}

.upsell-option-upgrade .upsell-option-label {
    color: var(--purple);
    font-weight: 600;
}

.upsell-option-image {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.upsell-option-image img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.upsell-option-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: var(--purple);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.upsell-option h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.upsell-option-prices {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.upsell-option-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple);
}

.upsell-option-original {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.upsell-option-save {
    display: block;
    font-size: 0.8rem;
    color: var(--green);
    margin-top: 0.5rem;
}

.upsell-arrow {
    color: var(--purple);
    flex-shrink: 0;
}

.upsell-popup-actions {
    padding: 1rem 2rem 0.5rem;
    text-align: center;
}

.upsell-skip {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    background: none;
    border: none;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
}

.upsell-popup-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    font-size: 0.85rem;
}

/* Inline cart upsell */
.cart-upsell-inline {
    border: 2px solid rgba(108, 99, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.cart-upsell-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(108, 99, 255, 0.1);
    color: var(--purple);
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-upsell-content {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.cart-upsell-current,
.cart-upsell-upgrade {
    flex: 1;
}

.cart-upsell-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.cart-upsell-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.cart-upsell-product-highlight {
    background: rgba(21, 128, 61, 0.1);
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.cart-upsell-product img {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

.cart-upsell-product strong {
    display: block;
    font-size: 0.85rem;
}

.cart-upsell-product span {
    font-size: 0.8rem;
    color: #666;
}

.cart-upsell-product del {
    color: #999;
    margin-left: 0.25rem;
}

/* Version selector */
.product-version-selector {
    max-width: 500px;
}

.product-version-selector h4 {
    margin-bottom: 1rem;
}

.version-options {
    display: flex;
    gap: 1rem;
}

.version-option {
    flex: 1;
    cursor: pointer;
}

.version-option input {
    display: none;
}

.version-option-content {
    height: 100%;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    transition: all 0.2s;
}

.version-option input:checked + .version-option-content {
    border-color: var(--purple);
    background: rgba(108, 99, 255, 0.05);
}

.version-option-premium .version-option-content {
    border-color: var(--green);
}

.version-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: white;
    padding: 0.125rem 0.75rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.version-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.version-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.version-features li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: #666;
    padding-left: 1.25rem;
    position: relative;
}

.version-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
}

.version-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
}

.version-pricing {
    display: flex;
    flex-direction: column;
}

.version-value {
    font-size: 0.8rem;
    color: var(--green);
}

/* Post-purchase upsell */
.post-purchase-upsell {
    background: white;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    overflow: hidden;
}

.post-upsell-header {
    text-align: center;
    padding: 2rem;
    background: rgba(21, 128, 61, 0.05);
}

.post-upsell-icon {
    color: var(--green);
    margin-bottom: 1rem;
}

.post-upsell-header h3 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.post-upsell-header p {
    color: #666;
}

.post-upsell-offer {
    padding: 1.5rem;
}

.post-upsell-badge {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-upsell-offer h4 {
    text-align: center;
    margin-bottom: 1rem;
}

.post-upsell-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.post-upsell-product img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.post-upsell-product-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.post-upsell-product-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.post-upsell-prices {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.post-upsell-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green);
}

.post-upsell-original {
    color: #999;
    text-decoration: line-through;
}

.post-upsell-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--green);
    margin-top: 0.75rem;
}

.post-upsell-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.countdown-display {
    display: flex;
    gap: 0.25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Quantity upsell */
.quantity-upsell {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(21, 128, 61, 0.05);
    border: 1px solid rgba(21, 128, 61, 0.2);
    border-radius: 10px;
    flex-wrap: wrap;
}

.quantity-upsell-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.quantity-upsell-message svg {
    color: var(--green);
    flex-shrink: 0;
}

/* Size upsell */
.size-upsell {
    max-width: 400px;
}

.size-upsell-header {
    margin-bottom: 0.75rem;
}

.size-upsell-badge {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.size-options {
    display: flex;
    gap: 0.5rem;
}

.size-option {
    flex: 1;
    cursor: pointer;
}

.size-option input {
    display: none;
}

.size-option-content {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    position: relative;
    transition: all 0.2s;
}

.size-option input:checked + .size-option-content {
    border-color: var(--purple);
    background: rgba(108, 99, 255, 0.05);
}

.size-option-recommended .size-option-content {
    border-color: var(--green);
}

.size-option-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
}

.size-option-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.size-option-price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple);
}

.size-option-unit {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.125rem;
}

.size-option-save {
    display: block;
    font-size: 0.7rem;
    color: var(--green);
    font-weight: 500;
    margin-top: 0.375rem;
}

/* Addon upsells */
.addon-upsells {
    max-width: 400px;
}

.addon-upsells h4 {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.addon-option {
    display: block;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.addon-option input {
    display: none;
}

.addon-option-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: all 0.2s;
}

.addon-option input:checked + .addon-option-content {
    border-color: var(--purple);
    background: rgba(108, 99, 255, 0.05);
}

.addon-option-content img {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

.addon-option-info {
    flex: 1;
}

.addon-option-info strong {
    display: block;
    font-size: 0.9rem;
}

.addon-option-info span {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.addon-option-price {
    font-weight: 600;
    color: var(--purple);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .email-popup-image {
        display: block;
    }
}

@media (max-width: 767px) {
    .components-showcase {
        padding: 1rem;
    }

    .component-header h1 {
        font-size: 1.75rem;
    }

    .component-preview {
        padding: 1.25rem;
    }

    .cross-sell-products {
        flex-direction: column;
    }

    .cross-sell-product {
        max-width: 100%;
    }

    .cross-sell-plus {
        transform: rotate(90deg);
    }

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

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

    .quick-checkout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-column {
        position: static;
    }

    .version-options {
        flex-direction: column;
    }

    .size-options {
        flex-direction: column;
    }

    .upsell-popup-compare {
        flex-direction: column;
    }

    .upsell-arrow {
        transform: rotate(90deg);
    }

    .cart-upsell-content {
        flex-direction: column;
    }
}
