/* ============================================================
   W3Sols Custom Checkout – styles
   Works inside Elementor theme header/footer
   ============================================================ */

/* ---------- Content wrap ---------------------------------- */
.w3sols-cc-content-wrap {
    font-family: inherit;
    font-size: 16px;
    color: #1a1a1a;
}

.w3sols-cc-content-wrap *,
.w3sols-cc-content-wrap *::before,
.w3sols-cc-content-wrap *::after {
    box-sizing: border-box;
}

/* ---------- Page wrapper ---------------------------------- */
.w3sols-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
}

/* ---------- Hide our custom header (Elementor header is used) */
.w3sols-header { display: none !important; }

/* ---------- Progress bar ---------------------------------- */
.w3sols-progress {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    font-size: 15px;
    color: #888;
    border-bottom: 1px solid #e8e8e8;
}

.w3sols-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w3sols-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

.w3sols-progress-step.active .w3sols-step-dot {
    background: #1a1a1a;
}

.w3sols-progress-step.active {
    color: #1a1a1a;
    font-weight: 600;
}

.w3sols-progress-step.active a {
    color: #1a1a1a;
    text-decoration: underline;
}

.w3sols-progress-step.done .w3sols-step-dot {
    background: #1a1a1a;
    color: #fff;
}

/* ---------- Cart page ------------------------------------- */
.w3sols-cart-main {
    display: flex;
    flex: 1;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    padding: 20px 20px;
    gap: 40px;
    align-items: flex-start;
}

.w3sols-cart-left {
    flex: 1;
    min-width: 0;
}

/* Tabs */
.w3sols-cart-tabs {
    display: flex;
    border-bottom: 2px solid #e8e8e8;
    margin-bottom: 24px;
}

.w3sols-tab {
    background: none !important;
    background-color: transparent !important;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 0;
    margin-right: 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    margin-bottom: -2px;
    outline: none;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.w3sols-tab:hover {
    background: none !important;
    background-color: transparent !important;
    color: #1a1a1a;
}

.w3sols-tab:focus,
.w3sols-tab:focus-visible,
.w3sols-tab:active {
    background: none !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent;
}

.w3sols-tab.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
    background: none !important;
    background-color: transparent !important;
}

/* Cart items */
/* ---------- Cart items ------------------------------------ */
.w3sols-cart-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e8e8e8;
    align-items: flex-start;
}

.w3sols-item-img-wrap {
    flex-shrink: 0;
    display: block;
}

.w3sols-item-img-wrap img {
    width: 110px;
    height: 145px;
    object-fit: cover;
    display: block;
}

.w3sols-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.w3sols-item-name a {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.4;
    text-decoration: none;
}

.w3sols-item-name a:hover { text-decoration: underline; }

.w3sols-item-price {
    font-size: 16px;
    color: #1a1a1a;
}

.w3sols-item-meta {
    font-size: 15px;
    color: #1a1a1a;
}

/* ---------- Qty stepper ----------------------------------- */
.w3sols-item-qty-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 4px;
    border: 1px solid #ccc;
    width: fit-content;
    height: 32px;
    background: #fff;
}

.w3sols-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.w3sols-qty-btn svg {
    display: block;
    pointer-events: none;
}

.w3sols-qty-btn:hover { background: #e8e8e8; color: #1a1a1a; }

.w3sols-qty-val {
    font-size: 15px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    user-select: none;
    line-height: 1;
    padding: 0;
    margin: 0;
    height: 100%;
}

/* ---------- Item actions (remove / favourites) ------------ */
.w3sols-item-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
}

.w3sols-remove-btn,
.w3sols-fav-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none !important;
    background-color: transparent !important;
    border: none;
    font-size: 15px;
    color: #555 !important;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    text-decoration: none;
    box-shadow: none !important;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.w3sols-remove-btn svg,
.w3sols-fav-btn svg {
    flex-shrink: 0;
}

.w3sols-remove-btn:hover { color: #c00 !important; background: none !important; }
.w3sols-fav-btn:hover    { color: #1a1a1a !important; background: none !important; }

/* Line total (right column) */
.w3sols-item-total {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    padding-top: 2px;
    flex-shrink: 0;
}

/* Empty cart */
.w3sols-empty-cart {
    padding: 60px 0;
    text-align: center;
}

/* Recommendations */
.w3sols-recommendations {
    margin-top: 40px;
}

.w3sols-recommendations h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #000;
}

.w3sols-rec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.w3sols-rec-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.w3sols-rec-name {
    font-size: 15px;
    margin-top: 6px;
    color: #1a1a1a;
}

.w3sols-rec-price {
    font-size: 15px;
    color: #555;
}

/* ---------- Cart sidebar ---------------------------------- */
.w3sols-cart-sidebar {
    width: 30%;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
}

.w3sols-sidebar-box {
    border: 1px solid #e8e8e8;
    padding: 24px;
}

.w3sols-summary-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* Sidebar product list */
.w3sols-sidebar-items {
    margin-bottom: 14px;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 12px;
}

.w3sols-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 5px 0;
    font-size: 15px;
    color: #1a1a1a;
    border-bottom: 1px solid #f5f5f5;
}

