:root {
    color-scheme: light;
    font-family: "Inter", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 10% 20%, rgba(94, 202, 255, 0.35) 0%, rgba(242, 247, 255, 0.95) 50%, #f5f7ff 100%);
    color: #1d2840;
}
body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(160deg, rgba(237,243,255,1) 0%, rgba(249,251,255,1) 100%);
    min-width: 280px;
}
a {
    color: inherit;
    text-decoration: none;
}
header {
    border-bottom: 1px solid rgba(94, 150, 255, 0.18);
    padding: 1.5rem 1.5rem 2.5rem;
    position: relative;
    overflow: visible;
    background: linear-gradient(140deg, rgba(255,255,255,0.92) 0%, rgba(231,241,255,0.95) 55%, rgba(210,236,255,0.85) 100%);
    z-index: 10000;
}
header .brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1140px;
    margin: 0 auto 2rem;
}
header .brand .identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
header .brand .identity img {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    object-fit: cover;
}
header .brand .identity .brand-name {
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1b2740;
}
@media (max-width: 960px) {
    header .brand .identity .brand-name {
        display: none;
    }
}
header .brand .contact {
    text-align: right;
}
header .brand .contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: rgba(94, 202, 255, 0.18);
    border: 1px solid rgba(94, 150, 255, 0.35);
    box-shadow: 0 10px 26px rgba(94, 150, 255, 0.18);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
header .brand .contact a:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(94, 150, 255, 0.3);
}
header .brand .contact .contact-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: 1rem;
}
header .brand .contact .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1d2840;
    transition: color 0.2s ease;
    padding: 0;
    padding-left: 20px;
    border-right: 0;
}
header .brand .contact .phone-link:hover {
    color: #3664ff;
}
header .brand .contact .phone-number {
    font-weight: 600;
    font-size: 0.95rem;
    color: inherit;
}
header .brand .contact .phone-icon {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(190,214,255,0.75));
    border: 1px solid rgba(94, 150, 255, 0.35);
    box-shadow: 0 10px 20px rgba(142,176,255,0.25);
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
header .brand .contact .icon-link {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(190,214,255,0.75));
    border: 1px solid rgba(94, 150, 255, 0.35);
    box-shadow: 0 10px 20px rgba(142,176,255,0.25);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
