/* app-creative.min.css */
.modal-header {
    padding: 6px 12px !important;
}
.btn-danger:focus,
.btn-danger:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:focus,
.btn-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}
body, .wrapper, .content-page {
    overflow: visible;
}

/* header */
.header-navbar {
    height: 70px;
    background-color: #fff;
    box-shadow: 0 0 35px 0 rgb(154 161 171 / 15%);
}
.header-flex {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-title {
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    color: #000;
    margin-left: 10px;
    vertical-align: middle;
    font-family: "SimHei";
}

body {
    background-color: #fafafa;
    height: 100%;
}
body[data-leftbar-compact-mode=condensed] {
    min-height: 0;
}
body[data-layout=topnav] .content-page {
    padding: 0!important;
    min-height: 0;
}
.content {
    margin-bottom: 69px;
}
.page-title-right {
    display: block !important;
    float: right !important;
    margin-top: 17px !important;
}
@media screen and (max-width: 380px) {
    .app-search {
        width: 160px;
    }
}
.afuron-wrapper a {
    color: #000;
}
.afuron-footer {
    position: relative;
    width: 100%;
    bottom: 0;
    padding: 20px 0;
    line-height: 16px;
    border-top: 1px solid rgba(152,166,173,.2);
    color: #98a6ad;
}
@media screen and (max-width: 768px) {
    .afuron-footer {
        text-align: center;
    }
}
.afuron-footer a {
    color: #919ca7;
}
@media screen and (max-width: 576px) {
    .container {
       padding: 0 12px; 
    }
}
@media screen and (min-width: 576px) {
    .container {
       padding: 0; 
    }
}
@media screen and (min-width: 992px) {
    .afuron-sm-last {
        -webkit-box-ordinal-group: 14;
        -ms-flex-order: 13;
        order: 13;
    }
}

/* Home Page */

/* modal-dialog */
.modal-body img {
    max-width: 100%;
    height: auto;
}
@media screen and (min-width: 1367px) {
    .modal-dialog {
        max-width: 900px !important;
    }
}
@media screen and (max-width: 1367px) {
    .modal-dialog {
        max-width: 700px !important;
    }
}
@media screen and (max-width: 768px) {
    .modal-dialog {
        max-width: 500px !important;
    }
}

/* Select Button */

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.nav-list::-webkit-scrollbar {
    display: none; 
}
@media screen and (min-width: 767px) {
    .tab-link {
        min-width: 100px;
    }
}
@media screen and (max-width: 767px) {
    .tab-link {
        min-width: 60px;
    }
}
.tab-link {
    font-size: 1rem;
    padding: 6px 12px;
    border-radius: .5rem;
    border: 1px solid #3688fc;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tab-link.active {
    color: #fff;
    background: linear-gradient(-45deg, #3369ff, #3798f7);
}
.img-checkmark img {
    width: 36px;
}
.tab-link.active .img-checkmark {
    display: block;
}
.img-checkmark {
    position: absolute;
    opacity: 0.8;
    right: -6px;
    bottom: -12px;
    display: none;
}

/* Home Card */

.home-card {
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 12%);
    transition: all .5s;
}
.home-card:hover {
    box-shadow: 1px 3px 2px 0 rgb(0 0 0 / 5%);
}
@media screen and (max-width: 767px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-gap: 12px;
        gap: 12px;
    }
    .home-card {
        padding: 12px;
        margin-bottom: 0;
        font-size: 14px;
        display: flex;
        align-items: flex-start;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    	
    }
    .home-img {
        max-width: 80px;
        margin-right: 12px;
    }
    .flex {
        display: flex;
        flex-direction: column;
    }
    .name {
        font-size: 14px;
        min-height: 42px;
    	display: -webkit-box;
        -webkit-line-clamp: 2;
    	-webkit-box-orient: vertical;
    	overflow: hidden;
    	text-align: left;
    }
    .price {
        color: #d0021b;
    }
    .price b {
        font-size: 14px;
    }
}
@media screen and (min-width: 768px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 32px 20px 14px 20px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    }
    .home-img {
        max-width: 88%;
        margin: 0 auto auto auto;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #d0021b;
        text-align: center;
    }
    .price b {
        font-size: 24px;
    }
}

@media screen and (min-width: 992px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 32px 20px 14px 20px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    }
    .home-img {
        max-width: 88%;
        margin: 0 auto auto auto;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #d0021b;
        text-align: center;
    }
    .price b {
        font-size: 24px;
    }
}
@media screen and (min-width: 1320px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(5,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 32px 20px 14px 20px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    }
    .home-img {
        max-width: 88%;
        margin: 0 auto auto auto;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #d0021b;
        text-align: center;
    }
    .price b {
        font-size: 24px;
    }
}