.w3sols-sidebar-item:last-child { border-bottom: none; }

.w3sols-si-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    color: #1a1a1a;
}

.w3sols-si-qty-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.w3sols-si-qty {
    font-size: 15px;
    color: #888;
    white-space: nowrap;
}

.w3sols-si-total {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    color: #1a1a1a;
}

.w3sols-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 10px;
    color: #555;
}

.w3sols-total-row {
    border-top: 1px solid #e8e8e8;
    padding-top: 12px;
    margin-top: 4px;
    font-size: 16px;
    color: #1a1a1a;
}

.w3sols-vat-note {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 16px;
}

.w3sols-discount { color: #28a745; }

.w3sols-free-shipping-notice {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.5;
}

.w3sols-free-shipping-notice.success { color: #28a745; }

/* Coupon */
.w3sols-coupon-toggle {
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e8e8e8;
    padding-top: 12px;
    margin-bottom: 0;
}

.w3sols-chevron { transition: transform 0.2s; }
.w3sols-coupon-toggle.open .w3sols-chevron { transform: rotate(180deg); }

.w3sols-coupon-form {
    padding: 12px 0;
}

.w3sols-coupon-form input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #1a1a1a;
    padding: 6px 0;
    font-size: 15px;
    outline: none;
    margin-bottom: 8px;
}

.w3sols-coupon-form button {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 15px;
    cursor: pointer;
}

.w3sols-coupon-msg {
    font-size: 15px;
    margin-top: 6px;
}

.w3sols-coupon-msg.success { color: #28a745; }
.w3sols-coupon-msg.error   { color: #e00; }

/* Sidebar actions */
.w3sols-sidebar-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.w3sols-sidebar-actions .w3sols-btn-outline,
.w3sols-sidebar-actions .w3sols-btn-primary {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    padding: 13px 12px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ---------- Buttons --------------------------------------- */
.w3sols-btn-primary {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
    padding: 12px 24px;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
    text-decoration: none;
}

.w3sols-btn-primary:hover {
    background: #333;
    text-decoration: none;
    color: #fff;
}

.w3sols-btn-outline {
    display: inline-block;
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    padding: 12px 24px;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.w3sols-btn-outline:hover {
    background: #f5f5f5;
    text-decoration: none;
}

.w3sols-btn-full { width: 100%; }

/* ---------- Login page ------------------------------------ */
.w3sols-login-main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    padding: 80px 40px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.w3sols-login-option {
    flex: 1;
    max-width: 360px;
}

.w3sols-login-option h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.w3sols-login-sub {
    font-size: 15px;
    color: #888;
    margin-bottom: 24px;
    line-height: 1.6;
}

.w3sols-login-divider {
    width: 1px;
    background: #e8e8e8;
    align-self: stretch;
}

/* ---------- Checkout (shipping/payment) ------------------- */
.w3sols-checkout-main {
    display: flex;
    flex: 1;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    padding: 20px 20px;
    gap: 48px;
    align-items: flex-start;
}

.w3sols-checkout-form-col {
    flex: 1;
    min-width: 0;
}

.w3sols-checkout-sidebar {
    width: 30%;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
}

/* Form sections */
.w3sols-form-section {
    margin-bottom: 32px;
}

.w3sols-form-section h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.w3sols-edit-link {
    font-size: 15px;
    font-weight: 400;
    color: #555;
    text-decoration: underline;
}

/* Radio group */
.w3sols-radio-group {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 15px;
}

.w3sols-radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* Form rows */
.w3sols-form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
    align-items: flex-end; /* always align to the bottom border */
}

.w3sols-field {
    flex: 1;
    min-width: 0;
    margin-bottom: 24px;
    position: relative;
}

.w3sols-field input,
.w3sols-field select,
.w3sols-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #1a1a1a;
    padding: 8px 0;
    font-size: 15px;
    color: #1a1a1a;
    background: transparent;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    height: 36px;
    line-height: 1.4;
}

.w3sols-field input::placeholder { color: #888; }

/* Wrapper keeps chevron icon aligned */
.w3sols-select-wrap {
    position: relative;
    width: 100%;
}

.w3sols-select-wrap::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231a1a1a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    pointer-events: none;
}

.w3sols-select-wrap select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #1a1a1a;
    padding: 8px 20px 8px 0;
    font-size: 15px;
    color: #1a1a1a;
    background: transparent;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    height: 36px;
}

.w3sols-field input:focus,
.w3sols-field select:focus,
.w3sols-select-wrap select:focus,
.w3sols-field textarea:focus {
    border-bottom-color: #555;
}

/* Floating label above select (for Country) */
.w3sols-float-label {
    font-size: 15px;
    color: #888;
    display: block;
    height: 16px;
    line-height: 16px;
    margin-bottom: 2px;
}

.w3sols-field-hint {
    font-size: 15px;
    color: #c00;
    margin-top: 4px;
    display: block;
}

/* Remove the old market label style */
.w3sols-market-label {
    display: none;
}

/* Phone field */
.w3sols-phone-field {
    display: flex;
    gap: 10px;
}

.w3sols-phone-field select {
    width: 90px;
    flex-shrink: 0;
}

.w3sols-phone-field input {
    flex: 1;
}

/* Textarea */
.w3sols-label-sm {
    font-size: 15px;
    color: #888;
    display: block;
    margin-bottom: 8px;
}

textarea {
    width: 100%;
    border: 1px solid #e8e8e8;
    padding: 10px;
    font-size: 15px;
    resize: vertical;
    outline: none;
    font-family: inherit;
}

/* Recap box */
.w3sols-recap p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* ---------- Shipping method step -------------------------- */
.w3sols-recap-address {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.w3sols-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0 0 24px;
}

.w3sols-no-shipping {
    font-size: 15px;
    color: #888;
}

.w3sols-shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.w3sols-shipping-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    transition: background 0.15s;
}

.w3sols-shipping-option:first-child {
    border-top: 1px solid #e8e8e8;
}

.w3sols-shm-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}

