:root {
    --white: #fefefeff;
    --black: #373435ff;
    --lightGrey: #d8d8daff;
    --charcoal: #515152ff;
    --dustyPink: #f9cadeff;
    --sage: #6ca093ff;
    --sageOpacity: #6ca09346;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: black;
    font-weight: 600;
}

nav {
    width: 100%;
    height: 100px;
    padding: 10px 5%;
    z-index: 10000;
}

.container {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: white;
}

.container > a img {
    display: none;
}

.logo {
    height: 100%;
}

.logo img {
    height: 100%;
}

ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

nav .container ul li a {
    text-decoration: none;
    color: black;
    font-size: 0.9rem;
}

.store {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.store a img {
    height: 20px;
}

.desktopLinks a img {
    height: 60px;
}

.mobileLinks {
    display: none;
}

.burger {
    display: none;
}

/* Logout Button Styles */
.logout-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.logout-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--sage);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 2px solid var(--sage);
}

.logout-btn:hover {
    background-color: var(--white);
    color: var(--sage);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Main Content Styles */
main {
    min-height: calc(100vh - 300px);
    padding: 20px;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.page-content h1 {
    color: var(--sage);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.page-content p {
    color: var(--charcoal);
    font-size: 1.1rem;
    line-height: 1.6;
}

footer {
    padding: 40px 20px 15px 20px;
    background: var(--dustyPink);
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
}

footer .logo {
    width: 150px;
    height: 150px;
    padding: 20px;
    background: var(--white);
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .logo img {
    height: 90px;
    width: auto;
}

footer .footerNav {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-evenly;
    gap: 20px;
    margin: auto;
}

footer .footerNav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 0.8rem;
}

footer .watermark {
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: center;
    padding: 50px 0 0 0;
    font-size: 0.7rem;
}

/* Shopping Cart Styles */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
}

.shopping-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background-color: #fefefeff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.shopping-cart.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #d8d8daff;
    background-color: #f9cadeff;
}

.cart-header h2 {
    color: #6ca093ff;
    font-size: 1.5rem;
    font-family: main;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #515152ff;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 0;
    color: #515152ff;
    font-family: semi;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #d8d8daff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-family: main;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background-color: #6ca093ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
    font-family: semi;
}

.checkout-btn:hover {
    background-color: #5a8a7e;
}

/* Cart Counter Styles */
.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #f9cadeff;
    color: #373435ff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    font-family: semi;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Store specific styles */
.search-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* Back Section */
#back-section {
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.back-container {
    max-width: 1200px;
    margin: 0 auto;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--lightGrey);
    color: var(--charcoal);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: semi;
}

.back-btn:hover {
    background: var(--sage);
    color: var(--white);
}

/* Search Section */
#search-section {
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

#search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--lightGrey);
    border-radius: 8px;
    font-family: light;
    font-size: 16px;
}

#search-btn {
    padding: 12px 25px;
    background: var(--sage);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: semi;
    transition: background-color 0.3s ease;
}

#search-btn:hover {
    background: var(--charcoal);
}

/* Page Layout */
.page-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
    position: relative;
}

/* Product Detail Layout */
.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-detail {
    display: flex;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    min-height: 500px;
}

.product-image-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-section {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info {
    margin-bottom: 30px;
}

.product-info h1 {
    color: var(--charcoal);
    margin-bottom: 15px;
    font-size: 2rem;
}

.product-info p {
    font-family: light;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-price {
    font-family: semi !important;
    color: var(--sage) !important;
    font-size: 1.5rem;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.option-group h4 {
    margin-bottom: 15px;
    color: var(--charcoal);
    font-family: semi;
}

.size-options, .color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid var(--lightGrey);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: light;
    min-width: 60px;
}

.option-btn:hover {
    border-color: var(--sage);
    transform: translateY(-2px);
}

.option-btn input {
    display: none;
}

.option-btn input:checked + span {
    color: var(--sage);
    font-family: semi;
}

.option-btn input:checked + span::before {
    content: "✓ ";
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-primary, .btn-secondary {
    flex: 1;
    max-width: 180px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: semi;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--sage);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--dustyPink);
    color: var(--charcoal);
}

.btn-secondary:hover {
    background: #c8c8c8;
    transform: translateY(-2px);
}

/* Filter Toggle Button */
.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--sage);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: semi;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.filter-toggle-btn:hover {
    background: var(--charcoal);
}

.filter-toggle-btn svg {
    transition: transform 0.3s ease;
}

.filter-toggle-btn.active svg {
    transform: rotate(180deg);
}

/* Filter Sidebar */
#filter-sidebar {
    width: 280px;
    flex-shrink: 0;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
    transition: all 0.3s ease;
}

#filter-sidebar h3 {
    margin-bottom: 20px;
    color: var(--charcoal);
    border-bottom: 1px solid var(--lightGrey);
    padding-bottom: 10px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    margin-bottom: 15px;
    color: var(--charcoal);
    font-family: semi;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: light;
    transition: color 0.2s ease;
}

.filter-option:hover {
    color: var(--sage);
}

