@import url('https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@100..800&display=swap');
body,
h1,
h2,
h3,
p,
span {
    font-family: "Anek Bangla", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.codetechbd_background {
    background-color: var(--main-color-solid);
}

.codetechbd_maincolor {
    color: var(--main-color-solid);
}

.codetechbd_card {
    border: 1px solid;
    background-color: white;
    border-color: #d1d5db;
    transition-property: all;
    transition-duration: 75ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.codetechbd_card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 2%;
    z-index: 1;
    pointer-events: none;
    /* Initial state with all borders transparent */
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.codetechbd_card:hover::before {
    /* Animation for a smooth continuous circle effect */
    animation: borderAnimation 2.4s linear infinite;
}

@keyframes borderAnimation {
    0% {
        border-top-color: var(--hover-color-solid);
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
    25% {
        border-top-color: var(--hover-color-solid);
        border-right-color: var(--hover-color-solid);
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
    50% {
        border-top-color: var(--hover-color-solid);
        border-right-color: var(--hover-color-solid);
        border-bottom-color: var(--hover-color-solid);
        border-left-color: transparent;
    }
    75% {
        border-top-color: var(--hover-color-solid);
        border-right-color: var(--hover-color-solid);
        border-bottom-color: var(--hover-color-solid);
        border-left-color: var(--hover-color-solid);
    }
    100% {
        border-top-color: transparent;
        border-right-color: var(--hover-color-solid);
        border-bottom-color: var(--hover-color-solid);
        border-left-color: var(--hover-color-solid);
    }
}


/* Optional: Add a glowing effect on hover */

.codetechbd_card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
    border-radius: 2%;
}

.codetechbd_add_button {
    background-color: var(--main-color-solid);
    color: white;
}

.codetechbd_add_button:hover {
    background-color: var(--hover-color-solid);
}

.codetechbd_buy_button {
    background-color: var(--secondary-color-solid);
    color: white;
}

.codetechbd_buy_button:hover {
    background-color: var(--hover-color-solid);
}

.hover_main_codetechbd:hover {
    border-color: 1px solid var(--main-color-solid);
}

.bottom_nav_items {
    display: none;
    /* Changed from 'hidden' to 'none' */
}

.topbar_background {
    background-color: var(--secondary-color-op7);
}

.mainbar {
    background-color: var(--main-color-op1);
    padding-top: 5px;
    padding-bottom: 5px;
}

.codetechbd_text {
    color: black;
    transition: background-color 0.3s ease;
}

.codetechbd_text:hover {
    color: var(--hover-color-solid);
}

.codetechbd_text:active,
.codetechbd_text:focus {
    color: var(--main-color-solid);
}

.codetechbd_button {
    background-color: var(--main-color-solid);
    transition: background-color 0.3s ease;
    font-size: medium;
}

.codetechbd_button:hover {
    background-color: var(--hover-color-solid);
}

.codetechbd_button:active,
.codetechbd_button:focus {
    background-color: var(--secondary-color-solid);
}

.codetechbd_link {
    color: var(--main-color-solid);
    transition: background-color 0.3s ease;
}

.codetechbd_link:hover {
    color: var(--hover-color-solid);
}

.codetechbd_link:active,
.codetechbd_link:focus {
    color: var(--main-color-solid);
}

.codetechbd_logo_image {
    width: var(--logo_size);
    max-width: 250%;
}

/* =====================================================================
   LAYAANA DESIGN SYSTEM
   Values extracted directly from the layaanabd.com reference build
   (Woodmart theme tokens). Do not guess these — they are the real ones.
   ===================================================================== */

:root {
    /* --- Brand palette (real values from reference) --- */
    --lay-accent: rgb(127, 96, 81);          /* brown buttons        */
    --lay-accent-hover: rgb(107, 79, 65);
    --lay-primary: rgb(42, 56, 68);          /* dark navy badges/footer */
    --lay-alt: rgb(249, 214, 180);
    --lay-new-badge: #438E44;                /* green NEW badge      */

    /* --- Text colours --- */
    --lay-text: #777777;
    --lay-title: #242424;
    --lay-entity-title: #333333;
    --lay-entity-title-hover: rgb(51 51 51 / 65%);
    --lay-link: #333333;
    --lay-link-hover: #242424;

    /* --- Neutrals --- */
    --lay-gray-100: #f7f7f7;
    --lay-gray-200: #f1f1f1;
    --lay-gray-500: #777;
    --lay-brd: rgba(0, 0, 0, 0.105);

    /* --- Typography --- */
    --lay-font-text: "Lato", Arial, Helvetica, sans-serif;
    --lay-font-title: "Playfair Display", Arial, Helvetica, sans-serif;
    --lay-font-entity: "Lora", Arial, Helvetica, sans-serif;
    --lay-text-size: 14px;
    --lay-line-height: 1.6;

    /* --- Geometry: the reference site uses ZERO radius everywhere --- */
    --lay-radius: 0px;
    --lay-btn-height: 42px;
    --lay-form-height: 42px;
    --lay-form-brd-width: 2px;
    --lay-block-spacing: 20px;
}

/* ---------------------------------------------------------------
   1. GLOBAL BASE — fonts, colours, square geometry
   --------------------------------------------------------------- */
body {
    font-family: var(--lay-font-text);
    font-size: var(--lay-text-size);
    font-weight: 400;
    line-height: var(--lay-line-height);
    color: var(--lay-text);
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lay-font-title);
    font-weight: 400;
    color: var(--lay-title);
    line-height: 1.3;
}

a {
    color: var(--lay-link);
    transition: color .15s ease;
}

a:hover {
    color: var(--lay-link-hover);
}

/* The reference design has no rounded corners at all. */
.lay-square,
.lay-square * {
    border-radius: var(--lay-radius) !important;
}

/* ---------------------------------------------------------------
   2. BUTTONS
   --------------------------------------------------------------- */
.lay-btn,
.codetechbd_button,
.codetechbd_buy_button,
.codetechbd_add_button,
.wd-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--lay-btn-height);
    padding: 0 22px;
    background-color: var(--lay-accent);
    color: #fff;
    font-family: var(--lay-font-text);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    border: none;
    border-radius: var(--lay-radius);
    transition: background-color .2s ease;
}