/* Buy Page*/
.form-group h3 {
    font-weight: 400;
    color: #212529;
}
.geetest_holder.geetest_wind {
    width: 100% !important;
    min-width: 100% !important;
}
.buy-product img {
    max-width:100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
}
.buy-product .product-description-title {
    color: #111827;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    margin-bottom: 20px;
}
.product-description-content {
    color: #374151;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.82;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}
.product-description-content > :first-child {
    margin-top: 0;
}
.product-description-content > :last-child {
    margin-bottom: 0;
}
.product-description-content p {
    margin-top: 0;
    margin-bottom: 14px;
}
.product-description-content p:has(> br:only-child) {
    display: none;
}
.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4 {
    color: #111827;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
}
.product-description-content h1,
.product-description-content h2 {
    font-size: 22px;
    margin: 30px 0 14px;
}
.product-description-content h3 {
    font-size: 18px;
    margin: 26px 0 12px;
}
.product-description-content h4 {
    font-size: 16px;
    margin: 22px 0 10px;
}
.product-description-content strong {
    color: #1f2937;
    font-weight: 700;
}
.product-description-content ul,
.product-description-content ol {
    margin: 0 0 16px;
    padding-left: 1.6em;
}
.product-description-content li {
    margin-bottom: 7px;
}
.product-description-content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.product-description-content blockquote {
    margin: 18px 0;
    padding: 12px 16px;
    color: #4b5563;
    background: #f5f7fa;
    border-left: 4px solid #2563eb;
}
.product-description-content table {
    width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
}
.product-description-content th,
.product-description-content td {
    padding: 10px 12px;
    border: 1px solid #d7dde5;
    vertical-align: top;
}
.product-description-content th {
    color: #1f2937;
    background: #f5f7fa;
    font-weight: 700;
}
@media screen and (max-width: 576px) {
    .buy-product .product-description-title {
        font-size: 19px;
        margin-bottom: 18px;
    }
    .product-description-content {
        font-size: 15.5px;
        line-height: 1.8;
    }
    .product-description-content h1,
    .product-description-content h2 {
        font-size: 20px;
        margin-top: 26px;
    }
    .product-description-content h3 {
        font-size: 17px;
        margin-top: 22px;
    }
}
@media screen and (min-width: 992px) {
    .buy-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
    }
    .sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 6px;
    }
    .buy-shop {
        grid-column: span 2 / span 2;
    }
    .buy-product {
        grid-column: span 4 / span 4;
    }
}
/* pay-type */
@media screen and (min-width: 1367px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (min-width: 991px) and (max-width: 1367px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,300px));
        grid-gap: 6px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(4,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (min-width: 576px) and (max-width: 768px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (max-width: 576px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (max-width: 380px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,300px));
        grid-gap: 6px;
    }
}
.pay-type {
    background-color: #fff;
    color: #000;
    border: 2px solid #bdcfe1;
}
.pay-type:hover {
    background-color: #fff;
    color: #000;
}
.pay-type.active {
    background-color: #fff;
    color: #3688fc;
    border: 2px solid #3688fc;
}
.buy-price {
    color: #ea5455;
}

/* Orderinfo Page */

.orderinfo-grid {
    display: grid;
    grid-template-columns: auto;
}
@media screen and (min-width: 767px) {
    .orderinfo-card-grid {
        display: grid;
        grid-template-columns: repeat(6,minmax(0,1fr));
        grid-gap: 12px;
    }
    .orderinfo-info {
        grid-column: span 2 / span 2;
    }
    .orderinfo-kami {
        grid-column: span 4 / span 4;
    }
}
@media screen and (max-width: 767px) {
    .orderinfo-info {
        display: grid;
        justify-content: center;
    }
}
.textarea-kami {
    min-height: calc(100% - 48px - 38px)
}
.kami-btn {
    margin-top: 6px;
    float: right;
}

