button:active,
#proceed-btn:active,
.add-to-cart:active,
.back-button:active,
.cartTab button:active,
.slider-buttons button:active {
    transform: scale(0.97); /* Slight shrink to indicate press */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Softer shadow */
    filter: brightness(0.95); /* Slight darken */
}




body {
    margin: 0;
    font-family: Poppins, sans-serif;
    background-color: #cbf3f0; /* Soft background for consistency */
}
.address-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.address-info h2 {
    color: #2B4F49;
    margin-bottom: 10px;
}

.address-info input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#proceed-btn {
    background-color: #396A62;  /* Match header and primary color */
    color: #c8ab2d;             /* Gold text color */
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    padding: 15px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(57, 106, 98, 0.4);
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

#proceed-btn:disabled {
    background-color: #2B4F49;
    color: #7a7a7a;
    cursor: not-allowed;
    box-shadow: none;
}

#proceed-btn:hover:not(:disabled) {
    background-color: #F8BDC4;  /* Soft pink hover */
    color: #396A62;             /* Green text on hover */
    box-shadow: 0 6px 12px rgba(248, 189, 196, 0.6);
}



#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 50px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #396A62; /* Green background to match header */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 9px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 20px; /* Increase font size */
    transition: background-color 0.3s ease;
}

#myBtn:hover {
    background-color: #F8BDC4; /* Soft pink on hover */
}

.container {
    width: 900px;
    margin: auto;
    max-width: 90vw;
    text-align: center;
    padding-top: 10px;
    transition: transform 0.5s;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 20px 20px;
    background-color: #396A62; /* Header green background */
    font-family: Imprint MT Shadow, sans-serif;
    color: #c8ab2d; /* Gold text */
    font-size: 30px;
}

.title img {
    max-width: 100px; /* Ensure logo fits well */
}

.icon-cart {
    position: relative;
    cursor: pointer;
    padding-right:40px;
}

.icon-cart span {
    position: absolute;
    background-color: red;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    top: 50%;
    right: 20px;
    font-size: 20px;
}

.listProduct {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.listProduct .product {
    background-color: #353432;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.listProduct .product img {
    width: 100%;
    filter: drop-shadow(0 30px 20px #def6ca);
}

.listProduct .product h3 {
    font-size: large;
    font-weight: 500;
    margin: 10px 0;
}

.listProduct .product p {
    font-size: medium;
}

.listProduct .product button {
    background-color: #2B4F49; /* Match the theme */
    color: #c8ab2d; /* Gold color for buttons */
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 20px;
    cursor: pointer;
}

footer {
    background-color: #2b4f49;
    color: #c8ab2d;
    font-size: 18px;
    text-align: center;
  }

  .footer-center {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
  }

  .footer-links a {
    margin: 0 8px;
    white-space: nowrap;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
  }

  .social-icons img {
    width: 30px;
  }

  .worldpay-logo,
  .payment-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
  }

  .worldpay-logo img,
  .payment-logos img {
    height: 50px;
  }

  @media (max-width: 768px) {
    .accordion {
      display: block;
    }

    .panel a {
      display: block;
      padding: 2px;
      text-decoration: none;
      color: #c8ab2d;
    }

    .full-footer-links {
      display: none;
    }

    .footer-links {
      flex-direction: column;
      align-items: center;
    }

    .footer-links a {
      margin: 5px 0;
    }

    .social-icons,
    .payment-logos {
      flex-wrap: wrap;
      gap: 10px;
    }
  }

.cartTab {
    width: 400px;
    background-color: #353432;
    color: white;
    position: fixed;
    top: 0;
    right: -400px;
    bottom: 90px;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    transition: .5s;
}

body.showCart .cartTab {
    right: 0;
}

body.showCart .container {
    transform: translateX(-250px);
}

.cartTab h1 {
    padding: 20px;
    margin: 0;
    font-weight: 300;
    text-align: center;
}

.cartTab .btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.cartTab button {
    background-color: #c8ab2d;
    color: #396A62;
    border: none;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
}

.cartTab .remove-from-cart{
    padding:5px;
}

.cartTab .close {
    background-color: #396A62;
    color: #c8ab2d;
}

.listCart {
    overflow-y: auto;
    padding: 10px;
}

.listCart .item {
    display: grid;
    grid-template-columns: 70px 150px 50px 1fr;
    gap: 10px;
    text-align: center;
    align-items: center;
    background-color: rgba(238, 238, 238, 0.041);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
}

.listCart .item img {
    width: 100%;
    border-radius: 5px;
}

.listCart .item p {
    margin: 0;
}

.listCart .item button {
    background-color: #c8ab2d;
    color: #396A62;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
}

.checkout-container {
    width: 90%;
    max-width: 900px;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Poppins, sans-serif;
    color: #333;
}

.checkout-container h1 {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    color: #396A62; /* Using the theme color */
    margin-bottom: 20px;
}

.checkout-container .checkout-items,
.checkout-container .order-summary {
    margin-bottom: 30px;
}

.checkout-container .checkout-items h2,
.checkout-container .order-summary h2 {
    font-size: 1.5em;
    color: #396A62;
    margin-bottom: 10px;
}

.checkout-container .total-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #396A62;
    margin-top: 15px;
}

