/* ═══════════════════════════════════════
   COMPONENTS & CARDS STYLES
   ═══════════════════════════════════════ */

/* ═══ PRODUCT CARD ═══ */
.swz-product-card {
    display: flex;
    flex-direction: column;
    background: var(--swz-white);
    border: 1px solid var(--swz-border);
    border-radius: 2px;
    overflow: hidden;
    transition: all var(--swz-transition);
    height: 100%;
}

.swz-product-card:hover {
    box-shadow: 0 12px 24px var(--swz-shadow);
    border-color: var(--swz-black);
}

.swz-product-card-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swz-product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--swz-transition);
}

.swz-product-card:hover .swz-product-card-img {
    transform: scale(1.05);
}

.swz-product-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--swz-red);
    color: var(--swz-white);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 2;
}

.swz-product-card-badge.new {
    background: var(--swz-black);
}

.swz-product-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--swz-transition);
    z-index: 3;
}

.swz-product-card:hover .swz-product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.swz-product-card-action-btn {
    flex: 1;
    padding: 8px 12px;
    background: var(--swz-white);
    border: none;
    color: var(--swz-black);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--swz-transition);
    border-radius: 0;
}

.swz-product-card-action-btn:hover {
    background: var(--swz-black);
    color: var(--swz-white);
}

.swz-product-card-action-btn-icon {
    display: inline-block;
    margin-right: 4px;
}

.swz-product-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.swz-product-card-category {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--swz-lgray);
    margin-bottom: 6px;
}

.swz-product-card-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--swz-black);
    margin-bottom: 8px;
    transition: color var(--swz-transition);
    text-decoration: none;
    display: block;
}

.swz-product-card:hover .swz-product-card-name {
    color: var(--swz-accent);
}

.swz-product-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.swz-product-card-stars {
    display: flex;
    gap: 2px;
    font-size: 10px;
    color: var(--swz-accent);
}

.swz-product-card-star {
    display: inline-block;
}

.swz-product-card-count {
    font-size: 10px;
    color: var(--swz-lgray);
}

.swz-product-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.swz-product-card-price-current {
    font-size: 14px;
    font-weight: 700;
    color: var(--swz-black);
}

.swz-product-card-price-old {
    font-size: 12px;
    color: var(--swz-lgray);
    text-decoration: line-through;
}

.swz-product-card-price-save {
    font-size: 10px;
    font-weight: 600;
    color: var(--swz-red);
}

/* ═══ PRODUCT GRID ═══ */
.swz-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

@media (min-width: 640px) {
    .swz-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .swz-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* ═══ PRODUCT LIST ITEM ═══ */
.swz-product-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--swz-border);
    border-radius: 2px;
    transition: all var(--swz-transition);
}

.swz-product-list-item:hover {
    box-shadow: 0 8px 16px var(--swz-shadow);
    border-color: var(--swz-black);
}

.swz-product-list-img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
}

.swz-product-list-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.swz-product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.swz-product-list-info {
    flex: 1;
}

.swz-product-list-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--swz-black);
    margin-bottom: 4px;
    display: block;
    text-decoration: none;
}

.swz-product-list-name:hover {
    color: var(--swz-accent);
}

.swz-product-list-category {
    font-size: 11px;
    color: var(--swz-lgray);
    margin-bottom: 8px;
}

.swz-product-list-desc {
    font-size: 12px;
    color: var(--swz-gray);
    line-height: 1.5;
    margin-bottom: 12px;
}

.swz-product-list-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--swz-black);
    white-space: nowrap;
}

.swz-product-list-footer {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.swz-product-list-btn {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--swz-border);
    background: transparent;
    color: var(--swz-black);
    cursor: pointer;
    transition: all var(--swz-transition);
    border-radius: 2px;
}

.swz-product-list-btn:hover {
    background: var(--swz-black);
    color: var(--swz-white);
    border-color: var(--swz-black);
}

.swz-product-list-btn-primary {
    background: var(--swz-black);
    color: var(--swz-white);
    border-color: var(--swz-black);
}

.swz-product-list-btn-primary:hover {
    background: var(--swz-white);
    color: var(--swz-black);
}

/* ═══ CART SIDEBAR ═══ */
.swz-cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--swz-white);
    border-left: 1px solid var(--swz-border);
    z-index: 999;
    transform: translateX(100%);
    transition: transform var(--swz-transition);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -10px 0 30px var(--swz-shadow);
}

.swz-cart-sidebar.active {
    transform: translateX(0);
}

@media (max-width: 640px) {
    .swz-cart-sidebar {
        max-width: 100%;
    }
}

