@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&display=swap');

/* Frontend Sidebar Panel & Toast Styles */

:root {
    --ti-primary: #d61c22;
    /* Red branding color */
    --ti-primary-hover: #b51217;
    --ti-bg: #ffffff;
    --ti-border: #e2e8f0;
    --ti-text: #2d3748;
    --ti-text-muted: #718096;
    --ti-success: #48bb78;
    --ti-warning: #ecc94b;
    --ti-danger: #f56565;
    --ti-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Sidebar structure */
.ti-quote-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 440px;
    /* Adjusted to give more spacing - 440px */
    background: var(--ti-bg);
    border-right: 1px solid var(--ti-border);
    box-shadow: var(--ti-shadow);
    z-index: 999999;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ti-text);
}

/* Collapsed state utilizing translateX for high performance GPU transitions */
.ti-quote-sidebar.ti-collapsed {
    transform: translateX(-440px);
}

.ti-quote-sidebar:not(.ti-collapsed) {
    transform: translateX(0);
}

/* Hide handle when sidebar/drawer is open (Desktop & Mobile) */
.ti-quote-sidebar:not(.ti-collapsed) .ti-sidebar-handle {
    display: none !important;
    pointer-events: none;
}

/* Sidebar handle trigger - Custom styled vertical handle */
.ti-sidebar-handle {
    position: absolute;
    top: 50%;
    right: -48px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
    border-radius: 24px;
    background: rgb(17, 17, 17);
    border: 1px solid rgb(34, 34, 34);
    padding: 14px 0px;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 12px;
}

.ti-sidebar-handle:hover {
    transform: translateY(-50%) translateX(4px);
    background: rgb(26, 26, 26);
    border: 1px solid rgb(51, 51, 51);
    box-shadow: rgba(0, 0, 0, 0.6) 0px 8px 24px;
}

/* Active / Filled State (when list has items) */
.ti-sidebar-handle.ti-has-items {
    background: rgb(204, 0, 0);
    border: 1px solid rgb(204, 0, 0);
    box-shadow: rgba(204, 0, 0, 0.4) 0px 0px 20px;
}

.ti-handle-icon-mobile {
    display: none;
}

.ti-handle-count {
    font-family: "DM Mono", monospace;
    font-size: 13px;
    font-weight: 500;
    color: rgb(229, 229, 229);
    letter-spacing: -0.5px;
    display: block;
    text-align: center;
    background: transparent;
    border-radius: 0;
    min-width: auto;
    height: auto;
    padding: 0;
}

.ti-sidebar-handle.ti-has-items .ti-handle-count {
    color: rgb(255, 255, 255);
}

.ti-handle-divider {
    width: 1px;
    height: 24px;
    background: rgb(42, 42, 42);
    transition: background-color 0.2s ease;
}

.ti-sidebar-handle.ti-has-items .ti-handle-divider {
    background: rgba(255, 255, 255, 0.3);
}

.ti-handle-letter {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: rgb(102, 102, 102);
    letter-spacing: 1px;
    line-height: 1;
    transition: color 0.2s ease;
}

.ti-sidebar-handle:hover .ti-handle-letter {
    color: rgb(187, 187, 187);
}

.ti-sidebar-handle.ti-has-items .ti-handle-letter {
    color: rgb(255, 255, 255);
}

.ti-handle-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ti-handle-mobile {
    display: none;
}

/* Sidebar inner wrapper */
.ti-sidebar-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ti-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    background: #fff;
    visibility: hidden;
    pointer-events: none;
}

