 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 :root {
     --sage: #9CAF96;
     --terracotta: #D17B61;
     --sand: #E3D8C5;
     --charcoal: #1E1E1E;
     --cream: #F5F3F0;
 }

 body {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
     background: var(--cream);
     color: var(--charcoal);
     -webkit-font-smoothing: antialiased;
     overflow-x: hidden;
 }

 /* Rest of your CSS remains exactly the same */
 /* Header */
 .header {
     background: var(--charcoal);
     color: var(--cream);
     padding: 2rem 0;
     position: sticky;
     top: 0;
     z-index: 100;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
 }

 .header-content {
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 2rem;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .logo-container {
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .men-logo-size {
     height: 120px;
     width: 120px;
 }

 .women-logo-size {
     height: 80px;
     width: 80px;
 }

 .logo-image {
     object-fit: cover;
     transition: transform 0.3s ease;
     filter: brightness(0) saturate(100%) invert(95%) sepia(8%) saturate(284%) hue-rotate(346deg) brightness(103%) contrast(96%);
 }

 .logo-image:hover {
     transform: scale(1.1);
 }

 .logo {
     font-family: 'Playfair Display', serif;
     font-size: 3rem;
     letter-spacing: 3px;
     font-weight: 700;
 }

 .tagline {
     font-size: 0.75rem;
     letter-spacing: 2px;
     color: var(--sand);
     margin-top: 0.3rem;
     margin-left: 150px;
 }

 .cart-btn {
     position: relative;
     width: 55px;
     height: 55px;
     border-radius: 50%;
     background: var(--cream);
     color: var(--charcoal);
     border: none;
     cursor: pointer;
     font-size: 1.3rem;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .cart-btn:hover {
     transform: scale(1.1);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
 }

 .cart-badge {
     position: absolute;
     top: -5px;
     right: -5px;
     background: var(--terracotta);
     color: white;
     border-radius: 50%;
     width: 24px;
     height: 24px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.75rem;
     font-weight: 700;
 }

 /* Products Section */
 .products-section {
     max-width: 1400px;
     margin: 0 auto;
     padding: 4rem 2rem;
 }

 .section-title {
     font-family: 'Playfair Display', serif;
     font-size: 3rem;
     text-align: center;
     margin-bottom: 3rem;
     color: var(--charcoal);
     letter-spacing: -1px;
 }

 .products-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 2.5rem;
 }

 .product-card {
     background: white;
     border-radius: 15px;
     overflow: hidden;
     transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
     display: flex;
     flex-direction: column;
     height: 100%;
 }

 .product-card:hover {
     box-shadow: 0 30px 40px rgba(0, 0, 0, 0.15);
 }

 .product-image-wrapper {
     position: relative;
     width: 100%;
     height: 350px;
     background: linear-gradient(135deg, var(--cream) 0%, #f8f6f3 100%);
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     aspect-ratio: 1 / 1;
 }

 .product-image-wrapper-gender {
     color: white;
     position: absolute;
     text-align: center;
     bottom: 0;
     left: 0;
     width: 32%;
     height: 6%;
     border-radius: 2px;
     background-color: rgb(51, 51, 51);
     outline: 2px;
     font-size: 0.8rem;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .product-image {
     width: 100%;
     height: 100%;
     object-fit: contain;
     transition: transform 0.3s ease;
     max-width: 100%;
     max-height: 100%;
     object-fit: cover;
 }

 .discount-badge {
     position: absolute;
     top: 15px;
     right: 15px;
     background: var(--terracotta);
     color: white;
     padding: 0.5rem 1rem;
     border-radius: 50px;
     font-weight: 700;
     font-size: 0.9rem;
     letter-spacing: 1px;
 }

 .product-info {
     padding: 1.5rem;
     display: flex;
     flex-direction: column;
     flex-grow: 1;
 }

 .product-name {
     font-family: 'Playfair Display', serif;
     font-size: 1.8rem;
     margin-bottom: 0.8rem;
     color: var(--charcoal);
 }

 .product-notes {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;
     margin-bottom: 1rem;
 }

 .note-tag {
     background: rgba(156, 175, 150, 0.15);
     color: var(--sage);
     padding: 0.4rem 0.9rem;
     border-radius: 20px;
     font-size: 0.8rem;
     font-weight: 600;
 }

 .product-description {
     color: #666;
     line-height: 1.6;
     margin-bottom: 1.2rem;
     font-size: 0.95rem;
     flex-grow: 1;
 }

 .product-footer {
     display: flex;
     justify-content: space-between;
     align-items: flex-end;
     padding-top: 1rem;
     border-top: 1px solid #eee;
     margin-top: auto;
     min-height: 90px;
 }

 .price-section {
     display: flex;
     flex-direction: column;
 }

 .original-price {
     text-decoration: line-through;
     color: #999;
     font-size: 1rem;
     font-weight: 500;
     margin-bottom: 0.3rem;
 }

 .current-price {
     font-size: 1.3rem;
     font-weight: 700;
     color: var(--sage);
 }

 .add-to-cart-btn {
     background: var(--charcoal);
     color: white;
     border: none;
     padding: 0.8rem 1.5rem;
     border-radius: 50px;
     cursor: pointer;
     font-weight: 600;
     letter-spacing: 1px;
     transition: all 0.3s ease;
     font-size: 0.9rem;
     white-space: nowrap;
     min-width: 130px;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
 }

 .add-to-cart-btn:hover {
     background: var(--terracotta);
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 }

 /* Cart Sidebar */
 .cart-sidebar {
     position: fixed;
     top: 0;
     right: -100%;
     width: 100%;
     max-width: 450px;
     height: 100vh;
     height: 100dvh;
     overscroll-behavior: contain;
     background: white;
     box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
     z-index: 1000;
     transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
     display: flex;
     flex-direction: column;
 }

 .cart-sidebar.active {
     right: 0;
 }

 .cart-header {
     padding: 2rem;
     border-bottom: 2px solid var(--cream);
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: var(--charcoal);
     color: white;
 }

 .cart-title {
     font-family: 'Playfair Display', serif;
     font-size: 1.8rem;
 }

 .close-cart-btn {
     background: none;
     border: none;
     color: white;
     font-size: 1.5rem;
     cursor: pointer;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     transition: all 0.3s ease;
 }

 .close-cart-btn:hover {
     background: rgba(255, 255, 255, 0.1);
     transform: rotate(90deg);
 }

 .cart-items {
     flex: 1;
     min-height: 0;
     overflow-y: auto;
     padding: 1.5rem;
 }

 .cart-item {
     display: flex;
     gap: 1rem;
     padding: 1.5rem 0;
     border-bottom: 1px solid var(--cream);
 }

 .cart-item-image {
     width: 80px;
     height: 80px;
     object-fit: contain;
     border-radius: 10px;
     background: var(--cream);
     padding: 0.5rem;
 }

 .cart-item-details {
     flex: 1;
 }

 .cart-item-name {
     font-weight: 600;
     margin-bottom: 0.3rem;
     font-size: 1rem;
 }

 .cart-item-price {
     color: var(--sage);
     font-weight: 600;
     margin-bottom: 0.5rem;
 }

 .quantity-controls {
     display: flex;
     align-items: center;
     gap: 0.8rem;
     margin-top: 0.5rem;
 }

 .qty-btn {
     width: 30px;
     height: 30px;
     border-radius: 50%;
     border: 2px solid var(--sage);
     background: white;
     cursor: pointer;
     font-weight: 700;
     transition: all 0.3s ease;
 }

 .qty-btn:hover {
     background: var(--sage);
     color: white;
 }

 .remove-item-btn {
     color: var(--terracotta);
     background: none;
     border: none;
     cursor: pointer;
     font-size: 1.2rem;
     transition: all 0.3s ease;
 }

 .remove-item-btn:hover {
     transform: scale(1.2);
 }

 .cart-footer {
     padding: 2rem;
     border-top: 2px solid var(--cream);
     background: var(--cream);
 }

 .discount-info {
     background: #fff;
     padding: 1rem;
     border-radius: 10px;
     margin-bottom: 1rem;
     border-left: 4px solid var(--terracotta);
 }

 .discount-info-title {
     font-weight: 600;
     color: var(--terracotta);
     margin-bottom: 0.5rem;
     font-size: 0.9rem;
 }

 .discount-info-text {
     font-size: 0.85rem;
     color: #666;
 }

 .cart-summary {
     margin-bottom: 1.5rem;
 }

 .summary-row {
     display: flex;
     justify-content: space-between;
     margin-bottom: 0.5rem;
     font-size: 0.95rem;
 }

 .summary-row.total {
     font-size: 1.5rem;
     font-weight: 700;
     color: var(--charcoal);
     padding-top: 1rem;
     border-top: 2px solid #ddd;
 }

 .savings {
     color: var(--terracotta);
     font-weight: 600;
 }

 .checkout-btn {
     width: 100%;
     padding: 1.2rem;
     background: var(--charcoal);
     color: white;
     border: none;
     border-radius: 10px;
     font-weight: 700;
     letter-spacing: 1px;
     cursor: pointer;
     font-size: 1.1rem;
     transition: all 0.3s ease;
 }

 .checkout-btn:hover {
     background: var(--terracotta);
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 }

 .empty-cart {
     text-align: center;
     padding: 3rem 1rem;
     color: #999;
 }

 .empty-cart i {
     font-size: 4rem;
     margin-bottom: 1rem;
     opacity: 0.3;
 }

 /* Checkout Modal */
 .checkout-modal {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.8);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 2000;
     opacity: 0;
     pointer-events: none;
     transition: opacity 0.3s ease;
     padding: 1rem;
 }

 .checkout-modal.active {
     opacity: 1;
     pointer-events: all;
 }

 .checkout-content {
     background: white;
     width: 100%;
     max-width: 500px;
     border-radius: 15px;
     padding: 2rem;
     max-height: 90vh;
     overflow-y: auto;
     position: relative;
 }

 .modal-close {
     position: absolute;
     top: 1rem;
     right: 1rem;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: var(--cream);
     border: none;
     cursor: pointer;
     font-size: 1.2rem;
     transition: all 0.3s ease;
 }

 .modal-close:hover {
     background: var(--charcoal);
     color: white;
     transform: rotate(90deg);
 }

 .modal-title {
     font-family: 'Playfair Display', serif;
     font-size: 2rem;
     margin-bottom: 1.5rem;
     text-align: center;
 }

 .form-group {
     margin-bottom: 1.2rem;
 }

 .form-label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: 600;
     font-size: 0.9rem;
     color: var(--charcoal);
 }

 .form-input {
     width: 100%;
     padding: 0.9rem;
     border: 2px solid var(--cream);
     border-radius: 8px;
     font-size: 0.95rem;
     transition: all 0.3s ease;
     font-family: inherit;
 }

 .form-input:focus {
     outline: none;
     border-color: var(--sage);
     box-shadow: 0 0 0 3px rgba(156, 175, 150, 0.1);
 }

 .form-input.optional {
     border-style: dashed;
 }

 .submit-order-btn {
     width: 100%;
     padding: 1.2rem;
     background: var(--sage);
     color: white;
     border: none;
     border-radius: 8px;
     font-weight: 700;
     letter-spacing: 1px;
     cursor: pointer;
     font-size: 1.1rem;
     transition: all 0.3s ease;
     margin-top: 1rem;
 }

 .submit-order-btn:hover {
     background: #8a9d84;
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 }

 .loading-state,
 .success-state {
     text-align: center;
     padding: 2rem;
 }

 .spinner {
     width: 50px;
     height: 50px;
     border: 4px solid var(--cream);
     border-top-color: var(--sage);
     border-radius: 50%;
     animation: spin 1s linear infinite;
     margin: 0 auto 1rem;
 }

 @keyframes spin {
     to {
         transform: rotate(360deg);
     }
 }

 .success-icon {
     font-size: 4rem;
     color: var(--sage);
     margin-bottom: 1rem;
 }

 /* Toast Notifications */
 .toast-container {
     position: fixed;
     top: 20px;
     right: 20px;
     z-index: 9999;
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .toast {
     background: white;
     border-radius: 10px;
     padding: 1rem 1.5rem;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
     border-left: 4px solid var(--sage);
     display: flex;
     align-items: center;
     gap: 12px;
     max-width: 350px;
     transform: translateX(400px);
     opacity: 0;
     transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
 }

 .toast.show {
     transform: translateX(0);
     opacity: 1;
 }

 .toast.hide {
     transform: translateX(400px);
     opacity: 0;
 }

 .toast.success {
     border-left-color: var(--sage);
 }

 .toast.success .toast-icon {
     color: var(--sage);
 }

 .toast.info {
     border-left-color: var(--terracotta);
 }

 .toast.info .toast-icon {
     color: var(--terracotta);
 }

 .toast-icon {
     font-size: 1.5rem;
     flex-shrink: 0;
 }

 .toast-content {
     flex: 1;
 }

 .toast-title {
     font-weight: 600;
     margin-bottom: 0.2rem;
     color: var(--charcoal);
 }

 .toast-message {
     font-size: 0.9rem;
     color: #666;
     line-height: 1.4;
 }

 .toast-close {
     background: none;
     border: none;
     color: #999;
     cursor: pointer;
     font-size: 1rem;
     padding: 0;
     width: 24px;
     height: 24px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     transition: all 0.3s ease;
 }

 .toast-close:hover {
     background: #f0f0f0;
     color: var(--charcoal);
 }

 /* Social Media */
 .social-media {
     position: fixed;
     bottom: 2rem;
     left: 2rem;
     display: flex;
     flex-direction: column;
     gap: 1rem;
     z-index: 100;
 }

 .social-icon {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: white;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.3rem;
     color: var(--charcoal);
     transition: all 0.3s ease;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     text-decoration: none;
 }

 .social-icon:hover {
     transform: translateY(-5px);
     background: var(--charcoal);
     color: white;
 }

 /* Footer */
 #footer {
     background: var(--charcoal);
     color: var(--cream);
     padding: 4rem 0 2rem;
     margin-top: 4rem;
 }

 .footer-content {
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 2rem;
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 2rem;
 }

 .footer-section {
     flex: 1;
     min-width: 250px;
 }

 .footer-section h3 {
     font-family: 'Playfair Display', serif;
     font-size: 1.5rem;
     margin-bottom: 1.5rem;
     color: var(--sand);
 }

 .footer-links {
     list-style: none;
 }

 .footer-links li {
     margin-bottom: 0.8rem;
 }

 .footer-links a {
     color: var(--cream);
     text-decoration: none;
     transition: color 0.3s ease;
     font-size: 0.95rem;
 }

 .footer-links a:hover {
     color: var(--terracotta);
     padding-left: 5px;
 }

 .footer-bottom {
     max-width: 1400px;
     margin: 3rem auto 0;
     padding: 2rem 2rem 0;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     text-align: center;
     font-size: 0.9rem;
     color: #888;
 }

 /* Responsive Design Improvements */
 @media (max-width: 1200px) {
     .products-grid {
         grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
         gap: 2rem;
     }
 }

 @media (max-width: 1024px) {
     .logo {
         font-size: 2.5rem;
     }

     .men-logo-size {
         height: 100px;
         width: 100px;
     }

     .women-logo-size {
         height: 70px;
         width: 70px;
     }

     .tagline {
         margin-left: 120px;
         font-size: 0.7rem;
     }

     .products-grid {
         grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     }
 }

 @media (max-width: 900px) {
     .products-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 1.5rem;
     }

     .product-image-wrapper {
         height: 280px;
     }

     .product-name {
         font-size: 1.4rem;
     }

     .current-price {
         font-size: 1.5rem;
     }
 }

 @media (max-width: 768px) {
     .header-content {
         flex-direction: column;
         gap: 1rem;
         text-align: center;
         padding: 1rem;
     }

     .logo-container {
         flex-direction: column;
         gap: 0.5rem;
     }

     .logo {
         font-size: 2rem;
         order: -1;
     }

     .men-logo-size,
     .women-logo-size {
         height: 60px;
         width: 60px;
     }

     .tagline {
         margin-left: 0;
         text-align: center;
         font-size: 0.65rem;
         letter-spacing: 1px;
         margin-top: 0.5rem;
     }

     .cart-btn {
         position: absolute;
         top: 1rem;
         right: 1rem;
         width: 45px;
         height: 45px;
         font-size: 1.1rem;
     }

     .products-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 1rem;
     }

     .section-title {
         font-size: 2rem;
     }

     .products-section {
         padding: 2rem 1rem;
     }

     .product-card {
         margin: 0 auto;
         max-width: 100%;
     }

     .product-image-wrapper {
         height: 200px;
     }

     .product-name {
         font-size: 1.2rem;
     }

     .product-description {
         font-size: 0.8rem;
         margin-bottom: 0.8rem;
     }

     .note-tag {
         font-size: 0.7rem;
         padding: 0.3rem 0.7rem;
     }

     .current-price {
         font-size: 1.3rem;
     }

     .add-to-cart-btn {
         padding: 0.6rem 1rem;
         font-size: 0.8rem;
         min-width: 110px;
     }

     .product-info {
         padding: 1rem;
     }

     .product-image-wrapper-gender {
         font-size: 0.7rem;
         width: 35%;
         height: 7%;
     }

     .social-media {
         flex-direction: row;
         bottom: 1rem;
         left: 50%;
         transform: translateX(-50%);
     }

     .cart-sidebar {
         max-width: 100%;
     }

     .toast-container {
         top: 10px;
         right: 10px;
         left: 10px;
     }

     .toast {
         max-width: none;
     }

     .footer-content {
         flex-direction: column;
         gap: 2rem;
         text-align: center;
     }

     .footer-section {
         min-width: 100%;
     }

     .original-price {
         font-size: 0.9rem;
     }
 }

 @media (max-width: 600px) {
     .products-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 0.8rem;
     }

     .product-image-wrapper {
         height: 180px;
     }

     .product-name {
         font-size: 1.1rem;
         margin-bottom: 0.5rem;
     }

     .product-description {
         font-size: 0.75rem;
         margin-bottom: 0.6rem;
         line-height: 1.4;
     }

     .note-tag {
         font-size: 0.65rem;
         padding: 0.2rem 0.5rem;
     }

     .current-price {
         font-size: 1.1rem;
     }

     .add-to-cart-btn {
         padding: 0.5rem 0.8rem;
         font-size: 0.75rem;
         min-width: 100px;
     }

     .product-info {
         padding: 0.8rem;
     }

     .product-image-wrapper-gender {
         font-size: 0.65rem;
         width: 40%;
         height: 8%;
     }

     .original-price {
         font-size: 0.8rem;
     }
 }

 @media (max-width: 480px) {
     .logo {
         font-size: 1.8rem;
     }

     .section-title {
         font-size: 1.8rem;
         margin-bottom: 2rem;
     }

     .products-section {
         padding: 1.5rem 1rem;
     }

     .products-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 0.8rem;
     }

     .product-image-wrapper {
         height: 160px;
     }

     .product-name {
         font-size: 1rem;
     }

     .product-description {
         display: none;
         /* Hide description on very small screens to save space */
     }

     .product-notes {
         margin-bottom: 0.5rem;
     }

     .note-tag {
         font-size: 0.6rem;
         padding: 0.15rem 0.4rem;
     }

     .current-price {
         font-size: 1rem;
     }

     .add-to-cart-btn {
         padding: 0.4rem 0.7rem;
         font-size: 0.7rem;
         min-width: 90px;
     }

     .product-info {
         padding: 0.7rem;
     }

     .cart-sidebar {
         max-width: 100vw;
     }

     .cart-header {
         padding: 1.5rem;
     }

     .cart-title {
         font-size: 1.5rem;
     }

     .cart-item {
         flex-direction: row;
         text-align: center;
         gap: 1rem;
     }

     .cart-item-image {
         width: 100px;
         height: 100px;
     }

     .quantity-controls {
         justify-content: center;
     }

     .checkout-content {
         margin: 1rem;
         padding: 1.5rem;
     }

     .modal-title {
         font-size: 1.5rem;
     }

     .form-input {
         padding: 0.8rem;
     }

     .original-price {
         font-size: 0.75rem;
     }
 }

 @media (max-width: 360px) {
     .products-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 0.6rem;
     }

     .product-image-wrapper {
         height: 140px;
     }

     .product-name {
         font-size: 0.9rem;
     }

     .current-price {
         font-size: 0.9rem;
     }

     .add-to-cart-btn {
         padding: 0.3rem 0.6rem;
         font-size: 0.65rem;
         min-width: 80px;
     }

     .product-info {
         padding: 0.6rem;
     }

     .original-price {
         font-size: 0.7rem;
     }
 }

 /* Improved logo container for mobile */
 @media (max-width: 768px) {
     .logo-container {
         display: flex;
         align-items: center;
         justify-content: center;
         flex-wrap: wrap;
         gap: 0.5rem;
     }
 }

 /* Ensure images don't overflow on mobile */
 img {
     max-width: 100%;
     height: auto;
 }