.swz-cart-header {
    padding: 20px;
    border-bottom: 2px solid var(--swz-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.swz-cart-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
}

.swz-cart-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swz-cart-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--swz-black);
    stroke-width: 2;
}

.swz-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.swz-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px 20px;
    color: var(--swz-gray);
}

.swz-cart-empty-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.swz-cart-empty-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.swz-cart-item {
    display: flex;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--swz-border);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.swz-cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    background: #f8f8f8;
    flex-shrink: 0;
}

.swz-cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.swz-cart-item-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--swz-black);
    margin-bottom: 4px;
    line-height: 1.3;
}

.swz-cart-item-details {
    font-size: 11px;
    color: var(--swz-gray);
    margin-bottom: 8px;
}

.swz-cart-item-detail {
    display: block;
}

.swz-cart-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--swz-black);
}

.swz-cart-item-remove {
    margin-top: auto;
}

.swz-cart-item-remove-btn {
    font-size: 10px;
    color: var(--swz-red);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    transition: color var(--swz-transition);
}

.swz-cart-item-remove-btn:hover {
    color: var(--swz-black);
}

.swz-cart-footer {
    padding: 20px;
    border-top: 2px solid var(--swz-black);
    flex-shrink: 0;
}

.swz-cart-summary {
    margin-bottom: 20px;
}

.swz-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
}

.swz-cart-summary-row.total {
    border-top: 1px solid var(--swz-border);
    padding-top: 12px;
    margin-top: 12px;
    font-weight: 700;
    font-size: 14px;
}

.swz-cart-summary-label {
    color: var(--swz-gray);
}

.swz-cart-summary-value {
    color: var(--swz-black);
    font-weight: 600;
}

.swz-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.swz-cart-btn {
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid var(--swz-black);
    background: var(--swz-black);
    color: var(--swz-white);
    cursor: pointer;
    transition: all var(--swz-transition);
    border-radius: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.swz-cart-btn:hover {
    background: var(--swz-white);
    color: var(--swz-black);
}

.swz-cart-btn-secondary {
    background: transparent;
    color: var(--swz-black);
}

.swz-cart-btn-secondary:hover {
    background: var(--swz-black);
    color: var(--swz-white);
}

/* ═══ PRODUCT TABS ═══ */
.swz-product-tabs {
    border-bottom: 2px solid var(--swz-black);
    display: flex;
    gap: 0;
    margin-bottom: 28px;
}

.swz-product-tab {
    padding: 14px 0;
    margin-right: 32px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--swz-gray);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: color var(--swz-transition);
    margin-bottom: -2px;
}

.swz-product-tab:hover {
    color: var(--swz-black);
}

.swz-product-tab.active {
    color: var(--swz-black);
    border-bottom-color: var(--swz-black);
}

.swz-product-tab-content {
    display: none;
}

.swz-product-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ═══ SIZE & COLOR SELECTOR ═══ */
.swz-size-selector,
.swz-color-selector {
    margin-bottom: 24px;
}

.swz-selector-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--swz-black);
}

.swz-selector-label-value {
    color: var(--swz-gray);
}

.swz-selector-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.swz-selector-option {
    flex: 0 1 calc(50% - 4px);
}

/* ═══════════════════════════════════════════
   CHECKOUT PAGE STYLES
═══════════════════════════════════════════ */

/* HEADER (minimal for checkout) */
.swz-checkout-header {
    background: #fff;
    border-bottom: 1px solid var(--swz-border);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width:1024px) {
    .swz-checkout-header {
        padding: 0 40px;
        height: 72px;
    }
}

.swz-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--swz-black);
    text-decoration: none;
    font-style: italic;
}

.swz-checkout-secure {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--swz-green);
}

/* PROGRESS STEPS */
.swz-steps-bar {
    background: #fff;
    border-bottom: 1px solid var(--swz-border);
    padding: 0 24px;
}

@media (min-width:1024px) {
    .swz-steps-bar {
        padding: 0 40px;
    }
}

.swz-steps-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 52px;
    gap: 0;
}

.swz-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--swz-lgray);
    white-space: nowrap;
}

.swz-step.active {
    color: var(--swz-black);
}

.swz-step.done {
    color: var(--swz-green);
}

.swz-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--swz-lgray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all .3s;
}

.swz-step.active .swz-step-num {
    border-color: var(--swz-black);
    background: var(--swz-black);
    color: #fff;
}

.swz-step.done .swz-step-num {
    border-color: var(--swz-green);
    background: var(--swz-green);
    color: #fff;
}

