@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-blue: #3b82f6;
    --dark-blue: #1e3a8a;
    --hover-blue: #2563eb;
    --success-green: #10b981;
    --hover-green: #059669;
    --error-red: #ef4444;
    --hover-red: #dc2626;
    --warning-orange: #f97316;
    --hover-orange: #ea580c;
    --background-light: #f8f9fa;
    --card-background: #ffffff;
    --text-black: #000000;
    --text-dark: #2d3436;
    --text-gray: #6b7280;
    --border-light: #e5e7eb;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);
    --font-primary: "Montserrat", sans-serif;
    --font-admin: "Comfortaa", sans-serif;
    --font-price: font-family: "Exo 2", sans-serif;
}

/* General Styles (Applicable to All Pages) */
body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    background: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    zoom: 0.9;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--background-light);
    color: var(--text-black);
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-bottom: var(--border-light) 3px solid;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-black);
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
}

.swiper-nav {
    display: none;
}

.search-nav ul {
    display: flex;
    align-items: center;
    gap: 65px;
    list-style: none;
}

.search-nav ul li {
    margin-left: -35px;
}

.search-nav ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-black);
    transition: all 0.2s ease-in-out;
}

.search-nav ul li a:hover {
    color: var(--primary-blue);
}

.search-nav ul li a img {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.search-content {
    display: flex;
}

#searchBar, .searchBar {
    padding: 15px 15px;
    border: 3px solid var(--primary-blue);
    border-radius: 15px 0 0 15px;
    width: 100%;
    font-size: 18px;
    background: var(--card-background);
    transition: box-shadow 0.3s ease;
}

#searchBar:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

#searchButton, .searchButton {
    padding: 5px;
    border-radius: 0 15px 15px 0;
    cursor: pointer;
    background: var(--primary-blue);
    color: var(--background-light);
    border: 3px solid var(--primary-blue);
    width: 70px;
    transition: all 0.5s ease;
}

#searchButton:hover {
    background: var(--background-light);
    color: var(--primary-blue);
}

#searchButton i, .searchButton i {
    font-size: 30px;
    font-weight: 600;
}

#cartBtn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    gap: 5px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

#cartBtn:hover {
    color: var(--primary-blue);
}

#openSearchBtn, #searchBox, #menuBtn {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.modal-content {
    background: var(--card-background);
    padding: clamp(20px, 5vw, 30px);
    width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px var(--shadow-dark);
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modal-content h3 {
    width: 100%;
}

#orderItems {
    flex-direction: column;
}

.modal-content .product {
    flex-direction: row;
    width: 100%;
    border-right: none;
    gap: 25px;
    padding: 0;
    height: 250px;
}

.modal-content .product:hover {
    transform: none;
    box-shadow: none;
    width: 100%;
}

.modal-content .product .sizes {
    right: 0;
    bottom: 0;
}

.modal-content .order-items-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.order-items-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.addToCart i.material-icons {
    pointer-events: none;
}

.modal-content .remove-from-cart {
    width: 150px;
    padding: 0px;
}

#cartItems {
    flex-direction: column;
}

#orderForm .products {
    width: 100%;
}

#cartModal,
#orderModal,
#successModal,
#editModal,
#promoModal {
    display: none;
    justify-content: center;
    align-items: center;
}

#successModal .modal-content {
    text-align: center;
    width: 300px;
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#successModal .modal-content::before {
    content: '✔';
    display: block;
    font-size: 3em;
    color: var(--success-green);
    margin-bottom: 20px;
}

#successModal button {
    background: var(--primary-blue);
    color: var(--card-background);
    padding: 15px 20px;
    font-size: 20px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    color: var(--text-gray);
    transition: color 0.3s;
}

.close:hover {
    color: var(--error-red);
}

#orderForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#addProductForm,
#editProductForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
}

#orderForm input,
#orderForm textarea,
#addProductForm input,
#editProductForm input,
#editProductForm textarea {
    width: 48%;
    height: 50px;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    background: var(--background-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px var(--shadow-light);
}

.region-citi {
    display: flex;
    flex-direction: column;
    width: 48%;
}