.ti-step.ti-active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.ti-step-1 {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.ti-step-1.ti-collapsed-step {
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
}

.ti-step-2.ti-active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

/* Header & Body styling */
.ti-sidebar-header {
    padding: 24px 20px !important;
    background: linear-gradient(90deg, #1E1B4B 0%, #0F0B30 100%) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.125) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    isolation: isolate !important;
    box-sizing: border-box !important;
    flex-shrink: 0;
}

.ti-glow-blob-1 {
    position: absolute !important;
    width: 180px !important;
    height: 180px !important;
    left: -30px !important;
    top: -40px !important;
    background: #4F46E5 !important;
    opacity: 0.35 !important;
    filter: blur(20px) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.ti-glow-blob-2 {
    position: absolute !important;
    width: 150px !important;
    height: 150px !important;
    right: 40px !important;
    bottom: -60px !important;
    background: #06B6D4 !important;
    opacity: 0.25 !important;
    filter: blur(15px) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.ti-header-left-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 2 !important;
}

.ti-header-icon-glow-wrapper {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.125) !important;
    box-shadow: 0px 8px 16px rgba(79, 70, 229, 0.25) !important;
    border-radius: 12px !important;
    flex-shrink: 0;
}

.ti-header-title-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
}

.ti-header-title {
    font-family: 'Geist', 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px !important;
    text-align: left;
}

.ti-header-subtitle {
    font-family: 'Geist', 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #94A3B8 !important;
    margin: 0 !important;
    text-align: left;
}

.ti-header-right-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 3 !important;
}

.ti-header-badges-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
}

.ti-count-pill {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 4px 10px !important;
    gap: 4px !important;
    border-radius: 100px !important;
}

.ti-count-pill-product {
    background: rgba(79, 70, 229, 0.25) !important;
    border: 1px solid rgba(79, 70, 229, 0.25) !important;
}

.ti-count-pill-product span:first-child {
    font-family: 'Geist', 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    color: #FFFFFF !important;
}

.ti-count-pill-product .ti-pill-label {
    font-family: 'Geist', 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    color: #FFFFFF !important;
    opacity: 0.8 !important;
}

.ti-count-pill-qty {
    background: rgba(6, 182, 212, 0.188) !important;
    border: 1px solid rgba(6, 182, 212, 0.188) !important;
}

.ti-count-pill-qty span:first-child {
    font-family: 'Geist', 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    color: #22D3EE !important;
}

.ti-count-pill-qty .ti-pill-label {
    font-family: 'Geist', 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    color: #22D3EE !important;
    opacity: 0.8 !important;
}

.ti-close-btn {
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.125) !important;
    border-radius: 50% !important;
    color: #FFFFFF !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.ti-close-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

.ti-back-btn {
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: var(--ti-primary);
    padding: 0;
    text-transform: uppercase;
}

/* Step 2 Header Style Reset (White layout to match the form) */
.ti-step-2 .ti-sidebar-header {
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid rgb(240, 240, 240) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    padding: 22px 24px 18px !important;
}

.ti-step-2 .ti-glow-blob-1,
.ti-step-2 .ti-glow-blob-2 {
    display: none !important;
}

.ti-step-2 .ti-sidebar-header h3 {
    color: rgb(17, 17, 17) !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.ti-step-2 .ti-close-btn {
    background: rgb(250, 250, 250) !important;
    border: 1px solid rgb(232, 232, 232) !important;
    color: rgb(170, 170, 170) !important;
}

.ti-step-2 .ti-close-btn svg path {
    stroke: rgb(170, 170, 170) !important;
}

.ti-step-2 .ti-close-btn:hover {
    background: rgb(240, 240, 240) !important;
    color: rgb(100, 100, 100) !important;
}

.ti-header-step2-title {
    margin: 0 !important;
    text-align: center !important;
    flex-grow: 1 !important;
}

.ti-sidebar-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0px 24px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
}

.ti-sidebar-body::-webkit-scrollbar {
    width: 6px;
}

.ti-sidebar-body::-webkit-scrollbar-track {
    background: #f8fafc;
}

.ti-sidebar-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
}

/* Empty State */
.ti-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 40px 10px;
}

.ti-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--ti-text-muted);
    opacity: 0.5;
}

.ti-empty-text {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--ti-text);
}

