/* ================== GLOBAL ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

section {
    padding: 60px 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: bold;
}

.btn {
    background: #3C486B;
    color: white;
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}
.btn:hover {
    background: #1f2640;
}


/* ================== HERO (Z-SHAPE) ================== */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding-top: 40px;
}

.hero-content {
    flex: 1;
}
.hero-content h1 {
    font-size: 40px;
    margin-bottom: 15px;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-image {
    flex: 1;
}
.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}


/* ================== CARD GRID ================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-body {
    padding: 15px;
}


/* ================== PROMO ================== */
.promo-card {
    display: flex;
    gap: 25px;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.promo-card img {
    width: 40%;
    border-radius: 12px;
    object-fit: cover;
}

.promo-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ================== TESTIMONI ================== */
.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimoni-card {
    padding: 20px;
    background: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.testimoni-card span {
    font-size: 14px;
    margin-top: 10px;
    display: block;
}


/* ================== RESPONSIVE ================== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .promo-card {
        flex-direction: column;
    }

    .promo-card img {
        width: 100%;
    }

    .card-grid,
    .testimoni-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 40px 20px;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

section {
    padding: 40px 60px;
}

.btn {
    background: #3C486B;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Header */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-bar {
    display: flex;
    gap: 8px;
}
.search-bar input {
    padding: 10px;
    width: 260px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Product Grid */
.product-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding-bottom: 15px;
    overflow: hidden;
    text-decoration: none;
    color: black;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    transition: .2s;
}
.product-card:hover {
    transform: translateY(-4px);
}
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-body {
    padding: 15px;
}
.price {
    color: #1f2640;
    font-weight: bold;
}

@media(max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

section {
    padding: 40px 60px;
}

.detail-container {
    display: flex;
    gap: 40px;
}

.image-box {
    flex: 1;
}
.image-box img {
    width: 100%;
    border-radius: 12px;
}

.info-box {
    flex: 1;
}

.info-box h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.price {
    color: #1f2640;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.short-desc {
    margin-bottom: 25px;
}

.buy-btn {
    margin-top: 20px;
}

input[type="number"] {
    padding: 8px;
    width: 80px;
    margin-left: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

@media(max-width: 900px) {
    .detail-container {
        flex-direction: column;
    }
}


body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    padding: 20px;
}

.cart-container {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
}

.cart-title {
    text-align: center;
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: #555;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    gap: 15px;
}

.cart-img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-details {
    flex: 1;
}

.cart-details h3 {
    margin: 0;
    font-size: 18px;
}

.price {
    color: #333;
    margin-top: 5px;
    font-weight: bold;
}

.qty-box input {
    width: 60px;
    padding: 4px;
}

.qty-box button {
    padding: 4px 8px;
    margin-left: 5px;
    background: #3C7FF5;
    color: white;
    border: none;
    border-radius: 5px;
}

.delete-btn {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.cart-summary {
    margin-top: 30px;
    background: #fafafa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.total-price {
    font-size: 22px;
    margin-bottom: 15px;
}

.checkout-btn {
    display: inline-block;
    background: #28a745;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
}


body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

.two-column {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.left-panel, .right-panel {
    flex: 1;
}

.product-box, .form-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.product-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
}

.desc-title {
    margin-top: 20px;
    font-weight: bold;
}

.desc-text {
    color: #555;
}

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

form input, form textarea, form select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    background: #2e86de;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}
.btn-submit:hover {
    background: #1f6fbe;
}


body {
    margin: 0;
    padding: 0;
    background: #f3f4f6;
    font-family: Arial, sans-serif;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.featured-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.about-text {
    padding: 30px;
}

.about-text h1 {
    margin-top: 0;
    font-size: 32px;
    color: #2c3e50;
}

.about-text p {
    line-height: 1.7;
    font-size: 16px;
    color: #555;
    margin-bottom: 18px;
}


body {
    margin: 0;
    padding: 0;
    background: #f3f4f6;
    font-family: Arial, sans-serif;
}

/* Center wrapper */
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Centered card-like form */
.center-form {
    width: 420px;
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.form-title {
    margin: 0 0 20px;
    text-align: center;
    font-size: 26px;
    color: #2c3e50;
    font-weight: bold;
}

.form-message {
    background: #dff3df;
    color: #1f7a1f;
    border: 1px solid #c2e5c2;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: #3c486b;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.submit-btn:hover {
    background: #2d3653;
}


body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f3f4f6;
}

/* Section wrapper */
.promo-section {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Title */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #2c3e50;
}

/* Grid layout */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

/* Promo Cards */
.promo-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.promo-title {
    font-size: 22px;
    margin: 0 0 10px;
    color: #3c486b;
}

.promo-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.promo-info p {
    margin: 6px 0;
    font-size: 14px;
}

.promo-btn {
    margin-top: 14px;
    display: inline-block;
    text-align: center;
    width: 100%;
    background: #3c486b;
    padding: 12px;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.promo-btn:hover {
    background: #2b354e;
}

/* Text states */
.error-text {
    color: red;
    text-align: center;
}

.empty-text {
    color: #888;
    text-align: center;
    font-size: 15px;
}


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

body {
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  color: #333;
}

/* ----------------------------------------------------
   HEADER
----------------------------------------------------- */
.main-header {
  width: 100%;
  background: #3c486b;
  padding: 12px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.logo {
  font-size: 26px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 26px;
}

.nav-menu ul li a {
  color: #e9efff;
  text-decoration: none;
  font-size: 15px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: 0.25s;
}

.nav-menu ul li a:hover {
  border-color: #fff;
}

.logout-btn {
  background: #f05454;
  padding: 6px 14px;
  border-radius: 6px;
}

.logout-btn:hover {
  background: #d94242;
}

/* ----------------------------------------------------
   FOOTER
----------------------------------------------------- */
.main-footer {
  background: #2b2d42;
  color: #eee;
  padding: 40px 5%;
  margin-top: 40px;
}

.footer-left {
  max-width: 330px;
}

.footer-logo {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #edf2f4;
}

.footer-right {
  display: flex;
  margin-top: 30px;
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 12px;
  font-size: 17px;
  color: #e2e2e2;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #d6d6d6;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}

/* ----------------------------------------------------
   RESPONSIVE
----------------------------------------------------- */
@media (max-width: 768px) {
  .nav-menu ul {
    gap: 15px;
    font-size: 14px;
  }

  .footer-right {
    flex-direction: column;
    gap: 20px;
  }
}
