<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* ==============================================
  Shopping Cart Sidebar Component Styles
  ============================================== */

/* --- Overlay --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1030;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.cart-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- Sidebar --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: 0; /* Starts from the left for RTL */
    width: 100%;
    max-width: 420px;
    height: 100%;
    background-color: var(--component-bg-color);
    z-index: 1031;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%); /* Start off-screen to the left */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-sidebar.is-open {
    transform: translateX(0);
	box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
}

/* --- Header --- */
.cart-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--medium-gray-color);
    flex-shrink: 0;
}

.cart-sidebar__title {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.4rem;
    margin: 0;
}

.cart-sidebar__close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark-gray-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
}

.cart-sidebar__close-btn:hover {
    background-color: var(--light-gray-color);
    transform: rotate(90deg);
}

/* --- Body --- */
.cart-sidebar__body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
    position: relative;
}

/* Initial Loader */
.cart-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Empty State */
.cart-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--dark-gray-color);
}

.cart-empty__icon {
    font-size: 4rem;
    color: var(--medium-gray-color);
    margin-bottom: 20px;
}

.cart-empty__text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.cart-empty__action-btn {
    font-size: 1rem;
    padding: 12px 25px;
    height: auto;
}


/* --- Items List --- */
.cart-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: block;
    padding: 15px;
    border: 1px solid var(--medium-gray-color);
    border-radius: var(--border-radius);
    background-color: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.4s ease, padding 0.3s ease;
    max-height: 250px;
    overflow: hidden;
}

.cart-item.is-removing {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    margin-bottom: -15px;
}

.cart-item__main-info {
    position: relative;
    padding-left: 40px;
    min-height: 80px;
}

.cart-item__main-info::after {
    content: "";
    display: table;
    clear: both;
}

.cart-item__image {
    float: right;
    width: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-left: 15px;
}

.cart-item__details {
    overflow: hidden;
    display: block;
}

.cart-item__header {
    display: block;
    margin-bottom: 8px;
}

.cart-item__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: inline;
}

.cart-item__tag {
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    margin-right: 10px;
    display: inline-block;
}

.cart-item__description {
    font-size: 0.85rem;
    color: var(--text-color-muted);
    margin: 0 0 10px 0;
}

.cart-item__remove-btn {
    position: absolute;
    top: 0;
    left: 0;
    background: none;
    border: none;
    color: var(--error-color);
    font-size: 1.1rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.cart-item__remove-btn:hover {
    background-color: #fff1f2;
}
.cart-item__remove-btn .spinner--sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
    border-top-color: var(--error-color);
}

/* --- Custom Certificate Checkbox --- */
.cart-item__certificate,
.cart-item__support {
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.cart-item__certificate input,
.cart-item__support input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.cart-item__certificate .custom-checkbox,
.cart-item__support .custom-checkbox {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-left: 8px;
}
.cart-item__certificate .custom-checkbox::after,
.cart-item__support .custom-checkbox::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.cart-item__certificate input:checked ~ .custom-checkbox,
.cart-item__support input:checked ~ .custom-checkbox {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.cart-item__certificate input:checked ~ .custom-checkbox::after,
.cart-item__support input:checked ~ .custom-checkbox::after {
    display: block;
}
.cart-item__certificate:hover .custom-checkbox,
.cart-item__support:hover .custom-checkbox {
    border-color: var(--primary-color);
}


/* --- Actions Row --- */
.cart-item__actions {
    clear: both;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--medium-gray-color);
}
.cart-item__actions::after {
    content: "";
    display: table;
    clear: both;
}

.quantity-control {
    float: right;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.quantity-control__btn {
    background-color: var(--light-gray-color);
    border: none;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-control__btn:hover:not(:disabled) {
    background-color: var(--medium-gray-color);
}
.quantity-control__btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.quantity-control__btn .spinner--sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

.quantity-control__value {
    width: 35px;
    text-align: center;
    font-weight: 600;
}

/* MODIFIED: Replaced .cart-item__price with new breakdown styles */
.cart-item__price-breakdown {
    float: left;
    text-align: left;
}

.price-line {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content to the end (left in RTL) */
    gap: 8px;
    font-size: 0.9rem;
    color: var(--dark-gray-color);
}

.price-line:not(:last-child) {
    margin-bottom: 5px;
}

.price-line__icon {
    color: var(--text-color-muted);
    font-size: 1.1em;
}

.price-line__value {
    font-weight: 600;
    color: var(--success-color);
    min-width: 110px; /* To align prices */
    text-align: left;
}


/* --- Footer --- */
.cart-sidebar__footer {
    padding: 20px 25px;
    border-top: 1px solid var(--medium-gray-color);
    background-color: var(--light-gray-color);
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-total__label {
    font-size: 1rem;
    color: var(--dark-gray-color);
}

.cart-total__value {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.4rem;
    color: var(--text-color);
}

.cart-checkout-btn {
    width: 100%;
}


/* --- Responsive --- */
@media (max-width: 480px) {
    .cart-sidebar {
        max-width: 100%;
    }
}
</pre></body></html>