/* Percentage width classes */
.w-1 { width: 1%; }
.w-2 { width: 2%; }
.w-3 { width: 3%; }
.w-4 { width: 4%; }
.w-5 { width: 5%; }
.w-6 { width: 6%; }
.w-7 { width: 7%; }
.w-8 { width: 8%; }
.w-9 { width: 9%; }
.w-10 { width: 10%; }
.w-11 { width: 11%; }
.w-12 { width: 12%; }
.w-13 { width: 13%; }
.w-14 { width: 14%; }
.w-15 { width: 15%; }
.w-16 { width: 16%; }
.w-17 { width: 17%; }
.w-18 { width: 18%; }
.w-19 { width: 19%; }
.w-20 { width: 20%; }
.w-21 { width: 21%; }
.w-22 { width: 22%; }
.w-23 { width: 23%; }
.w-24 { width: 24%; }
.w-25 { width: 25%; }
.w-26 { width: 26%; }
.w-27 { width: 27%; }
.w-28 { width: 28%; }
.w-29 { width: 29%; }
.w-30 { width: 30%; }
.w-31 { width: 31%; }
.w-32 { width: 32%; }
.w-33 { width: 33%; }
.w-34 { width: 34%; }
.w-35 { width: 35%; }
.w-36 { width: 36%; }
.w-37 { width: 37%; }
.w-38 { width: 38%; }
.w-39 { width: 39%; }
.w-40 { width: 40%; }
.w-41 { width: 41%; }
.w-42 { width: 42%; }
.w-43 { width: 43%; }
.w-44 { width: 44%; }
.w-45 { width: 45%; }
.w-46 { width: 46%; }
.w-47 { width: 47%; }
.w-48 { width: 48%; }
.w-49 { width: 49%; }
.w-50 { width: 50%; }
.w-51 { width: 51%; }
.w-52 { width: 52%; }
.w-53 { width: 53%; }
.w-54 { width: 54%; }
.w-55 { width: 55%; }
.w-56 { width: 56%; }
.w-57 { width: 57%; }
.w-58 { width: 58%; }
.w-59 { width: 59%; }
.w-60 { width: 60%; }
.w-61 { width: 61%; }
.w-62 { width: 62%; }
.w-63 { width: 63%; }
.w-64 { width: 64%; }
.w-65 { width: 65%; }
.w-66 { width: 66%; }
.w-67 { width: 67%; }
.w-68 { width: 68%; }
.w-69 { width: 69%; }
.w-70 { width: 70%; }
.w-71 { width: 71%; }
.w-72 { width: 72%; }
.w-73 { width: 73%; }
.w-74 { width: 74%; }
.w-75 { width: 75%; }
.w-76 { width: 76%; }
.w-77 { width: 77%; }
.w-78 { width: 78%; }
.w-79 { width: 79%; }
.w-80 { width: 80%; }
.w-81 { width: 81%; }
.w-82 { width: 82%; }
.w-83 { width: 83%; }
.w-84 { width: 84%; }
.w-85 { width: 85%; }
.w-86 { width: 86%; }
.w-87 { width: 87%; }
.w-88 { width: 88%; }
.w-89 { width: 89%; }
.w-90 { width: 90%; }
.w-91 { width: 91%; }
.w-92 { width: 92%; }
.w-93 { width: 93%; }
.w-94 { width: 94%; }
.w-95 { width: 95%; }
.w-96 { width: 96%; }
.w-97 { width: 97%; }
.w-98 { width: 98%; }
.w-99 { width: 99%; }
.w-100 { width: 100%; }