.w3sols-shm-left input[type="radio"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #1a1a1a;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.w3sols-shm-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.w3sols-shm-name {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
}

.w3sols-shm-cost {
    font-size: 15px;
    color: #555;
}

.w3sols-shm-free {
    color: #28a745;
    font-weight: 500;
}

.w3sols-shm-delivery {
    font-size: 15px;
    color: #888;
    text-align: right;
    flex-shrink: 0;
    padding-left: 20px;
}

.w3sols-shipping-option.active .w3sols-shm-name,
.w3sols-shipping-option:has(input:checked) .w3sols-shm-name {
    font-weight: 600;
}

.w3sols-step-check {
    font-size: 9px;
    color: #fff;
    background: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Payment methods ------------------------------- */
.w3sols-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.w3sols-payment-option {
    border: 1px solid #e8e8e8;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.w3sols-payment-option.active,
.w3sols-payment-option:has(input:checked) {
    border-color: #1a1a1a;
}

.w3sols-payment-option input[type="radio"] {
    margin-right: 10px;
    accent-color: #1a1a1a;
}

.w3sols-payment-label {
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.w3sols-payment-label img { height: 24px; }

.w3sols-payment-desc {
    font-size: 15px;
    color: #888;
    margin-top: 8px;
    padding-left: 24px;
}

.w3sols-payment-fields {
    padding-top: 12px;
    padding-left: 24px;
}

/* ---------- Order summary (sidebar) ----------------------- */
.w3sols-order-summary {
    border: 1px solid #e8e8e8;
    padding: 20px;
}

.w3sols-summary-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.w3sols-summary-item img {
    width: 50px;
    height: 65px;
    object-fit: cover;
}

.w3sols-summary-item-info {
    flex: 1;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ---------- Bottom checkout bar --------------------------- */
.w3sols-checkout-bar {
    border-top: 1px solid #e8e8e8;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.w3sols-back-btn {
    font-size: 15px;
    color: #555;
    border: 1px solid #e8e8e8;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
}

.w3sols-back-btn:hover { text-decoration: none; background: #f5f5f5; }

.w3sols-bar-summary {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 15px;
    color: #555;
}

/* ---------- Error box ------------------------------------ */
.w3sols-error-box {
    background: #fff3f3;
    border: 1px solid #f00;
    color: #c00;
    padding: 12px 16px;
    font-size: 15px;
    margin-bottom: 20px;
}

/* ---------- Loading overlay ------------------------------ */
.w3sols-loading {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.w3sols-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e8e8e8;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: w3sols-spin 0.7s linear infinite;
}

@keyframes w3sols-spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ----------------------------------- */
@media ( max-width: 768px ) {
    .w3sols-header { padding: 14px 20px; }
    .w3sols-cart-main,
    .w3sols-checkout-main { flex-direction: column; padding: 16px 20px; }
    .w3sols-cart-sidebar,
    .w3sols-checkout-sidebar { width: 100%; position: static; }
    .w3sols-form-row { flex-direction: column; gap: 0; }
    .w3sols-rec-grid { grid-template-columns: repeat(2, 1fr); }
    .w3sols-login-main { flex-direction: column; gap: 40px; padding: 40px 20px; }
    .w3sols-login-divider { width: 100%; height: 1px; align-self: auto; }
    .w3sols-progress { gap: 16px; font-size: 15px; }
    .w3sols-checkout-bar { flex-wrap: wrap; gap: 12px; padding: 14px 20px; }
    .w3sols-sidebar-actions { flex-direction: column; }
}

/* ============================================================
   Summary / Thank You page
   ============================================================ */
.w3sols-summary-main {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 40px 60px;
}

/* Success hero */
.w3sols-summary-hero {
    text-align: center;
    padding: 40px 0 32px;
}

.w3sols-summary-check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.w3sols-summary-hero h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.w3sols-summary-hero p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Order meta strip */
.w3sols-order-meta-strip {
    display: flex;
    align-items: center;
    border: 1px solid #e8e8e8;
    padding: 20px 24px;
    margin-bottom: 40px;
    gap: 0;
    flex-wrap: wrap;
}

.w3sols-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 120px;
}

.w3sols-meta-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
}

.w3sols-meta-value {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
}

.w3sols-meta-divider {
    width: 1px;
    height: 40px;
    background: #e8e8e8;
    margin: 0 24px;
}

/* Body layout */
.w3sols-summary-body {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.w3sols-summary-left {
    flex: 1;
    min-width: 0;
}

.w3sols-summary-left h3,
.w3sols-summary-right h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
}

/* Items table */
.w3sols-summary-items-table {
    border: 1px solid #e8e8e8;
}

.w3sols-sit-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
}

.w3sols-sit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 16px;
}

.w3sols-sit-product {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.w3sols-sit-product img {
    width: 56px;
    height: 72px;
    object-fit: cover;
    flex-shrink: 0;
}

.w3sols-sit-name {
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.5;
}

.w3sols-sit-meta {
    font-size: 15px;
    color: #888;
    margin-top: 4px;
}

.w3sols-sit-total {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Totals */
.w3sols-sit-totals {
    padding: 16px 20px;
    background: #fafafa;
}

.w3sols-sit-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #555;
    padding: 6px 0;
}

.w3sols-sit-grand-total {
    border-top: 1px solid #e8e8e8;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 15px;
    color: #1a1a1a;
}

.w3sols-sit-payment {
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
}

/* Right column */
.w3sols-summary-right {
    width: 300px;
    flex-shrink: 0;
}

/* ---------- Wishlist tab buttons -------------------------- */
.w3sols-remove-wishlist-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    background: none !important;
    background-color: transparent !important;
    border: 1px solid #e8e8e8 !important;
    color: #555 !important;
    font-size: 15px;
    padding: 6px 12px;
    cursor: pointer;
    box-shadow: none !important;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.w3sols-remove-wishlist-btn:hover {
    border-color: #1a1a1a !important;
    color: #1a1a1a !important;
    background: none !important;
}

.w3sols-remove-wishlist-btn:focus,
.w3sols-remove-wishlist-btn:active {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.w3sols-move-to-cart-btn:focus,
.w3sols-move-to-cart-btn:active {
    outline: none !important;
    box-shadow: none !important;
}

.w3sols-summary-address-box {
    border: 1px solid #e8e8e8;
    padding: 16px 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.w3sols-summary-address-box p {
    margin: 0;
}

.w3sols-summary-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .w3sols-summary-main { padding: 20px; }
    .w3sols-summary-body { flex-direction: column; }
    .w3sols-summary-right { width: 100%; }
    .w3sols-order-meta-strip { gap: 12px; }
    .w3sols-meta-divider { display: none; }
    .w3sols-meta-item { min-width: 45%; }
}

/* ---------- Custom Size meta in cart & sidebar ------------ */
.w3sols-csp-meta {
    font-size: 11px;
    color: #555;
    display: block;
    line-height: 1.5;
}
.w3sols-csp-meta strong {
    color: #1a1a1a;
    font-weight: 500;
}
.w3sols-csp-summary-meta {
    display: block;
    font-size: 11px;
    color: #555;
    line-height: 1.5;
}
.w3sols-csp-summary-meta strong {
    color: #1a1a1a;
    font-weight: 500;
}

/* ---------- Order summary meta display -------------------- */
.w3sols-sit-meta-item {
    display: flex;
    gap: 6px;
    font-size: 12px;
    color: #555;
    line-height: 1.6;
}
.w3sols-sit-meta-key {
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}
.w3sols-sit-custom-size {
    margin-top: 8px;
    padding: 8px 10px;
    background: #f8f8f8;
    border-radius: 6px;
    border-left: 3px solid #1a1a1a;
}
.w3sols-sit-custom-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 6px;
}
