@import url('https://fonts.googleapis.com/css2?family=Tiro+Bangla:ital@0;1&display=swap');

.tiro-bangla-regular {
    font-family: "Tiro Bangla", serif;
    font-weight: 400;
    font-style: normal;
}

.tiro-bangla-regular-italic {
    font-family: "Tiro Bangla", serif;
    font-weight: 400;
    font-style: italic;
}

.tiro-bangla-bold {
    font-family: "Tiro Bangla", serif;
    font-weight: 700;
    font-style: normal;
}

.Native-t-regular {
    font-size: 1rem;
}

.Native-t-lg {
    font-size: 1.7rem;
}


/* Header & Search */
header .date {
    font-size: 0.875rem;
    color: var(--text-light);
}


.Native-h-10 {
    height: 10dvh;
}

;

.Native-h-80 {
    height: 80dvh;
}

.Native-h-90 {
    height: 90dvh;
}

.Native-color-primary-bg {
    background-color: #043915;
}

.Native-color-primary {
    color: #043915;
}

.Native-primary-border {
    border-color: #043915;
}

.Native-color-secondary-bg {
    background-color: #4C763B;
}

.Native-color-secondary {
    color: #4C763B;
}

.Native-secondary-border {
    border-color: #4C763B;
}

.Native-color-tertiary-bg {
    background-color: #ccd2c4;
}

.Native-color-tertiary-text {
    color: #c2cfb0;
}

.Native-tertiary-border {
    border-color: #c2cfb0;
}

.Native-color-yellow-bg {
    background-color: #FFFD8F;
}

.Native-color-yellow-text {
    color: #FFFD8F;
}

.Native-yellow-border {
    border-color: #FFFD8F;
}

.Native-white-bg {
    background-color: #FCF9EA;
}



/* img input css */
/* From Uiverse.io by escannord */
.Native-img-input {
    max-width: 190px;
    display: none;
}

.Native-img-inp-labelFile {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    border: 2px dashed #ccc;
    align-items: center;
    text-align: center;
    color: #404040;
    cursor: pointer;
}




/* Cart Section */
.cart-section {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    width: 100%;
    margin: 0 auto;
    font-size: 0.9rem;
    /* box-shadow: var(--shadow-sm); */
    /* border: 1px solid var(--border-color); */
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.cart-header span {
    text-align: center;
}

.cart-header span:first-child {
    text-align: left;
}

.cart-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-row:last-child {
    border-bottom: none;
}

.cart-row .item-name {
    text-align: left;
    font-weight: 500;
}

.cart-row .price {
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
}

/* Quantity Control */
.quantity-control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.quantity-control .btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: none;
}

.quantity-control .btn:hover {
    background: #D1D5DB;
    color: #000;
}

.quantity-control .qty {
    font-weight: 600;
    min-width: 1.5rem;
    text-align: center;
}

.inp-fild {
    background: #F9FAFB;
    text-align: right;
    outline: none;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    width: 80px;
    transition: border-color 0.2s;
}

.inp-fild:focus {
    border-color: var(--primary-color);
}

/* Totals Section */
.totals {
    margin-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 1rem;
}

.totals div {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.totals .grand-total {
    border-top: 2px solid var(--text-color);
    margin-top: 0.75rem;
    padding-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}





/* Product Card */
.product-card-native {
    user-select: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
    width: 100%;
    /* Responsive width */
    background-color: #4C763B;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    cursor: pointer;
}

.product-card-native:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.product-card-native:active {
    transform: scale(0.98);
}

.product-image-native {
    width: 100%;
    height: 160px;
    object-fit: contain;
    /* Changed to contain for better product visibility */
    border-radius: 0.5rem;
    background-color: #F3F4F6;
    padding: 0.5rem;
}

/* Typography Utilities */
.text-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 190px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}





/* css of home navbar's yellow btns ================================== starts */

/* Container adjusted for 3 items */
.filter-switch {
    /* border: 2px solid #030100; */
    border-radius: 9999px;
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    /* Increased width to fit 3 buttons comfortably */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
}

.filter-switch input {
    display: none;
}