.filter-option input {
    accent-color: var(--sage);
}

.price-inputs {
    display: flex;
    gap: 10px;
}

.price-input {
    flex: 1;
}

.price-input label {
    display: block;
    margin-bottom: 5px;
    font-family: light;
    font-size: 14px;
    color: var(--charcoal);
}

.price-input input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--lightGrey);
    border-radius: 5px;
    font-family: light;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.filter-actions button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: semi;
    transition: background-color 0.3s ease;
}

#apply-filters {
    background: var(--sage);
    color: var(--white);
}

#apply-filters:hover {
    background: var(--charcoal);
}

#clear-filters {
    background: var(--lightGrey);
    color: var(--charcoal);
}

#clear-filters:hover {
    background: #c8c8c8;
}

/* Products Section */
#Hero {
    flex: 1;
    padding: 0;
}

#Hero .grid {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    justify-content: flex-start;
    gap: 20px;
}

#Hero .grid .card {
    width: 100%;
    max-width: 250px;
    height: 400px;
    padding: 10px;
    box-shadow: 0 0 5px var(--sage);
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#Hero .grid .card:hover {
    transform: translateY(-5px);
}

#Hero .grid .card img {
    height: 250px;
    width: 100%;
    background: var(--lightGrey);
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
}

#Hero .grid .card .info {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

#Hero .grid .card .info h3 {
    color: var(--charcoal);
    margin-bottom: 5px;
    font-size: 1.1rem;
    min-height: 2.5em;
}

/* Card price styling */
#Hero .grid .card .info small {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--charcoal);
    font-size: 0.9rem;
    margin-top: auto;
}

#Hero .grid .card .info small p {
    display: inline;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--sage);
    font-size: 1.1rem;
}

#Hero .grid .card a {
    padding: 12px;
    text-align: center;
    width: 100%;
    background: var(--sage);
    color: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
}

#Hero .grid .card a:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    margin: 0 auto;
    max-width: 900px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--charcoal);
    cursor: pointer;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--sage);
    color: var(--white);
}

.modal-product-detail {
    display: flex;
    flex-direction: row;
}

.modal-product-image-section {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.modal-product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-product-info-section {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-product-info h2 {
    color: var(--charcoal);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Modal description styles */
.modal-product-description {
    margin-bottom: 25px;
}

.modal-product-price {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    color: var(--sage) !important;
    font-size: 1.5rem !important;
    margin-bottom: 25px;
}

.modal-product-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-option-group h4 {
    margin-bottom: 10px;
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.modal-size-options, .modal-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-option-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid var(--lightGrey);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    min-width: 50px;
}

.modal-option-btn:hover {
    border-color: var(--sage);
    transform: translateY(-2px);
}

.modal-option-btn input {
    display: none;
}

.modal-option-btn.active {
    border-color: var(--sage);
    background-color: rgba(108, 160, 147, 0.1);
    color: var(--sage);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.modal-option-btn.active::before {
    content: "✓ ";
}

/* Updated Modal Product Actions Layout */
.modal-product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.action-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.modal-btn-primary {
    background: var(--sage);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 14px;
    text-align: center;
    width: 100%;
    font-size: 1rem;
}

.modal-btn-primary:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
}

.modal-btn-secondary {
    background: var(--dustyPink);
    color: var(--charcoal);
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.modal-btn-secondary:hover {
    background: #e8b8d0;
    transform: translateY(-2px);
}

/* Color Circle Styles */
.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--lightGrey);
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-circle:hover {
    transform: scale(1.1);
    border-color: var(--sage);
}

.color-circle.active {
    border-color: var(--sage);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--sage);
}

.color-circle.active::after {
    content: "✓";
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.color-circle.white.active::after {
    color: var(--charcoal);
}

/* Selection Indicators */
.selection-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(108, 160, 147, 0.05);
    border-radius: 8px;
}

.selection-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.selection-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.selection-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--sage);
    font-size: 0.9rem;
}

/* Image transition effects */
.modal-product-image {
    transition: opacity 0.3s ease;
}

/* Color image gallery styles */
.color-image-gallery {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.color-image-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.color-image-thumbnail:hover,
.color-image-thumbnail.active {
    border-color: var(--sage);
}

/* Modal description specific styles */
.modal-product-description.rich-text-content {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--lightGrey);
    padding-bottom: 20px;
}

/* Scrollbar styling for modal description */
.modal-product-description.rich-text-content::-webkit-scrollbar {
    width: 8px;
}

.modal-product-description.rich-text-content::-webkit-scrollbar-track {
    background: var(--lightGrey);
    border-radius: 4px;
}

.modal-product-description.rich-text-content::-webkit-scrollbar-thumb {
    background: var(--sage);
    border-radius: 4px;
}

.modal-product-description.rich-text-content::-webkit-scrollbar-thumb:hover {
    background: var(--charcoal);
}