.swz-step-sep {
    flex: 1;
    height: 1px;
    background: var(--swz-border);
    margin: 0 12px;
    min-width: 20px;
}

.swz-step-label {
    display: none;
}

@media (min-width:640px) {
    .swz-step-label {
        display: inline;
    }
}

/* MAIN LAYOUT */
.swz-checkout-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width:1024px) {
    .swz-checkout-main {
        grid-template-columns: 1fr 400px;
        padding: 48px 24px 80px;
        gap: 40px;
        align-items: start;
    }
}

/* PANELS */
.swz-co-panel {
    background: #fff;
    border: 1px solid var(--swz-border);
}

.swz-co-panel-head {
    padding: 20px 28px;
    border-bottom: 1px solid var(--swz-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.swz-co-panel-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 18px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 10px;
}

.swz-co-panel-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--swz-black);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.swz-co-panel-num.done {
    background: var(--swz-green);
}

.swz-co-panel-edit {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--swz-gray);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    transition: color .2s;
}

.swz-co-panel-edit:hover {
    color: var(--swz-black);
}

.swz-co-panel-body {
    padding: 28px;
}

/* Express checkout */
.swz-express-checkout {
    margin-bottom: 28px;
}

.swz-express-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--swz-lgray);
    text-align: center;
    margin-bottom: 14px;
    position: relative;
}

.swz-express-title::before,
.swz-express-title::after {
    content:'';
    position:absolute;
    top:50%;
    width:calc(50% - 70px);
    height:1px;
    background:var(--swz-border);
}

.swz-express-title::before {
    left:0;
}

.swz-express-title::after {
    right:0;
}

.swz-express-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.swz-express-btn {
    height: 48px;
    border: 1.5px solid var(--swz-border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s;
}

.swz-express-btn:hover {
    border-color: var(--swz-black);
    background: var(--swz-off);
}

.swz-express-btn--apple {
    background: #000;
    color: #fff;
    border-color: #000;
}

.swz-express-btn--apple:hover {
    background: #222;
}

.swz-express-btn--paypal {
    background: #F6C355;
    color: #003087;
    border-color: #F6C355;
}

.swz-divider-or {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: var(--swz-lgray);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.swz-divider-or::before,
.swz-divider-or::after {
    content:'';
    flex:1;
    height:1px;
    background:var(--swz-border);
}

/* FORM */
.swz-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.swz-form-grid-2 {
    grid-template-columns: 1fr 1fr;
}

@media (max-width:480px) {
    .swz-form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.swz-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.swz-field label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--swz-black);
}

.swz-field-required::after {
    content: ' *';
    color: var(--swz-red);
}

.swz-input,
.swz-select,
.swz-textarea {
    width: 100%;
    border: 1.5px solid var(--swz-border);
    padding: 13px 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    background: #fff;
    color: var(--swz-black);
    transition: border-color .25s, box-shadow .25s;
    appearance: none;
}

.swz-input:focus,
.swz-select:focus {
    border-color: var(--swz-black);
    box-shadow: 0 0 0 3px rgba(17,17,17,.06);
}

.swz-input::placeholder {
    color: #bbb;
}

.swz-input.error {
    border-color: var(--swz-red);
}

.swz-field-error {
    font-size: 11px;
    font-weight: 600;
    color: var(--swz-red);
    display: none;
}

.swz-field-error.show {
    display: block;
}

.swz-select-wrap {
    position: relative;
}

.swz-select-wrap::after {
    content:'';
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    width:0;
    height:0;
    border-left:5px solid transparent;
    border-right:5px solid transparent;
    border-top:6px solid var(--swz-gray);
    pointer-events:none;
}

.swz-select {
    padding-right: 36px;
    cursor: pointer;
}

.swz-textarea {
    resize: vertical;
    min-height: 80px;
}

.swz-input-row {
    position: relative;
}

.swz-input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--swz-lgray);
}

/* Same address checkbox */
.swz-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.swz-checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--swz-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    margin-top: 1px;
    cursor: pointer;
    appearance: none;
    background: #fff;
}

.swz-checkbox:checked {
    background: var(--swz-black);
    border-color: var(--swz-black);
}

.swz-checkbox-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}

/* Section subheadings */
.swz-form-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--swz-black);
    padding: 20px 0 14px;
    border-top: 1px solid var(--swz-border);
    margin-top: 4px;
}

.swz-form-section-title:first-child {
    border-top: none;
    padding-top: 0;
}

