
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #171717;
  background: #fff;
  line-height: 1.6;
}

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

.announcement {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 11px;
  letter-spacing: 2px;
}

.header {
  min-height: 85px;
  padding: 15px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.3;
}

.logo span {
  display: block;
  font-size: 9px;
  text-align: center;
  letter-spacing: 4px;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
}

.navigation a:hover {
  color: #888;
}

.cart-link {
  border: 1px solid #111;
  padding: 9px 15px;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 27px;
  cursor: pointer;
}

.hero {
  min-height: 570px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.15)),
    url("https://images.unsplash.com/photo-1539109136881-3be0616acf4b?w=1600") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 8%;
  color: #fff;
}

.hero-content {
  max-width: 600px;
}

.hero-label,
.section-heading p {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: bold;
}

.hero h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.1;
  margin: 20px 0;
}

.hero-content > p:not(.hero-label) {
  max-width: 430px;
  margin-bottom: 30px;
  color: #eee;
}

.primary-button,
.secondary-button,
.light-button {
  display: inline-block;
  padding: 15px 25px;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: bold;
}

.primary-button {
  background: #fff;
  color: #111;
}

.primary-button:hover {
  background: #ddd;
}

.section {
  padding: 85px 7%;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading p {
  color: #888;
}

.section-heading h2 {
  font-size: 30px;
  margin-top: 8px;
  letter-spacing: 1px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.category-card {
  text-align: center;
}

.category-image {
  height: 350px;
  background-position: center;
  background-size: cover;
  margin-bottom: 18px;
  transition: .3s;
}

.category-card:hover .category-image {
  transform: scale(1.02);
}

.native-image {
    background-image: url("https://wp-media-dejiandkola.s3.eu-west-2.amazonaws.com/2023/10/391759679_18306401440137777_5629328981420045458_n.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.suit-image {
  background-image: url("https://images.unsplash.com/photo-1594938298603-c8148c4dae35?w=700");
}

.ceremonial-image {
  background-image: url("https://images.unsplash.com/photo-1591047139829-d91aecb6caea?w=700");
}

.category-card h3 {
  font-size: 19px;
}

.category-card span {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 2px;
}

.featured {
  background: #f7f7f7;
}

.empty-products {
  text-align: center;
  padding: 45px 20px;
  background: #fff;
}

.empty-products h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.empty-products p {
  color: #777;
  margin-bottom: 25px;
}

.secondary-button {
  background: #111;
  color: #fff;
}

.brand-section {
  background: #151515;
  color: #fff;
  padding: 85px 10%;
  text-align: center;
}

.brand-section h2 {
  font-size: 42px;
  line-height: 1.2;
  margin: 15px 0;
}

.brand-section p {
  max-width: 550px;
  margin: 0 auto 20px;
  color: #ccc;
}

.light-button {
  background: #fff;
  color: #111;
}

.contact-strip {
  text-align: center;
}

.contact-strip p {
  color: #888;
  font-size: 11px;
  letter-spacing: 2px;
}

.contact-strip h2 {
  margin: 10px 0 20px;
}

.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 50px 20px 20px;
}

.footer-brand h2 {
  letter-spacing: 3px;
}

.footer-brand p {
  font-size: 12px;
  color: #aaa;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 30px 0;
  font-size: 13px;
}

.copyright {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 11px;
  color: #888;
}

@media (max-width: 768px) {
  .header {
    min-height: 75px;
  }

  .menu-toggle {
    display: block;
  }

  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    box-shadow: 0 5px 12px #0001;
  }

  .navigation.active {
    display: flex;
  }

  .hero {
    min-height: 480px;
    padding: 50px 7%;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .category-image {
    height: 380px;
  }

  .section {
    padding: 65px 6%;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .brand-section h2 {
    font-size: 34px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

.logo img {
    width: 150px;
    height: 65px;
    object-fit: contain;
    display: block;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #000;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.logo span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo strong {
    font-size: 18px;
    letter-spacing: 1px;
}

.logo small {
    font-size: 10px;
    letter-spacing: 3px;
}
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    padding: 15px 25px;
    box-sizing: border-box;
}

.site-header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.site-header .menu-toggle {
    margin-left: auto;
    flex-shrink: 0;
}
/* Yoruba Fashion Category Images */

.category-image {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.native-image {
    background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/A_Yoruba_man_in_agbada.jpg");
}

.suit-image {
    background-image: url("https://images.unsplash.com/photo-1594938298603-c8148c4dae35?w=900");
}

.ceremonial-image {
    background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/A_Nigerian_Yoruba_woman_in_a_lace_Buba_blouse,_with_Ipele_and_the_gele_headtie_made_from_contemporary_Aso_Oke_and_A_man_in_Agbada.jpg");
}
.category-card img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 25%;
    margin: 0;
}

.category-card {
    overflow: hidden;
}

/* SHOP PAGE */

.shop-intro {
    text-align: center;
    padding: 65px 20px;
    background: #f5f5f5;
}

.shop-intro p {
    letter-spacing: 3px;
    font-size: 12px;
}

.shop-intro h1 {
    font-size: 36px;
    letter-spacing: 2px;
}

.shop-section {
    padding: 45px 6%;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.shop-toolbar select {
    padding: 12px;
    border: 1px solid #ccc;
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 700px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .shop-intro h1 {
        font-size: 27px;
    }
}
/* FIX FOOTER POSITION */
html, body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 25px 15px;
    background: #111;
    color: #fff;
    box-sizing: border-box;
    margin-top: auto;
}

/* ABOUT PAGE */
.about-hero {
    text-align: center;
    padding: 75px 20px;
    background: #f5f5f5;
}

.about-hero p:first-child,
.about-label {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
}

.about-hero h1 {
    font-size: 36px;
    letter-spacing: 2px;
}

.about-content {
    max-width: 900px;
    margin: auto;
    padding: 55px 20px;
}

.about-text {
    margin-bottom: 40px;
}

.about-text h2 {
    font-size: 25px;
    margin: 12px 0;
}

.about-text p {
    line-height: 1.8;
    color: #555;
}

.about-button {
    display: inline-block;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 12px;
    letter-spacing: 1px;
}

.about-button:hover {
    background: #444;
}

@media (max-width: 600px) {
    .about-hero h1 {
        font-size: 27px;
    }
}

/* CONTACT PAGE */
.contact-hero {
    text-align: center;
    padding: 65px 20px;
    background: #f5f5f5;
}

.contact-hero p {
    font-size: 12px;
    letter-spacing: 3px;
}

.contact-hero h1 {
    font-size: 36px;
    letter-spacing: 2px;
}

.contact-section {
    max-width: 1100px;
    margin: auto;
    padding: 55px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-info p {
    line-height: 1.7;
    color: #555;
}

.contact-item {
    margin-top: 30px;
}

.contact-item strong {
    display: block;
    margin-bottom: 8px;
}

.contact-item a {
    color: #111;
    text-decoration: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    padding: 15px;
    background: #111;
    color: white;
    border: none;
    cursor: pointer;
}

@media (max-width: 700px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-hero h1 {
        font-size: 28px;
    }
}
/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-weight: bold;
}

.whatsapp-float span {
    font-size: 25px;
}

.whatsapp-float small {
    font-size: 13px;
}

.whatsapp-float:hover {
    background: #128C7E;
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 18px;
        right: 15px;
    }
}

/* SHOPPING CART PAGE */
.cart-hero {
    text-align: center;
    padding: 55px 20px;
    background: #f5f5f5;
}

.cart-hero p {
    font-size: 12px;
    letter-spacing: 3px;
}

.cart-hero h1 {
    font-size: 34px;
    letter-spacing: 2px;
}

.cart-section {
    max-width: 1100px;
    margin: auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
}

.cart-items {
    min-height: 180px;
}

.continue-shopping {
    display: inline-block;
    margin-top: 20px;
    padding: 13px 20px;
    background: #111;
    color: white;
    text-decoration: none;
    font-size: 12px;
}

.cart-summary {
    border: 1px solid #ddd;
    padding: 25px;
    height: fit-content;
}

.cart-summary h2 {
    font-size: 18px;
    margin-bottom: 25px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.cart-summary p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 18px 0;
}

.cart-summary button {
    width: 100%;
    padding: 15px;
    background: #111;
    color: white;
    border: none;
    cursor: pointer;
}

.cart-summary button:disabled {
    background: #999;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .cart-section {
        grid-template-columns: 1fr;
    }

    .cart-hero h1 {
        font-size: 27px;
    }
}

/* CHECKOUT PAGE */
.checkout-hero {
    text-align: center;
    padding: 55px 20px;
    background: #f5f5f5;
}

.checkout-hero p {
    font-size: 12px;
    letter-spacing: 3px;
}

.checkout-hero h1 {
    font-size: 34px;
}

.checkout-section {
    max-width: 1100px;
    margin: auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-form h2 {
    margin: 25px 0 10px;
    font-size: 20px;
}

.checkout-form h2:first-child {
    margin-top: 0;
}

.checkout-form label {
    font-size: 14px;
    font-weight: 600;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font: inherit;
    background: white;
}

.checkout-form textarea {
    resize: vertical;
}

.place-order-button {
    margin-top: 20px;
    padding: 16px;
    background: #111;
    color: white;
    border: none;
    cursor: pointer;
}

.checkout-summary {
    border: 1px solid #ddd;
    padding: 25px;
    height: fit-content;
}

.checkout-summary h2 {
    font-size: 19px;
    margin-bottom: 20px;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 18px;
}

.checkout-summary p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
}

@media (max-width: 700px) {
    .checkout-section {
        grid-template-columns: 1fr;
    }

    .checkout-hero h1 {
        font-size: 28px;
    }
}

/* ORDER SUCCESS PAGE */
.success-page {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    background: #f8f8f8;
}

.success-card {
    width: 100%;
    max-width: 550px;
    padding: 45px 25px;
    background: white;
    text-align: center;
    box-sizing: border-box;
}

.success-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111;
    color: white;
    font-size: 35px;
}

.success-card > p:first-of-type {
    font-size: 11px;
    letter-spacing: 2px;
}

.success-card h1 {
    font-size: 28px;
    margin: 15px 0;
}

.success-card > p {
    color: #555;
    line-height: 1.7;
}

.order-reference {
    margin: 30px 0;
    padding: 18px;
    background: #f5f5f5;
}

.order-reference span,
.order-reference strong {
    display: block;
    margin: 7px;
}

.order-reference span {
    font-size: 11px;
    letter-spacing: 1px;
}

.success-button,
.home-button {
    display: block;
    margin: 12px auto;
    max-width: 250px;
    padding: 15px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
}

.success-button {
    background: #111;
    color: white;
}

.home-button {
    border: 1px solid #111;
    color: #111;
}

@media (max-width: 600px) {
    .success-card h1 {
        font-size: 23px;
    }
}


/* PRINTABLE RECEIPT */
.receipt {
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
    padding: 25px;
    margin: 25px auto;
    text-align: left;
    font-size: 13px;
    line-height: 1.7;
}

.receipt-header {
    width: 100%;
    text-align: center;
}

.receipt-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.receipt-header h2 {
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.receipt-header p {
    margin: 4px 0;
    text-align: center;
}

.receipt h3 {
    font-size: 15px;
    margin: 15px 0 8px;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 16px;
}

.receipt-thanks {
    text-align: center;
    font-weight: bold;
    margin-top: 25px;
}

.receipt-email {
    display: block;
    width: 100%;
    text-align: center !important;
    margin: 12px auto 0;
}

.print-receipt-button {
    width: 100%;
    padding: 15px;
    background: #111;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

@media print {
    body {
        display: block;
        background: white;
    }

    .site-header,
    .footer,
    .success-icon,
    .success-card > p,
    .success-card > h1,
    .success-card > .order-reference,
    .success-button,
    .home-button,
    .print-receipt-button {
        display: none !important;
    }

    .success-page {
        display: block;
        padding: 0;
        background: white;
    }

    .success-card {
        max-width: 100%;
        padding: 0;
    }

    .receipt {
        max-width: 100%;
        border: none;
        margin: 0;
        padding: 15px;
    }

    .receipt-logo {
        display: block !important;
        margin: 0 auto 12px !important;
    }
}

/* FINAL RECEIPT ALIGNMENT FIX */

.success-card .receipt {
    width: 100%;
    max-width: 600px;
    margin: 25px auto;
    box-sizing: border-box;
    text-align: left !important;
}

.success-card .receipt p {
    text-align: left !important;
}

.success-card .receipt-header,
.success-card .receipt-header p,
.success-card .receipt-thanks,
.success-card .receipt-email {
    text-align: center !important;
}

.success-card .receipt-logo {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.success-card .receipt-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* FIX SUCCESS PAGE LAYOUT */
.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.success-card {
    width: 100%;
    max-width: 550px;
    flex-shrink: 0;
    margin: 0 auto;
}

.print-receipt-button {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 15px auto;
}
.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 600px) {
    .product-card img {
        height: 170px;
    }
}


/* ADMIN LOGIN PAGE */

.admin-login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #f5f5f5;
    box-sizing: border-box;
}

.admin-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 35px 25px;
    box-sizing: border-box;
    border: 1px solid #e5e5e5;
    text-align: center;
}

.admin-login-card h1 {
    font-size: 23px;
    letter-spacing: 3px;
    margin-bottom: 5px;
    color: #111;
}

.admin-login-card > p:first-of-type {
    font-size: 11px;
    letter-spacing: 3px;
    color: #777;
    margin-bottom: 30px;
}

.admin-login-card h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.admin-login-card form {
    text-align: left;
    margin-top: 25px;
}

.admin-login-card label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin: 15px 0 7px;
}