.ti-empty-subtext {
    font-size: 13px;
    color: var(--ti-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.ti-btn-shop {
    width: auto !important;
    padding: 10px 24px !important;
    border-radius: 4px !important;
}

/* Products listing UI */
.ti-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0px;
}

.ti-product-item {
    padding: 16px !important;
    border: 1px solid rgb(235, 240, 245) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0px 4px 12px rgba(15, 23, 42, 0.025), 0px 1px 2px rgba(15, 23, 42, 0.015) !important;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    opacity: 1;
    transform: translateX(0px);
    transition: all 0.2s ease !important;
}

.ti-product-item:hover {
    border-color: rgb(215, 222, 230) !important;
    box-shadow: 0px 6px 16px rgba(15, 23, 42, 0.05), 0px 2px 4px rgba(15, 23, 42, 0.02) !important;
    transform: translateY(-1px);
}

.ti-product-img-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: rgb(248, 248, 248);
    border: 1px solid rgb(239, 239, 239);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ti-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ti-product-details {
    flex: 1 1 0%;
    min-width: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ti-product-title {
    font-size: 11px;
    font-weight: 600;
    color: rgb(17, 17, 17);
    line-height: 1.4;
    margin: 0 0 3px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.ti-product-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.ti-product-title-link:hover {
    color: rgb(204, 0, 0);
}

.ti-product-sku {
    font-size: 9px;
    color: rgb(187, 187, 187);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: "DM Mono", monospace;
    text-align: left;
}

/* Quantity selector */
.ti-qty-selector {
    display: inline-flex;
    align-items: center;
    background: rgb(245, 245, 245);
    border-radius: 4px;
    overflow: hidden;
    height: 30px;
}

.ti-qty-btn {
    width: 30px !important;
    height: 30px !important;
    border: none !important;
    background: transparent !important;
    color: rgb(85, 85, 85) !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.12s !important;
    font-family: Inter, sans-serif !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.ti-qty-btn:hover {
    color: rgb(17, 17, 17) !important;
    background: transparent !important;
}

.ti-qty-btn.disabled,
.ti-qty-btn:disabled {
    color: rgb(204, 204, 204) !important;
    cursor: not-allowed !important;
    background: transparent !important;
}

.ti-qty-val {
    width: 28px;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgb(17, 17, 17);
    display: inline-block;
    user-select: none;
}

.ti-remove-item-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgb(208, 208, 208);
    padding: 0px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: 0.15s;
    margin-top: 2px;
    order: 3;
    /* Desktop layout: displays on the right side */
}

.ti-close-svg-mobile,
.ti-remove-svg-mobile {
    display: none !important;
}

.ti-close-svg-desktop,
.ti-remove-svg-desktop {
    display: block !important;
}

.ti-remove-item-btn:hover {
    color: rgb(204, 0, 0);
    background: rgb(245, 245, 245);
}

/* Sidebar Footer & Buttons */
.ti-sidebar-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid rgb(240, 240, 240);
    background: rgb(255, 255, 255);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.ti-footer-info-box {
    background: rgb(250, 250, 250);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.ti-footer-info-box svg {
    margin-top: 1px;
    flex-shrink: 0;
}

.ti-footer-info-text {
    font-size: 10px;
    color: rgb(170, 170, 170);
    line-height: 1.6;
    text-align: left;
    display: inline;
}

.ti-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgb(204, 0, 0) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 14px 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    width: 100% !important;
    text-align: center !important;
    box-shadow: none !important;
}

.ti-button:hover {
    background: rgb(170, 0, 0) !important;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3) !important;
}

.ti-btn-checkout {
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
}

/* WhatsApp ile Teklif İste (Çekmece İçi) Butonu */
.ti-btn-whatsapp-cart {
    background: #25D366 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28) !important;
    transition: all 0.25s ease !important;
}

.ti-btn-whatsapp-cart:hover:not(:disabled) {
    background: #20bd5a !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38) !important;
    transform: translateY(-1px) !important;
}

.ti-btn-whatsapp-cart svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.ti-btn-whatsapp-cart:hover:not(:disabled) svg {
    transform: scale(1.12);
}

.ti-turnstile-container {
    display: flex;
    justify-content: center;
    margin: 12px 0 6px 0;
}

.ti-button:disabled {
    background: rgb(240, 240, 240) !important;
    color: rgb(204, 204, 204) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.ti-button:disabled svg path {
    stroke: rgb(204, 204, 204) !important;
}

.ti-btn-clear {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 8px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 10px !important;
    color: rgb(204, 204, 204) !important;
    font-family: Inter, sans-serif !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
    line-height: normal !important;
}

.ti-btn-clear:hover {
    color: rgb(136, 136, 136) !important;
    background: transparent !important;
}

.ti-btn-submit {
    position: relative !important;
    gap: 8px !important;
    text-transform: uppercase !important;
}

/* Form Styles */
.ti-form-group {
    margin-bottom: 16px;
}

.ti-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ti-text);
}

.ti-input-field {
    width: 100%;
    border: 1px solid var(--ti-border);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    transition: all 0.2s;
    background: #f8fafc;
}

.ti-input-field:focus {
    outline: none;
    border-color: var(--ti-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(214, 28, 34, 0.15);
}

.ti-textarea {
    resize: vertical;
}

/* Radios and checkbox */
.ti-radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 8px;
}

.ti-radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.ti-radio-label input[type="radio"]:checked+span {
    color: var(--ti-primary);
}

.ti-checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px !important;
    font-weight: normal !important;
    cursor: pointer;
    line-height: 1.4;
}

