* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Jost", sans-serif;
}

button:focus,
button:focus-visible,
button:active {
    outline: none !important;
    box-shadow: none !important;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    background-color: #ffdaf9;
    overflow-x: hidden;
}

button {
    cursor: pointer;
    outline: none;
    border: none;
    background: none;
}

button,
input,
a {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button:focus,
input:focus,
a:focus {
    outline: none;
}

/** Preloader **/

#loading-screen {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
}

.loader-container {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 6px solid #e0e0e0;
    border-top: 6px solid #f48fb1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #333;
}

@media (max-width: 600px) {
    .loader-logo {
        width: 56px;
        height: 56px;
    }

    .spinner {
        width: 32px;
        height: 32px;
    }

    .loading-text {
        font-size: 1rem;
    }
}

/** Navbar **/

.navbar {
    padding: 3rem 1.5rem;
    height: 70px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-around;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
}

.brand-image {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.brand-image::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #f8f6f0;
    border-radius: 50%;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #333;
}

.nav-link.active {
    color: #e85a85;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-display {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cart-icon {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease;
}

.cart-icon:hover {
    transform: scale(1.05);
}

.cart-icon svg {
    width: 24px;
    height: 24px;
    stroke: #333;
    fill: none;
    stroke-width: 2;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #e85a85;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f8f6f0;
    border-bottom: 1px solid #e8e6e0;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav .nav-link {
    font-size: 16px;
    display: block;
    padding: 5px 0;
}

/** Hero Section **/