/* Shipping methods */
.swz-shipping-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.swz-shipping-option {
    border: 1.5px solid var(--swz-border);
    padding: 16px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: border-color .2s;
}

.swz-shipping-option.selected {
    border-color: var(--swz-black);
    background: var(--swz-off);
}

.swz-shipping-option-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.swz-shipping-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--swz-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.swz-shipping-option.selected .swz-shipping-radio {
    border-color: var(--swz-black);
}

.swz-shipping-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--swz-black);
    opacity: 0;
    transition: opacity .2s;
}

.swz-shipping-option.selected .swz-shipping-radio-dot {
    opacity: 1;
}

.swz-shipping-option-name {
    font-size: 13px;
    font-weight: 700;
}

.swz-shipping-option-desc {
    font-size: 12px;
    font-weight: 300;
    color: var(--swz-gray);
    margin-top: 2px;
}

.swz-shipping-option-price {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.swz-shipping-option-price.free {
    color: var(--swz-green);
}

/* Payment */
.swz-payment-tabs {
    display: flex;
    border-bottom: 1px solid var(--swz-border);
    margin-bottom: 20px;
}

.swz-payment-tab {
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: var(--swz-gray);
    transition: all .2s;
    font-family: 'Manrope', sans-serif;
    display: flex;
    align-items: center;
    gap: 7px;
}

.swz-payment-tab.active {
    color: var(--swz-black);
    border-bottom-color: var(--swz-black);
}

.swz-payment-panel {
    display: none;
}

.swz-payment-panel.active {
    display: block;
}

.swz-card-field-wrap {
    position: relative;
    margin-bottom: 16px;
}

.swz-card-logo {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
}

.swz-card-logo-badge {
    height: 20px;
    background: var(--swz-border);
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 8px;
    font-weight: 800;
    display: flex;
    align-items: center;
    color: var(--swz-gray);
    letter-spacing: .04em;
}

.swz-secure-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--swz-gray);
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--swz-off);
    border: 1px solid var(--swz-border);
}

/* Order notes */
.swz-notes-toggle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--swz-gray);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    margin-bottom: 0;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Manrope', sans-serif;
}

.swz-notes-toggle:hover {
    color: var(--swz-black);
}

.swz-notes-area {
    display: none;
    margin-top: 14px;
}

.swz-notes-area.open {
    display: block;
}

/* Place order button */
.swz-place-order-btn {
    width: 100%;
    padding: 20px;
    background: var(--swz-black);
    color: #fff;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
}

.swz-place-order-btn:hover {
    background: #222;
    letter-spacing: .28em;
}

.swz-place-order-btn:disabled {
    background: var(--swz-lgray);
    cursor: not-allowed;
    letter-spacing: .22em;
}

.swz-terms-note {
    font-size: 11px;
    font-weight: 300;
    color: var(--swz-gray);
    line-height: 1.65;
    margin-top: 14px;
    text-align: center;
}

.swz-terms-note a {
    color: var(--swz-gray);
}

/* ORDER SUMMARY PANEL (right col) */
.swz-co-summary {
    background: #fff;
    border: 1px solid var(--swz-border);
    position: sticky;
    top: 88px;
}

.swz-co-summary-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--swz-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.swz-co-summary-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 18px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 10px;
}

.swz-co-summary-toggle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--swz-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.swz-co-summary-total-badge {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 22px;
}

.swz-co-summary-body {
    padding: 20px 24px;
}

.swz-co-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.swz-co-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.swz-co-item-img-wrap {
    position: relative;
    flex-shrink: 0;
}

.swz-co-item-img {
    width: 60px;
    height: 76px;
    object-fit: cover;
    display: block;
}

.swz-co-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--swz-black);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swz-co-item-info {
    flex: 1;
    min-width: 0;
}

.swz-co-item-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.3;
}

.swz-co-item-meta {
    font-size: 11px;
    font-weight: 300;
    color: var(--swz-gray);
}

.swz-co-item-price {
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Summary rows */
.swz-co-summary-sep {
    border: none;
    border-top: 1px solid var(--swz-border);
    margin: 16px 0;
}

.swz-co-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.swz-co-row:last-of-type {
    margin-bottom: 0;
}

.swz-co-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--swz-gray);
}

.swz-co-val {
    font-size: 15px;
    font-weight: 600;
}

.swz-co-val-green {
    font-size: 13px;
    font-weight: 700;
    color: var(--swz-green);
}

.swz-co-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 18px 0 0;
    border-top: 2px solid var(--swz-black);
    margin-top: 4px;
}

.swz-co-total-label {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 18px;
    font-style: italic;
}