.admin-login-card input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
}

.admin-login-card input:focus {
    border-color: #111;
}

.admin-login-card button {
    width: 100%;
    padding: 15px;
    margin-top: 22px;
    background: #111;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.admin-login-card button:hover {
    background: #333;
}

.admin-login-card a {
    display: inline-block;
    margin-top: 25px;
    color: #111;
    text-decoration: none;
    font-size: 13px;
}

#loginMessage {
    margin-top: 15px;
    font-size: 13px;
}

/* ADMIN DASHBOARD */

.admin-header {
    background: #111;
    color: #fff;
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h2 {
    letter-spacing: 2px;
    font-size: 20px;
}

.admin-header p {
    font-size: 11px;
    letter-spacing: 2px;
}

.admin-header button {
    background: #fff;
    color: #111;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
}

.admin-dashboard {
    padding: 35px 6%;
    max-width: 1200px;
    margin: auto;
}

.admin-welcome {
    margin-bottom: 30px;
}

.admin-stats,
.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 25px 0;
}

.admin-stat-card,
.admin-section {
    border: 1px solid #ddd;
    padding: 22px;
    background: #fff;
}

.admin-stat-card strong {
    font-size: 30px;
}

.admin-actions {
    margin: 35px 0;
}

.admin-action-grid a {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 18px 10px;
    text-decoration: none;
    font-size: 13px;
}