.hero {
    height: 50vh;
    margin: 0 6rem;
    margin-top: 8rem;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('./images/shop_bg.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
}

.hero h2 {
    font-size: 52px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/** Products Section **/

.products {
    position: relative;
    z-index: 9999;
    padding: 5rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.product {
    position: relative;
    width: 300px;
    min-height: 380px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.product,
.product:focus,
.product:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 16px 16px 0 0;
}

.product img:not(.add-to-cart img) {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #fff;
}

.product h4 {
    font-size: 19px;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
    text-align: center;
}

.product p {
    font-size: 17px;
    font-weight: 500;
    color: #e85a85;
    margin: 5px 0;
    text-align: center;
}

.product button.add-to-cart {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e85a85;
    border-radius: 50%;
    padding: 12px;
    box-shadow:
        0 4px 16px rgba(232, 90, 133, 0.18),
        0 1.5px 6px rgba(31, 38, 135, 0.10);
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product button.add-to-cart:hover {
    background: #ff8eb3;
    transform: scale(1.08);
}

.product button.add-to-cart img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/** Cart Modal **/

#cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#cart-modal.show {
    opacity: 1;
    visibility: visible;
}

.cart-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow:
        0 32px 64px rgba(31, 38, 135, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    padding: 35px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(30px);
    transition: all 0.3s ease;
    position: relative;
}

#cart-modal.show .cart-modal-content {
    transform: scale(1) translateY(0);
}

.cart-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 24px 24px 0 0;
}

.cart-modal-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    background: linear-gradient(135deg, #e85a85, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.show-cart {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.show-cart th,
.show-cart td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #333;
    font-size: 14px;
}

.show-cart th {
    background: rgba(232, 90, 133, 0.1);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.show-cart tr:hover {
    background: rgba(255, 255, 255, 0.4);
}

.show-cart tr:last-child td {
    border-bottom: none;
}

.show-cart input[type="number"] {
    width: 55px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    text-align: center;
    color: #333;
    font-weight: 500;
    margin: 0 6px;
    font-size: 13px;
}

.show-cart input[type="number"]:focus {
    outline: none;
    border-color: #e85a85;
    box-shadow: 0 0 0 2px rgba(232, 90, 133, 0.2);
}

.show-cart button {
    padding: 6px 10px;
    margin: 2px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 12px;
}

.minus-item,
.plus-item {
    background: rgba(232, 90, 133, 0.1);
    color: #e85a85;
    border: 1px solid rgba(232, 90, 133, 0.3);
}

.minus-item:hover,
.plus-item:hover {
    background: rgba(232, 90, 133, 0.2);
    transform: scale(1.05);
}

.delete-item {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.delete-item:hover {
    background: rgba(220, 53, 69, 0.2);
    transform: scale(1.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding: 16px;
    background: rgba(232, 90, 133, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.cart-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cart-button {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 110px;
}

.cart-button:hover {
    transform: translateY(-2px);
}

.clear-cart {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.clear-cart:hover {
    background: rgba(108, 117, 125, 0.3);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.2);
}

#checkout-btn {
    background: linear-gradient(135deg, #e85a85, #ff6b9d);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(232, 90, 133, 0.3);
}

#checkout-btn:hover {
    background: linear-gradient(135deg, #ff6b9d, #e85a85);
    box-shadow: 0 8px 25px rgba(232, 90, 133, 0.4);
}

.close-modal {
    background: rgba(255, 255, 255, 0.3);
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.empty-cart-message {
    text-align: center;
    padding: 35px 20px;
    color: #666;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.empty-cart-message i {
    font-size: 40px;
    margin-bottom: 12px;
    color: #e85a85;
}

/** Footer Section **/

.site-footer {
    background-color: #000;
    color: white;
    padding: 50px 20px 25px;
    font-family: 'Poppins', sans-serif;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    flex: 1;
    min-width: 250px;
}

.logo {
    font-family: "Poppins", sans-serif;
    font-size: 26px;
    margin-bottom: 18px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-nav li a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-nav li a:hover {
    color: #fb6f92;
}

.footer-right {
    flex: 1;
    min-width: 250px;
}

.footer-right h4 {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 16px;
}

.subscribe-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.subscribe-form input {
    padding: 9px 12px;
    border: 2px solid #212529;
    border-radius: 8px;
    background-color: #212529;
    color: white;
    flex: 1;
    min-width: 180px;
    transition: 0.3s;
    font-size: 14px;
}

.subscribe-form input:focus {
    outline: none;
    border: 2px solid #fb6f92;
}

.subscribe-form button {
    padding: 9px 18px;
    background-color: white;
    color: black;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.subscribe-form button:hover {
    background-color: #fb6f92;
    color: white;
}

.privacy-note {
    margin-top: 8px;
    font-size: 12px;
    color: #ccc;
}

.privacy-note a {
    color: #fff;
    text-decoration: underline;
}

hr {
    margin: 35px 0 18px;
    border-color: #333;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 16px;
    font-size: 13px;
}

.footer-links a {
    margin-right: 16px;
    text-decoration: none;
    color: white;
    font-weight: 400;
}

.footer-links a:hover {
    color: #fb6f92;
}

footer .copyright {
    color: #ccc;
}

footer .copyright a {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1600px) {
    .hero {
        margin: 0 8rem;
        margin-top: 8rem;
        height: 55vh;
    }

    .hero h2 {
        font-size: 60px;
    }

    .products {
        max-width: 1400px;
        margin: 0 auto;
        padding: 5rem 2rem 2rem;
    }

    .product {
        width: 320px;
        min-height: 400px;
    }

    .product img:not(.add-to-cart img) {
        width: 220px;
        height: 220px;
    }

    .product h4 {
        font-size: 20px;
    }

    .product p {
        font-size: 18px;
    }
}

/* Desktop */
@media (max-width: 1400px) {
    .products {
        padding: 4.5rem 3rem 2rem;
    }

    .hero {
        margin: 0 5rem;
        margin-top: 8rem;
    }
}

@media (max-width: 1200px) {
    .products {
        padding: 4rem 2.5rem 2rem;
        gap: 2.5rem;
    }

    .row {
        gap: 1.8rem;
    }

    .hero {
        margin: 0 4rem;
        margin-top: 8rem;
    }

    .product {
        width: 290px;
        min-height: 370px;
    }

    .product img:not(.add-to-cart img) {
        width: 190px;
        height: 190px;
    }

    .product h4 {
        font-size: 18px;
    }

    .product p {
        font-size: 16px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .navbar-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .navbar {
        padding: 1rem 1.5rem;
        height: 65px;
    }

    .brand-name {
        font-size: 18px;
    }

    .hero {
        margin: 0 3rem;
        margin-top: 7rem;
        height: 45vh;
        border-radius: 25px;
    }

    .hero h2 {
        font-size: 42px;
    }

    .products {
        padding: 3.5rem 2rem 2rem;
        gap: 2rem;
    }

    .row {
        gap: 1.5rem;
    }

    .product {
        width: 280px;
        min-height: 360px;
        padding: 22px;
    }

    .product img:not(.add-to-cart img) {
        width: 180px;
        height: 180px;
    }

    .product h4 {
        font-size: 17px;
    }

    .product p {
        font-size: 15px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.2rem;
        height: 60px;
    }

    .navbar-right {
        gap: 15px;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-image {
        width: 40px;
        height: 40px;
    }

    .hero {
        margin: 0 2.5rem;
        margin-top: 6rem;
        height: 42vh;
        border-radius: 22px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .products {
        padding: 3rem 1.5rem 2rem;
        gap: 1.8rem;
    }

    .row {
        gap: 1.2rem;
    }

    .product {
        width: 270px;
        min-height: 350px;
        padding: 20px;
    }

    .product img:not(.add-to-cart img) {
        width: 170px;
        height: 170px;
    }

    .product h4 {
        font-size: 16px;
        margin: 8px 0;
    }

    .product p {
        font-size: 15px;
    }

    .product button.add-to-cart {
        top: 12px;
        right: 12px;
        padding: 10px;
    }

    .product button.add-to-cart img {
        width: 22px;
        height: 22px;
    }

    /* Modal adjustments */
    .cart-modal-content {
        padding: 25px 18px;
        margin: 15px;
        max-height: 85vh;
    }

    .cart-modal-content h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .show-cart th,
    .show-cart td {
        padding: 10px 6px;
        font-size: 13px;
    }

    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cart-button {
        padding: 11px 20px;
        font-size: 13px;
        min-width: 100px;
    }

    .cart-total {
        font-size: 16px;
        padding: 14px;
    }
}

/* Mobile Medium */
@media (max-width: 600px) {
    .navbar {
        padding: 1rem;
        height: 58px;
    }

    .hero {
        margin: 0 2rem;
        margin-top: 5.5rem;
        height: 38vh;
        border-radius: 20px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .products {
        padding: 2.5rem 1.2rem 1.5rem;
        gap: 1.5rem;
    }

    .product {
        width: 260px;
        min-height: 340px;
        padding: 18px;
    }

    .product img:not(.add-to-cart img) {
        width: 160px;
        height: 160px;
    }

    .product h4 {
        font-size: 15px;
    }

    .product p {
        font-size: 14px;
    }

    .show-cart th:nth-child(2),
    .show-cart td:nth-child(2) {
        display: none;
    }

    .show-cart input[type="number"] {
        width: 45px;
        padding: 5px;
        margin: 0 3px;
        font-size: 12px;
    }

    .show-cart button {
        padding: 5px 7px;
        font-size: 11px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem;
        height: 55px;
    }

    .navbar-right {
        gap: 10px;
    }

    .price-display {
        font-size: 14px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-image {
        width: 35px;
        height: 35px;
    }

    .hero {
        margin: 0 1.5rem;
        margin-top: 5rem;
        height: 35vh;
        border-radius: 18px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .products {
        padding: 2rem 1rem 1.5rem;
        gap: 1.2rem;
    }

    .product {
        width: 250px;
        min-height: 330px;
        padding: 16px;
    }

    .product img:not(.add-to-cart img) {
        width: 150px;
        height: 150px;
    }

    .product h4 {
        font-size: 14px;
    }

    .product p {
        font-size: 13px;
    }

    .product button.add-to-cart {
        top: 10px;
        right: 10px;
        padding: 8px;
    }

    .product button.add-to-cart img {
        width: 20px;
        height: 20px;
    }
}

/* Mobile Extra Small */
@media (max-width: 375px) {
    .navbar {
        padding: 0.8rem 0.8rem;
    }

    .price-display {
        display: none;
    }

    .hero {
        margin: 0 1.2rem;
        margin-top: 4.8rem;
        height: 32vh;
        border-radius: 16px;
    }

    .hero h2 {
        font-size: 25px;
    }

    .products {
        padding: 1.8rem 0.8rem 1.2rem;
    }

    .product {
        width: 240px;
        min-height: 320px;
        padding: 15px;
    }

    .product img:not(.add-to-cart img) {
        width: 140px;
        height: 140px;
    }

    .product h4 {
        font-size: 13px;
        margin: 6px 0;
    }

    .product p {
        font-size: 12px;
    }

    .product button.add-to-cart {
        top: 8px;
        right: 8px;
        padding: 7px;
    }

    .product button.add-to-cart img {
        width: 18px;
        height: 18px;
    }
}

/* Mobile Very Small */
@media (max-width: 320px) {
    .navbar {
        padding: 0.8rem 0.6rem;
        height: 52px;
    }

    .brand-name {
        font-size: 14px;
    }

    .brand-image {
        width: 32px;
        height: 32px;
    }

    .hero {
        margin: 0 1rem;
        margin-top: 4.5rem;
        height: 30vh;
        border-radius: 14px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .products {
        padding: 1.5rem 0.6rem 1rem;
        gap: 1rem;
    }

    .product {
        width: 230px;
        min-height: 310px;
        padding: 12px;
    }

    .product img:not(.add-to-cart img) {
        width: 130px;
        height: 130px;
        margin-bottom: 10px;
    }

    .product h4 {
        font-size: 12px;
        margin: 5px 0;
    }

    .product p {
        font-size: 11px;
        margin: 3px 0;
    }

    .product button.add-to-cart {
        top: 6px;
        right: 6px;
        padding: 6px;
    }

    .product button.add-to-cart img {
        width: 16px;
        height: 16px;
    }

    .cart-modal-content {
        padding: 20px 12px;
        margin: 10px;
    }

    .cart-modal-content h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .show-cart th,
    .show-cart td {
        padding: 8px 4px;
        font-size: 11px;
    }

    .cart-total {
        font-size: 14px;
        padding: 10px;
    }

    .empty-cart-message {
        padding: 25px 15px;
        font-size: 14px;
    }

    .empty-cart-message i {
        font-size: 32px;
        margin-bottom: 8px;
    }
}

/* Orientation adjustments */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        height: 40vh;
        margin-top: 6rem;
    }

    .products {
        padding: 3rem 2rem 2rem;
    }

    .row {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 45vh;
        margin-top: 5.5rem;
    }

    .hero h2 {
        font-size: 30px;
    }

    .products {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .product {
        width: 250px;
        min-height: 300px;
    }

    .product img:not(.add-to-cart img) {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) and (orientation: landscape) {
    .hero {
        height: 50vh;
        margin-top: 5rem;
    }

    .hero h2 {
        font-size: 26px;
    }

    .products {
        padding: 2rem 1rem 1rem;
    }
}

/* Hover effects adjustment for touch devices */
@media (hover: none) {
    .product:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.25);
        box-shadow:
            0 8px 32px rgba(31, 38, 135, 0.37),
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    }

    .product button.add-to-cart:hover {
        transform: none;
        background: #e85a85;
    }

    .nav-link:hover {
        color: #666;
    }

    .cart-icon:hover {
        transform: none;
    }
}

/* Disable AOS animations on smaller screens for better performance */
@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .product img:not(.add-to-cart img) {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Footer responsive adjustments */
@media (max-width: 768px) {

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-nav {
        justify-content: center;
        gap: 15px;
    }

    .subscribe-form {
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-nav li a {
        font-size: 14px;
    }

    .logo {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .site-footer {
        padding: 40px 15px 20px;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
        min-width: unset;
    }

    .footer-bottom {
        gap: 15px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-links a {
        margin-right: 0;
    }
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -4px);
}

/* Improved focus states for accessibility */
.nav-link:focus,
.cart-icon:focus,
.product:focus,
.cart-button:focus {
    outline: 2px solid #e85a85;
    outline-offset: 2px;
}

/* Better button hover states */
@media (hover: hover) {
    .cart-button:hover {
        transform: translateY(-1px);
    }

    .product:hover {
        transform: translateY(-2px);
        box-shadow:
            0 12px 40px rgba(31, 38, 135, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* Print styles */
@media print {

    .navbar,
    .hero,
    .cart-modal,
    .site-footer {
        display: none;
    }

    .products {
        padding: 1rem;
        transform: none;
    }

    .product {
        break-inside: avoid;
        background: white;
        border: 1px solid #ccc;
    }
}