* {
    margin: 0;
    padding: 0;
    background-color: #F5F0E6;
}

strong {
    background-color: inherit;
}

table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td,
th {
    border: 1px solid #ddd;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}

.logo {
    width: 200px;
    height: 200px;
    background-color: #F5F0E6;
}

.no-padding-margin {
    padding: 0;
    margin: 0;
}

.no-padding {
    padding: 0;
}

.padding-bottom-small {
    padding-bottom: 6px;
}

.wide {
    width: 100%;
    ;
}

.page-content {
    max-width: 1290px;
    margin: auto;
}

.main-banner {
    width: 100%;
    height: auto;
}

.banner-wrapper {
    width: 100%;
    overflow: hidden;
}

.allauth-page {
    padding-top: 25px;
    max-width: 600px;
    margin: auto;
}

.allauth-page-embedded {
    max-width: 600px;
    margin-left: 0;
    padding-top: 0;
}

.allauth-page h1 {
    font-family: 'Lucida Grande', Arial, sans-serif;
    font-size: 1.4em;
    font-weight: 800;
    margin: auto;
}

.allauth-page p {
    padding: 5px;
}

.allauth-page label {
    font-weight: 700;
}

.allauth-page input[type=text],
.allauth-page input[type=password],
.allauth-page input[type=email] {
    width: 100%;
}

.allauth-page button[type=submit] {
    background-color: lightgray;
    font-size: 1.0em;
    font-weight: bold;
    margin: 10px auto 0 auto;
    border: solid 1px grey;
    padding: 2px 5px 2px 5px;
}

.allauth-page ul {
    margin-left: 22px;
}

/* messages*/
.success {
    max-width: 1290px;
    margin: 5px auto 0 auto;
    background-color: green;
    color: #fafafa;
    padding-top: 5px;
    padding-bottom: 5px;
}

.success li {
    text-decoration: none;
}

.error {
    max-width: 1290px;
    margin: 5px auto 0 auto;
    background-color: red;
    color: #fafafa;
    padding-top: 5px;
    padding-bottom: 5px;
}

.error li {
    text-decoration: none;
}

.info {
    max-width: 1290px;
    margin: 5px auto 0 auto;
    background-color: yellow;
    color: #000000;
    padding-top: 5px;
    padding-bottom: 5px;
}

.info li {
    text-decoration: none;
}

.main-menu {
    background-color: #795548;
    max-width: 1290px;
    margin: auto;
}

.main-menu div {
    background-color: inherit;
    color: #fafafa;
    font-weight: 800;
}

.main-menu a {
    text-decoration: none;
}

.main-menu-bgcolor {
    background-color: #795548;
}

/*Profile tabs*/
.tablink {
    background-color: #795548;
    border: 4px;
    border-style: solid;
    border-color: #795548;
    color: #fafafa;
    font-weight: bold;
}

.tablink-active {
    background-color: green !important;
    color: #fafafa !important;
    font-weight: bold;
}

.tablink:hover {
    background-color: darkslategrey !important;
    color: #fafafa !important;
    font-weight: bold;
}

.tab-menu {
    margin-top: 20px;
}

#logo-header {
    background-color: #F5F0E6;
}

/* Dropdown Button */
/* Example code source - https://www.w3schools.com/howto/howto_css_dropdown.asp */
.dropbtn {
    background-color: inherit;
    color: inherit;
    padding: 4px;
    font-size: 14px;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #F5F0E6;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: inherit;
}

#profile-fa {
    font-size: 14px;
    background-color: inherit;
}

/* Home page Gallery */
.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 0;
    scrollbar-color: #4CAF50 #F5F0E6;
}

.product-card {
    min-width: 200px;
    flex: 0 0 auto;
}

.category-section {
    margin-bottom: 48px;
}

.product-image-carousel {
    height: 150px;
    width: 150px;
}

/* catalogue */

.product-card img {
    object-fit: cover;
    height: 160px;
    width: 100%
}

.sidebar {
    min-width: 260px
}

.price {
    font-weight: 600
}

.card-under-image {
    min-height: 125px;
}

.cat-header-box p {
    color: #777;
}

.cat-header-box h2 {
    margin: auto;
}

.background-color-inherit {
    background-color: inherit;
    !important;
}

.mobile-icons {
    color: #f1f1f1;
    background-color: inherit;
    !important;
}

.cart-count {
    background: green;
    color: yellow;
    border-radius: 50%;
    padding: 0.15em 0.45em;
    font-size: 0.7em;
    position: relative;

    /* elevation like <sup> */
    vertical-align: super;
}

.main-figure {
    position: relative;
    width: 100%;
}

.main-figure .zoom-stage {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* square stage */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    /* default (no zoom) */
    border-radius: 6px;
    border: 1px solid #eee;
    background-color: #fff;
    cursor: zoom-in;
}

.zooming {
    background-size: 200% !important;
    cursor: zoom-out;
}

.thumbs-wrap {
    position: relative;
}

.thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 3.3rem 6px 3.3rem;
    /* room for arrows */
    scroll-behavior: smooth;
}

.thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 1px solid #ddd;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb.active {
    outline: 3px solid #000;
}

.thumb-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.thumb-btn-left {
    left: 6px;
}

.thumb-btn-right {
    right: 6px;
}

.price {
    font-weight: 600;
    font-size: 1.25rem;
}

.qty-input {
    max-width: 120px;
}

.desc {
    line-height: 1.6;
}

.no-text-decoration {
    text-decoration: none;
}

#coupon-apply-bt-wrapper {
    padding-top: 24px;
}

#search-wrapper {
    padding: 16px 8px;
}

#search-wrapper form {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-radius: 30px;
    background: #fff;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    overflow: visible;
}

#search-wrapper form:focus-within {
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    border-color: #4CAF50;
}

#search-wrapper input[type=text] {
    flex: 1;
    margin: 0;
    border: none !important;
    padding: 8px 20px;
    font-size: 16px;
    outline: none;
    background: transparent;
    border-radius: 30px 0 0 30px;
}

#search-wrapper button[type=submit] {
    margin: 0;
    border: none;
    cursor: pointer;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0 30px 30px 0;
    transition: background-color 0.2s ease, filter 0.2s ease;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

#search-wrapper button[type=submit]:hover {
    background-color: #388E3C;
    filter: brightness(1.1);
}

#search-wrapper button[type=submit]:active {
    transform: scale(0.98);
}

.mobile-sidebar {
    display: none;
    z-index: 5;
    width: 250px;
}

.mobile-sidebar-close {
    text-align: right;
}

.mobile-sidebar-dropdown-btn {
    width: 100%;
    text-align: left;
}

.mobile-sidebar-separator {
    margin: 8px 0;
    border-top: 1px solid #999;
}

.sidebar-overlay {
    cursor: pointer;
    z-index: 4;
}