.checkout-container .checkout-btn {
    background-color: #396A62;
    color: #fff;
    font-size: 1.2em;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-container .checkout-btn:hover {
    background-color: #F8BDC4;
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .checkout-container {
        width: 100%;
        padding: 10px;
    }

    .checkout-container h1 {
        font-size: 1.8em;
    }

    .checkout-container .checkout-btn {
        width: 100%;
        padding: 12px;
    }
}

.back-button{
    background-color: #2B4F49;
    color: #c8ab2d;
    border: none;
    padding: 5px 10px;
    margin: 10px;
    border-radius: 20px;
    cursor: pointer;
    padding:20px;
    font-size:25px;

}

.back-button-container {
    margin: 20px;
    text-align: left;
}

.back-button {
    padding: 10px 20px;
    font-weight: bold;
    background-color: #2B4F49;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.back-button:hover {
    background-color: #396A62;
}


.add-to-cart{
    background-color: #2B4F49;
    color: #c8ab2d;
    border: none;
    padding: 5px 10px;
    margin: 10px;
    border-radius: 20px;
    cursor: pointer;
    padding:15px;
    font-size:25px;
}
.add-to-cart:hover {
    background-color: #F8BDC4;  /* Soft pink hover */
    color: #396A62;             /* Green text on hover */
    box-shadow: 0 6px 12px rgba(248, 189, 196, 0.6);
}

.product-colors{
    background-color: #2B4F49;
    color: #c8ab2d;
    border: none;
    margin: 10px;
    border-radius: 5px;
    padding:10px;
    font-size:25px;
    width:100%;
    max-width:240px;
    justify-content:center;
}
.product-colors h3{
    font-size:20px;
    font-weight:bold;
}


.product-colors h2{
    font-size:25px;
    font-weight:bold;
    padding-left:30px;
}



/* Size Selector */
#size-selector {
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    border: 2px solid #2B4F49;
    background-color: #f9f9f9;
    color: #2B4F49;
    margin-bottom: 15px;
    width: 100%;
    max-width: 250px;
    font-family: Poppins, sans-serif;
}

/* Quantity Selector */
#quantity-selector {
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    border: 2px solid #2B4F49;
    background-color: #f9f9f9;
    color: #2B4F49;
    margin-bottom: 15px;
    width: 100%;
    max-width: 120px;
    font-family: Poppins, sans-serif;
}

/* Available Quantity Display */
#available-quantity {
    font-size: 16px;
    color: #396A62;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
}





.product-size{
    background-color: #2B4F49;
    color: #c8ab2d;
    border: none;
    margin: 10px;
    border-radius: 5px;
    padding:15px;

    font-size:25px;
    width:100px;
    justify-content:center;
}
.product-size h3{
    font-size:20px;
    font-weight:bold;
    
}

/* Updated Description Box */
.product-desc {
    background-color: #f9f9f9;
    color: #353432;
    border-radius: 10px;
    padding: 25px 30px;
    max-width: 800px;
    margin: 40px auto 30px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Poppins, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}

/* Symbols Section Container */
.symbols-section {
    display: flex;
    flex-direction: row; /* changed from column to row */
    flex-wrap: wrap; /* allows wrapping if needed */
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 1000px; /* increased width for row layout */
}

/* Each symbol item */
.symbol-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    min-width: 220px;
    justify-content: flex-start;
}

/* Icon styling */
.symbol-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Text styling */
.symbol-item p {
    font-size: 16px;
    color: #333;
    margin: 0;
    text-align: left;
}

/* Responsive: Stack vertically on smaller screens */
@media (max-width: 600px) {
    .symbols-section {
        flex-direction: column;
    }

    .symbol-item {
        justify-content: center;
    }
}

.product-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 20px;
    
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.slider-images {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.slider-images img {
    width: 100%;
    flex-shrink: 0;
}

.slider-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.slider-buttons button {
    padding: 8px 16px;
    background-color: #396A62;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .slider img {
        width: 100%;
        height: auto;
    }
}