.admin-section {
    margin: 25px 0;
    scroll-margin-top: 20px;
}

@media (max-width: 600px) {
    .admin-stats,
    .admin-action-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        padding: 18px 5%;
    }

    .admin-dashboard {
        padding: 25px 5%;
    }
}

/* ADMIN PRODUCT FORM */

.product-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.product-form label {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
}

.product-form input:not([type="checkbox"]),
.product-form textarea,
.product-form select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    background: #fff;
    box-sizing: border-box;
    font-size: 14px;
}

.product-form textarea {
    min-height: 110px;
    resize: vertical;
}

.product-form input[type="file"] {
    padding: 12px;
}

.product-form .active-product-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-form button {
    padding: 15px;
    margin-top: 15px;
    background: #111;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

#productMessage {
    font-size: 14px;
    margin-top: 10px;
}

/* ADMIN PRODUCT MANAGEMENT */

.admin-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.admin-product-item img {
    width: 85px;
    height: 95px;
    object-fit: cover;
    flex-shrink: 0;
}

.admin-product-info {
    flex: 1;
    min-width: 0;
}

.admin-product-info h3 {
    font-size: 15px;
    margin: 0 0 6px;
}

.admin-product-info p {
    font-weight: bold;
    margin: 5px 0;
}

.admin-product-info small {
    color: #666;
}