.swz-co-total-val {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 800;
    font-size: 38px;
    line-height: 1;
}

.swz-co-tax-note {
    font-size: 10px;
    font-weight: 300;
    color: var(--swz-lgray);
    text-align: right;
    margin-top: 2px;
}

/* Collapsible summary on mobile */
.swz-co-summary-items-wrap {
    overflow: hidden;
    transition: max-height .4s ease;
}

/* MOBILE BOTTOM NAV */
.swz-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    height: 68px;
    padding: 0 4px;
    box-shadow: 0 -4px 24px rgba(0,0,0,.08);
}

@media (max-width:767px) {
    .swz-bottom-nav {
        display: flex;
        align-items: stretch;
    }
}

.swz-bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--swz-gray);
    transition: color .2s;
    padding: 8px 4px;
}

.swz-bnav-item:hover,
.swz-bnav-item.active {
    color: var(--swz-black);
}

.swz-bnav-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.swz-bnav-icon-bg {
    background: var(--swz-black);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.swz-bnav-cart-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swz-bnav-badge {
    position: absolute;
    top:8px;
    right:12px;
    background: var(--swz-black);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* MOBILE STICKY PLACE ORDER */
.swz-mobile-place-order {
    display: none;
}

@media (max-width:1023px) {
    .swz-mobile-place-order {
        display: flex;
        position: fixed;
        bottom: 68px;
        left: 0;
        right: 0;
        z-index: 8999;
    }
}

.swz-mob-order-btn {
    flex: 1;
    padding: 17px;
    background: var(--swz-black);
    color: #fff;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
}

.swz-mob-order-btn:hover {
    background: #222;
}

/* ORDER SUCCESS MODAL */
.swz-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}

.swz-success-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.swz-success-modal {
    background: #fff;
    max-width: 520px;
    width: 90%;
    padding: 56px 48px;
    text-align: center;
    transform: translateY(30px);
    transition: transform .4s;
}

.swz-success-overlay.open .swz-success-modal {
    transform: none;
}

.swz-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--swz-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.swz-success-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 800;
    font-size: 42px;
    font-style: italic;
    margin-bottom: 12px;
}

.swz-success-sub {
    font-size: 14px;
    font-weight: 300;
    color: var(--swz-gray);
    line-height: 1.7;
    margin-bottom: 10px;
}

.swz-success-order-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--swz-lgray);
    margin-bottom: 32px;
}

.swz-success-cta {
    display: inline-block;
    padding: 15px 44px;
    background: var(--swz-black);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s;
}

.swz-success-cta:hover {
    background: #333;
}

/* Animations */
@keyframes swzFadeUp {
    from {
        opacity:0;
        transform:translateY(16px);
    }
    to {
        opacity:1;
        transform:none;
    }
}

.swz-co-panel {
    animation: swzFadeUp .4s ease both;
}

.swz-co-panel:nth-child(2) {
    animation-delay: .08s;
}

.swz-co-panel:nth-child(3) {
    animation-delay: .16s;
}

.swz-co-panel:nth-child(4) {
    animation-delay: .24s;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #333;
}

/* Input autofill fix */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.swz-selector-option input {
    display: none;
}

.swz-selector-option label {
    display: block;
    padding: 10px;
    border: 1px solid var(--swz-border);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--swz-transition);
    border-radius: 0;
}

.swz-selector-option input:checked + label {
    background: var(--swz-black);
    color: var(--swz-white);
    border-color: var(--swz-black);
}

.swz-selector-option label:hover {
    border-color: var(--swz-black);
}

/* ═══ QUANTITY SELECTOR ═══ */
.swz-quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--swz-border);
    width: fit-content;
    border-radius: 0;
}

.swz-quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    transition: all var(--swz-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.swz-quantity-btn:hover {
    background: var(--swz-off);
}

.swz-quantity-input {
    width: 50px;
    border: none;
    border-left: 1px solid var(--swz-border);
    border-right: 1px solid var(--swz-border);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    background: transparent;
}

.swz-quantity-input:focus {
    outline: none;
}

/* ═══ WISHLIST BUTTON ═══ */
.swz-wishlist-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--swz-border);
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--swz-transition);
}

.swz-wishlist-toggle:hover {
    border-color: var(--swz-black);
    background: var(--swz-off);
}

.swz-wishlist-toggle.active {
    background: var(--swz-red);
    border-color: var(--swz-red);
}

.swz-wishlist-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.swz-wishlist-toggle.active svg {
    fill: var(--swz-white);
    stroke: var(--swz-white);
}