.ti-checkbox-label input {
    margin-top: 3px;
}

/* Flying Product Image Style */
.ti-flying-image {
    position: fixed;
    z-index: 9999999;
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--ti-primary);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-in-out;
}

/* Handle shake & ripple effect on product add (Preserves translateY(-50%) desktop positioning) */
@keyframes tiDesktopShake {
    0% {
        transform: translateY(-50%) scale(1);
    }
    15% {
        transform: translateY(-50%) translateX(6px) scale(1.06);
    }
    30% {
        transform: translateY(-50%) translateX(-4px) scale(1.06);
    }
    45% {
        transform: translateY(-50%) translateX(5px) scale(1.04);
    }
    60% {
        transform: translateY(-50%) translateX(-2px) scale(1.02);
    }
    75% {
        transform: translateY(-50%) translateX(2px) scale(1.01);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

@keyframes tiCountPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.45);
    }
    100% {
        transform: scale(1);
    }
}

.ti-sidebar-handle.ti-pulse {
    animation: tiDesktopShake 0.48s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.ti-sidebar-handle.ti-pulse .ti-handle-count {
    animation: tiCountPop 0.45s ease-out;
}


/* Item highlight pop animation */
@keyframes tiHighlight {
    0% {
        background: rgba(214, 28, 34, 0.15);
        border-color: var(--ti-primary);
    }

    100% {
        background: #ffffff;
        border-color: var(--ti-border);
    }
}

.ti-highlight {
    animation: tiHighlight 1.5s ease-out;
}

/* Loading spinner */
.ti-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: tiRotation 1s linear infinite;
}

@keyframes tiRotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Modern Toast Notification System (with Responsive Text Truncation)
   ========================================================================== */
.ti-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    width: calc(100% - 48px);
    max-width: 400px;
}

.ti-toast {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    pointer-events: auto;
    transform: translateY(-16px) scale(0.97);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.ti-toast.ti-show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Toast Color Variants & Accent Borders */
.ti-toast-success {
    border-left: 4px solid #10b981;
}

.ti-toast-warning {
    border-left: 4px solid #f59e0b;
}

.ti-toast-error {
    border-left: 4px solid #ef4444;
}

/* Toast Inner Content Layout */
.ti-toast-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Product Thumbnail Preview */
.ti-toast-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Text & Body Content Container (min-width: 0 is critical for ellipsis) */
.ti-toast-content {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
}

.ti-toast-header {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.ti-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ti-toast-icon-success {
    color: #10b981;
}

.ti-toast-icon-warning {
    color: #f59e0b;
}

.ti-toast-icon-error {
    color: #ef4444;
}

.ti-toast-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

/* Product Name with Responsive Truncation */
.ti-toast-product-name {
    font-size: 12px;
    color: #475569;
    line-height: 1.35;
    font-weight: 500;
    width: 100%;
    /* Desktop Default: 1 line truncation */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Quick Action Links */
.ti-toast-actions {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ti-toast-action-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
    font-family: inherit;
}

.ti-toast-view-list-btn {
    color: #0284c7;
}

.ti-toast-view-list-btn:hover {
    color: #0369a1;
}

.ti-toast-undo-btn {
    color: #d97706;
}

.ti-toast-undo-btn:hover {
    color: #b45309;
}

/* Close 'X' Button */
.ti-toast-close {
    background: transparent;
    border: none;
    padding: 4px;
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.15s ease, background-color 0.15s ease;
    margin-left: 2px;
    margin-top: -2px;
}

.ti-toast-close:hover {
    color: #1e293b;
    background-color: #f1f5f9;
}

/* Auto-dismiss Progress Bar */
.ti-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.ti-toast-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left;
    animation: tiToastProgress 3.5s linear forwards;
}

.ti-toast-success .ti-toast-progress-bar {
    background: #10b981;
}

.ti-toast-warning .ti-toast-progress-bar {
    background: #f59e0b;
}

.ti-toast-error .ti-toast-progress-bar {
    background: #ef4444;
}

@keyframes tiToastProgress {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}

/* Mobile Responsiveness for Toast */
@media (max-width: 480px) {
    .ti-toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }

    .ti-toast-product-name {
        /* Mobile: Maximum 2 lines truncation */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        word-break: break-word;
    }
}


/* Custom Confirmation Modal */
.ti-confirm-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.ti-confirm-modal.ti-hidden {
    opacity: 0;
    pointer-events: none;
    display: none !important;
}

.ti-confirm-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    width: 85%;
    max-width: 310px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ti-confirm-modal:not(.ti-hidden) .ti-confirm-box {
    transform: scale(1);
}

.ti-confirm-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.ti-confirm-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.ti-confirm-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgb(102, 102, 102);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.ti-confirm-actions {
    display: flex;
    gap: 10px;
}

.ti-confirm-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
    text-align: center;
    line-height: 1.4;
}