/* Footer */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 99;
}
#back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 44px;
    height: 44px;
}
/* New Home Layout Styles */
.content-wrapper.view-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}
.category-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
}
.sidebar-header {
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}
.category-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    color: #6c757d;
    text-decoration: none !important;
    border: 1px solid transparent;
}
.category-item:hover {
    background: #f8f9fa;
    color: #ff4d79;
}
.category-item.active {
    background: linear-gradient(135deg, #ff6b8b 0%, #ff4d79 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 77, 121, 0.3);
}
.category-item i {
    font-size: 20px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}
.category-info {
    display: flex;
    flex-direction: column;
}
.category-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}
.category-count {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

.main-container {
    flex-grow: 1;
    min-width: 0;
}

.search-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
}
.category-title {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}
.notice-link {
    font-size: 16px;
    color: var(--primary-color) !important;
    text-decoration: none;
}
.notice-link:hover {
    color: var(--primary-hover) !important;
    text-decoration: none;
}
.search-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-bar {
    position: relative;
}
.search-keywords {
    border-radius: 20px;
    border: 1px solid #eee;
    padding: 8px 15px 8px 15px;
    width: 250px;
    background: #f8f9fa;
    outline: none;
    transition: all 0.3s;
}
.search-keywords:focus {
    border-color: #ff4d79;
    background: #fff;
}
.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: #f0f0f0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    outline: none !important;
}
.action-btn:hover {
    background: #e0e0e0;
}
.search-btn {
    background: #ff4d79;
    color: #fff;
}
.search-btn:hover {
    background: #ff3366;
}
.toggle-btn.active {
    background: #333;
    color: #fff;
}
.toggle-btn i {
    font-size: 16px;
}
/* View Toggles */
.view-list .list-icon { display: block; }
.view-list .card-icon { display: none; }
.view-card .list-icon { display: none; }
.view-card .card-icon { display: block; }

/* Product Wrapper */
.product-wrapper {
    min-height: 400px;
}

/* Grid View Styles */
.view-card .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.view-card .product-list {
    display: none;
}
.view-card .product-item {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.2s;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.view-card .product-item:hover {
    transform: translateY(-5px);
}
.view-card .product-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}
.view-card .product-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}
.view-card .product-price-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.view-card .product-stock {
    font-size: 12px;
    color: #98a6ad;
}

/* List View Styles */
.view-list .product-grid {
    display: none;
}
.view-list .product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.view-list .product-item {
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    transition: transform 0.2s;
}
.view-list .product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.view-list .product-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.view-list .product-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}
.view-list .product-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin: 0;
}
.view-list .product-info-right {
    display: flex;
    align-items: center;
    gap: 30px;
}
.view-list .product-stock {
    font-size: 13px;
    color: #98a6ad;
    min-width: 80px;
    text-align: right;
}
.view-list .product-price {
    font-weight: bold;
    color: #ff4d79;
    font-size: 16px;
    min-width: 80px;
    text-align: right;
}
.view-list .buy-btn {
    background: #ff4d79;
    color: #fff;
    border: none;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}
.view-list .buy-btn:hover {
    background: #ff3366;
}
.view-list .out-of-stock-btn {
    background: #eef2f7;
    color: #98a6ad;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .content-wrapper.view-layout {
        flex-direction: column;
    }
    .category-sidebar {
        width: 100%;
    }
    .search-keywords {
        width: 100%; /* Auto width on mobile */
        flex: 1;
    }
    .search-bar {
        flex: 1;
    }
}

/* Global Color Theme Override - Professional Pink/Red Theme */
:root {
    --primary-color: #ff4d79;
    --primary-hover: #ff3366;
    --primary-active: #e62e5c;
    --primary-light: rgba(255, 77, 121, 0.1);
    --primary-gradient-start: #ff6b8b;
    --primary-gradient-end: #ff4d79;
}

/* Primary Text Color */
.text-primary {
    color: var(--primary-color) !important;
}
a {
    color: #6c757d; /* Default text color */
    transition: color 0.3s;
}
a:hover {
    color: var(--primary-color);
}
.text-dark:hover {
    color: var(--primary-color) !important;
}

/* Primary Background Color */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 2px 6px rgba(255, 77, 121, 0.3);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    box-shadow: 0 4px 10px rgba(255, 77, 121, 0.4);
}
.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Badges */
.badge-primary {
    background-color: var(--primary-color) !important;
}
.badge-light-primary {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
}

/* Pagination */
.page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.page-link {
    color: var(--primary-color);
}
.page-link:hover {
    color: var(--primary-hover);
}

/* Nav Pills / Tabs */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--primary-color) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 77, 121, 0.25) !important;
}

/* Custom Checkbox/Radio */
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
}

/* Footer Links Hover */
.afuron-footer a:hover {
    color: var(--primary-color) !important;
}