#orderModal .region-citi input {
    width: 100%;
}

#orderModal #orderCountry {
    width: 100%;
}

#orderModal #orderForm textarea {
    height: 125px;
}

#orderForm input:focus,
#orderForm textarea:focus,
#addProductForm input:focus,
#addProductForm textarea:focus,
#editProductForm input:focus,
#editProductForm textarea:focus {
    border-color: var(--primary-blue);
    background: var(--card-background);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

#orderForm textarea,
#addProductForm textarea,
#editProductForm textarea {
    height: 140px;
    resize: none;
}

#orderForm button[type="submit"],
#addProductForm button[type="submit"],
#editProductForm button[type="submit"] {
    width: 100%;
    background: var(--success-green);
    color: var(--card-background);
    border: none;
    padding: 14px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

#orderForm button[type="submit"] {
    background: var(--primary-blue);
}

#orderForm button[type="submit"]:hover,
#addProductForm button[type="submit"]:hover,
#editProductForm button[type="submit"]:hover {
    background: var(--hover-green);
    transform: translateY(-2px);
}

#orderForm button[type="submit"]:hover {
    background: var(--hover-blue);
}

#checkout {
    background: var(--primary-blue);
    color: var(--card-background);
    border: none;
    padding: 14px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
    margin-top: 10px;
}

#checkout:hover {
    background: var(--hover-blue);
    transform: translateY(-2px);
}

.success-message {
    text-align: center;
    font-size: clamp(1.1em, 3vw, 1.3em);
    color: var(--dark-blue);
}

.success-message button {
    margin-top: 20px;
    padding: 14px 28px;
    background: var(--primary-blue);
    color: var(--card-background);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.success-message button:hover {
    background: var(--hover-blue);
    transform: translateY(-2px);
}

#notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.notification-message {
    background: var(--success-green);
    color: var(--card-background);
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px var(--shadow-medium);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

.notification-message.success {
    background: var(--success-green);
}

.notification-message.error {
    background: var(--error-red);
}

.notification-message.warning {
    background: var(--warning-orange);
    color: var(--text-dark);
}

.notification-message::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--hover-green);
    animation: progress 3s linear forwards;
}

.notification-message.success::after {
    background: var(--hover-green);
}

.notification-message.error::after {
    background: var(--hover-red);
}

.notification-message.warning::after {
    background: var(--hover-orange);
}

footer {
    background: rgba(0, 0, 0, 0.215);
    backdrop-filter: blur(14.5px);
    border-radius: 25px;
    padding: 25px;
    margin-bottom: 10px;
    -webkit-backdrop-filter: blur(14.5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--background-light);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    color: var(--text-black);
}

.footer-top h3 {
    margin-bottom: 5px;
}

.footer-category,
.footer-by-room,
.social-link,
.contact {
    display: flex;
    flex-direction: column;
}

.footer-category a,
.footer-by-room a,
.social-link a,
.contact a {
    color: var(--text-black);
    text-decoration: none;
}

.contact p {
    margin: 0;
}

.footer-bottom {
    margin-top: 25px;
    padding-top: 25px;
    border-top: var(--border-light) 3px solid;
    display: flex;
    justify-content: space-between;
    color: var(--text-black);
}

.privacy-policy a,
.developedBy a {
    text-decoration: none;
    color: var(--text-black);
}

.developedBy a {
    color: var(--primary-blue);
    font-size: 18px;
}

/* Index.html Specific Styles */
section {
    margin-top: 80px;
}

section>h2 {
    color: var(--dark-blue);
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

main {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

main>section {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    margin-top: 25px;
}

.category-menu {
    display: flex;
    height: 590px;
    background: var(--background-light);
    position: sticky;
    top: 160px;
}

.category-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 0px;
}

.category-menu li,
#subcategoryList li {
    width: 200px;
    font-size: 20px;
    padding: 15px;
    border-right: 3px solid var(--border-light);
    border-bottom: 3px solid var(--border-light);
    border-radius: 0 15px 15px 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

#subcategoryList {
    margin-top: 65px;
    margin-left: -10px;
}