.ti-confirm-btn-cancel {
    background: rgb(240, 240, 240);
    color: rgb(102, 102, 102);
}

.ti-confirm-btn-cancel:hover {
    background: rgb(230, 230, 230);
    color: rgb(50, 50, 50);
}

.ti-confirm-btn-approve {
    background: rgb(204, 0, 0);
    color: #ffffff;
}

.ti-confirm-btn-approve:hover {
    background: rgb(170, 0, 0);
}

/* Step 2 Global Styles (Desktop & Mobile) */
.ti-back-text {
    display: none !important;
}

.ti-back-svg-mobile {
    display: block !important;
}

.ti-back-btn {
    width: 30px !important;
    height: 30px !important;
    border: 1px solid rgb(232, 232, 232) !important;
    background: rgb(250, 250, 250) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    color: rgb(170, 170, 170) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: 0.15s !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.ti-back-btn:hover {
    background: rgb(240, 240, 240) !important;
    color: rgb(100, 100, 100) !important;
}

.ti-mobile-step2-products-card {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid rgb(235, 240, 245) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.ti-mobile-step2-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgb(243, 244, 246) !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
}

.ti-mobile-step2-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: rgb(79, 70, 229) !important;
    letter-spacing: 0.5px !important;
}

.ti-mobile-step2-badge {
    background: rgb(243, 244, 246) !important;
    border-radius: 9999px !important;
    padding: 4px 10px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    color: rgb(55, 65, 81) !important;
}

.ti-mobile-step2-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.ti-mobile-step2-item {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.ti-mobile-step2-img-wrapper {
    width: 44px !important;
    height: 44px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: rgb(248, 248, 248) !important;
    border: 1px solid rgb(239, 239, 239) !important;
    flex-shrink: 0 !important;
}

.ti-mobile-step2-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ti-mobile-step2-details {
    flex: 1 1 0% !important;
    min-width: 0px !important;
}

.ti-mobile-step2-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: rgb(17, 24, 39) !important;
    margin: 0 0 2px 0 !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: left !important;
}

.ti-mobile-step2-sku {
    display: block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    color: rgb(107, 114, 128) !important;
    text-align: left !important;
}

