/**
 * SEIK Product Customizer - Modern Stacked Accordion Row Styles
 * Authentic Flatsome & SEIK Parity (#faf0ef blush theme, clean typography, zero alien fluff)
 */

/* ==========================================================================
   Flatsome Native Product Image Badge (Laser, Foil & Tin Customizer)
   ========================================================================== */
.badge.seik-customizer-badge-wrap {
    z-index: 15;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.16s ease, opacity 0.16s ease;
}

.badge.seik-customizer-badge-wrap:hover {
    transform: scale(1.04);
}

.badge.seik-customizer-badge-wrap .badge-inner {
    padding-left: 6px;
    padding-right: 6px;
    cursor: pointer;
}

/* ==========================================================================
   1. Inline Desktop Container / Mobile Drawer
   ========================================================================== */
.seikProductPersonalisation {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: transparent !important;
    border: none !important;
    padding: 10px 0 !important;
    margin: 15px 0 0 0 !important;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.seikProductPersonalisation[style*="display: none"],
.seikProductPersonalisation[style*="display:none"],
.seikProductPersonalisation[hidden] {
    display: none !important;
}

.seikProductPersonalisation.is-customizer-open {
    border-bottom: none !important;
}

.seikCustomizerIcon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seikCustomizerIcon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.seikCustomizerTitles {
    flex: 1;
    margin-left: 12px;
    min-width: 0;
}

.seikCustomizerTitles .sct1 {
    font-size: 13.5px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 2px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.seikCustomizerTitles .sct2 {
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.2;
}

.seikCustomizerBtn {
    flex-shrink: 0;
}

.seikCustomizerBtn .button {
    margin: 0 !important;
}

.seik-personalize-trigger {
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.seik-personalize-trigger.is-active {
    min-width: 28px !important;
    min-height: 28px !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    background: transparent !important;
    color: #111111 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.seik-personalize-trigger.is-active:hover {
    background: transparent !important;
    border-color: transparent !important;
    color: #666666 !important;
    box-shadow: none !important;
}

.seikCustomizerInlineWrapper {
    width: 100%;
    margin: 0 0 8px 0;
    clear: both;
}

.seikCustomizerInlineWrapper[style*="display: none"],
.seikCustomizerInlineWrapper[style*="display:none"] {
    display: none !important;
}

/* Unified inline accordion under buy form on both Desktop and Mobile */
.SEIK_personalize_overlay {
    width: 100%;
    box-sizing: border-box;
}

.SEIK_PO_inner {
    background-color: #ffffff !important;
    border: none !important;
    padding: 10px 0 0 0 !important;
    box-sizing: border-box;
    font-family: inherit;
    color: #1a1410;
    border-radius: 0;
}

@media only screen and (max-width: 767px) {
    .SPO_cover_stage,
    .SPO_engraving_stage {
        height: 210px !important;
    }
}

/* Header */
.SPO_titles {
    display: none;
}

/* ==========================================================================
   2. STACKED ACCORDION ROWS ("Ribana")
   ========================================================================== */
.SPO_accordion_wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
}

.SPO_row_item {
    background: #ffffff;
    border: 1px solid #dfd3ce;
    box-sizing: border-box;
    transition: border-color 0.18s ease;
}

.SPO_row_item.is-open {
    border-color: #000000;
}

.SPO_row_item.is-configured {
    border-color: #111111;
    background: #ffffff;
}

.SPO_row_header {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    cursor: pointer;
    user-select: none;
    gap: 12px;
    transition: background-color 0.15s ease;
}

.SPO_row_header:hover {
    background-color: #fbf8f7;
}

.SPO_row_thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f3f1;
    border: 1px solid #eee;
}

.SPO_row_thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.SPO_row_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.SPO_row_title {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    line-height: 1.25;
}

.SPO_row_price {
    font-size: 12px;
    font-weight: 600;
    color: #666666;
}

.SPO_row_subline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 1px;
}

.SPO_row_selected_text {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #111111;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    padding: 1px 7px;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.SPO_row_meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.SPO_row_remove_btn {
    background: transparent !important;
    color: #888888 !important;
    border: none !important;
    border-radius: 0 !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: color 0.15s ease !important;
}

.SPO_row_remove_btn:hover {
    background: transparent !important;
    border: none !important;
    color: #111111 !important;
}

.SPO_row_remove_btn[style*="display: none"],
.SPO_row_remove_btn[style*="display:none"] {
    display: none !important;
}