#subcategoryList li {
    width: 230px;
    padding-left: 30px;
}

.category-menu li.selected,
#subcategoryList .selected {
    background: var(--primary-blue);
    color: var(--background-light);
    border-radius: 15px;
    transform: translateX(15px);
}

.category-menu li:hover,
#subcategoryList li:hover {
    background: var(--primary-blue);
    transform: translateX(15px);
    color: var(--background-light);
    border-radius: 15px;
}

#subcategoryList .selected {
    transform: translateX(25px);
}

.category-menu li a {
    color: var(--card-background);
    text-decoration: none;
    font-size: 0.95em;
}

.view-all {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-blue);
    color: var(--card-background);
    padding: 15px 20px;
    border: none;
    gap: 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.view-all:hover {
    background: var(--hover-blue);
    transform: translateY(-2px);
}

.product-button-order {
    display: flex;
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

.slides {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.slide {
    min-width: 100%;
    width: 100%;
    height: clamp(200px, 50vw, 450px);
    object-fit: cover;
    border-radius: 50px;
    margin: 0;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: var(--primary-blue);
    background: var(--background-light);
    width: 50px;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 35px;
    border-radius: 25px 0 0 25px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.prev {
    left: 0px;
    border-radius: 0 25px 25px 0;
}

.next {
    right: 0px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--text-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
}

.why-us__container {
    display: flex;
    justify-content: space-between;
}

.fact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 200px;
    border-radius: 25px;
    padding: 15px;
    box-sizing: border-box;
    border: 5px solid var(--primary-blue);
}

.fact__icon i {
    font-size: 35px;
    color: var(--primary-blue);
}

.fact-title {
    font-size: 18px;
    font-weight: 700;
}

.fact__desc {
    color: var(--text-gray);
    font-size: 14px;
    text-align: center;
}

.products-by-room ul {
    list-style: none;
    padding: 0;
}

.products-by-room li {
    width: 200px;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
}

.products-by-room li a {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 25px;
    font-weight: 800;
    position: absolute;
    padding: 0 20px;
    box-sizing: border-box;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.171);
    backdrop-filter: blur(14.5px);
    -webkit-backdrop-filter: blur(14.5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--background-light);
    list-style: none;
    text-decoration: none;
}

.products-by-room .product-room-top {
    display: flex;
    gap: 25px;
}

.products-by-room .product-room-bottom {
    display: flex;
    gap: 25px;
    margin-top: 25px;
}

.products-by-room .living-room {
    background-image: url(./img/rooms/living-room.webp);
    width: 25%;
}

.products-by-room .bedroom {
    background-image: url(./img/rooms/bed-room.jpg);
    width: 50%;
}

.products-by-room .baby-room {
    background-image: url(./img/rooms/baby-room.webp);
    width: 25%;
}

.products-by-room .kitchen {
    background-image: url(./img/rooms/kitchen.webp);
    width: 40%;
}

.products-by-room .hallway {
    background-image: url(./img/rooms/hallway.webp);
    width: 20%;
}

.products-by-room .office {
    background-image: url(./img/rooms/office.webp);
    width: 40%;
}

.product-by-room-for-phone {
    display: none;
}

.sale-products,
.clearance-products {
    margin: 40px 0;
    width: 100%;
}

.products {
    display: flex;
    animation: fadeIn 0.5s ease-out;
}

.product {
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    width: 300px;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    border-right: 3px solid var(--border-light);
}

.product:last-child {
    border-right: none;
}

.product:hover {
    transform: translateY(-1px);
    border-right: none;
    box-shadow: 0 8px 20px var(--shadow-medium);
    width: 300px;
}

.product-first,
.product-second {
    width: 30%;
}

.product-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
}

.product-button button {
    height: 50%;
    margin-bottom: 0;
}