.product-info {
    flex: 1 1 400px;
    max-width: 450px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    color: #333;
    padding-left:50px;
}
.product-info p{
    font-size:35px;
}
.product-info p,
.product-info h3,
.product-info select,
.product-info button {
    margin-bottom: 20px;
}


/* Responsive layout for mobile */
@media (max-width: 768px) {
    .product-wrapper {
        flex-direction: column;
        align-items: center;
    }

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

    .slider-container {
        width: 100%;
        max-width: 100%;
    }
}

.symbols{
    display:flex;
    flex-wrap:wrap;
}

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

.modal-content {
    background: white;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#color-selector {
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    border: 2px solid #2B4F49;
    background-color: #f9f9f9;
    color: #2B4F49;
    margin-bottom: 15px;
    width: 100%;
    max-width: 250px;
    font-family: Poppins, sans-serif;
}

#add-to-cart-btn {
    background-color: #396A62;
    color: #c8ab2d;
    padding: 12px 25px;
    font-size: 18px;
    font-family: 'Imprint MT Shadow', serif;
    border: 2px solid #c8ab2d;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#add-to-cart-btn:hover {
    background-color: #2B4F49;
    color: #fff;
    border-color: #fff;
}

#add-to-cart-btn:active {
    transform: translateY(2px); /* Slight downward movement */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Smaller shadow to mimic press */
}

.you-may-also-like {
    padding: 40px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.you-may-also-like h2 {
    margin-bottom: 20px;
    color: #396A62;
    font-family: Imprint MT Shadow;
    font-size: 32px;
}

.recommendations-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    width: 200px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card p {
    margin-top: 10px;
    color: #333;
}

.product-card .price {
    color: #396A62;
    font-weight: bold;
}



.thumbnail-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}


.thumbnail-viewport {
    overflow: hidden;
    width: calc(60px * 4 + 5px * 3); /* 4 thumbnails + 3 gaps */
}

.thumbnail-container {
    display: flex;
    gap: 5px;
    transition: transform 0.3s ease;
}

.thumbnail {
    width: 60px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
    flex-shrink: 0;
}

.thumbnail.active {
    border: 2px solid #c8ab2d;
}

.thumbnail-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
}
.thumbnail:hover {
  border-color: #c8ab2d;
  transform: scale(1.05);
  transition: border 0.2s, transform 0.2s;
}



/* Size Guide Modal Styles */
.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 200%;
  max-width: 1024px;
  position: relative;
  text-align: center;
  border-radius: 8px;
}

.modal-content img {
  max-width: 200%;
  height: auto;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.slider img { max-height: 450px; max-width: 400px; }
    .slider { padding:10px; }

    /* Basic styles for the footer */
    footer { background-color: #2B4F49; padding: 20px; text-align: center; }
    footer h5, footer h4 { margin: 10px 0; }
    footer a { text-decoration: none; color: #c8ab2d; }

    /* Accordion styles */
    .accordion { background-color: #396A62; color: white; cursor: pointer; padding: 14px; width: 100%; text-align: left; border: none; outline: none; font-size: 15px; }
    .accordion.active, .accordion:hover { background-color: #555; }
    .panel { padding: 0 18px; display: none; background-color: #2B4F49; overflow: hidden; }

    /* Mobile */
    @media (max-width: 768px) {
        .accordion { display: block; }
        .panel a { display: block; padding: 2px; text-decoration: none; color: #c8ab2d; }
        .full-footer-links { display: none; }
    }

    /* Desktop */
    @media (min-width: 769px) {
        footer { display: flex; padding-left:60px; justify-content: space-between; flex-wrap: wrap; padding: 20px 50px; }
        footer h5, footer h4 { display: inline-block; margin: 0 20px; text-align: left; }
        .accordion { display: none; }
        .full-footer-links { display: block; }
        .panel { display: block; }
    }

    .nav { width: 100%; background-color: #396A62; z-index: 1000; }
    .nav.fixed { position: fixed; top: 0; left: 0; }
    .nav ul { display: flex; justify-content: center; list-style: none; padding: 20px 0; margin: 0; font-family: Imprint MT Shadow; color: #c8ab2d; font-size: 30px; }
    .nav ul li { margin: 0 15px; }
    .nav ul li a { color: #c8ab2d; text-decoration: none; }
    .nav ul li a:hover { color: white; text-decoration: underline; }
    .container { max-width: 100%; margin: auto; text-align: center; padding-top: 10px; transition: transform 0.5s; }
    body.nav-fixed .container { padding-top: 100px; }