.lay-btn:hover,
.codetechbd_button:hover,
.codetechbd_buy_button:hover,
.codetechbd_add_button:hover,
.wd-add-to-cart-btn:hover {
    background-color: var(--lay-accent-hover);
    color: #fff;
}

.lay-btn-default {
    background-color: var(--lay-gray-100);
    color: #333;
}

.lay-btn-default:hover {
    background-color: #efefef;
    color: #333;
}

/* ---------------------------------------------------------------
   3. FORMS
   --------------------------------------------------------------- */
.lay-input,
input[type="text"].lay-input,
input[type="search"].lay-input,
input[type="email"].lay-input,
select.lay-input {
    height: var(--lay-form-height);
    padding: 0 14px;
    border: var(--lay-form-brd-width) solid rgba(0, 0, 0, 0.1);
    border-radius: var(--lay-radius);
    background: transparent;
    font-size: var(--lay-text-size);
    color: inherit;
}

.lay-input:focus {
    border-color: rgba(0, 0, 0, 0.15);
    outline: none;
}

/* ---------------------------------------------------------------
   4. HEADER  (edge-to-edge, tall, big centred logo, cell dividers)
   --------------------------------------------------------------- */
.wd-topbar {
    background: #1c1c1c;
    color: #e2e2e2;
    font-family: var(--lay-font-text);
    font-size: 12px;
}

.wd-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 18px;
}

.wd-topbar a {
    color: #e2e2e2;
}

.wd-lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wd-lang-label {
    opacity: .75;
}

.wd-lang-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    opacity: .75;
}

.wd-lang-item.active,
.wd-lang-item:hover {
    color: #fff;
    opacity: 1;
}

.wd-lang-item img {
    display: block;
    width: 18px;
    height: 13px;
    object-fit: cover;
}

.wd-mainbar {
    background: #fff;
    border-bottom: 1px solid var(--lay-brd);
}

.wd-mainbar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

body.sticky-mainbar {
    padding-top: 116px;
}

