@font-face {
    font-family: 'my font';
    src: url(fonts/Quicksand-Regular.ttf);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'my font', sans-serif;
}
body{
    background-color: #f8f8f8;
}

.custom {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
    margin-left: 50px;
    margin-right: 50px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

header {
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    justify-content: flex-start;
}

.title-section {
    text-align: left;
    max-width: 500px;
}

.title-section h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.title-section p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.cake-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

.product-name {
    font-weight: bold;
    font-size: 0.7rem;
    color: #333;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.product-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 0.85rem;
}

.add-btn {
    position: absolute;
    top: -30px;
    right: 8px;
    width: 24px;
    height: 24px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
}

.add-btn:hover {
    background-color: #c0392b;
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.4);
}


.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #e74c3c;
    transform: scale(1.2);
}

.dot:hover {
    background-color: #bbb;
}



/* === NAVIGATION BAR === */
.sticky-nav {
    background-color: #f7f2b7;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ccc;
}

.nav-logo {
    width: 100px;
    border-radius: 50%;
    margin-right: 20px;
}

.navbar {
    list-style: none;
    justify-content: space-between;
    display: flex;
    gap: 30px;
    padding-right: 75px;
    margin: 0;
    font-size: 20px;
}

.navbar li {
    display: flex;
}

.navbar li a {
    text-decoration: none;
    color: #231955;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 16px;
    transition: 0.3s;
}

.navbar li a:hover {
    color: #ff6b6b;
    border-bottom: 2px solid #ff6b6b;
}

.navbar li p {
    text-decoration: none;
    color: #231955;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 16px;
    transition: 0.3s;
}

.navbar li p:hover {
    color: #ff6b6b;
    border-bottom: 2px solid #ff6b6b;
}

.dropbtn {
    border: none;
    background-color: #f7f2b7;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
}

.dropdown {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #231955;
}

.dropdownContent {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdownContent a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdownContent a:hover {
    background-color: #ddd;
}

.dropdownContent p {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdownContent p:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdownContent {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #ff6b6b;
    border-bottom: 2px solid #0073e6;
}

.menu-toggle {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    background: #231955;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    border-radius: 5px;
}
/* === SOCIAL ICONS === */
.social-icons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    margin-right: 20px;
}

.social-icons i,
.user-icons i {
    font-size: 28px;
    color: #333;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.social-icons a,
.user-icons a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.phone-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.phone-number {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.social-icons i:hover,
.user-icons i:hover {
    transform: scale(1.1);
    color: #007bff;
}

.fa-facebook:hover {
    color: #1877f2;
}

.fa-square-instagram:hover {
    color: #e4405f;
}

.fa-phone:hover {
    color: #28a745;
}

.fa-cart-shopping:hover {
    color: #ffc107;
}

.fa-circle-user:hover {
    color: #6f42c1;
}

.account-dropdown {
    position: center;
    display: inline-block;
    cursor: pointer;
}

.account-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 350px;
    max-width: 400px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.account-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.account-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.account-dropdown:hover .account-dropdown-content {
    display: block;
}

.account-dropdown .fa-circle-user {
    font-size: 20px;
    color: inherit;
    transition: color 0.3s ease;
}

.account-dropdown:hover .fa-circle-user {
    color: #007bff;
}

/* Notification Styles */
.notification-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.notification-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.notification-header span {
    font-weight: 600;
    color: #333;
}

.mark-all-read {
    background: none;
    border: none;
    color: #d4757a;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.mark-all-read:hover {
    background: #f8f9fa;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.notification-content {
    flex: 1;
    cursor: pointer;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #fff8f0;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
}

.notification-message {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.notification-time {
    font-size: 11px;
    color: #999;
}

.notification-order {
    font-size: 12px;
    color: #d4757a;
    font-weight: 600;
    margin-bottom: 3px;
}

.delete-notification-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}

.delete-notification-btn:hover {
    transform: scale(1.1);
    color: #c0392b;
}

.no-notifications {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.account-links {
    padding-top: 10px;
}

.account-links a {
    display: block;
    padding: 10px 15px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        gap: 12px;
    }

    .product-card {
        padding: 10px;
    }

    .product-image {
        height: 100px;
    }

    .product-name {
        font-size: 0.6rem;
    }

    .product-price {
        font-size: 0.75rem;
    }

    .add-btn {
        width: 20px;
        height: 20px;
        font-size: 0.9rem;
        top: -25px;
        right: 6px;
    }
}

@media (max-width: 768px) {
    .social-icons-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 3%;
    }

    .social-icons,
    .user-icons {
        gap: 20px;
    }

    .phone-number {
        display: none;
    }

    .social-icons i,
    .user-icons i {
        font-size: 24px;
    }

    .container {
        padding: 15px;
    }

    .title-section h1 {
        font-size: 1.8rem;
    }

    .title-section p {
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 10px;
    }

    .product-card {
        padding: 8px;
    }

    .product-image {
        height: 90px;
    }

    .product-name {
        font-size: 0.6rem;
    }

    .product-price {
        font-size: 0.7rem;
    }

    .add-btn {
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
        top: -20px;
        right: 5px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .title-section h1 {
        font-size: 1.5rem;
    }

    .title-section p {
        font-size: 0.75rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 8px;
    }

    .product-card {
        padding: 6px;
    }

    .product-image {
        height: 100px;
    }

    .product-name {
        font-size: 0.65rem;
    }

    .product-price {
        font-size: 0.75rem;
    }

    .add-btn {
        width: 16px;
        height: 16px;
        font-size: 0.7rem;
        top: -18px;
        right: 4px;
    }
}

@media (max-width: 768px) {
    /* Navbar and Burger */
    .navbar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100%;
        background-color: #f7f2b7;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 200px 20px 20px;
        transition: left 0.3s ease;
        z-index: 1000;
        gap: 10px;
    }

    .menu-toggle:checked ~ .navbar {
        left: 0;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .menu-toggle:checked ~ .overlay {
        display: block;
    }

    .burger {
        display: flex;
        order: -1;
        margin-right: 20px;
        z-index: 1001;
    }

    .menu-toggle:checked ~ .burger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle:checked ~ .burger span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .burger span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .sticky-nav {
        justify-content: space-between;
        align-items: center;
    }

    .logo-container {
        flex: 1;
        text-align: center;
    }
}