.ti-mobile-step2-more-badge {
    background: rgb(243, 244, 246) !important;
    border: 1px dashed rgb(209, 213, 219) !important;
    color: rgb(79, 70, 229) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

.ti-radio-group {
    display: flex !important;
    background: #ffffff !important;
    border-radius: 9999px !important;
    padding: 0 !important;
    gap: 0 !important;
    margin-bottom: 20px !important;
    border: 1px solid rgb(226, 232, 240) !important;
    box-shadow: none !important;
    height: 44px !important;
    align-items: stretch !important;
    overflow: visible !important;
}

.ti-radio-label {
    flex: 1 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    align-items: stretch !important;
}

.ti-radio-label input[type="radio"] {
    display: none !important;
}

.ti-radio-label span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 100% !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgb(100, 116, 139) !important;
    transition: all 0.15s ease !important;
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

/* Default middle separator line */
.ti-radio-label:first-child span {
    border-right: 1px solid rgb(226, 232, 240) !important;
}

.ti-radio-icon {
    flex-shrink: 0 !important;
}

/* Precise outline active state styling */
.ti-radio-label input[value="bireysel"]:checked+span {
    background: #ffffff !important;
    color: #4F46E5 !important;
    border: 1px solid #4F46E5 !important;
    border-radius: 9999px 0 0 9999px !important;
    height: 44px !important;
    margin: -1px 0 -1px -1px !important;
    box-shadow: 0px 2px 4px rgba(79, 70, 229, 0.04) !important;
    z-index: 2 !important;
}

.ti-radio-label input[value="kurumsal"]:checked+span {
    background: #ffffff !important;
    color: #4F46E5 !important;
    border: 1px solid #4F46E5 !important;
    border-radius: 0 9999px 9999px 0 !important;
    height: 44px !important;
    margin: -1px -1px -1px 0 !important;
    box-shadow: 0px 2px 4px rgba(79, 70, 229, 0.04) !important;
    z-index: 2 !important;
}

.ti-form-group label {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: rgb(17, 24, 39) !important;
    margin-bottom: 6px !important;
    text-align: left !important;
}

.ti-input-field {
    background: #ffffff !important;
    border: 1px solid rgb(229, 231, 235) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: rgb(17, 24, 39) !important;
}

.ti-input-field::placeholder {
    color: rgb(156, 163, 175) !important;
}

.ti-input-field:focus {
    border-color: rgb(30, 27, 75) !important;
    box-shadow: 0 0 0 2px rgba(30, 27, 75, 0.1) !important;
}

.ti-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    color: rgb(75, 85, 99) !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    text-align: left !important;
}

.ti-checkbox-label input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgb(209, 213, 219) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 2px !important;
}

.ti-checkbox-label input[type="checkbox"]:checked {
    background: rgb(30, 27, 75) !important;
    border-color: rgb(30, 27, 75) !important;
}

.ti-checkbox-label input[type="checkbox"]:checked::after {
    content: "" !important;
    width: 4px !important;
    height: 8px !important;
    border: solid #ffffff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    position: absolute !important;
    top: 2px !important;
    left: 5px !important;
}