.product img {
    aspect-ratio: 1 / 1;
    height: 250px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product h3 {
    font-size: clamp(1.2em, 3vw, 1.4em);
    margin: 10px 0;
    color: var(--dark-blue);
    font-weight: 600;
}

.product p {
    font-size: 0.95em;
    color: var(--text-gray);
    margin: 5px 0;
    flex-grow: 1;
}

.sizes {
    margin: 15px 0;
}

.size-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--background-light);
    cursor: pointer;
    font-size: 0.95em;
    transition: background 0.2s, border-color 0.2s;
}

.size-select:hover,
.size-select:focus {
    background: var(--border-light);
    border-color: var(--primary-blue);
    outline: none;
}

.addToCart,
.buyNow {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    margin: 8px 0;
    transition: background 0.3s ease, transform 0.2s ease;
}

.addToCart {
    background: none;
    color: var(--primary-blue);
    border: 3px solid var(--primary-blue);
    width: 70px;
}

.addToCart:hover {
    background: var(--primary-blue);
    color: var(--card-background);
    transform: translateY(-2px);
}

.buyNow {
    background: var(--primary-blue);
    color: var(--card-background);
    margin-left: 10px;
}

.buyNow:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.remove-from-cart {
    background: var(--error-red);
    color: var(--card-background);
    width: 200px;
    height: 50px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
}

.remove-from-cart:hover {
    background: var(--hover-red);
    transform: translateY(-2px);
}

.promo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-blue);
    color: var(--card-background);
    padding: 5px 10px;
    font-size: 20px;
    border-radius: 25px 5px 25px 25px;
    font-weight: bold;
    user-select: none;
}

.promo.clearance {
    left: 10px;
    background: var(--error-red);
    border-radius: 5px 25px 25px 25px;
    width: 125px;
    user-select: none;
}

.product .product-price {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-black);
    position: relative;
    margin-top: 30px;
    font-family: "Exo 2", sans-serif;
}

.original-price {
    position: absolute;
    bottom: 40px;
    left: 0;
    font-size: 20px;
    color: var(--text-gray);
}

#cartTotalPrice {
    font-size: clamp(1em, 3vw, 1.2em);
    font-weight: 600;
    color: var(--dark-blue);
    margin: 15px 0;
    text-align: right;
}

#original_price {
    background: #000;
}

/* Room.html Specific Styles */
.room-html main {
    display: flex;
    gap: 20px;
}

.room-html .category-menu {
    width: clamp(180px, 20vw, 220px);
    background: var(--card-background);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-light);
    position: sticky;
    top: 80px;
}

.room-html aside.category-menu {
    width: clamp(150px, 15vw, 180px);
    margin-left: 20px;
    background: var(--card-background);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.room-html section {
    flex: 1;
    max-width: 960px;
}

#filterBtn {
    background: var(--primary-blue);
    color: var(--card-background);
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

#filterBtn:hover {
    background: var(--hover-blue);
    transform: translateY(-2px);
}

#filters {
    background: var(--card-background);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-light);
    margin: 20px 0;
    animation: slideIn 0.3s ease-out;
    text-align: center;
}

.price-input,
.filter-inputs,
.filter-select {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

#filters label {
    position: relative;
    padding: 10px 20px;
    border: 2px solid var(--text-gray);
    border-radius: 8px;
    background-color: var(--background-light);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    user-select: none;
    width: 50%;
}

#filters input[type="checkbox"] {
    display: none;
}

#filters input[type="checkbox"]:checked+label,
#filters label:has(input[type="checkbox"]:checked) {
    background-color: #cce0ff;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

#filters select,
#filters input {
    width: 100%;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95em;
    background: var(--background-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px var(--shadow-light);
}

#filters select:focus,
#filters input:focus {
    border-color: var(--primary-blue);
    background: var(--card-background);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

#filters button {
    width: 20%;
    padding: 12px;
    background: var(--primary-blue);
    color: var(--card-background);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

#filters button:hover {
    background: var(--hover-blue);
    transform: translateY(-2px);
}

#roomProducts {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

#subcategoryList {
    list-style: none;
    padding: 0;
}

/* Delivery.html Specific Styles */
/* No specific styles provided for delivery.html */

/* Addres.html Specific Styles */
.addres-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 50px;
}

.addres-container h2 {
    width: 100%;
}