/* Checkout Modal Styles */
.checkout-container {
    padding: 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-header h2 {
    color: var(--sage);
    margin-bottom: 10px;
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.checkout-form h3 {
    color: var(--charcoal);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lightGrey);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.section {
    margin-bottom: 30px;
}

.delivery-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.option-card {
    flex: 1;
    border: 2px solid var(--lightGrey);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.option-card:hover {
    border-color: var(--sage);
}

.option-card.selected {
    border-color: var(--sage);
    background-color: var(--sageOpacity);
}

.option-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.option-card p {
    color: var(--charcoal);
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--lightGrey);
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.collection-info {
    background-color: var(--sageOpacity);
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
    display: none;
    border-left: 4px solid var(--sage);
}

.collection-info.active {
    display: block;
}

.collection-info p {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--charcoal);
}

.collection-info strong {
    color: var(--sage);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.order-summary {
    background: var(--sageOpacity);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.order-summary h3 {
    color: var(--sage);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--lightGrey);
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-name {
    flex: 2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--charcoal);
}

.checkout-item-details {
    flex: 2;
    font-size: 0.9rem;
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.checkout-item-price {
    flex: 1;
    text-align: right;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--sage);
}

.order-total {
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--sage);
    font-size: 1.2rem;
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--sage);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.checkout-btn:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media (max-width: 600px) {
    .shopping-cart {
        width: 100%;
        right: -100%;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    /* Adjust logout button for mobile */
    .logout-container {
        bottom: 15px;
        right: 15px;
    }
    
    .logout-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    /* Checkout modal responsive styles */
    .delivery-options {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .checkout-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .checkout-item-price {
        text-align: left;
        width: 100%;
    }
}

@media (max-width: 800px) and (min-width: 600px) {
    nav {
        height: auto;
    }
    .container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .desktopLinks a:nth-child(4) {
        display: none;
    }
    .container > a img {
        display: block;
    }
    .logo img {
        height: 90px;
    }
    
    footer {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    footer .logo {
        width: 150px;
        height: 150px;
        padding: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    footer .logo img {
        height: 100%;
        width: auto;
    }
    footer .footerNav {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: start;
        justify-content: center;
    }
    footer .footerNav ul {
        width: 100%;
        max-width: 200px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .page-container {
        flex-direction: column;
    }
    
    .filter-toggle-btn {
        display: flex;
    }
    
    #filter-sidebar {
        width: 100%;
        position: static;
        display: none;
        margin-bottom: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    #filter-sidebar.show {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    #Hero .grid .card {
        width: calc(50% - 10px);
        height: 380px;
    }
    
    .product-detail {
        flex-direction: column;
    }
    
    .product-image-section, .product-info-section {
        width: 100%;
    }
    
    .product-image {
        height: 300px;
    }
    
    .product-info-section {
        padding: 30px;
    }

    .modal-product-detail {
        flex-direction: column;
    }

    .modal-product-image-section, .modal-product-info-section {
        width: 100%;
    }

    .modal-product-image {
        height: 300px;
    }
    
    .modal-product-description.rich-text-content {
        max-height: 250px;
    }
}

@media (max-width: 600px) {
    .store {
        margin: 0 20px 0 auto;
    }
    .desktopLinks {
        display: none;
    }
    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .bar {
        height: 3px;
        width: 30px;
        background: black;
        border-radius: 20px;
    }
    
    nav {
        height: 70px;
        padding: 10px 5%;
    }
    .container {
        width: 100%;
        max-width: 1200px;
        height: 100%;
        margin: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .desktopLinks a:nth-child(4) {
        display: none;
    }
    .container > a img {
        display: block;
    }
    .mobileLinks {
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 100px;
        position: absolute;
        top: 70px;
        left: -100%;
        z-index: 1000;
        transition: left 0.3s ease-in-out;
    }
    .mobileLinks.active {
        left: 0;
    }
    .mobileLinks .store {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    nav .container .mobileLinks ul {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    footer {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    footer .logo {
        width: 150px;
        height: 150px;
        padding: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    footer .logo img {
        height: 100%;
        width: auto;
    }
    footer .footerNav {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: start;
        justify-content: center;
    }
    footer .footerNav ul {
        width: 100%;
        max-width: 200px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .search-container {
        flex-direction: column;
    }
    
    #Hero .grid .card {
        width: 100%;
        height: 360px;
    }
    
    .product-detail-container {
        padding: 10px;
    }
    
    .product-info-section {
        padding: 20px;
    }
    
    .price-inputs {
        flex-direction: column;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        max-width: 100%;
        width: 100%;
    }
    
    .size-options, .color-options {
        gap: 8px;
    }
    
    .option-btn {
        padding: 8px 12px;
        min-width: 50px;
    }

    .modal {
        padding: 10px;
    }

    .modal-product-info-section {
        padding: 20px;
    }

    .modal-product-actions {
        flex-direction: column;
    }
    
    .action-buttons-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .modal-product-description.rich-text-content {
        max-height: 200px;
    }
}

/* Additional responsive styles for the updated modal layout */
.mockup-previews {
    border-top: 1px solid var(--lightGrey);
    padding-top: 8px;
}

.card .info h3 {
    margin-bottom: 8px;
}