.icon-action,
.navbar-toggler {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--zest-radius);
    color: var(--text-color);
    display: inline-flex;
    font-size: 1.16rem;
    gap: 8px;
    height: 44px;
    justify-content: center;
    min-width: 44px;
    padding: 0 12px;
    position: relative;
}

.icon-action:hover,
.navbar-toggler:hover,
.theme-toggle[aria-pressed="true"] {
    background: var(--zest-soft);
    border-color: rgba(6, 78, 59, 0.22);
    color: var(--primary-color);
}

.icon-action i,
.navbar-toggler i {
    font-size: 1.12rem;
}

.action-text {
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 900;
}

.has-badge > span:first-of-type {
    align-items: center;
    background: var(--secondary-color);
    border: 2px solid #ffffff;
    border-radius: 999px;
    color: #143000;
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    min-width: 20px;
    padding: 0 5px;
    position: absolute;
    right: -6px;
    top: -7px;
}

.mobile-search-action {
    display: none;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    align-items: center;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--zest-radius);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.contact-list i,
.payment-note i {
    color: var(--secondary-color);
}

.payment-note {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--zest-radius);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
    margin-top: 18px;
    padding: 13px 14px;
}

.mobile-bottom-nav {
    background: var(--zest-surface);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.08);
}

.mobile-bottom-nav a {
    color: #475467;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a:focus {
    background: var(--zest-soft);
    color: var(--primary-color);
}

.section-link {
    align-items: center;
    color: var(--primary-color);
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 900;
    gap: 6px;
}

.section-link:hover {
    color: #15803d;
}

.homepage-category-card {
    background: var(--zest-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--zest-radius);
    box-shadow: var(--zest-shadow-soft);
    color: var(--text-color);
    display: grid;
    min-height: 100%;
    overflow: hidden;
}

.homepage-category-card img {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.homepage-category-card span,
.homepage-category-card small {
    display: block;
    padding-left: 14px;
    padding-right: 14px;
}

.homepage-category-card span {
    font-size: 1rem;
    font-weight: 950;
    padding-top: 14px;
}

.homepage-category-card small {
    color: var(--primary-color);
    font-size: 0.84rem;
    font-weight: 900;
    padding-bottom: 14px;
    padding-top: 4px;
}

.homepage-category-card:hover {
    border-color: rgba(6, 78, 59, 0.32);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.homepage-product-card {
    background: var(--zest-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--zest-radius);
    box-shadow: var(--zest-shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

.homepage-product-card:hover {
    border-color: rgba(6, 78, 59, 0.28);
    transform: translateY(-2px);
}

.homepage-category-card,
.homepage-product-card {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.homepage-product-media {
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    display: block;
    overflow: hidden;
    position: relative;
}

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

.homepage-discount-badge {
    background: #f59e0b;
    border-radius: 999px;
    color: #111827;
    font-size: 0.72rem;
    font-weight: 950;
    left: 10px;
    padding: 5px 8px;
    position: absolute;
    top: 10px;
}

.homepage-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
}

.homepage-product-body h3 {
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.35;
    margin: 0;
}

.homepage-product-body h3 a {
    color: var(--text-color);
}

.homepage-product-body h3 a:hover {
    color: var(--primary-color);
}

.homepage-product-description {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--zest-muted);
    display: -webkit-box;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
    min-height: 4.1em;
    overflow: hidden;
}

.homepage-price-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.homepage-sale-price {
    color: var(--primary-color);
    font-size: 1.08rem;
    font-weight: 950;
}

.homepage-regular-price {
    color: #94a3b8;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: line-through;
}

.homepage-product-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
}

.homepage-product-actions form {
    margin: 0;
}

.homepage-product-actions .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 38px;
    padding-left: 8px;
    padding-right: 8px;
    width: 100%;
}

.why-card {
    background: var(--zest-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--zest-radius);
    box-shadow: var(--zest-shadow-soft);
    min-height: 100%;
    padding: 22px;
}

.why-card i {
    align-items: center;
    background: var(--zest-lime-soft);
    border-radius: var(--zest-radius);
    color: var(--primary-color);
    display: inline-flex;
    font-size: 1.45rem;
    height: 46px;
    justify-content: center;
    margin-bottom: 15px;
    width: 46px;
}

.why-card h3 {
    color: var(--text-color);
    font-size: 1.03rem;
    font-weight: 950;
    margin: 0 0 8px;
}

.why-card p {
    color: var(--zest-muted);
    line-height: 1.65;
    margin: 0;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--zest-radius);
    box-shadow: var(--zest-shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card:hover {
    border-color: rgba(6, 78, 59, 0.28);
    box-shadow: var(--zest-shadow);
    transform: translateY(-2px);
}

.product-image {
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    border-radius: calc(var(--zest-radius) - 1px) calc(var(--zest-radius) - 1px) 0 0;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
}

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

.product-card:hover .product-image img {
    transform: none;
}

.discount-badge {
    background: #f59e0b;
    border-radius: 999px;
    color: #111827;
    font-size: 0.72rem;
    font-weight: 950;
    left: 10px;
    line-height: 1;
    padding: 6px 9px;
    position: absolute;
    top: 10px;
    z-index: 1;
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 14px;
}

.product-title,
.product-body h3 {
    color: var(--text-color);
    display: -webkit-box;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.35;
    margin: 0;
    min-height: 2.7em;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-title a,
.product-body h3 a {
    color: inherit;
}

.product-title a:hover,
.product-body h3 a:hover {
    color: var(--primary-color);
}

.product-description {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--zest-muted);
    display: -webkit-box;
    font-size: 0.86rem;
    line-height: 1.55;
    margin: 0;
    min-height: 4.65em;
    overflow: hidden;
}

.read-more-link {
    align-self: flex-start;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 900;
    margin: 0;
}

.read-more-link:hover {
    color: #15803d;
}

.product-price-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: auto 0 0;
    min-height: 30px;
}

.price {
    color: var(--primary-color);
    font-size: 1.12rem;
    font-weight: 950;
    line-height: 1.1;
    white-space: nowrap;
}

.regular-price {
    color: #94a3b8;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: line-through;
    white-space: nowrap;
}

.saving-text {
    background: var(--zest-lime-soft);
    border-radius: 999px;
    color: #365314;
    font-size: 0.72rem;
    font-weight: 950;
    line-height: 1;
    padding: 4px 8px;
    white-space: nowrap;
}

.product-footer,
.product-actions {
    align-items: stretch;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    margin-top: 0;
}

.product-actions form {
    margin: 0;
    min-width: 0;
}

.product-actions .btn {
    align-items: center;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    justify-content: center;
    min-height: 38px;
    padding-left: 8px;
    padding-right: 8px;
    white-space: normal;
    width: 100%;
}
