/* 
 * Premium Shopping Cart Styles
 * Brand: ZEST Eyewear
 */

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

 :root {
     --zest-accent: #f05a27;
     --zest-accent-hover: #d94a1d;
     --text-dark: #2d2d2d;
     --text-muted: #888888;
     --bg-light: #f8f9fa;
     --white: #ffffff;
     --border-color: #eaeaea;
     --shadow-soft: 0 5px 20px rgba(0, 0, 0, 0.03);
     --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.06);
     --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
 }
 
 body {
     font-family: 'Poppins', sans-serif;
     background-color: var(--bg-light);
     color: var(--text-dark);
 }
 
 /* --- Page Header --- */
 .cart-header-band {
     background-color: var(--white);
     padding: 3rem 0 2rem;
     text-align: center;
     border-bottom: 1px solid var(--border-color);
     margin-bottom: 3rem;
 }
 
 .cart-header-band h1 {
     font-weight: 700;
     font-size: 2.5rem;
     margin-bottom: 0.5rem;
 }
 
 .cart-header-band h1 span {
     color: var(--zest-accent);
 }
 
 .cart-breadcrumb {
     color: var(--text-muted);
     font-size: 0.9rem;
     font-weight: 500;
 }
 
 .cart-breadcrumb a {
     color: var(--text-muted);
     text-decoration: none;
     transition: var(--transition);
 }
 
 .cart-breadcrumb a:hover {
     color: var(--zest-accent);
 }
 
 .cart-breadcrumb .sep {
     margin: 0 10px;
     font-size: 0.7rem;
     opacity: 0.5;
 }
 
 /* --- Free Shipping Progress --- */
 .free-shipping-card {
     background: var(--white);
     border-radius: 12px;
     padding: 1.5rem;
     box-shadow: var(--shadow-soft);
     margin-bottom: 2rem;
     text-align: center;
 }
 
 .fs-text {
     font-size: 0.95rem;
     font-weight: 500;
     margin-bottom: 1rem;
 }
 
 .fs-text strong {
     color: var(--zest-accent);
 }
 
 .progress {
     height: 8px;
     background-color: var(--border-color);
     border-radius: 10px;
     overflow: hidden;
 }
 
 .progress-bar {
     background-color: var(--zest-accent);
     border-radius: 10px;
     transition: width 1s ease-out;
 }
 
 /* --- Cart Layout --- */
 .cart-layout {
     display: flex;
     flex-wrap: wrap;
     gap: 30px;
     padding-bottom: 5rem;
 }
 
 .cart-items-col {
     flex: 1 1 60%;
     min-width: 300px;
 }
 
 .cart-summary-col {
     flex: 1 1 35%;
     min-width: 300px;
 }
 
 /* --- Cart Items --- */
 .cart-items-wrapper {
     background: var(--white);
     border-radius: 16px;
     box-shadow: var(--shadow-soft);
     padding: 2rem;
 }
 
 .cart-table-header {
     display: flex;
     justify-content: space-between;
     border-bottom: 1px solid var(--border-color);
     padding-bottom: 1rem;
     margin-bottom: 1.5rem;
     font-weight: 600;
     font-size: 0.9rem;
     color: var(--text-muted);
     text-transform: uppercase;
     letter-spacing: 1px;
 }
 
 .cart-item {
     display: flex;
     align-items: center;
     padding: 1.5rem 0;
     border-bottom: 1px solid var(--border-color);
     transition: var(--transition);
 }
 
 .cart-item:last-child {
     border-bottom: none;
     padding-bottom: 0;
 }
 
 .cart-item:hover {
     background-color: #fafafa;
     border-radius: 8px;
     padding-left: 10px;
     padding-right: 10px;
     margin-left: -10px;
     margin-right: -10px;
 }
 
 .ci-img {
     width: 100px;
     height: 100px;
     object-fit: cover;
     border-radius: 8px;
     background: var(--bg-light);
     padding: 10px;
 }
 
 .ci-details {
     flex: 1;
     padding-left: 1.5rem;
 }
 
 .ci-brand {
     font-size: 0.8rem;
     color: var(--text-muted);
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 2px;
 }
 
 .ci-title {
     font-size: 1.1rem;
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 5px;
     text-decoration: none;
     display: inline-block;
 }
 
 .ci-title:hover {
     color: var(--zest-accent);
     text-decoration: none;
 }
 
 .ci-variant {
     font-size: 0.85rem;
     color: var(--text-muted);
 }
 
 .ci-variant span {
     display: inline-block;
     margin-right: 10px;
 }
 
 .ci-price-wrap {
     text-align: right;
     margin-right: 2rem;
 }
 
 .ci-price {
     font-weight: 600;
     font-size: 1.1rem;
     color: var(--text-dark);
 }
 
 .ci-price-old {
     font-size: 0.85rem;
     color: var(--text-muted);
     text-decoration: line-through;
     display: block;
 }
 
 .ci-qty {
     display: flex;
     align-items: center;
     background: var(--bg-light);
     border-radius: 8px;
     padding: 5px;
     margin-right: 2rem;
 }
 
 .ci-qty-btn {
     background: none;
     border: none;
     width: 30px;
     height: 30px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     color: var(--text-dark);
     transition: var(--transition);
 }
 
 .ci-qty-btn:hover {
     color: var(--zest-accent);
 }
 
 .ci-qty-input {
     width: 40px;
     text-align: center;
     border: none;
     background: transparent;
     font-weight: 600;
     font-size: 0.95rem;
     pointer-events: none;
 }
 
 .ci-actions {
     display: flex;
     flex-direction: column;
     gap: 10px;
 }
 
 .ci-action-btn {
     background: none;
     border: none;
     color: var(--text-muted);
     cursor: pointer;
     transition: var(--transition);
     font-size: 1.1rem;
 }
 
 .ci-action-btn:hover {
     color: var(--zest-accent);
     transform: scale(1.1);
 }
 
 .ci-action-btn.remove:hover {
     color: #dc3545;
 }
 
 /* --- Order Summary --- */
 .summary-card {
     background: var(--white);
     border-radius: 16px;
     box-shadow: var(--shadow-medium);
     padding: 2rem;
     position: sticky;
     top: 30px;
 }
 
 .summary-title {
     font-size: 1.2rem;
     font-weight: 600;
     margin-bottom: 1.5rem;
     padding-bottom: 1rem;
     border-bottom: 1px solid var(--border-color);
 }
 
 .summary-row {
     display: flex;
     justify-content: space-between;
     margin-bottom: 1rem;
     font-size: 0.95rem;
     color: var(--text-muted);
 }
 
 .summary-row.total {
     border-top: 1px solid var(--border-color);
     padding-top: 1rem;
     margin-top: 1rem;
     font-size: 1.25rem;
     font-weight: 700;
     color: var(--text-dark);
 }
 
 .summary-row.discount {
     color: #28a745;
 }
 
 .coupon-wrap {
     display: flex;
     margin: 1.5rem 0;
 }
 
 .coupon-input {
     flex: 1;
     border: 1px solid var(--border-color);
     border-right: none;
     border-radius: 8px 0 0 8px;
     padding: 10px 15px;
     font-size: 0.9rem;
     outline: none;
 }
 
 .coupon-input:focus {
     border-color: var(--zest-accent);
 }
 
 .coupon-btn {
     background: var(--text-dark);
     color: var(--white);
     border: none;
     border-radius: 0 8px 8px 0;
     padding: 0 15px;
     font-weight: 500;
     cursor: pointer;
     transition: var(--transition);
 }
 
 .coupon-btn:hover {
     background: var(--zest-accent);
 }
 
 .btn-checkout {
     background-color: var(--zest-accent);
     color: var(--white);
     border: none;
     border-radius: 12px;
     padding: 15px 20px;
     width: 100%;
     font-size: 1rem;
     font-weight: 600;
     letter-spacing: 0.5px;
     transition: var(--transition);
     box-shadow: 0 5px 15px rgba(240, 90, 39, 0.3);
     cursor: pointer;
     display: block;
     text-align: center;
     text-decoration: none;
     margin-bottom: 1rem;
 }
 
 .btn-checkout:hover {
     background-color: var(--zest-accent-hover);
     transform: translateY(-2px);
     box-shadow: 0 8px 20px rgba(240, 90, 39, 0.4);
     color: var(--white);
     text-decoration: none;
 }
 
 .btn-continue {
     display: block;
     text-align: center;
     color: var(--text-dark);
     text-decoration: none;
     font-size: 0.9rem;
     font-weight: 500;
     transition: var(--transition);
 }
 
 .btn-continue:hover {
     color: var(--zest-accent);
     text-decoration: underline;
 }
 
 .secure-checkout {
     text-align: center;
     margin-top: 1.5rem;
     font-size: 0.8rem;
     color: var(--text-muted);
 }
 
 .secure-checkout i {
     font-size: 1.5rem;
     margin: 5px;
     color: var(--border-color);
     transition: var(--transition);
 }
 
 .secure-checkout i:hover {
     color: var(--text-dark);
 }
 
 /* --- Recommended Products Slider --- */
 .recommended-section {
     margin-top: 4rem;
     padding-top: 3rem;
     border-top: 1px solid var(--border-color);
 }
 
 .recommended-title {
     font-size: 1.5rem;
     font-weight: 600;
     margin-bottom: 2rem;
 }
 
 .rec-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
     gap: 20px;
 }
 
 .rec-card {
     background: var(--white);
     border-radius: 12px;
     padding: 1rem;
     text-align: center;
     box-shadow: var(--shadow-soft);
     transition: var(--transition);
 }
 
 .rec-card:hover {
     transform: translateY(-5px);
     box-shadow: var(--shadow-medium);
 }
 
 .rec-card img {
     width: 100%;
     height: 120px;
     object-fit: cover;
     border-radius: 8px;
     margin-bottom: 1rem;
 }
 
 .rec-card h4 {
     font-size: 0.95rem;
     font-weight: 600;
     margin-bottom: 5px;
     color: var(--text-dark);
 }
 
 .rec-card .price {
     color: var(--zest-accent);
     font-weight: 600;
     margin-bottom: 10px;
 }
 
 .rec-card .btn-add {
     background: transparent;
     border: 1px solid var(--zest-accent);
     color: var(--zest-accent);
     padding: 5px 15px;
     border-radius: 20px;
     font-size: 0.85rem;
     font-weight: 500;
     transition: var(--transition);
     cursor: pointer;
 }
 
 .rec-card .btn-add:hover {
     background: var(--zest-accent);
     color: var(--white);
 }
 
 /* --- Responsive --- */
 @media (max-width: 991px) {
     .cart-layout {
         flex-direction: column;
     }
     .summary-card {
         position: static;
     }
 }
 
 @media (max-width: 768px) {
     .cart-table-header {
         display: none;
     }
     .cart-item {
         flex-wrap: wrap;
         position: relative;
         padding-right: 30px;
     }
     .ci-actions {
         position: absolute;
         top: 1.5rem;
         right: 0;
     }
     .ci-price-wrap {
         width: 100%;
         text-align: left;
         margin: 10px 0 10px 115px;
     }
     .ci-qty {
         margin: 0 0 0 115px;
     }
 }