.delete-product-button {
    background: #111;
    color: white;
    border: none;
    padding: 11px 14px;
    cursor: pointer;
    font-size: 11px;
}

@media (max-width: 500px) {
    .admin-product-item {
        gap: 9px;
    }

    .admin-product-item img {
        width: 65px;
        height: 75px;
    }

    .admin-product-info h3 {
        font-size: 12px;
    }

    .delete-product-button {
        padding: 9px;
    }
}
.edit-product-button {
    background: #fff;
    color: #111;
    border: 1px solid #111;
    padding: 11px 14px;
    cursor: pointer;
    font-size: 11px;
}

#editProductBox {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #ccc;
}

@media (max-width: 500px) {
    .edit-product-button {
        padding: 9px;
    }
}
/* ADMIN ORDER CARDS */
.admin-order-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
}

.admin-order-card h3 {
    font-size: 15px;
    margin-bottom: 15px;
    overflow-wrap: anywhere;
}

.admin-order-card p {
    font-size: 14px;
    margin: 8px 0;
    overflow-wrap: anywhere;
}

.admin-order-card ul {
    padding-left: 22px;
    margin: 10px 0;
}

.admin-order-card li {
    font-size: 14px;
    margin-bottom: 6px;
}

@media (max-width: 600px) {
    .admin-order-card {
        padding: 15px;
    }
}
/* SHOPPING CART */
.cart-section {
    padding: 45px 6%;
    max-width: 1100px;
    margin: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.cart-item img {
    width: 110px;
    height: 120px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 12px 0;
}

.cart-quantity button {
    width: 32px;
    height: 32px;
    background: #111;
    color: white;
    border: none;
    cursor: pointer;
}

.remove-cart-item {
    background: none;
    border: none;
    color: #b00020;
    cursor: pointer;
    font-size: 12px;
}

.cart-summary {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
}

.cart-summary button {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background: #111;
    color: white;
    border: none;
    cursor: pointer;
}

.cart-summary button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .cart-item {
        gap: 12px;
        flex-wrap: wrap;
    }

    .cart-item img {
        width: 85px;
        height: 100px;
    }

    .cart-item > strong {
        margin-left: auto;
    }
}
/* ADD TO CART BUTTON */
.add-to-cart-button {
    display: block;
    width: 100%;
    padding: 13px 15px;
    margin-top: 15px;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-button:hover {
    background: #fff;
    color: #111;
}

.add-to-cart-button:active {
    transform: scale(0.98);
}

.add-to-cart-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* FIX MOBILE NAVIGATION */
@media screen and (max-width: 768px) {

    .site-header {
        position: relative;
    }

    .menu-toggle {
        display: block !important;
        cursor: pointer;
        position: relative;
        z-index: 1002;
    }

    .navigation {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-sizing: border-box;
        z-index: 1001;
    }

    .navigation.active {
        display: flex !important;
    }

    .navigation a {
        display: block;
        width: 100%;
        padding: 12px 0;
        color: #111;
        text-decoration: none;
    }
}
/* REDUCE MOBILE MENU SPACING */
@media screen and (max-width: 768px) {
    .navigation {
        padding: 10px 20px;
        gap: 0;
    }

    .navigation a {
        padding: 7px 0;
        margin: 0;
        line-height: 1.3;
    }
}
/* MOBILE NAVIGATION TEXT AND ALIGNMENT */
@media screen and (max-width: 768px) {

    .navigation {
        align-items: stretch;
        padding: 10px 20px;
    }

    .navigation a {
        font-weight: 600;
        font-size: 14px;
        text-align: left;
        padding: 9px 0;
        width: 100%;
        display: block;
        box-sizing: border-box;
    }

    .navigation .cart-link {
        text-align: left;
        margin: 0;
        padding: 9px 0;
        align-self: stretch;
    }
}
.jalabiya-image {
    background-image: url("https://images.pexels.com/photos/38188493/pexels-photo-38188493.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.category-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 700px) {
    .category-card img {
        height: 220px;
    }
}
/* MOBILE COLLECTION LAYOUT */
@media (max-width: 700px) {
    .category-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .category-card {
        width: 100%;
        text-align: center;
        min-width: 0;
    }

    .category-card img {
        width: 100%;
        height: 170px !important;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .category-card h3 {
        font-size: 14px;
    }

    .category-card p {
        font-size: 12px;
    }

    .category-card span {
        font-size: 11px;
    }
}
/* BEST SELLER SECTION */

.featured {
    padding: 50px 6%;
}

.best-seller-badge {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.featured-shop-link {
    text-align: center;
    margin-top: 35px;
}

#featuredProducts {
    min-height: 100px;
}
#featuredProducts {
    text-align: center;
    justify-content: center;
    align-items: center;
}
#featuredProducts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    justify-content: center;
    gap: 25px;
}

#featuredProducts .product-card {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}
#featuredProducts .product-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
}
/* CUSTOMER MESSAGES */