.SPO_row_badge_done {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: #111111;
    padding: 2px 7px;
    border-radius: 0 !important;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.SPO_row_chevron {
    font-size: 14px;
    color: #777;
    transition: transform 0.2s ease;
}

.SPO_row_item.is-open .SPO_row_chevron {
    transform: rotate(180deg);
}

.SPO_row_compartment {
    padding: 14px 16px;
    border-top: 1px solid #ebdcd9;
    background: #ffffff;
    box-sizing: border-box;
}

/* ==========================================================================
   3. FOIL COMPARTMENT (Authentic SEIK line placement & Gold Logo)
   ========================================================================== */
.SPO_foil_mockup_wrap {
    position: relative !important;
    text-align: center;
    margin: -14px -16px 12px -16px !important;
    width: calc(100% + 32px) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.foilPrevOutputImg {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
    margin: 0 !important;
    display: flex;
    justify-content: center;
}

.SPO_cover_stage {
    height: 255px !important;
    width: 100% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    display: flex;
    justify-content: center;
    position: relative !important;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1) !important;
}

.SPO_cover_stage.is-zoomed {
    transform: scale(1.68) !important;
    transform-origin: 50% 45% !important;
}

/* Stage logo adjustment controls (▲, ▼, −, +, wand, invert, ✕) */
.SPO_stage_logo_controls {
    position: absolute !important;
    top: 8px !important;
    bottom: auto !important;
    left: 10px !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    display: inline-flex;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    z-index: 50 !important;
    margin: 0 !important;
    padding: 2px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #1a1410 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

.SPO_stage_logo_controls[style*="display: none"],
.SPO_stage_logo_controls[style*="display:none"],
.SPO_stage_logo_hint[style*="display: none"],
.SPO_stage_logo_hint[style*="display:none"] {
    display: none !important;
}

.SPO_stage_ctrl_btn {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 24px !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
    color: #111111 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    position: relative !important;
}

.SPO_stage_ctrl_btn:hover {
    background: #111111 !important;
    color: #ffffff !important;
    transform: none !important;
}

.SPO_stage_ctrl_btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    background: #111111;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.2;
    padding: 4px 7px;
    border-radius: 0 !important;
    white-space: nowrap;
    pointer-events: none;
    z-index: 100;
}

.SPO_stage_ctrl_btn.SPO_ctrl_close:hover {
    background: #111111 !important;
    color: #ffffff !important;
}

/* Floating helper hint directly above bottom-left logo controls bar */
.SPO_stage_logo_hint {
    position: absolute !important;
    top: auto !important;
    bottom: 38px !important;
    left: 10px !important;
    max-width: calc(100% - 20px) !important;
    background: rgba(17, 17, 17, 0.92) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    padding: 4px 8px !important;
    border-radius: 0 !important;
    z-index: 55 !important;
    white-space: normal !important;
    pointer-events: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* Stage action bar pinned cleanly to top-right on both Foil & Engraving */
.SPO_stage_top_actions {
    position: absolute !important;
    top: 8px !important;
    bottom: auto !important;
    right: 10px !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 20px) !important;
    display: inline-flex !important;
    flex-flow: row nowrap !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    z-index: 50 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    white-space: nowrap !important;
}

.SPO_foil_mockup_wrap .SPO_stage_top_actions,
.SPO_engraving_mockup_wrap .SPO_stage_top_actions {
    top: 8px !important;
    bottom: auto !important;
    right: 10px !important;
}

.SPO_foil_mockup_wrap .SPO_stage_logo_controls,
.SPO_engraving_mockup_wrap .SPO_stage_logo_controls {
    top: auto !important;
    bottom: 8px !important;
    left: 10px !important;
}

.SPO_stage_logo_controls .SPO_stage_ctrl_btn:first-child[data-tooltip]:hover::after {
    left: 0 !important;
    transform: none !important;
}

.SPO_stage_logo_controls .SPO_stage_ctrl_btn:last-child[data-tooltip]:hover::after {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}

.SPO_stage_add_logo_btn {
    flex: 0 0 auto !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #1a1410 !important;
    border-radius: 0 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    color: #111111 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
}

.SPO_stage_add_logo_btn .spo-logo-price {
    display: none;
}

.SPO_stage_add_logo_btn:hover .spo-logo-price {
    display: inline;
}

.SPO_stage_add_logo_btn:hover {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.SPO_stage_add_logo_btn.is-added {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.SPO_stage_add_logo_btn.is-added:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    box-shadow: none !important;
}

.SPO_stage_add_logo_btn.is-added .spo-logo-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 6px !important;
    color: #f7c948 !important;
    vertical-align: middle !important;
    text-decoration: none !important;
    transition: transform 0.25s ease, color 0.15s ease !important;
}

.SPO_stage_add_logo_btn.is-added:hover .spo-logo-action {
    color: #ffffff !important;
    transform: rotate(180deg) !important;
}

.SPO_stage_add_logo_btn.is-added .spo-logo-swap-icon {
    width: 13px !important;
    height: 13px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.SPO_stage_add_logo_btn.is-added .spo-logo-price {
    display: inline !important;
}

.SPO_stage_remove_logo_btn {
    flex: 0 0 auto !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #111111 !important;
    border-radius: 0 !important;
    padding: 0 9px !important;
    margin: 0 !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    color: #111111 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
}

.SPO_stage_remove_logo_btn:hover {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

/* Eridisain / custom design notice */
.SPO_eridisain_notice {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #111111 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 4px 0 !important;
    margin: 6px 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

/* Price row breakdown for logo add-on */
.SPO_price_breakdown {
    font-size: 11px !important;
    font-weight: normal !important;
    color: #777777 !important;
    margin-left: 3px !important;
}

/* Stage edit pencil & zoom toggle buttons - 100% square SEIK Flatsome parity */
.SPO_stage_edit_btn,
.SPO_stage_zoom_btn {
    position: static !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    flex: 0 0 28px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #1a1410 !important;
    color: #111111 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.SPO_stage_edit_btn:hover,
.SPO_stage_zoom_btn:hover {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
    transform: none !important;
    box-shadow: none !important;
}

.SPO_stage_edit_btn svg,
.SPO_stage_zoom_btn svg {
    display: block !important;
    margin: auto !important;
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
    flex-shrink: 0 !important;
}

.SPO_stage_zoom_btn.is-zoomed {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.SPO_stage_zoom_btn.is-zoomed .spo-zoom-plus-vert {
    display: none !important;
}

/* In-place cover typing on personalbook1.jpg */
.SPO_cover_foil_input {
    font-family: 'SEIK', 'SEIK-font', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px !important;
    max-width: 68% !important;
    text-align: center;
    text-transform: uppercase;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.25;
    color: #9e742e !important;
    text-shadow: none !important;
    box-sizing: border-box;
    transition: all 0.2s ease;
    z-index: 5;
    margin: 0 !important;
    padding: 3px 4px !important;
}

/* 1. When empty and not focused: subtle dashed hint */
.SPO_cover_foil_input:placeholder-shown:not(:focus) {
    border: 1.5px dashed rgba(158, 116, 46, 0.65) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}
.SPO_cover_foil_input::placeholder {
    color: rgba(158, 116, 46, 0.75) !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}

/* 2. When focused: active golden border */
.SPO_cover_foil_input:focus {
    border: 1.5px solid #9e742e !important;
    background: rgba(0, 0, 0, 0.15) !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: text !important;
}

/* 3. When filled and blurred: clean beautiful mockup without outlines */
.SPO_cover_foil_input:not(:placeholder-shown):not(:focus) {
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
}
.SPO_cover_foil_input:not(:placeholder-shown):hover {
    border-color: rgba(158, 116, 46, 0.4) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* 4. Solo logo mode: when logo is active but no text entered, hide input box completely */
.SPO_cover_foil_input.is-hidden-for-solo-logo:not(:focus),
.SPO_cover_engraving_input.is-hidden-for-solo-logo:not(:focus) {
    opacity: 0 !important;
    pointer-events: none !important;
    border: none !important;
    background: transparent !important;
}

/* Gold foil logo layer centered on cover above text */
.SPO_foil_logo_layer {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100px;
    max-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.2s ease, transform 0.15s ease;
    z-index: 4;
    box-sizing: border-box;
}

.SPO_foil_logo_layer.is-solo-logo {
    top: 68px;
    max-height: 75px;
    max-width: 130px;
}

/* Authentic Gold Foil Mask (matches font #9e742e exactly) */
.SPO_foil_gold_mask {
    width: 100%;
    height: 100%;
    min-width: 16px;
    min-height: 16px;
    background: #9e742e !important;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    filter: none;
}

.SPO_mockup_caption_row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
    min-height: 18px;
}

.SPO_char_count_badge {
    font-size: 11.5px;
    font-weight: 500;
    color: #111111;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    letter-spacing: 0.02em;
}

.SPO_mockup_hint {
    font-size: 11px;
    color: #777777;
    margin: 0;
    display: block;
    text-align: center;
}

/* Inputs & counters */
.SPO_field_group {
    margin-bottom: 12px;
}

.SPO_field_group label {
    font-size: 12px;
    font-weight: 700;
    color: #222222;
    display: block;
    margin-bottom: 4px;
}

.SPO_input_wrap {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.SPO_foil_text_input,
.SPO_engraving_input {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 8px 55px 8px 10px;
    font-size: 13px;
    font-weight: 600;
    box-sizing: border-box;
    border-radius: 0;
    text-transform: uppercase;
}

.SPO_foil_text_input:focus,
.SPO_engraving_input:focus {
    border-color: #000000;
    outline: none;
}

.SPO_input_wrap .SPO_char_count {
    position: absolute;
    right: 10px;
    font-size: 11px;
    color: #888888;
    pointer-events: none;
}

/* Logo Addon Box */
.SPO_logo_addon_box {
    display: none;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 8px 12px;
    margin-top: 10px;
    margin-bottom: 8px;
}




/* Logo detail alert & thin lines alert - Pure SEIK square notice style */
.SPO_logo_detail_error,
.SPO_thin_lines_alert {
    background: #ffffff;
    border: 1px solid #111111;
    border-left: 3px solid #111111;
    padding: 10px 14px;
    margin-top: 8px;
    border-radius: 0 !important;
    box-sizing: border-box;
}

.SPO_alert_title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.SPO_alert_content p {
    font-size: 11.5px;
    color: #333333;
    margin: 0 0 10px 0;
    line-height: 1.45;
}

.SPO_alert_actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.SPO_alert_actions .button {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 28px !important;
    height: 28px !important;
    padding: 0 12px !important;
    border-radius: 0 !important;
    text-transform: none !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

.SPO_alert_actions .button.alt {
    background-color: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #111111 !important;
}

.SPO_alert_actions .button.alt:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

.SPO_alert_actions .button.is-outline {
    background-color: transparent !important;
    color: #111111 !important;
    border: 1px solid #111111 !important;
}

.SPO_alert_actions .button.is-outline:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
}

/* Compartment Footer: Clean action bar without divider line or hint sentence */
.SPO_compartment_footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding-top: 0;
    border: none !important;
    border-top: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.SPO_footer_main_row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
}

.SPO_logo_confirm_inline {
    display: none;
    align-items: center;
    margin: 0 !important;
    padding: 3px 6px !important;
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    flex: 1 1 200px;
    min-width: 0;
}

.SPO_logo_confirm_inline[style*="display: block"],
.SPO_logo_confirm_inline[style*="display: inline-block"],
.SPO_logo_confirm_inline:not([style*="display: none"]) {
    display: inline-flex !important;
    align-items: center !important;
}

.SPO_logo_confirm_inline .SPO_logo_confirm_label {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    color: #333333 !important;
    cursor: pointer !important;
    margin: 0 !important;
    user-select: none !important;
    white-space: normal !important;
}

.SPO_logo_confirm_inline .SPO_logo_confirm_label input[type="checkbox"] {
    margin: 2px 0 0 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

/* Minimalist consent error: highlight checkbox cell itself and shake, zero extra notice */
.SPO_logo_confirm_inline.is-invalid {
    animation: spoShake 0.4s ease;
    border: 1px solid rgba(217, 48, 37, 0.7) !important;
    background: rgba(217, 48, 37, 0.08) !important;
    box-shadow: 0 0 8px rgba(217, 48, 37, 0.35) !important;
}

.SPO_logo_confirm_inline.is-invalid input[type="checkbox"] {
    outline: 2px solid #d93025 !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 6px rgba(217, 48, 37, 0.7) !important;
    border-color: #d93025 !important;
    accent-color: #d93025 !important;
}

.SPO_logo_confirm_inline.is-invalid .SPO_logo_confirm_label span {
    color: #d93025 !important;
    font-weight: 600 !important;
}

@keyframes spoShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-3px); }
    40%, 80% { transform: translateX(3px); }
}

.SPO_footer_actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.SPO_footer_actions .SPO_char_count_badge {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #111111 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 6px !important;
}

.SPO_footer_actions .SPO_char_count_badge[style*="display: none"],
.SPO_footer_actions .SPO_char_count_badge[style*="display:none"] {
    display: none !important;
}


@media (max-width: 380px) {
    .SPO_logo_confirm_inline .SPO_logo_confirm_label {
        font-size: 10.5px !important;
    }
    .SPO_footer_actions .button.is-small {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }
}

.SPO_logo_confirm_err {
    display: none !important;
}

/* ==========================================================================
   4. GIFT BOX COMPARTMENT (Embedded Checkout Module)
   ========================================================================== */
.SPO_embedded_giftwrap {
    width: 100%;
}

.SPO_embedded_giftwrap,
.SPO_embedded_giftwrap .seikGiftWrap,
.SPO_embedded_giftwrap .seikBundleGW__panel,
.SPO_embedded_giftwrap .seikGiftWrap__panel,
.SPO_embedded_giftwrap .seikGiftWrap.seikBundleGW .seikGiftWrap__panel,
.seikCustomizerGW,
.seikCustomizerGW .seikGiftWrap__panel,
.seikCustomizerGW .seikBundleGW__panel,
#seik_bundle_gw_wrapper.seikCustomizerGW .seikGiftWrap__panel {
    display: flex !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__stage {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    aspect-ratio: 888 / 723 !important;
    overflow: hidden !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__stage.is-zoomed {
    aspect-ratio: 888 / 723 !important;
    min-height: 0 !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__stage.is-zoomed .seikGiftWrap__stageCanvas {
    transform: scale(1.6) !important;
    transform-origin: 50% 28% !important;
}

@media (max-width: 640px) {
    .SPO_embedded_giftwrap .seikGiftWrap__stage.is-zoomed .seikGiftWrap__stageCanvas {
        transform: scale(1.4) !important;
        transform-origin: 50% 25% !important;
    }
}

.SPO_embedded_giftwrap .seikGiftWrap__stage.is-zoomed .seikGiftWrap__stageCanvas .seikGiftWrap__sticker {
    position: absolute !important;
    left: 50% !important;
    top: 1.0% !important;
    transform: translateX(-50%) !important;
    width: 42.0% !important;
    height: 59.8% !important;
    aspect-ratio: auto !important;
}

/* Gift Box options (Pastelne, Tõelisele mehele, Roosa) - Single Row on Desktop & Mobile */
.SPO_embedded_giftwrap .seikGiftWrap__choose {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__boxes {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 0 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 6px !important;
    border: 1px solid rgba(26, 20, 16, 0.16) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    cursor: pointer !important;
    box-shadow: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
    transition: border-color .15s ease, background-color .15s ease !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__box:hover {
    border-color: #111111 !important;
    background-color: #fcf8f6 !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__box.is-selected {
    border-color: #111111 !important;
    background-color: #fafafa !important;
    box-shadow: inset 0 0 0 1px #111111 !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__boxThumb {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    aspect-ratio: 1/1 !important;
    border-radius: 0 !important;
    border: 1px solid #e5e5e5 !important;
    background-size: cover !important;
    background-position: center !important;
    flex: 0 0 26px !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__boxTitle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #111111 !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__boxName {
    display: block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    text-transform: capitalize !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.SPO_embedded_giftwrap .seikGiftWrap__boxPrice {
    display: block !important;
    font-size: 9.5px !important;
    color: #777777 !important;
    line-height: 1.1 !important;
    margin-top: 1px !important;
    white-space: nowrap !important;
}

@media (max-width: 540px) {
    .SPO_embedded_giftwrap .seikGiftWrap__boxes {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 4px !important;
        margin: 0 0 8px !important;
    }

    .SPO_embedded_giftwrap .seikGiftWrap__box {
        padding: 4px 3px !important;
        gap: 3px !important;
    }

    .SPO_embedded_giftwrap .seikGiftWrap__boxThumb {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        flex: 0 0 20px !important;
    }

    .SPO_embedded_giftwrap .seikGiftWrap__boxName {
        font-size: 9px !important;
        line-height: 1.1 !important;
    }

    .SPO_embedded_giftwrap .seikGiftWrap__boxPrice {
        font-size: 8.5px !important;
    }
}


/* ==========================================================================
   5. POSTCARD COMPARTMENT (Compact Sales-Sorted & Folded A5)
   ========================================================================== */
.SPO_pc_filter_bar {
    margin-bottom: 10px;
}

.SPO_pc_search {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #dddddd;
    background: #ffffff;
    font-size: 13px;
    color: #111111;
    margin-bottom: 8px;
    box-sizing: border-box;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.SPO_pc_search:focus {
    border-color: #111111;
    outline: none;
    box-shadow: none !important;
}

.SPO_pc_tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.SPO_pc_tags .SPO_tag {
    padding: 4px 10px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    font-weight: 500 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #111111 !important;
    border: 1px solid #dddddd !important;
}

.SPO_pc_tags .SPO_tag:hover {
    border-color: #111111 !important;
    color: #111111 !important;
}

.SPO_pc_tags .SPO_tag.is-active {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
    box-shadow: none !important;
}

/* Compact Postcard Grid */
.SPO_pc_compact_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.SPO_pc_card_item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 6px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    user-select: none;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease;
}

.SPO_pc_card_item:hover {
    border-color: #999999;
    box-shadow: none !important;
}

.SPO_pc_card_item.is-selected {
    border-color: #111111;
    outline: 1px solid #111111;
    box-shadow: none !important;
}

.SPO_pc_thumb_wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f7f7f7;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.SPO_pc_thumb_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.SPO_pc_card_name {
    font-size: 11px;
    font-weight: 600;
    color: #111111;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
}

.SPO_pc_card_price {
    font-size: 10.5px;
    color: #666666;
    font-weight: 600;
}

/* Postcard Step 2 Header */
.SPO_pc_step2_header {
    display: flex;
    align-items: center;
    justify-content: flex-end !important;
    gap: 12px;
    margin-bottom: 8px !important;
    width: 100%;
}

.SPO_pc_selected_title {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    flex: 1;
    text-align: left;
}

.SPO_pc_back_btn {
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    flex-shrink: 0;
}

/* Standalone Postcard Product Layout */
.SPO_row_item.is-postcard-product-row {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.SPO_row_item.is-postcard-product-row .SPO_row_compartment {
    padding: 0 !important;
    margin: 0 !important;
    border-top: none !important;
    background: transparent !important;
}

.SPO_row_item.is-postcard-product-row .SPO_pc_step2 {
    margin: 0 !important;
    padding: 0 !important;
}

.SPO_row_item.is-postcard-product-row .SPO_a5_card {
    margin-bottom: 6px !important;
}

.seikCustomizerInlineWrapper.is-postcard-wrapper {
    margin: 0 0 4px 0 !important;
}

.seikCustomizerInlineWrapper.is-postcard-wrapper .SEIK_PO_inner {
    padding: 0 !important;
}

/* Postcard Footer: Price display on left, Kinnita postkaart on right - SAME ROW, NO BORDER */
.SPO_pc_footer {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding-top: 4px !important;
    padding-bottom: 0 !important;
    border: none !important;
    border-top: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.SPO_pc_price_display {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    white-space: nowrap !important;
    letter-spacing: 0.02em !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
    text-align: left !important;
    margin-right: auto !important;
}

.SPO_pc_footer_actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-left: auto !important;
}

.SPO_pc_footer_actions .SPO_btn_confirm {
    margin: 0 !important;
    white-space: nowrap !important;
}

.SPO_pc_badge_direct {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Standalone Postcard Header & Folded A5 Card Stationery: 100% Square SEIK Flatsome Parity */
.SPO_pc_standalone_head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 0 0 8px 0 !important;
    margin: 0 0 8px 0 !important;
    border-bottom: 1px solid #eeeeee !important;
    border-radius: 0 !important;
}

.SPO_pc_standalone_title {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #111111 !important;
}

.SPO_pc_standalone_fee {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    white-space: nowrap !important;
}

.SPO_a5_card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 12px;
    overflow: hidden;
    min-height: 160px;
}

.SPO_a5_left {
    flex: 0 0 42%;
    padding: 0 !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.SPO_a5_img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
}

.SPO_a5_fold {
    display: block !important;
    width: 8px;
    background: linear-gradient(to right, rgba(0,0,0,0.06), rgba(0,0,0,0.01) 40%, rgba(255,255,255,0.7) 60%, rgba(0,0,0,0.04));
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.SPO_a5_right {
    flex: 1;
    padding: 10px 12px 8px 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #faf8f5 !important;
    border-radius: 0 !important;
    box-shadow: inset 3px 0 6px -2px rgba(0,0,0,0.03) !important;
    min-width: 0;
    position: relative;
}

.SPO_pc_inside_label {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #666666 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.SPO_postcard_textarea {
    width: 100% !important;
    flex: 1 0 auto !important;
    min-height: 90px !important;
    height: auto;
    font-family: 'SEIKRegular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 400 !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    text-align: left !important;
    padding: 8px 4px !important;
    border: none !important;
    border-width: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-sizing: border-box !important;
    resize: none !important;
    overflow-y: hidden !important;
    color: #000000 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.SPO_postcard_textarea:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
}

.SPO_postcard_textarea::placeholder {
    color: #8c8278 !important;
    font-style: italic !important;
    line-height: 1.55 !important;
    opacity: 0.8 !important;
}

.SPO_a5_right .SPO_char_count {
    font-size: 10px !important;
    color: #8c8278 !important;
    text-align: right !important;
    margin: 4px 0 0 0 !important;
}

/* Mobile: Card image & inside message side-by-side with immediate presets visibility */
@media only screen and (max-width: 540px) {
    .SPO_a5_card {
        flex-direction: row !important;
        margin-bottom: 10px;
        min-height: 140px;
    }

    .SPO_a5_left {
        flex: 0 0 38% !important;
        padding: 0 !important;
        border: none !important;
    }

    .SPO_a5_img {
        aspect-ratio: 1 / 1 !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .SPO_a5_fold {
        width: 5px !important;
    }

    .SPO_a5_right {
        padding: 8px 8px 6px 8px !important;
    }

    .SPO_pc_inside_label {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }

    .SPO_postcard_textarea {
        flex: 1 0 auto !important;
        min-height: 75px !important;
        height: auto;
        font-size: 12.5px !important;
        line-height: 1.45 !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        padding: 3px 0 !important;
        border: none !important;
        box-shadow: none !important;
        resize: none !important;
        overflow-y: hidden !important;
    }

    .SPO_a5_right .SPO_char_count {
        font-size: 9px !important;
        margin-top: 3px !important;
    }

    .SPO_pc_footer {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 10px !important;
        margin-top: 8px !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border: none !important;
        border-top: none !important;
    }

    .SPO_pc_price_display {
        font-size: 12px !important;
        text-align: left !important;
        margin-right: auto !important;
    }

    .SPO_pc_footer_actions {
        width: auto !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;
        margin-left: auto !important;
    }

    .SPO_pc_footer_actions .SPO_btn_confirm {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
    }

    .SPO_pc_presets_section {
        margin-top: 8px !important;
        padding: 0 !important;
    }

    .SPO_pc_presets_title {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }

    .SPO_pc_occ_tabs_wrap {
        gap: 4px !important;
        margin-bottom: 6px !important;
    }

    .SPO_pc_occ_tab {
        padding: 3px 7px !important;
        font-size: 10px !important;
    }

    .SPO_pc_wish_card {
        padding: 6px 8px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }
}


/* Postcard Poems & Wishes Presets (Clean without framing box) */
.SPO_pc_presets_section {
    margin-top: 10px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-sizing: border-box;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.SPO_pc_presets_title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

.SPO_pc_occ_tabs_wrap {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.SPO_pc_occ_tab {
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #111111 !important;
    border: 1px solid #dddddd !important;
}

.SPO_pc_occ_tab:hover {
    border-color: #111111 !important;
    color: #111111 !important;
}

.SPO_pc_occ_tab.is-active {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
    box-shadow: none !important;
}

.SPO_pc_wishes_grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 8px !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    padding: 2px !important;
    box-sizing: border-box !important;
}

.SPO_pc_wish_card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 8px 10px 4px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.15s ease;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.SPO_pc_wish_card:hover {
    border-color: #999999;
    box-shadow: none !important;
}

.SPO_pc_wish_card.is-selected {
    border-color: #111111;
    outline: 1px solid #111111;
    box-shadow: none !important;
}

.SPO_pc_wish_top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.SPO_pc_wish_badge {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    background: #f0f0f0;
    color: #444444;
    padding: 1px 5px;
    border: 1px solid #e0e0e0;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.SPO_pc_wish_title {
    font-size: 11px;
    font-weight: 700;
    color: #111111;
}

.SPO_pc_wish_snippet {
    font-family: inherit !important;
    font-size: 12px !important;
    color: #333333;
    line-height: 1.45;
    margin-bottom: 4px;
    max-height: none !important;
    overflow: visible !important;
    font-style: normal !important;
}

.SPO_pc_wish_use_btn {
    align-self: flex-end !important;
    margin-left: auto !important;
    border: none !important;
    background: transparent !important;
    color: #111111 !important;
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-height: auto !important;
    height: auto !important;
}

.SPO_pc_wish_use_btn:hover {
    color: #000000 !important;
    background: transparent !important;
    border: none !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   6. ENGRAVING COMPARTMENT
   ========================================================================== */
.SPO_engraving_mockup_wrap,
.SPO_selection_preview {
    position: relative !important;
    text-align: center;
    margin: -14px -16px 12px -16px !important;
    width: calc(100% + 32px) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.SPO_engraving_stage {
    height: 230px !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: flex;
    justify-content: center;
    position: relative !important;
    width: 100% !important;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1) !important;
}

.SPO_engraving_stage.is-zoomed {
    transform: scale(1.82) !important;
    transform-origin: 50% 36% !important;
}

/* In-place bottle engraving typing */
.SPO_cover_engraving_input {
    font-family: 'SEIKBold', 'SEIKRegular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    position: absolute;
    top: 104px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 68% !important;
    max-width: 68% !important;
    text-align: center;
    text-transform: uppercase;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.25;
    color: #e8e8e8 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease;
    z-index: 5;
    margin: 0 !important;
    padding: 3px 6px !important;
    border-radius: 0 !important;
}

/* 1. When empty and not focused: subtle square dashed hint */
.SPO_cover_engraving_input:placeholder-shown:not(:focus) {
    border: 1px dashed rgba(230, 230, 230, 0.65) !important;
    background: rgba(0, 0, 0, 0.22) !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}
.SPO_cover_engraving_input::placeholder {
    color: rgba(240, 240, 240, 0.82) !important;
    font-size: 8.5px !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
}

/* 2. When focused: active square silver border */
.SPO_cover_engraving_input:focus {
    border: 1px solid #e5e5e5 !important;
    background: rgba(0, 0, 0, 0.32) !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: text !important;
}

/* 3. When filled and blurred: clean engraving mockup */
.SPO_cover_engraving_input:not(:placeholder-shown):not(:focus) {
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
}
.SPO_cover_engraving_input:not(:placeholder-shown):hover {
    border-color: rgba(220, 220, 220, 0.45) !important;
    background: rgba(0, 0, 0, 0.12) !important;
}

/* Silver engraving logo layer centered on bottle above text */
.SPO_engraving_logo_layer {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 65px;
    max-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.2s ease, transform 0.15s ease;
    z-index: 4;
}

.SPO_engraving_logo_layer.is-solo-logo {
    top: 75px;
    max-height: 50px;
    max-width: 95px;
}

.SPO_engraving_silver_mask {
    width: 100%;
    height: 100%;
    min-width: 45px;
    min-height: 25px;
    background: #dcdcdc;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    filter: none;
}

/* ==========================================================================
   7. BOTTOM SUMMARY & BUY BAR (Strictly 1 Add-to-Cart Button Invariant)
   ========================================================================== */
body.seik-customizer-has-selections .seikProductBuyForm .single_add_to_cart_button,
body.seik-customizer-has-selections .seikBuyBtn .single_add_to_cart_button,
body.seik-customizer-has-selections form.cart .single_add_to_cart_button,
body.seik-customizer-has-selections .sticky-add-to-cart--active {
    display: none !important;
}

#spo_customizer_buy_bar[style*="display: none"],
#spo_customizer_buy_bar[style*="display:none"] {
    display: none !important;
}

#spo_customizer_buy_bar {
    margin-top: 12px;
    margin-bottom: 14px;
}

.SPO_buy {
    display: flex;
    flex-direction: column;
    padding-top: 12px;
    border-top: 1px solid #eeeeee;
    width: 100%;
    box-sizing: border-box;
}

/* Full-width, comfortable Flatsome Button */
.SPO_add_to_cart_btn {
    width: 100% !important;
    min-width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    cursor: pointer;
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.SPO_add_to_cart_btn:hover {
    background-color: #2b2b2b !important;
    border-color: #2b2b2b !important;
}

.SPO_loading_bar_wrap {
    width: 100%;
    height: 3px;
    background: #e5e5e5;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
    margin-top: 6px;
}

.SPO_loading_bar_fill {
    height: 100%;
    width: 40%;
    background: #111111;
    border-radius: 0 !important;
    box-shadow: none !important;
    animation: spo_progress_sweep 1.2s infinite ease-in-out;
}

@keyframes spo_progress_sweep {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(120%); }
    100% { transform: translateX(300%); }
}

/* ==========================================================================
   9. GLOBAL SEIK TYPOGRAPHY ENFORCEMENT
   ========================================================================== */
.seikCustomizerInlineWrapper,
.SEIK_personalize_overlay,
.SEIK_PO_inner,
.SPO_row_item,
.SPO_field_group label,
.SPO_buy,
.SPO_row_info,
.SPO_logo_check_label {
    font-family: 'SEIKLight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.SPO_titles_text h6,
.SPO_row_title,
.SPO_add_to_cart_btn,
.SPO_btn_confirm,
.SPO_tag,
.SPO_pc_occ_tab,
.SPO_postcard_textarea,
.SPO_cover_engraving_input,
.SPO_engraving_input,
#spo_cover_engraving_input {
    font-family: 'SEIK', 'SEIK-font', 'SEIKRegular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 400 !important;
}

.SPO_cover_foil_input,
.SPO_foil_text_input,
#spo_cover_foil_input,
#seik_foil_text_input {
    font-family: 'SEIK', 'SEIK-font', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700 !important;
}

.seik-customized-thumb {
    object-fit: cover !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

td.product-thumbnail img.seik-customized-thumb,
.shop_table.cart td.product-thumbnail img.seik-customized-thumb,
.woocommerce-checkout-review-order-table td.product-thumbnail img.seik-customized-thumb,
.woocommerce-cart-form__cart-item td.product-thumbnail img.seik-customized-thumb {
    width: 90px !important;
    max-width: 90px !important;
    height: 90px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: block;
}

/* Mini-cart dropdown thumbnail standard sizing (matches Flatsome 60x60 square layout) */
ul.product_list_widget li img.seik-customized-thumb,
.widget_shopping_cart ul.product_list_widget li img.seik-customized-thumb,
.woocommerce-mini-cart-item img.seik-customized-thumb {
    width: 60px !important;
    max-width: 60px !important;
    height: 60px !important;
    max-height: 60px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    position: absolute !important;
    left: 0 !important;
    top: 10px !important;
}

.seik-cart-preview-link {
    display: inline-block;
    margin-top: 3px;
}

.seik-order-item-preview img {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease;
    border-radius: 0 !important;
}

.seik-order-item-preview img:hover {
    transform: scale(1.08);
}

.SPO_stage_ctrl_btn.SPO_smart_bg_btn.is-active {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}


