body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background: #fff;
    color: #000;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-buttonss{
    display: none;
}

/* Left logo */
.logo img {
    background-color: #000;
    width: 150px; 
    border-radius: 10px;
    padding: 15px;
}

/* Center section absolutely centered */
.center-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.center-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: bolder;
}

.center-links a:hover {
    color: #007bff;
}

/* Right section stays on the right */
.right-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-link {
    background-color: #007bff;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.login-link:hover {
    background-color: #0056b3;
}

.rtp-link {
     background-color: #007bff;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.rtp-link:hover {
    background-color: #0056b3;
}


/*main*/

.main-columns {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 20px;
}

.left-column {
    flex: 2;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.product-images {
    flex: 1;
    max-width: 50%;
}

.product-info {
    flex: 1;
    max-width: 50%;
}

.right-column {
    flex: 1;
    border-left: 1px solid #ddd;
    padding-left: 20px;
}


/* PRODUCT IMAGES */
.product-images img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-images img:hover {
    transform: scale(1.02);
}

/* THUMBNAILS */
.thumbnail-row {
    display: flex;
    gap: 12px;
}

.thumbnail-row img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    cursor: pointer;
}

.thumbnail-row img:hover {
    border-color: #007bff;
}

/* PRODUCT INFO */
.product-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.rating {
    margin: 8px 0;
    font-size: 14px;
    color: #777;
}

/* PRICE */
.price {
    color: #e85d04;
    font-size: 24px;
    font-weight: 600;
    margin: 8px 0;
}

/* COLOR & SIZE OPTIONS */
.options {
    margin-top: 16px;
}

.options label {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #444;
}

.options button {
    margin: 4px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.options button:hover {
    background-color: #e0f0ff;
    border-color: #007bff;
    color: #007bff;
}

.options button.selected {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* DESCRIPTION & SHIPPING */
.description,
.shipping {
    margin-top: 24px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.shipping i {
    margin-right: 6px;
    color: #007bff;
}

/* BREADCRUMBS */
.breadcrumb {
    font-size: 13px;
    margin-bottom: 16px;
    color: #777;
    font-weight: 400;
    letter-spacing: 0.3px;
}


.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb span {
    color: #222;
    font-weight: 600;
}

.order-details {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', sans-serif;
    max-width: 400px;
    margin: auto;
}

.order-details h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #333;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.qty-controls button {
    padding: 6px 12px;
    font-size: 18px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.qty-controls button:hover {
    background-color: #e0e0e0;
}

textarea {
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    font-size: 16px;
    line-height: 1.4;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fffdf5;
    font-family: 'Patrick Hand', cursive; /* Handwritten font */
    resize: vertical;
}

/* Add Google Fonts for handwriting */
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

.apply-coupon {
    margin-top: 12px;
    padding: 10px;
    background: #fff3cd;
    border: 1px solid #ffecb5;
    color: #856404;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.apply-coupon:hover {
    background: #ffeb9c;
}

.subtotal {
    font-size: 18px;
    font-weight: bold;
    margin-top: 14px;
    color: #2d2d2d;
}

.buy-btn,
.add-cart-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-top: 12px;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-btn {
    background-color: #28a745;
    color: white;
}

.buy-btn:hover {
    background-color: #218838;
}

.add-cart-btn {
    background-color: white;
    border: 2px solid #28a745;
    color: #28a745;
}

.add-cart-btn:hover {
    background-color: #eafaf1;
}

.site-footer {
  background: #0f1c2e;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 👈 centers the items */
  gap: 60px;
  margin-bottom: 20px;
}

.footer-section {
  flex: 1 1 220px;
  max-width: 300px;
  min-width: 220px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #f5f5f5;
}

.footer-list {

  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #ccc;
}

.social-links a {
  font-size: 20px;
  color: #ccc;
  margin-right: 14px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #00c4ff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #aaa;
}

.announcement-bar {
  background: #007bff;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  padding: 10px 0;
  position: relative;
  z-index: 999;
}

.marquee {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 120s linear infinite;
}

.marquee span {
  display: inline-block;
  padding-right: 100%;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}


@media (max-width: 768px) {
  /* Hide center and right links in header */
  .center-links,
  .right-links {
    display: none;
  }

  /* Move login and daftar buttons under product image */
  .product-images::after {
    content: '';
    display: block;
    height: 16px;
  }

  .right-column,
  .order-details {
    display: none;
  }

  .main-columns {
    flex-direction: column;
  }

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

  .product-images,
  .product-info {
    max-width: 100%;
  }

  .center-links {
    display: none !important;
  }
   .footer-top {
    display: flex;
    text-align: center;
  }


   /* Show mobile buttons */
  .mobile-buttonss {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }

  .mobile-buttonss .buy-btn,
  .mobile-buttonss .add-cart-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
  }
  
  .buy-btn,
  .add-cart-btn {
    display: block;
    margin-top: 12px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
}