.container {
    margin: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 20px;
}
/*
.column {
    box-sizing: border-box;
    padding: 10px;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
*/
.column {
    box-sizing: border-box;
    padding: 10px;
    flex: 1 1 0%; /* Changed from auto to 0% */
    min-width: 0;
}
/*
.column {
    box-sizing: border-box;
    padding: 10px;
    flex: 1 1 auto;
}
*/
/*
.column img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
*/
.product {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

textarea {
    width: 95%;
    max-width: 95%;
    resize: none;
}

/* Small devices and below (768px and down) */
@media only screen and (max-width: 767px) {
    .column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Medium devices (landscape tablets, 768px to 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .w-50, .w-33, .w-25, .w-20 {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Large devices (laptops/desktops, 992px to 1199px) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .w-33, .w-25, .w-20 {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

/* Extra large devices (large laptops and desktops, 1200px to 1439px) */
@media only screen and (min-width: 1200px) and (max-width: 1439px) {
    .w-25, .w-20 {
        flex: 0 0 calc(25% - 20px);
        max-width: calc(25% - 20px);
    }
}

/* XX-Large devices (1440px and up) */
@media only screen and (min-width: 1440px) {
    .w-20 {
        flex: 0 0 calc(20% - 20px);
        max-width: calc(20% - 20px);
    }
}
.alternate-row {
    background-color: #f7f7f7; /* Light grey color */
}

.even-row {
    background-color: #ffffff; /* White color */
}

.left-align-image {
    float: left;
    margin-right: 15px;
    max-width: 200px;
}
textarea {
  width: 100%;
  min-height: 150px;
  max-height: 300px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #f8f8f8;
  font-size: 16px;
  font-family: Arial, sans-serif;
  line-height: 1.4;
  resize: vertical;
  transition: all 0.3s ease;
}

textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
  outline: none;
}

textarea::placeholder {
  color: #999;
  font-style: italic;
}

textarea::-webkit-scrollbar {
  width: 12px;
}

textarea::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
}

textarea::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
/*
select {
  appearance: none;
  background-color: white;
  color: black;
  border: 1px solid gray;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  width: 200px; 
}
*/
/* Add this to your existing CSS */
select {
    font-size: 16px !important;
    width: 200px !important;

    background-color: white;
    color: black;
    border: 1px solid gray;
    border-radius: 4px;
    padding: 8px 12px;

    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="8" viewBox="0 0 14 8"><polygon points="7 0 14 8 0 8" style="fill:%23333;"></polygon></svg>');
    background-position: right 10px center;
    background-repeat: no-repeat;
    
}


/* Ensure compatibility across browsers */
select::-ms-expand {
    display: none; /* Hide default dropdown arrow in IE/Edge */
}


select:focus {
  outline: none;
  border-color: green;
  box-shadow: 0 0 5px rgba(0, 128, 0, 0.5);
}

select option {
  background-color: white;
  color: black;
}

select option:checked {
  background-color: green;
  color: white;
}



.sm-image {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}


.reg-image {
    cursor: pointer;
    width: 100%;
    height: auto;
}


/* General Table Styling */
.cart-table {
    width: 100%;
    border-collapse: collapse; /* Remove gaps between cells */
    margin-bottom: 20px; /* Space below the table */
}

.cart-table th,
.cart-table td {
    padding: 8px; /* Internal cell spacing */
    text-align: left; /* Align text to the left */
    border-bottom: 1px solid #ddd; /* Row separation */
}

.cart-table th {
    background-color: #f2f2f2; /* Header background color */
    font-weight: bold; /* Bold header text */
}

.cart-table tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Zebra striping for better readability */
}

.cart-table tfoot {
    margin-top: 10px; /* Space above the footer */
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .cart-table {
        border: none; /* Remove table borders on small screens */
    }

    .cart-table thead {
        display: none; /* Hide table headers */
    }

    .cart-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd; /* Add a border around each row */
    }

    .cart-table td {
        display: block;
        text-align: left; /* Align content to the left for better readability */
        padding-left: 0;
        position: relative;
        border: none;
        width: 100%; /* Ensure full width for stacking layout */
    }

    .cart-table td::before {
        content: attr(data-label); /* Add labels dynamically from data-label attribute */
        position: absolute;
        top: 0;
        left: 0;
        font-weight: bold;
        text-align: left;
    }

    .cart-table td img {
        display: block; /* Ensure images are visible in block layout */
        max-width: 100%; /* Scale image to fit container width */
        height: auto; /* Maintain aspect ratio */
        margin-top: 5px; /* Add spacing above images */
        margin-bottom: 10px; /* Add spacing below images */
    }

    .cart-table td form {
        text-align: center; /* Center align forms or actions inside cells */
    }
}

/* Additional Styling for Better UX on All Devices */
.cart-table-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling for wide tables on small screens */
}