.addres-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
    gap: 25px;
}

.addres-left a img,
.addres-left p img {
    width: 40px;
    margin-right: 20px;
}

.addres-left a,
.addres-left p {
    display: flex;
    align-items: center;
    margin: 0;
    color: var(--text-black);
}

/* Privacy-policy.html Specific Styles */
/* No specific styles provided for privacy-policy.html */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}








/* Desktop / laptop */
@media (min-width:992px) and (max-width:1199px) {}

/* Tablet */
@media (min-width:768px) and (max-width:991px) {
    body {
        zoom: 0.55;
    }

    .main-section {
        max-width: 70%;
    }

    #saleProducts .product:last-child,
    #clearanceProducts .product:last-child {
        display: none;
    }
}

/* Small tablets / large phones */
@media (min-width:576px) and (max-width:767px) {
    body {
        width: 100%;
    }

    main {
        display: flex;
        flex-direction: column;
        max-width: 767px;
    }

    header {
        max-width: 767px;
    }

    .logo h1 {
        display: none;
    }

    .search {
        max-width: 400px;
    }

    .search-nav ul {
        flex-wrap: wrap;
        margin: 0;
        gap: 0px;
    }

    .search-nav li {
        margin-right: 65px;
    }

    .main-section {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }

    .category-menu {
        position: relative;
        top: 0;
        height: 250px;
    }

    .category-menu ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .category-menu li {
        width: 150px;
        height: 40px;
    }

    .slider {
        width: 100%;
    }

    .why-us__container {
        border: 5px solid var(--primary-blue);
        border-radius: 25px;
    }

    .fact {
        border: none;
        border-radius: 0;
        border-right: 5px solid var(--primary-blue);
    }

    .fact:last-child {
        border-right: none;
    }

    #saleProducts,
    #clearanceProducts {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #saleProducts .product,
    #clearanceProducts .product {
        width: 45%;
        border-right: none;
    }

    #saleProducts .product img,
    #clearanceProducts .product img {
        width: 100%;
        border-radius: 15px;
    }

    .products-by-room {
        zoom: 0.5;
    }

    footer .logo,
    footer .footer-category {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
    }

    #cartItems {
        zoom: 0.8;
    }

    .category-menu {}

    .category-menu li.selected,
    #subcategoryList .selected,
    .category-menu li:hover,
    #subcategoryList li:hover {
        transform: none;
    }

    .category-menu-room {
        display: flex;
        flex-direction: column;
        height: 550px;
        gap: 10px;
    }

    #roomProducts {
        justify-content: space-between;
    }

    #roomProducts .product {
        width: 45%;
        border: none;
    }

    #roomProducts .product img {
        width: 100%;
    }

    #filters {
        zoom: 0.8;
    }

}