/* Row spans the full viewport width; icon cells sit hard against the edges. */
.wd-header-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 110px;
}

.wd-header-side {
    display: flex;
    align-items: stretch;
}

/* Each icon lives in a full-height cell; the divider is the cell border. */
.wd-icon-cell {
    width: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lay-link);
    position: relative;
    transition: color .15s ease;
}

.wd-icon-cell:hover {
    color: var(--lay-accent);
}

.wd-header-side .wd-icon-cell + .wd-icon-cell {
    border-left: 1px solid var(--lay-brd);
}

.wd-cart-count {
    position: absolute;
    top: 30px;
    right: 12px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--lay-primary);
    color: #fff;
    font-family: var(--lay-font-text);
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.wd-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex: 1;
}

.wd-header-logo img {
    height: 86px;
    width: auto;
    max-width: none;
}

.wd-header-logo-mobile img {
    height: 42px;
    width: auto;
}

.wd-mobile-menu-label {
    font-family: var(--lay-font-text);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--lay-link);
}

/* Header nav links: Lato 700 uppercase 13px (from reference) */
.wd-nav-link {
    font-family: var(--lay-font-text);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--lay-link);
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.wd-nav-link:hover {
    color: var(--lay-link-hover);
}

.wd-nav-link.active {
    color: var(--lay-link-hover);
    border-bottom-color: var(--lay-link-hover);
}

.wd-mobile-search-box {
    display: none;
}

.wd-mobile-search-box.open {
    display: block;
}

.wd-header-searchform {
    position: relative;
    max-width: 640px;
    margin: 0 auto 18px;
    padding: 0 18px;
}

.wd-header-searchform input {
    width: 100%;
}

.wd-header-searchform button {
    position: absolute;
    right: 30px;
    top: 0;
    height: var(--lay-form-height);
    display: flex;
    align-items: center;
    color: var(--lay-text);
}

@media (max-width: 1023px) {
    body.sticky-mainbar {
        padding-top: 70px;
    }
}

/* Mobile drawer tabs */
.wd-drawer-tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-family: var(--lay-font-text);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #999;
    background: var(--lay-gray-100);
    border-bottom: 2px solid transparent;
}

.wd-drawer-tab-btn.active {
    color: var(--lay-title);
    background: #fff;
    border-bottom-color: var(--lay-primary);
}

.wd-drawer-menu-list a {
    display: block;
    padding: 14px 0;
    font-family: var(--lay-font-text);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--lay-link);
    border-bottom: 1px solid var(--lay-brd);
}

.wd-drawer-menu-list a:hover {
    color: var(--lay-accent);
}

/* ---------------------------------------------------------------
   5. SECTION TITLES (Playfair Display, plain, centred)
   --------------------------------------------------------------- */
.section-title-wd,
.wd-shop-page-title {
    display: block;
    font-family: var(--lay-font-title);
    font-size: 34px;
    font-weight: 400;
    color: var(--lay-title);
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    padding: 0;
    margin: 0;
}

@media (max-width: 767px) {
    .section-title-wd,
    .wd-shop-page-title {
        font-size: 26px;
    }
}

/* The reference design has no underline accent under section titles. */
.section-title-wd::after {
    content: none;
}

/* ---------------------------------------------------------------
   6. PRODUCT CARD
   --------------------------------------------------------------- */
.wd-product-card {
    position: relative;
    background: transparent;
    text-align: center;
}

.wd-product-card .wd-card-media {
    position: relative;
    overflow: hidden;
    background: var(--lay-gray-100);
}

.wd-product-card img {
    border-radius: var(--lay-radius);
}

/* Product name: Lora 400, entity title colour */
.wd-card-name {
    display: block;
    font-family: var(--lay-font-entity);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--lay-entity-title);
}

.wd-card-name:hover {
    color: var(--lay-entity-title-hover);
}

/* Category line under the product name */
.wd-card-cat {
    font-family: var(--lay-font-text);
    font-size: 13px;
    color: #a5a5a5;
}

/* Prices: current is bold dark, original is struck-through grey and comes FIRST */
.wd-card-price-current {
    font-family: var(--lay-font-text);
    font-size: 15px;
    font-weight: 700;
    color: var(--lay-title);
}