.messages-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-top: 25px;
}

.conversation-list,
.conversation-view {
    border: 1px solid #ddd;
    padding: 18px;
    background: #fff;
    min-width: 0;
}

#conversationList {
    margin-top: 15px;
}

#messageHistory {
    min-height: 200px;
    padding: 15px 0;
}

#adminReplyForm textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#adminReplyForm button {
    background: #111;
    color: #fff;
    border: none;
    padding: 13px 20px;
    margin-top: 10px;
    cursor: pointer;
}

@media (max-width: 700px) {
    .messages-layout {
        grid-template-columns: 1fr;
    }
}
#customerConversation {
    margin: 25px 0;
}

.customer-message {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    background: #f7f7f7;
}

.customer-message.admin-message {
    background: #eee;
}

#customerReplyForm textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ccc;
}

#customerReplyForm button {
    background: #111;
    color: #fff;
    border: none;
    padding: 14px 22px;
    margin-top: 12px;
}

@media print {
    body {
        background: white !important;
        color: black !important;
    }

    .site-header,
    .footer,
    .print-receipt-button,
    .success-button,
    .home-button,
    .success-icon {
        display: none !important;
    }

    .success-page,
    .success-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        box-shadow: none !important;
        border: none !important;
        background: white !important;
        color: black !important;
    }

    .receipt-header,
    .receipt-total {
        color: black !important;
    }

    .receipt-logo {
        max-width: 100px;
    }
}
/* ORDER TRACKING SECTION */

.order-tracking {
    background: #f7f7f7;
    padding: 60px 20px;
    text-align: center;
}

.track-order-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 12px;
}

.track-order-form label {
    font-size: 14px;
    font-weight: 600;
}

.track-order-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    background: #fff;
    color: #111;
    font-size: 15px;
    border-radius: 3px;
    box-sizing: border-box;
}

.track-order-form button {
    padding: 15px;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
}

.track-order-form button:hover {
    background: #444;
}

.track-order-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#trackingResult {
    max-width: 500px;
    margin: 25px auto 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #ddd;
    text-align: left;
    overflow-wrap: anywhere;
}

#trackingResult:empty {
    display: none;
}

#trackingResult h3 {
    margin-top: 0;
    color: #111;
  }