/* Mobile (зазвичай смартфони) */
@media (max-width: 575px) {
    body {
        width: 100%;
    }

    main {
        display: flex;
        flex-direction: column;
        max-width: 575px;
    }

    header {
        max-width: 575px;
    }

    .logo h1 {
        display: none;
    }

    .search {
        max-width: 250px;
    }

    .cart-text {
        font-size: 14px;
    }

    .search-nav {
        display: none;
    }

    .main-section {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 8px;
    }

    .category-menu {
        display: none;
    }

    .swiper-container {
        width: 100%;
        height: 150px;
        position: relative;
    }

    .swiper-nav {
        display: block;
    }

    .swiper-wrapper {
        background: #000;
    }

    .swiper-slide {
        text-align: center;
        font-size: 16px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .swiper-slide a {
        text-decoration: none;
        color: inherit;
    }

    .swiper-slide li {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100px;
        height: 100px;
    }

    .swiper-slide li img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .swiper-slide li h1 {
        font-size: 14px;
        margin: 5px 0 0;
    }

    .swiper-button-prev,
    .swiper-button-next {
        color: var(--primary-blue);
        width: 25px;
        height: 25px;
        margin: 0 5px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .swiper-button-prev {
        left: 5px;
    }

    .swiper-button-next {
        right: 5px;
    }

    .slider {
        width: 100%;
    }

    .why-us__container {
        display: flex;
        flex-direction: column;
        border: none;
        border-radius: 0;
    }

    .fact {
        border: none;
        border-radius: 0;
    }

    .fact:last-child {
        border: none;
    }

    #saleProducts,
    #clearanceProducts {
        flex-wrap: wrap;
        justify-content: center;
    }

    #saleProducts .product,
    #clearanceProducts .product {
        width: 90%;
        border-right: none;
    }

    #saleProducts .product:hover,
    #clearanceProducts .product:hover {
        transform: none;
        box-shadow: none;
    }

    #saleProducts .product img,
    #clearanceProducts .product img {
        width: 110%;
        border-radius: 10px;
    }

    .products-by-room {
        zoom: 0.4;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
    }

    footer .logo,
    footer .footer-category {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
    }

    #cartItems {
        zoom: 0.7;
    }

    .category-menu li.selected,
    #subcategoryList .selected,
    .category-menu li:hover,
    #subcategoryList li:hover {
        transform: none;
    }

    .category-menu-room {
        display: flex;
        flex-direction: column;
        height: 500px;
        gap: 8px;
    }

    #roomProducts {
        justify-content: center;
    }

    #roomProducts .product {
        width: 90%;
        border: none;
    }

    #roomProducts .product:hover {
        transform: none;
        box-shadow: none;
    }

    #roomProducts .product img {
        width: 110%;
    }

    #filters {
        zoom: 0.7;
    }

    section > h2 {
        font-size: 30px;
    }

    .view-all {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Very small phones / narrow displays */
@media (max-width: 420px) {
    body {
        width: 100%;
    }

    main {
        display: flex;
        flex-direction: column;
        max-width: 420px;
    }

    header {
        max-width: 420px;
    }

    .logo h1 {
        display: none;
    }

    .search {
        max-width: 200px;
    }

    .cart-text {
        font-size: 12px;
    }

    #cartBtn span {
        display: none;
    }

    .search-content {
        display: none;
    }

    #openSearchBtn, #menuBtn{
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        background: none;
        width: 35px;
    }

    .phone-nav-button {
        display: flex;
        gap: 15px;
    }

    #openSearchBtn img, #menuBtn img{
        width: 30px;
        height: 30px;
    }

    #searchBox {
        background: #f5f5f5;
        padding: 10px;
        transform: translateY(-20px);
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, max-height 0.3s ease;
        display: none;
      }
      
      #searchBox.open {
        display: block;
        max-height: 180px;
        opacity: 1;
        transform: translateY(0);
        margin-bottom: 5px;
      }

    #searchBox input {
        width: 70%;
    }

    #searchBox #searchButton {
        width: 20%;
    }

    .search-content-for-phone {
        height: 50px;
        display: flex;
    }



      
      .hamburger {
        font-size: 24px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        transition: transform 0.3s ease;
      }
      
      /* Фон */
      #menuOverlay {
        position: fixed;
        top: 83px; /* висота хедера */
        left: 0;
        width: 100%;
        height: calc(100% - 50px);
        background: rgba(0, 0, 0, 0.3);
        opacity: 0;
        pointer-events: none; /* щоб не ловило кліки, коли закрите */
        transition: opacity 0.3s ease;
        z-index: 50;
      }
      
      /* Меню */
      #sideMenu {
        position: absolute;
        left: 0;
        top: 0;
        width: 250px;
        height: 100%;
        background: white;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 20px;
      }
      
      /* Відкриття */
      #menuOverlay.open {
        opacity: 1;
        pointer-events: auto;
      }
      
      #menuOverlay.open #sideMenu {
        transform: translateX(0);
      }

      .accordion {
        border-bottom: 1px solid #ddd;
      }
      
      .accordion-header {
        width: 100%;
        background: none;
        border: none;
        padding: 10px 0;
        text-align: left;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
      }
      
      .accordion-header .arrow {
        transition: transform 0.3s ease;
      }
      
      .accordion-header.active .arrow {
        transform: rotate(90deg);
      }

      .accordion-header span img {
        width: 30px;
        height: 30px;
      }
      
      .accordion-content {
        max-height: 0px;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }
      
      .accordion-content ul {
        margin: 0;
        padding-left: 15px;
      }
      
      .accordion-content ul li {
        list-style: none;
        height: 50px;
      }
      
      .accordion-content ul li a {
        display: block;
        padding: 5px 0;
        text-decoration: none;
        color: #333;
      }
      
      /* Кнопки */
      .menu-buttons {
        margin: 15px 0;
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #ddd;
      }
      
      .menu-buttons .search-nav {
        display: block;
      }

      .menu-buttons .search-nav ul {
        flex-direction: column;
        align-items: start;
        gap: 15px;
      }
      
      /* Контакти */
      .contacts p {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 15px 0;
      }

      .contacts img {
        width: 30px;
        height: 30px;
      }



    .main-section {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 6px;
    }

    .category-menu {
        display: none;
    }

    .swiper-container {
        width: 100%;
        height: 120px;
        position: relative;
    }

    .swiper-nav {
        display: block;
        position: relative;
        height: 150px;
    }

    .swiper-wrapper {
        background: #000;
    }

    .swiper-slide {
        text-align: center;
        font-size: 14px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .swiper-slide a {
        text-decoration: none;
        color: inherit;
    }

    .swiper-slide li {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
    }

    .swiper-slide li img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

    .swiper-slide li h1 {
        font-size: 12px;
        margin: 4px 0 0;
    }

    .swiper-button-prev,
    .swiper-button-next {
        color: var(--primary-blue);
        width: 10px;
        height: 10px;
        margin: 0 3px;
        top: 100%;
        transform: translateY(-50%);
    }

    .swiper-button-prev {
        left: 3px;
    }

    .swiper-button-next {
        right: 3px;
    }

    .slider {
        width: 100%;
        margin-top: -50px;
    }

    .why-us__container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        border: none;
        border-radius: 0;
    }

    .fact {
        border: none;
        border-radius: 0;
        width: 50%;
    }

    .fact:first-child {
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .fact:last-child {
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
    }

    #saleProducts,
    #clearanceProducts {
        flex-wrap: wrap;
        justify-content: center;
    }

    #saleProducts .product,
    #clearanceProducts .product {
        width: 95%;
        border-right: none;
        zoom: 0.75;
    }

    #saleProducts .product:hover,
    #clearanceProducts .product:hover {
        transform: none;
        box-shadow: none;
    }

    #saleProducts .product img,
    #clearanceProducts .product img {
        width: 100%;
        height: 70%;
        border-radius: 8px;
    }

    .products-by-room {
        zoom: 0.35;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
    }

    footer .logo,
    footer .footer-category {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
    }

    #cartItems {
        zoom: 0.5;
    }

    .category-menu li.selected,
    #subcategoryList .selected,
    .category-menu li:hover,
    #subcategoryList li:hover {
        transform: none;
    }

    .category-menu-room {
        display: flex;
        flex-direction: column;
        height: 200px;
        gap: 6px;
    }

    #roomProducts {
        justify-content: center;
    }

    #roomProducts .product {
        width: 95%;
        border: none;
    }

    #roomProducts .product:hover {
        transform: none;
        box-shadow: none;
    }

    #filters {
        zoom: 0.65;
    }

    section > h2 {
        font-size: 25px;
    }

    .view-all {
        font-size: 15px;
        padding: 15px 20px;
    }

    .addres-container {
        display: flex;
        flex-direction: column;
    }

    .addres-left {
        width: 100%;
    }

    .addres-container iframe {
        width: 100%;
    }

    #orderForm {
        zoom: 0.6;
    }

    #subcategoryList {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: -50px;
    }

    #subcategoryList li {
        width: 100%;
        padding: 5px 15px;
        border-right: none;
        border-radius: 0;
    }

    #subcategoryList li.selected {
        border-radius: 0 15px 15px 0;
    }

    #roomProducts {
        zoom: 0.75;
    }

    #roomProducts .product img {
        width: 100%;
        height: 70%;
    }

}