.wd-card-price-original {
    font-family: var(--lay-font-text);
    font-size: 13px;
    font-weight: 400;
    color: #a5a5a5;
    text-decoration: line-through;
}

/* --- Badges: 55x55 circles (real reference size) --- */
.wd-badge-discount,
.wd-badge-new {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-family: var(--lay-font-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.wd-badge-discount {
    background-color: var(--lay-primary);
}

.wd-badge-new {
    background-color: var(--lay-new-badge);
}

@media (max-width: 767px) {
    .wd-badge-discount,
    .wd-badge-new {
        width: 44px;
        height: 44px;
        font-size: 11px;
    }
}

/* --- Hover action icons (top-right of the card) --- */
.wd-card-actions {
    transition: opacity .2s ease, visibility .2s ease;
}

.wd-card-action-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--lay-radius);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lay-link);
    transition: background-color .15s ease, color .15s ease;
}

.wd-card-action-icon:hover {
    background: var(--lay-accent);
    color: #fff;
}

.wd-product-card:hover .wd-card-actions {
    opacity: 1 !important;
    visibility: visible !important;
}

/* --- Quantity stepper + Add to cart row --- */
.wd-qty-box {
    display: flex;
    align-items: stretch;
    height: var(--lay-btn-height);
    border: 1px solid var(--lay-brd);
    border-radius: var(--lay-radius);
    overflow: hidden;
}

.wd-qty-box button {
    width: 30px;
    background: #fff;
    color: var(--lay-text);
    font-size: 15px;
    line-height: 1;
}

.wd-qty-box button:hover {
    color: var(--lay-title);
}

.wd-qty-box input {
    width: 38px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--lay-brd);
    border-right: 1px solid var(--lay-brd);
    font-family: var(--lay-font-text);
    font-size: 14px;
    color: var(--lay-title);
    -moz-appearance: textfield;
}

.wd-qty-box input::-webkit-outer-spin-button,
.wd-qty-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ---------------------------------------------------------------
   7. SHOP / CATEGORY PAGE
   --------------------------------------------------------------- */
.wd-shop-wrapper {
    background: var(--lay-gray-100);
}

/* ---------------------------------------------------------------
   8. SINGLE PRODUCT PAGE
   --------------------------------------------------------------- */
.wd-single-title {
    font-family: var(--lay-font-title);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--lay-title);
    text-transform: none;
    letter-spacing: 0;
}

.wd-single-price-current {
    font-family: var(--lay-font-text);
    font-size: 22px;
    font-weight: 700;
    color: var(--lay-title);
}

.wd-single-price-original {
    font-family: var(--lay-font-text);
    font-size: 18px;
    color: #a5a5a5;
    text-decoration: line-through;
}

.wd-single-meta {
    font-family: var(--lay-font-text);
    font-size: 14px;
    color: var(--lay-text);
}

.wd-single-meta strong {
    color: var(--lay-title);
    font-weight: 700;
}

/* Product description tabs */
.wd-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    border-bottom: 1px solid var(--lay-brd);
}

.wd-tab-nav button {
    padding: 14px 0;
    font-family: var(--lay-font-text);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--lay-text);
    border-bottom: 2px solid transparent;
    background: none;
}

.wd-tab-nav button.active {
    color: var(--lay-title);
    border-bottom-color: var(--lay-title);
}

/* ---------------------------------------------------------------
   9. FOOTER
   --------------------------------------------------------------- */
.wd-footer {
    background: var(--lay-primary);
    color: rgba(255, 255, 255, .75);
    font-family: var(--lay-font-text);
    font-size: 14px;
}

.wd-footer a {
    color: rgba(255, 255, 255, .75);
}

.wd-footer a:hover {
    color: #fff;
}

/* Widget titles: Playfair Display 400 uppercase 16px (from reference) */
.wd-footer-heading {
    font-family: var(--lay-font-title);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #fff;
}

.wd-footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--lay-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .8);
    transition: color .15s ease;
}

.wd-footer-social-icon:hover {
    color: #fff;
}

.wd-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
    text-align: center;
}