/* Specific Component Overrides */
.carousel-indicators .active {
    background-color: var(--primary-color) !important;
}
.back-to-top .btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Search Box Focus */
#search:focus {
    border-color: var(--primary-color) !important;
}
.app-search .uil-search {
    color: var(--primary-color); /* Search icon color if needed */
}

/* Ribbon */
.ribbon-two-danger {
    background: transparent !important;
}
.ribbon-two-danger span {
    background: var(--primary-active) !important; 
}
.ribbon-two-danger:before, .ribbon-two-danger:after {
    border: none !important;
}

/* Limited Offer Ribbon */
.ribbon-two-limited {
    background: transparent !important;
}
.ribbon-two-limited span {
    background: var(--primary-active) !important; /* Match Out of Stock color */
}
.ribbon-two-limited span:before {
    border-left: 3px solid #f94e4e;
    border-top: 3px solid #f94e4e;
}
.ribbon-two-limited span:after {
    border-right: 3px solid #f94e4e;
    border-top: 3px solid #f94e4e;
}
.ribbon-two-limited:before, .ribbon-two-limited:after {
    border: none !important;
}


/* New Navigation Bar Styles */
.nav-bar {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}
.logo-wrapper {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-logo {
    max-height: 100%;
    max-width: 100%;
}
.nav-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}
.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 77, 121, 0.05);
}
.nav-link.active {
    background: rgba(255, 77, 121, 0.1);
    color: var(--primary-color);
}
.link-icon {
    font-size: 18px;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        align-items: flex-start;
    }
    .nav-link {
        width: 100%;
    }
}

@font-face {
  font-family: "Font Awesome 5 Brands";
  font-display: swap;
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-display: swap;
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-display: swap;
}

/* Footer: brand-aligned information grid */
.afuron-footer {
    position: relative;
    background: #ffffff;
    border-top: 4px solid #ff4d79;
    color: #374151;
}

.afuron-footer__container {
    padding-top: 42px;
    padding-bottom: 20px;
}

.afuron-footer__grid {
    display: grid;
    grid-template-columns: minmax(280px, 2.1fr) repeat(3, minmax(130px, 1fr));
    gap: 34px;
    padding-bottom: 34px;
}

.afuron-footer__brand-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    text-decoration: none !important;
}

.afuron-footer__logo {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 60px;
    object-fit: contain;
}

.afuron-footer__brand-name {
    color: #ff4d79;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.afuron-footer__description {
    max-width: 440px;
    margin: 14px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.75;
}

.afuron-footer__column h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.afuron-footer__column a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 160ms ease;
}

.afuron-footer__column a:hover,
.afuron-footer__column a:focus {
    color: #e62e5c !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.afuron-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.afuron-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #dfe3e8;
    border-radius: 4px;
    color: #374151;
    font-size: 17px;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.afuron-footer__socials a:hover,
.afuron-footer__socials a:focus {
    border-color: #ff4d79;
    background: #fff5f7;
    color: #e62e5c !important;
}

.afuron-footer__qrcodes {
    display: flex;
    gap: 22px;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
}

.afuron-footer__qrcodes figure {
    margin: 0;
    text-align: center;
}

.afuron-footer__qrcodes img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
}

.afuron-footer__qrcodes figcaption {
    margin-top: 7px;
    color: #6b7280;
    font-size: 12px;
}

.afuron-footer__friends {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 14px 0;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 12px;
}

.afuron-footer__friends span {
    color: #374151;
    font-weight: 600;
}

.afuron-footer__friends a {
    color: #6b7280;
}

.afuron-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 17px;
    border-top: 1px solid #d5dbe2;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.65;
}

.afuron-footer__copyright p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .afuron-footer__grid {
        grid-template-columns: minmax(240px, 1.7fr) repeat(3, 1fr);
        gap: 28px 20px;
    }
}

@media (max-width: 767.98px) {
    .afuron-footer__container {
        padding-top: 30px;
        padding-bottom: 18px;
    }

    .afuron-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        padding-bottom: 28px;
    }

    .afuron-footer__brand {
        grid-column: 1 / -1;
    }

    .afuron-footer__brand-name {
        font-size: 24px;
    }

    .afuron-footer__description {
        max-width: none;
    }

    .afuron-footer__bottom {
        display: block;
    }

    .afuron-footer__icp {
        margin-top: 8px;
    }
}

@media (max-width: 399.98px) {
    .afuron-footer__grid {
        grid-template-columns: 1fr;
    }

    .afuron-footer__brand {
        grid-column: auto;
    }
}