.filter-switch label {
    flex: 1;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
    font-size: 1.5rem;
    font-family: "Tiro Bangla", serif;
    font-weight: 700;
    color: #E5E7EB;
    font-style: normal;
}

/* The Animated Background - 1/3 width */
.filter-switch .background {
    position: absolute;
    width: calc(33.33% - 8px);
    /* Exactly one third minus padding */
    height: 38px;
    background-color: #facc15;
    top: 4px;
    left: 4px;
    border-radius: 9999px;
    transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    border: 2px solid rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Dots Animation Effect */
.filter-switch .background::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    opacity: 0.5;
    background-image: radial-gradient(rgb(255 255 255 / 80%) 20%, transparent 20%),
        radial-gradient(rgb(255 255 255 / 100%) 20%, transparent 20%);
    background-position: 0 0, 4px 4px;
    background-size: 8px 8px;
    mix-blend-mode: hard-light;
    animation: dots 0.5s infinite linear;
}

/* Sliding Logic for 3 Options */
#option1:checked~.background {
    left: 4px;
}

#option2:checked~.background {
    left: calc(33.33% + 4px);
}

#option3:checked~.background {
    left: calc(66.66% + 4px);
}

/* Active Text Styling */
#option1:checked+label,
#option2:checked+label,
#option3:checked+label {
    color: #292524;
    font-weight: bold;
}

@keyframes dots {
    0% {
        background-position: 0 0, 4px 4px;
    }

    100% {
        background-position: 8px 0, 12px 4px;
    }
}

/* css of home navbar's yellow btns ================================== ends */





/* css of add  btns ================================== starts */
/* From Uiverse.io by andrew-demchenk0 */
.Native-add-button {
    --main-focus: #2d8cf0;
    --font-color: #025a0f;
    --bg-color-sub: #dedede;
    --bg-color: #eee;
    --main-color: #323232;
    position: relative;
    width: 100%;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 2px solid var(--main-color);
    box-shadow: 4px 4px var(--main-color);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.Native-add-button,
.Native-add-button__icon,
.Native-add-button__text {
    transition: all 0.3s;
}

.Native-add-button .Native-add-button__text {
    transform: translateX(22px);
    color: var(--font-color);
    font-weight: 600;
}

.Native-add-button .Native-add-button__icon {
    position: absolute;
    transform: translateX(60%);
    height: 100%;
    width: 40%;
    right: 0;
    background-color: var(--bg-color-sub);
    display: flex;
    align-items: center;
    justify-content: center;
}

.Native-add-button .svg {
    width: 20px;
    fill: var(--main-color);
}

.Native-add-button:hover {
    background: var(--bg-color);
}

.Native-add-button:hover .Native-add-button__text {
    color: transparent;
}

.Native-add-button:hover .Native-add-button__icon {
    width: 100%;
    transform: translateX(0);
}

.Native-add-button:active {
    transform: translate(3px, 3px);
    box-shadow: 0px 0px var(--main-color);
}

/* css of add  btns ================================== ends */



/* css of search btns ================================== ends */
.search-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

.search-container::after,
.search-container::before {
    content: "";
    width: 100%;
    height: 50px;
    border-radius: inherit;
    position: absolute;
}

.search-container::before {
    top: -1px;
    left: -1px;
    z-index: -1;
}

.search-container::after {
    bottom: -1px;
    right: -1px;
    background: rgba(255, 255, 255, 0.15);
    z-index: -2;
}

.input {
    padding: 10px;
    margin-right: -20%;
    width: 100%;
    height: 50px;
    border: none;
    color: white;
    border-radius: 50px;
}

.input:focus {
    outline: none;
    background: linear-gradient(135deg, rgb(239, 247, 255) 0%, rgb(214, 229, 247) 100%);
    color: #043915;
}

.cross__icon {
    width: 50px;
    aspect-ratio: 1;
    border-left: 2px solid white;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-radius: 50%;
    padding-left: 12px;
    padding-right: 12px;
    margin-right: 10px;
}

.cross__icon:hover {
    border-left: 3px solid white;
}

.cross__icon path {
    fill: white;
}

.cross__icon:active {
    border-left: 3px solid #facc15;
    border-right: 3px solid #facc15;
}


/* css of add yellow btns ================================== ends */