@font-face {
  font-family: "TheBoldFont";
  src: url("Fonts/THEBOLDFONT-FREEVERSION.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Coolvetica";
  src: url("Fonts/Coolvetica\ Rg.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Sunlight";
  src: url("Fonts/Sunlight\ Dreams.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Vogue";
  src: url("Fonts/Classyvogueregular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: "Vogue", serif;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.TitleDiv {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    background-color: white;
    z-index: 100;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.Title {
    font-family: "TheBoldFont", sans-serif;
    font-size: 36px;
    margin: 0;
}

.icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icons > a > p {
    font-family: "TheBoldFont";
    font-size: 16px;
    margin: 0;
    transition: opacity 0.2s ease;
}

.icons > a > p:hover {
    opacity: 0.7;
}

.cart-icon {
    font-size: 20px;
}

.cart-icon-link {
    position: relative;
}

/* Cart page wrapper */
.cart-wrapper {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

.cart-title {
    font-family: "TheBoldFont", sans-serif;
    font-size: 36px;
    margin-bottom: 30px;
    color: #1E2B2F;
    text-align: center;
}

.cart-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Cart items section */
.cart-items {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.empty-cart-message {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.continue-shopping-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1E2B2F;
    color: white;
    border-radius: 50px;
    font-family: "TheBoldFont", sans-serif;
    transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
    background-color: #2a3a40;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Cart summary */
.cart-summary {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.cart-summary h3 {
    font-family: "TheBoldFont", sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: #1E2B2F;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
}

.summary-row.total {
    font-size: 20px;
    font-weight: bold;
    color: #1E2B2F;
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    border: none;
    border-radius: 50px;
    color: #1E2B2F;
    font-family: "TheBoldFont", sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.footer {
    width: 100%;
    background-color: rgb(31, 21, 21);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    flex-shrink: 0;
}

.footer-brand {
    font-family: "TheBoldFont", sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Fade animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
/* Cart Items Styles */
.cart-items {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.loading-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

.empty-cart-message {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.empty-cart-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-family: "TheBoldFont", sans-serif;
    font-size: 18px;
    color: #1E2B2F;
    margin: 0;
}

.cart-item-price {
    font-size: 16px;
    color: #ffb347;
    font-weight: bold;
    margin: 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.cart-item-quantity label {
    font-size: 14px;
    color: #666;
}

.cart-item-quantity select {
    width: 60px;
    padding: 5px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: "Vogue", serif;
    font-size: 14px;
}

.cart-item-total {
    font-size: 16px;
    font-weight: bold;
    color: #1E2B2F;
    margin-top: 5px;
}

.remove-item {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.remove-item:hover {
    color: #ff4444;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.cart-summary h3 {
    font-family: "TheBoldFont", sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: #1E2B2F;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
}

.summary-row.total {
    font-size: 20px;
    font-weight: bold;
    color: #1E2B2F;
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    border: none;
    border-radius: 50px;
    color: #1E2B2F;
    font-family: "TheBoldFont", sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.continue-shopping-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid #1E2B2F;
    border-radius: 50px;
    color: #1E2B2F;
    font-family: "Vogue", serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.continue-shopping-btn:hover {
    background: #1E2B2F;
    color: white;
}

/* Cart count badge */
.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4444;
    color: white;
    font-size: 12px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.cart-icon-link {
    position: relative;
}

/* Responsive styles */
@media (max-width: 767px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .remove-item {
        top: 10px;
        right: 10px;
    }
}

@media (min-width: 768px) {
    .cart-container {
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }
    
    .cart-items {
        flex: 2;
    }
    
    .cart-summary {
        flex: 1;
        position: sticky;
        top: 20px;
    }
}

/* Tablet styles */
@media (min-width: 768px) {
    .TitleDiv {
        height: 80px;
        padding: 0 30px;
    }
    
    .Title {
        font-size: 42px;
    }
    
    .icons > a > p {
        font-size: 18px;
    }
    
    .cart-title {
        font-size: 42px;
    }
    
    .cart-container {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .cart-items {
        flex: 2;
    }
    
    .cart-summary {
        flex: 1;
        position: sticky;
        top: 20px;
    }
    
    .footer {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 40px 60px;
    }
    
    .footer-description {
        margin: 0;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .TitleDiv {
        height: 100px;
        padding: 0 50px;
    }
    
    .Title {
        font-size: 60px;
    }
    
    .icons {
        gap: 40px;
    }
    
    .icons > a > p {
        font-size: 20px;
    }
    
    .cart-icon {
        font-size: 24px;
    }
    
    .cart-wrapper {
        padding: 60px 40px;
    }
    
    .cart-title {
        font-size: 48px;
        margin-bottom: 40px;
    }
}