header .brand .contact .icon-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(94, 150, 255, 0.35);
}
header .brand .contact .icon-link.phone-icon:hover {
    transform: none;
    box-shadow: 0 10px 20px rgba(142,176,255,0.25);
}
header .brand .contact .icon-link svg {
    width: 24px;
    height: 24px;
    fill: #3664ff;
}
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.search-overlay.is-active {
    display: block;
    opacity: 1;
}
header .search-bar {
    max-width: 1140px;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10010;
    display: none;
    width: 100%;
    pointer-events: none;
}
header .search-bar.is-open {
    display: block;
}
header .search-bar .search-form {
    pointer-events: auto;
}
header nav {
    position: relative;
    z-index: 10000;
}
header .search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(94, 150, 255, 0.3);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 8px 20px rgba(94, 150, 255, 0.15);
    position: relative;
    z-index: 10001;
    transform-origin: center;
    transform: scaleX(0.25);
    opacity: 0;
    transition: transform 1s ease, opacity 0.3s ease, box-shadow 0.2s ease;
}
header .search-bar.is-open .search-form {
    transform: scaleX(1);
    opacity: 1;
}
header .search-form:focus-within {
    box-shadow: 0 12px 28px rgba(94, 150, 255, 0.25);
}
header .search-input-wrapper {
    flex: 1;
    position: relative;
    z-index: 10002;
}
header .search-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: #1d2840;
    outline: none;
    padding: 0.5rem 0.5rem;
    padding-right: 120px;
}
header .search-input::placeholder {
    color: rgba(29, 40, 64, 0.5);
}
header .search-button {
    background: linear-gradient(135deg, #5fc1ff, #6fe3ff);
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    color: #0c1730;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: absolute;
    right: 20px;
}
header .search-button:hover {
    transform: translateY(-1px);
}
header .search-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(94, 150, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(94, 150, 255, 0.25);
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}
header .search-dropdown.active {
    display: block;
}
header .search-dropdown-section {
    padding: 0.75rem 0;
    z-index: 10;
}
header .search-dropdown-section-title {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(29, 40, 64, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(94, 150, 255, 0.15);
    margin-bottom: 0.5rem;
}
header .search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(94, 150, 255, 0.08);
}
header .search-dropdown-item:last-child {
    border-bottom: none;
}
header .search-dropdown-item:hover {
    background: rgba(94, 202, 255, 0.1);
}
header .search-dropdown-item-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    background: rgba(240, 245, 255, 0.8);
    flex-shrink: 0;
}
header .search-dropdown-item-images {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
header .search-dropdown-item-images a {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}
header .search-dropdown-item-images a:hover {
    transform: scale(1.1);
}
header .search-dropdown-item-images img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(240, 245, 255, 0.8);
}
header .search-dropdown-item-content {
    flex: 1;
    min-width: 0;
}
header .search-dropdown-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1b2740;
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
header .search-dropdown-item-meta {
    font-size: 0.8rem;
    color: rgba(29, 40, 64, 0.6);
}
header .search-dropdown-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #3664ff;
    margin-left: auto;
    flex-shrink: 0;
}
header .search-dropdown-loading {
    padding: 1.5rem;
    text-align: center;
    color: rgba(29, 40, 64, 0.5);
    font-size: 0.9rem;
}
header .search-dropdown-empty {
    padding: 1.5rem;
    text-align: center;
    color: rgba(29, 40, 64, 0.5);
    font-size: 0.9rem;
}
nav {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(240, 245, 255, 0.9);
    border: 1px solid rgba(94, 150, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 16px 28px rgba(143, 159, 255, 0.2);
    flex-wrap: wrap;
}
nav a {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: rgba(34, 47, 86, 0.78);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
@media (max-width: 1084px) {
    nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(94,150,255,0.4) rgba(240, 245, 255, 0.5);
        gap: 0.4rem;
    }
    nav::-webkit-scrollbar {
        height: 6px;
    }
    nav::-webkit-scrollbar-track {
        background: rgba(240, 245, 255, 0.5);
        border-radius: 999px;
    }
    nav::-webkit-scrollbar-thumb {
        background: rgba(94,150,255,0.4);
        border-radius: 999px;
    }
    nav::-webkit-scrollbar-thumb:hover {
        background: rgba(94,150,255,0.6);
    }
    nav a {
        white-space: nowrap;
        flex-shrink: 0;
    }
}
nav a:hover,
nav a.active {
    background: linear-gradient(135deg, rgba(94, 202, 255, 0.65), rgba(136, 154, 255, 0.75));
    color: #0c1230;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(94, 150, 255, 0.28);
}
nav a[href="/comanda-curier/"] {
    font-weight: 700;
    color: #0400ff;
}
main {
    max-width: 1140px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 2rem;
}
footer {
    margin-top: auto;
    padding: 0 1.5rem 2rem;
}
@media (max-width: 768px) {
    header .brand {
        align-items: flex-start;
        text-align: left;
    }
    header .brand .contact {
        text-align: left;
        margin-top: 1rem;
    }
    nav {
        justify-content: flex-start;
        border-radius: 18px;
    }
    main {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    footer {
        padding: 0 1rem 1.6rem;
    }
}
@media (max-width: 480px) {
    header {
        padding: 1.8rem 0.6rem 1.6rem;
    }
    header .brand {
        margin-bottom: 1.4rem;
        gap:0;
    }
    header .brand .contact .phone-number {
        display: none;
    }
    header .brand .contact .contact-icons {
        gap:0.4rem;
        margin-left:0;
    }
    header .brand .contact .phone-link {
        padding-left: 0px;
        border: none;
    }
    nav {
        padding: 0.2rem;
    }
    main {
        padding: 0 0.5rem;
        margin: 1.8rem auto;
    }
    footer {
        padding: 0 0.5rem 1.2rem;
    }
}
.cart-link {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 25px;
    height: 25px;
    border-radius: 999px;
    background: #ff4b4b;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #ffffff;
}
.cart-badge--lg {
    min-width: 24px;
    height: 24px;
    font-size: 0.8rem;
}
.red {
    color: #ff0000 !important;
    font-weight: 600 !important;
}
footer p {
    margin: 0.3rem 0 !important;
    padding: 0 !important;
}
footer {
    background: linear-gradient(180deg, rgba(243,248,255,0.95) 0%, rgba(225,239,255,0.95) 100%);
    color: #24365a;
    padding: 3rem 1.5rem 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(150,190,255,0.25);
}
.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}
.footer-link {
    color: inherit;
}
.footer-sal-sol-container {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-sal-sol-link {
    display: inline-block;
}
.footer-sal-sol-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    max-width: 220px;
}
.footer-copyright {
    margin: 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(51,72,110,0.6);
}
.footer-copyright--standalone {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(51,72,110,0.6);
}
.search-icon-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(240, 245, 255, 0.8);
    font-size: 1rem;
}
.search-icon-wrapper--large {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(240, 245, 255, 0.8);
    font-size: 1.5rem;
}
.search-icon-wrapper--medium {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(240, 245, 255, 0.8);
    font-size: 1.2rem;
}
.ip-pass-message {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-bottom: 2px solid #ffc107;
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 10001;
}
.ip-pass-message p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}
.brand-identity-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
}
.search-dropdown-loading,
.search-dropdown-empty {
    display: none;
}