.ti-btn-submit {
    background: rgb(30, 27, 75) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

.ti-btn-submit:hover {
    background: rgb(20, 18, 55) !important;
    box-shadow: 0 4px 12px rgba(30, 27, 75, 0.3) !important;
}

/* Responsive / Mobile Drawer Style (Under 768px) */
@media (max-width: 767px) {
    .ti-quote-sidebar {
        width: 100% !important;
        height: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        /* Full page cover on mobile */
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-right: none !important;
        border-top: none !important;
        border-radius: 0 !important;
        overflow: visible !important;
        transform: translateY(100%) translateX(0) !important;
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        z-index: 999999 !important;
    }

    .ti-quote-sidebar.ti-collapsed {
        transform: translateY(100%) translateX(0) !important;
        z-index: 999999 !important;
    }

    .ti-quote-sidebar:not(.ti-collapsed) {
        transform: translateY(0) translateX(0) !important;
        z-index: 9999999 !important;
    }

    .ti-sidebar-handle {
        position: absolute !important;
        top: calc(-92px - env(safe-area-inset-bottom, 0px)) !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        border-radius: 0 !important;
        clip-path: none !important;
        transition: none !important;
        z-index: 999999 !important;
    }

    .ti-sidebar-handle:hover {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
    }


    .ti-handle-desktop {
        display: none !important;
    }

    .ti-handle-mobile {
        display: flex !important;
        align-items: stretch;
        height: 52px;
        cursor: pointer;
        transform: scale(1);
        transition: all 0.15s ease;
        gap: 0px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
        /* Strong shadow to separate from background */
        border-radius: 0 8px 8px 0;
        overflow: hidden;
    }

    /* Micro-animation when product is added to list (no vertical displacement) */
    @keyframes tiMobileShake {
        0% {
            transform: scale(1);
        }
        20% {
            transform: scale(1.05) translateX(4px);
        }
        40% {
            transform: scale(1.05) translateX(-3px);
        }
        60% {
            transform: scale(1.03) translateX(3px);
        }
        80% {
            transform: scale(1.01) translateX(-1px);
        }
        100% {
            transform: scale(1);
        }
    }

    .ti-pulse .ti-handle-mobile {
        animation: tiMobileShake 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* Left Text Column */
    .ti-handle-mobile-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0px 16px;
        background: rgb(20, 20, 20);
        border-width: 1px 0px 1px 0px;
        /* Snapped to left edge, no left border needed */
        border-style: solid none solid none;
        border-color: rgb(37, 37, 37);
        transition: all 0.15s ease;
        border-radius: 0px;
        /* Snapped to left edge */
    }

    .ti-handle-mobile-title {
        font-family: 'Inter', sans-serif;
        font-size: 11px;
        font-weight: 700;
        color: rgb(255, 255, 255);
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    .ti-handle-mobile-subtitle {
        font-family: 'Inter', sans-serif;
        font-size: 9px;
        font-weight: 400;
        color: rgb(68, 68, 68);
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    /* Right Badge Column with clip-path angle */
    .ti-handle-mobile-badge {
        width: 36px;
        background: rgb(238, 0, 0);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        clip-path: polygon(8px 0px, 100% 0px, 100% 100%, 0px 100%);
        transition: background 0.15s ease;
        border-radius: 0px 4px 4px 0px;
    }

    .ti-handle-mobile-badge .ti-handle-count {
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        font-weight: 800;
        color: rgb(255, 255, 255) !important;
        text-align: center;
        background: transparent !important;
        border-radius: 0 !important;
        min-width: auto !important;
        height: auto !important;
        padding: 0 0 0 4px !important;
        display: inline-block !important;
    }

    /* Hover State for Mobile Handle */
    .ti-handle-mobile:hover .ti-handle-mobile-text {
        background: rgb(26, 26, 26);
    }

    /* Active State for Mobile Handle */
    .ti-handle-mobile:active {
        transform: scale(0.97);
    }

    .ti-handle-mobile:active .ti-handle-mobile-text {
        background: rgb(20, 20, 20);
        border-color: rgb(204, 0, 0);
    }

    .ti-handle-mobile:active .ti-handle-mobile-title {
        color: rgb(255, 68, 68);
    }

    .ti-handle-mobile:active .ti-handle-mobile-badge {
        background: rgb(204, 0, 0);
    }

    .ti-sidebar-wrapper {
        width: 100%;
        border-radius: 0 !important;
        overflow: hidden;
    }

    .ti-mobile-drag-handle {
        display: none !important;
    }

    /* Keep standard header alignments on mobile (back on left, close on right) */
    .ti-header-top {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .ti-close-btn {
        border-radius: 50% !important;
        /* Make it circular as requested */
    }

    /* Show Mobile Close SVG and Hide Desktop Close SVG on Mobile */
    .ti-close-svg-mobile {
        display: block !important;
    }

    .ti-close-svg-desktop {
        display: none !important;
    }

    .ti-product-img {
        width: 64px;
        height: 64px;
    }

    .ti-qty-btn {
        width: 36px;
        height: 36px;
    }

    .ti-qty-selector {
        height: 36px;
    }

    .ti-qty-input {
        height: 36px !important;
    }

}

.ti-form-error-msg {
    background: rgb(254, 242, 242) !important;
    border: 1px solid rgb(252, 165, 165) !important;
    color: rgb(185, 28, 28) !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   SINGLE PRODUCT ACTION BUTTONS (Teklif İste + WhatsApp UI Redesign)
   ========================================================================== */
.wrap_ask_share.ti-single-product-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    align-items: stretch !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ti-single-product-actions .ti-action-item {
    flex: 1 1 0% !important;
    min-width: 300px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}

/* Base custom action button (Wide & Compact Height Desktop Style) */
.ti-single-product-actions .ti-custom-action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 7px 30px 7px 10px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    position: relative !important;
    font-family: 'Inter', sans-serif !important;
    border: 1.5px solid transparent !important;
    min-height: 56px !important;
    outline: none !important;
}

/* Left Group (Icon badge + Texts) */
.ti-single-product-actions .ti-btn-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: left !important;
    min-width: 0 !important;
}

/* Icon Badge (Squircle) */
.ti-single-product-actions .ti-btn-icon-badge {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease !important;
}

.ti-single-product-actions .ti-btn-icon-badge svg {
    display: block !important;
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

/* Text Container */
.ti-single-product-actions .ti-btn-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
    min-width: 0 !important;
}

.ti-single-product-actions .ti-btn-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

.ti-single-product-actions .ti-btn-subtitle {
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

/* Right Arrow */
.ti-single-product-actions .ti-btn-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    padding-left: 14px !important;
    flex-shrink: 0 !important;
}

.ti-single-product-actions .ti-arrow-icon {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    transition: transform 0.25s ease !important;
}

.ti-single-product-actions .ti-custom-action-btn:hover .ti-arrow-icon {
    transform: translateX(4px) !important;
}

/* --------------------------------------------------------------------------
   1. Teklif İste Button (Royal Blue Pill)
   -------------------------------------------------------------------------- */
.ti-single-product-actions .ti-btn-quote {
    background: linear-gradient(135deg, #1d68f2 0%, #2b77f9 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px -4px rgba(29, 104, 242, 0.38) !important;
}

.ti-single-product-actions .ti-btn-quote .ti-badge-quote {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

.ti-single-product-actions .ti-btn-quote .ti-badge-quote svg {
    fill: #ffffff !important;
    stroke: none !important;
}

.ti-single-product-actions .ti-btn-quote .ti-btn-title {
    color: #ffffff !important;
}

.ti-single-product-actions .ti-btn-quote .ti-btn-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.ti-single-product-actions .ti-btn-quote .ti-arrow-icon {
    color: rgba(255, 255, 255, 0.8) !important;
    fill: currentColor !important;
}

.ti-single-product-actions .ti-btn-quote:hover {
    background: linear-gradient(135deg, #175cdb 0%, #226ee6 100%) !important;
    box-shadow: 0 12px 28px -4px rgba(29, 104, 242, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* --------------------------------------------------------------------------
   2. WhatsApp Button (Clean White Pill with Emerald Badge)
   -------------------------------------------------------------------------- */
.ti-single-product-actions .ti-btn-whatsapp {
    background: #ffffff !important;
    border: 1.5px solid #d1fae5 !important;
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.08) !important;
    color: #0f766e !important;
}

.ti-single-product-actions .ti-btn-whatsapp .ti-badge-whatsapp {
    background: #22c55e !important;
    color: #ffffff !important;
}

.ti-single-product-actions .ti-btn-whatsapp .ti-badge-whatsapp svg {
    fill: #ffffff !important;
}

.ti-single-product-actions .ti-btn-whatsapp .ti-btn-title {
    color: #0f766e !important;
}

.ti-single-product-actions .ti-btn-whatsapp .ti-btn-subtitle {
    color: #94a3b8 !important;
}

.ti-single-product-actions .ti-btn-whatsapp .ti-arrow-icon {
    color: #94a3b8 !important;
    fill: currentColor !important;
}

.ti-single-product-actions .ti-btn-whatsapp:hover {
    background: #ffffff !important;
    border-color: #86efac !important;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.16) !important;
    transform: translateY(-2px) !important;
}

.ti-single-product-actions .ti-btn-whatsapp:hover .ti-arrow-icon {
    color: #22c55e !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .wrap_ask_share.ti-single-product-actions {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .ti-single-product-actions .ti-action-item {
        width: 100% !important;
        flex: none !important;
        min-width: 100% !important;
    }

    .ti-single-product-actions .ti-custom-action-btn {
        padding: 8px 18px 8px 10px !important;
        min-height: 56px !important;
    }

    .ti-single-product-actions .ti-btn-icon-badge {
        width: 38px !important;
        height: 38px !important;
        border-radius: 11px !important;
    }

    .ti-single-product-actions .ti-btn-title {
        font-size: 14.5px !important;
    }

    .ti-single-product-actions .ti-btn-subtitle {
        font-size: 11.5px !important;
    }
}