/* CSS pentru cos */
.cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 768px) {
    .cart-page {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .cart-page {
        padding: 1rem 0.5rem;
    }
}

.cart-header {
    margin-bottom: 2rem;
}

.cart-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b2740;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.cart-header p {
    color: rgba(29, 40, 64, 0.7);
    font-size: 1rem;
    margin: 0;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(94, 150, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(94, 150, 255, 0.1);
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cart-empty h2 {
    font-size: 1.5rem;
    color: #1b2740;
    margin: 0 0 1rem;
}

.cart-empty p {
    color: rgba(29, 40, 64, 0.7);
    margin: 0 0 2rem;
}

.cart-empty a {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #5fc1ff, #6fe3ff);
    color: #0c1730;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-empty a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(94, 150, 255, 0.3);
}

.cart-content {
    display: block;
    margin-bottom: 2rem;
}

.cart-items {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(94, 150, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(94, 150, 255, 0.1);
    overflow: hidden;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(94, 150, 255, 0.1);
    transition: background 0.2s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: rgba(94, 202, 255, 0.05);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(240, 245, 255, 0.8);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1b2740;
    margin: 0 0 0.5rem;
}

.cart-item-name a {
    color: inherit;
    text-decoration: none;
}

.cart-item-name a:hover {
    color: #3664ff;
}

.cart-item-meta {
    font-size: 0.9rem;
    color: rgba(29, 40, 64, 0.6);
    margin: 0 0 0.75rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(240, 245, 255, 0.8);
    border: 1px solid rgba(94, 150, 255, 0.2);
    border-radius: 8px;
    padding: 0.25rem;
}

.cart-item-qty input {
    width: 60px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #1b2740;
    outline: none;
}

.cart-item-qty button {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(94, 202, 255, 0.2);
    color: #3664ff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.cart-item-qty button:hover {
    background: rgba(94, 202, 255, 0.4);
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3664ff;
    margin-left: auto;
}

.cart-item-remove {
    padding: 0.5rem 1rem;
    background: rgba(255, 75, 75, 0.1);
    color: #ff4b4b;
    border: 1px solid rgba(255, 75, 75, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cart-item-remove:hover {
    background: rgba(255, 75, 75, 0.2);
    transform: translateY(-1px);
}

.cart-item-change-type {
    padding: 0.5rem 1rem;
    background: rgba(54, 100, 255, 0.1);
    color: #3664ff;
    border: 1px solid rgba(54, 100, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.cart-item-change-type:hover {
    background: rgba(54, 100, 255, 0.2);
    transform: translateY(-1px);
}

.cart-summary {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(94, 150, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(94, 150, 255, 0.1);
    padding: 2rem;
    height: fit-content;
    position: relative;
    top: auto;
}

.cart-summary-inline {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.cart-summary h2,
.cart-summary-inline h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1b2740;
    margin: 0 0 1.5rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(94, 150, 255, 0.1);
}

.cart-summary-row:last-child {
    border-bottom: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: none;
}

.cart-summary-label {
    font-size: 1rem;
    color: rgba(29, 40, 64, 0.7);
}

.cart-summary-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1b2740;
}

.cart-summary-row:last-child .cart-summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3664ff;
}

.cart-summary-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    text-align: center;
    display: block;
}

.cart-btn-primary {
    background: linear-gradient(135deg, #5fc1ff, #6fe3ff);
    color: #0c1730;
}

.cart-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(94, 150, 255, 0.3);
}

.cart-btn-secondary {
    background: rgba(240, 245, 255, 0.8);
    color: #3664ff;
    border: 1px solid rgba(94, 150, 255, 0.2);
}

.cart-btn-secondary:hover {
    background: rgba(94, 202, 255, 0.1);
    transform: translateY(-1px);
}

.cart-errors {
    background: rgba(255, 75, 75, 0.1);
    border: 1px solid rgba(255, 75, 75, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #ff4b4b;
}

.cart-actions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(240, 245, 255, 0.5);
    border-bottom: 1px solid rgba(94, 150, 255, 0.1);
}

.cart-actions-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1b2740;
}

.cart-clear-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 75, 75, 0.1);
    color: #ff4b4b;
    border: 1px solid rgba(255, 75, 75, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.cart-clear-btn:hover {
    background: rgba(255, 75, 75, 0.2);
}

.cart-form-section {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(94, 150, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(94, 150, 255, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cart-form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1b2740;
    margin: 0 0 1.5rem;
}

.cart-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .cart-form-section {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
        border-radius: 16px;
    }
    
    .cart-form-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .cart-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .cart-form-input,
    .cart-form-select,
    .cart-form-textarea {
        padding: 0.5rem 0.65rem;
        font-size: 0.85rem;
    }
    
    .cart-form-radio-group {
        gap: 1rem;
    }
    
    .cart-form-save-btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .cart-form-section {
        padding: 1rem 0.75rem;
        margin-top: 1rem;
        border-radius: 12px;
    }
    
    .cart-form-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .cart-form-grid {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .cart-form-label {
        font-size: 0.85rem;
    }
    
    .cart-form-input,
    .cart-form-select,
    .cart-form-textarea {
        padding: 0.45rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .cart-form-radio label {
        font-size: 0.85rem;
    }
    
    .cart-form-checkbox label {
        font-size: 0.8rem;
    }
    
    .cart-form-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
}

.cart-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-form-group.full-width {
    grid-column: 1 / -1;
}

.cart-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1b2740;
}

.cart-form-label .required {
    color: #ff4b4b;
}

.cart-form-input,
.cart-form-select,
.cart-form-textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(94, 150, 255, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1d2840;
    background: rgba(255, 255, 255, 0.95);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
}

.cart-form-input:focus,
.cart-form-select:focus,
.cart-form-textarea:focus {
    outline: none;
    border-color: #3664ff;
    box-shadow: 0 0 0 3px rgba(54, 100, 255, 0.1);
}

.cart-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.cart-form-radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cart-form-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cart-form-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #3664ff;
}

.cart-form-radio label {
    font-size: 0.95rem;
    color: #1d2840;
    cursor: pointer;
    margin: 0;
}

.cart-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.cart-form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #3664ff;
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-form-checkbox label {
    font-size: 0.9rem;
    color: #1d2840;
    cursor: pointer;
    margin: 0;
    line-height: 1.5;
}

.cart-form-checkbox label a {
    color: #3664ff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cart-form-checkbox label a:hover {
    color: #5fc1ff;
}

.cart-autocomplete-root {
    position: relative;
    width: 100%;
}

.cart-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(94, 150, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(94, 150, 255, 0.2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 4px;
}

.cart-autocomplete-dropdown[hidden] {
    display: none;
}

.cart-autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(94, 150, 255, 0.1);
    transition: background 0.2s ease;
    font-size: 0.9rem;
    color: #1d2840;
}

.cart-autocomplete-item:last-child {
    border-bottom: none;
}

.cart-autocomplete-item:hover,
.cart-autocomplete-item.is-active {
    background: rgba(94, 202, 255, 0.15);
}

.cart-form-save-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(94, 202, 255, 0.2);
    color: #3664ff;
    border: 1px solid rgba(94, 150, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cart-form-save-btn:hover {
    background: rgba(94, 202, 255, 0.3);
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .cart-content {
        flex-direction: column;
    }
    
    .cart-summary {
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-item-price {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cart-header h1 {
        font-size: 2rem;
    }
    
    .cart-item {
        padding: 1rem;
    }
    
    .cart-item-name {
        font-size: 1rem;
    }
}

/* Stiluri pentru selecția de curier */
.curier-selection-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.95));
    border: 2px solid rgba(94, 150, 255, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 16px rgba(94, 150, 255, 0.15);
}

.curier-selection-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b2740;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.curier-selection-title::before {
    content: "🚚";
    font-size: 1.3rem;
}

.curier-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.curier-option {
    position: relative;
    cursor: pointer;
    border: 2px solid rgba(94, 150, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.curier-option:hover {
    border-color: rgba(94, 150, 255, 0.6);
    background: rgba(240, 248, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 150, 255, 0.2);
}

.curier-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.curier-option input[type="radio"]:checked + .curier-option-content {
    color: #3664ff;
}

.curier-option input[type="radio"]:checked ~ .curier-option-content {
    color: #3664ff;
}

.curier-option.is-selected {
    border-color: #3664ff;
    background: linear-gradient(135deg, rgba(95, 193, 255, 0.15), rgba(111, 227, 255, 0.12));
    box-shadow: 0 4px 16px rgba(54, 100, 255, 0.25);
}

.curier-option:has(input[type="radio"]:checked) {
    border-color: #3664ff;
    background: linear-gradient(135deg, rgba(95, 193, 255, 0.15), rgba(111, 227, 255, 0.12));
    box-shadow: 0 4px 16px rgba(54, 100, 255, 0.25);
}

.curier-option-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    pointer-events: none;
}

.curier-option-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.curier-option-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1b2740;
    flex: 1;
}

.curier-option.is-selected .curier-option-label,
.curier-option:has(input[type="radio"]:checked) .curier-option-label {
    color: #3664ff;
}

.curier-option-check {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(94, 150, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.curier-option.is-selected .curier-option-check,
.curier-option:has(input[type="radio"]:checked) .curier-option-check {
    border-color: #3664ff;
    background: #3664ff;
}

.curier-option.is-selected .curier-option-check::after,
.curier-option:has(input[type="radio"]:checked) .curier-option-check::after {
    content: "✓";
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

@media (max-width: 640px) {
    .curier-options {
        grid-template-columns: 1fr;
    }
    
    .curier-selection-wrapper {
        padding: 1.25rem;
    }
}

