* {
  box-sizing: border-box;
  font-family:  sans-serif;
  font-size: 16px;
}

html {
  height: 100%;
}

body {
  position: relative;
  min-height: 100%;
  color: #4c4e52;
  background-color: #FFFFFF;
  margin: 0;
}

h1, h2, h3, h4, h5 {
  color: #394352;
}
h4 {
    display: block;
    margin-block-start: 10px;
    margin-block-end: 10px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
h6 {
    display: block;
    font-size: 20px;
    margin-block-start: 10px;
    margin-block-end: 10px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.content-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.content-wrapper.error {
  padding: 40px 0;
}
/* ====HEADER =================================================================*/

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--light-bg);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
}

.theme-toggle-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.theme-toggle-btn:hover .theme-icon {
    color: white;
}

.theme-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
    color: var(--text-color);
}

/* Hide appropriate icon based on theme */
[data-theme="light"] .theme-icon-moon {
    display: none;
}

[data-theme="dark"] .theme-icon-sun {
    display: none;
}

/* Rest of your existing CSS remains the same */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    transition: var(--transition);
    padding: 8px;
    background: linear-gradient(91deg, #84b7f7 0%, #5fa99d 100%);
    box-shadow: 0px 1px 6px 0px #000;
}
.header .container{
    padding: 0 0px;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
}



.header__left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media screen and (max-width: 768px){
    .header__right {
        display: flex;
        align-items: center;
        gap: 1px;
    }
}

.header-wrap{
    max-width: 1400px;
    margin: 0 auto;
}
.container{
    padding: 0 10px;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    color: #000;
}

.nav-link:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.nav-link--active {
    background-color: var(--primary-color);
    color: white;
}

.nav-link--active:hover {
    background-color: var(--primary-dark);
    color: white;
}

.nav-icon {
    width: 18px;
    height: 18px;
}

.nav-arrow {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.nav-item--open .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.nav-item--open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__item {
    border-bottom: 1px solid var(--border-color);
}

.dropdown__item:last-child {
    border-bottom: none;
}

.dropdown__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    transition: var(--transition);
}

.dropdown__link:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.dropdown__icon {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.nav-item--open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu__column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mega-menu__title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu__icon {
    width: 18px;
    height: 18px;
}

.mega-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    transition: var(--transition);
    color: var(--light-text);
}

.mega-menu__link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.mega-menu__badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Search */
.search {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border-radius: 25px;
    padding: 5px 15px;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 40px;
}

.search:focus-within {
    box-shadow: 0 0 0 2px var(--primary-color);
    border-color: var(--primary-color);
}

.search__input {
    border: none;
    background: transparent;
    padding: 10px 5px;
    width: 200px;
    outline: none;
    color: var(--text-color);
    font-size: 0.9rem;
}

.search__button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--light-text);
}

.search__button:hover {
    background: rgba(0,0,0,0.05);
    color: var(--primary-color);
}

/* Icons */
.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
    color: var(--text-color);
    position: relative;
}

.icon-button:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.icon-button--primary {
    background: var(--primary-color);
    color: white;
}

.icon-button--primary:hover {
    background: var(--primary-dark);
    color: white;
}

.icon-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* rightnav Menu */
.rightnav-menu {
    position: relative;
}

.rightnav-button {
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 8px 15px;
    border-radius: 25px;
    background: var(--light-bg);
    transition: var(--transition);
    cursor: pointer;
}

.rightnav-button:hover {
    background: rgba(0,0,0,0.05);
}

.rightnav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.rightnav-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.rightnav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: azure;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    padding: 10px 0;
    border: solid 2px #7bbcc8;
}

.rightnav-menu--open .rightnav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rightnav-dropdown__item {
    border-bottom: 1px solid var(--border-color);
}

.rightnav-dropdown__item:last-child {
    border-bottom: none;
}

.rightnav-dropdown__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px;
    transition: inherit;
    color: #515151;
    text-decoration: none;
}

.rightnav-dropdown__link:hover {
    background-color: #fff;
    color: #000;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #000;
    transition: var(--transition);
}

.mobile-menu-toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle--active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #d8e8ff;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}
.mobile-nav ul{
    display: block;
    list-style-type: none;
    margin-block-start: 0em;
    margin-block-end: 0em;
    padding-inline-start: 0px;
    unicode-bidi: isolate;
}

.mobile-nav--active {
    transform: translateX(0);
}

.mobile-nav__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav__item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    
}
.mobile-submenu-column .mobile-nav__link {
    border: solid 1px #a3a2a2;
    padding: 5px;
    border-radius: 23px;
    justify-content: space-between;
}

.mobile-submenu-column .mobile-nav__link .icon-and-title{
    position: relative;
    top: 3px;
}
.mobile-nav__arrow {
    margin-left: auto;
    transition: var(--transition);
    width: 16px;
    height: 16px;
}

.mobile-nav__item--open .mobile-nav__arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.mobile-nav__item--open .mobile-submenu {
    max-height: 1000px;
}

/* Mobile Mega Menu Styles */
.mobile-mega-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.mobile-nav__item--open .mobile-mega-menu {
    max-height: 1000px;
}

.mobile-mega-menu__column {
    margin-bottom: 15px;
}

.mobile-mega-menu__title {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 15px 0 8px 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-mega-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-mega-menu__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    transition: var(--transition);
    color: var(--light-text);
    text-decoration: none;
}

.mobile-mega-menu__badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mega-menu {
        width: 500px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .search__input {
        width: 150px;
    }
    
    .rightnav-name {
        display: block;
    }
}

@media (max-width: 768px) {
    .header {
        height: var(--header-height);
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .search {
        display: none;
    }
    
    .rightnav-button {
        padding: 8px;
    }
    
    .theme-toggle-btn {
        top: 65px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    :root {
        --header-height: 60px;
    }
}

@media (max-width: 480px) {
    .header {
        height: var(--header-height);
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .theme-toggle-btn {
        top: 60px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .theme-icon {
        width: 18px;
        height: 18px;
    }
    
    :root {
        --header-height: 60px;
    }
}

/* Dropdown 4 cột trên PC */
.dropdown--grid-4 {
    min-width: 800px;
    padding: 20px;
    background: #fff;
    border: solid 2px #7bbcc8;
    border-radius: 10px;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dropdown-column-title {
    font-size: 14px;
    font-weight: 600;
    color: #facc15;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.dropdown__item {
    margin-bottom: 12px;
}

.dropdown__link {
    display: flex;
    font-size: 12px;
    color: #555555;
    font-weight: 500;
    text-decoration: none;
    justify-content: space-between;
    padding: 0px;
    border-bottom: solid 1px #dcdcdc;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    background-color: #484848;
    color: white;
    border-radius: 3px;
    margin-left: 5px;
}

/* Mobile submenu 2 cột */
.mobile-submenu--grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0px 15px 0px 15px;
    border-radius: 5px;
    border: solid 1px #b0b0b0;
    margin-top: 20px;
}

.mobile-submenu-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-submenu-title {
    font-size: 13px;
    font-weight: 600;
    color: #facc15;
    margin-bottom: 5px;
}

.rounded-circle{
    border-radius: 25px;
}

/* Responsive */
@media (max-width: 992px) {
    .dropdown--grid-4 {
        min-width: auto;
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .dropdown-grid {
        grid-template-columns: 1fr;
    }
}

/* main =================================================*/
/* header được load trước*/
/* FONT AWESOME --------------*/
.fa-icon {
  display: inline-block;
  width: 1em;          /* icon theo kích thước chữ */
  height: 1em;
  vertical-align: -0.125em; /* canh giữa dòng giống FA */
  fill: currentColor;       /* ăn màu từ color cha */
}
.fa-icon-12px{
    font-size: 11px;
}
/* HEADER ---------------- */

main .page-title {
    display: block;
    font-weight: normal;
    margin: 0;
    padding: 20px 0 20px 0;
    font-size: 24px;
    text-align: center;
    width: 100%;
}
main .featured {
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
main .featured h2 {
  display: inline-block;
  margin: 0;
  width: 1100px;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 68px;
  color: #FFFFFF;
  padding-bottom: 15px;
  text-shadow: 0px 0px 16px rgba(45, 54, 68, 0.2);
}
main .featured p {
  display: inline-block;
  margin: 0;
  width: 1100px;
  font-size: 24px;
  color: #FFFFFF;
  text-shadow: 0px 0px 6px rgba(45, 54, 68, 0.2);
}
main .recentlyadded h2 {
  display: block;
  font-weight: normal;
  margin: 0;
  padding: 40px 0;
  font-size: 24px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #edeff3;
}
main .recentlyadded .stories, main .stories .stories-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 0 0 0;
}
main .recentlyadded .stories .story, main .stories .stories-wrapper .story {
  display: block;
  overflow: hidden;
  text-decoration: none;
  width: 25%;
  padding-bottom: 60px;
}
main .recentlyadded .stories .story .img, main .stories .stories-wrapper .story .img {
  display: flex;
  align-items: center;
  height: 200px;
  margin-bottom: 5px;
  overflow: hidden;
}
main .recentlyadded .stories .story .img img, main .stories .stories-wrapper .story .img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transition: transform 1s;
}
main .recentlyadded .stories .story .img.small, main .stories .stories-wrapper .story .img.small {
  height: 150px;
}
main .recentlyadded .stories .story .name, main .stories .stories-wrapper .story .name {
  display: block;
  color: #4c4e52;
  padding: 20px 0 2px 0;
}
main .recentlyadded .stories .story .price, main .stories .stories-wrapper .story .price {
  display: block;
  color: #969aa1;
}
main .recentlyadded .stories .story .rrp, main .stories .stories-wrapper .story .rrp {
  color: #bcc0c7;
  text-decoration: line-through;
}
main .recentlyadded .stories .story:hover img, main .stories .stories-wrapper .story:hover img {
  transform: scale(1.05);
  transition: transform 1s;
}
main .recentlyadded .stories .story:hover .name, main .stories .stories-wrapper .story:hover .name {
  text-decoration: underline;
}
main .recentlyadded .stories .story.no-stock, main .stories .stories-wrapper .story.no-stock {
  opacity: 0.5;
}
main .stories .stories-wrapper .story {
  width: 33.3333333333%;
}
main > .story {
  display: flex;
  padding: 40px 0;
}
main > .story h1 {
  font-size: 34px;
  font-weight: normal;
  margin: 0;
  padding: 20px 0 10px 0;
}
main > .story .story-img-large {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 500px;
}
main > .story .story-small-imgs {
  display: flex;
  flex-flow: wrap;
}
main > .story .story-small-imgs .story-img-small {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 31%;
  border: 1px solid #edeff3;
  cursor: pointer;
  margin: 20px 12px 0 0;
}
main > .story .story-small-imgs .story-img-small:nth-child(3n) {
  margin-right: 0;
}
main > .story .story-small-imgs .story-img-small.selected {
  border: 1px solid #c9cbcf;
}
main > .story .story-img-large img, main > .story .story-img-small img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
main > .story .story-imgs {
  flex: 1;
  padding: 15px;
}
main > .story .story-wrapper {
  padding-left: 45px;
  flex: 1;
}
main > .story .prices {
  display: flex;
}
main > .story .price {
  display: block;
  font-size: 22px;
  color: #969aa1;
}
main > .story .sub-period-type {
  display: block;
  font-size: 16px;
  color: #969aa1;
}
main > .story .rrp {
  color: #bcc0c7;
  text-decoration: line-through;
  font-size: 22px;
  padding-left: 10px;
}
main > .story .story-form {
  display: flex;
  flex-flow: column;
  max-width: 420px;
  width: 100%;
  margin: 25px 0 40px 0;
}
main > .story .story-form .add-to-wishlist, main > .story .story-form .added-to-wishlist {
  display: inline-flex;
  align-items: center;
  padding: 20px 0 10px 0;
  text-decoration: none;
  appearance: none;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #4c4e52;
}
main > .story .story-form .add-to-wishlist svg, main > .story .story-form .added-to-wishlist svg {
  fill: #4c4e52;
  margin-right: 5px;
}
main > .story .story-form .add-to-wishlist:hover, main > .story .story-form .added-to-wishlist:hover {
  color: #65676c;
}
main > .story .story-form .added-to-wishlist {
  color: #dd3030;
}
main > .story .story-form .added-to-wishlist svg {
  fill: #dd3030;
}
main > .story .story-form .added-to-wishlist:hover {
  color: #d12222;
}
main > .story .story-form .btn {
  margin-top: 10px;
  width: 100%;
}
main > .story .story-form > label:first-child {
  padding-top: 0;
}
main .story-details {
  padding: 0 15px;
}
main .story-details .description-title {
  border-bottom: 1px solid #edeff3;
}
main .story-details .description-title h2 {
  display: inline-flex;
  font-size: 20px;
  font-weight: normal;
  padding: 10px 0 20px 0;
  margin: 0;
  border-bottom: 2px solid #5f6061;
}
main .story-details .description-content {
  padding: 15px 0 40px 0;
}
main .story-details .description-content p {
  margin: 0;
  padding: 10px 0;
  line-height: 1.5;
}
main .story-details .description-content h3 {
  font-size: 18px;
  font-weight: 500;
  padding: 10px 0;
  margin: 0;
}
main .story-details .description-content ul {
  margin-top: 5px;
}
main .story-details .description-content ul li {
  padding: 5px 0;
}
main > .stories .stories-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
}
main > .stories .stories-header p {
  font-size: 14px;
  font-weight: 500;
  color: #969aa1;
  margin: 0;
}
main > .stories .stories-form {
  display: flex;
}
main > .stories .stories-form .stories-filters {
  width: 280px;
  padding: 10px 60px 25px 0;
}
main > .stories .stories-form .stories-filters .stories-filter {
  border-top: 1px solid #edeff3;
  padding-top: 10px;
  padding-bottom: 15px;
}
main > .stories .stories-form .stories-filters .stories-filter:first-child {
  border-top: 0;
  padding-top: 0;
}
main > .stories .stories-form .stories-filters .stories-filter .filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0 0 7px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
main > .stories .stories-form .stories-filters .stories-filter .filter-title::after {
  content: "";
  background: url('data:image/svg+xml,<svg width="16" height="16" fill="%23b1b4bb" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg>');
  width: 16px;
  height: 16px;
  margin: 0 0 0 15px;
  transform: rotate(180deg);
}
main > .stories .stories-form .stories-filters .stories-filter .filter-title:hover::after {
  background: url('data:image/svg+xml,<svg width="16" height="16" fill="%237e8186" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg>');
}
main > .stories .stories-form .stories-filters .stories-filter label {
  display: flex;
  align-items: center;
  height: 30px;
  font-size: 14px;
  user-select: none;
}
main > .stories .stories-form .stories-filters .stories-filter label input {
  margin-right: 10px;
}
main > .stories .stories-form .stories-filters .stories-filter label input[type=checkbox] {
  opacity: 0.5;
}
main > .stories .stories-form .stories-filters .stories-filter label input[type=checkbox]:checked {
  opacity: 1;
}
main > .stories .stories-form .stories-filters .stories-filter label.hidden {
  display: none;
}
main > .stories .stories-form .stories-filters .stories-filter .price-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0 0;
}
main > .stories .stories-form .stories-filters .stories-filter .price-range input {
  font-size: 14px;
  width: 90px;
  padding: 5px;
}
main > .stories .stories-form .stories-filters .stories-filter .show-more {
  display: block;
  text-decoration: none;
  color: #969aa1;
  font-size: 14px;
  padding: 10px 0 0 0;
}
main > .stories .stories-form .stories-filters .stories-filter .show-more:hover {
  text-decoration: underline;
}
main > .stories .stories-form .stories-filters .stories-filter.closed .filter-title {
  margin: 0;
}
main > .stories .stories-form .stories-filters .stories-filter.closed .filter-title::after {
  transform: rotate(0deg);
}
main > .stories .stories-form .stories-filters .stories-filter.closed .filter-options {
  display: none;
}
main > .stories .stories-form .stories-view {
  flex: 1;
}
main > .stories .buttons {
  text-align: right;
  padding-bottom: 40px;
}
main > .stories .buttons a:first-child {
  margin-right: 5px;
}
main .cart table, main .myaccount table {
  width: 100%;
}
main .cart table thead td, main .myaccount table thead td {
  padding: 30px 0;
  border-bottom: 1px solid #edeff3;
  font-weight: 500;
  font-size: 14px;
  color: #898d95;
}
main .cart table thead td:last-child, main .myaccount table thead td:last-child {
  text-align: right;
}
main .cart table tbody td, main .myaccount table tbody td {
  padding: 20px 0;
  border-bottom: 1px solid #edeff3;
}
main .cart table tbody td:last-child, main .myaccount table tbody td:last-child {
  text-align: right;
}
main .cart table tbody td.no-results, main .myaccount table tbody td.no-results {
  text-align: center;
  color: #969aa1;
}
main .cart table .img, main .myaccount table .img {
  width: 80px;
}
main .cart table .remove, main .myaccount table .remove {
  color: #db0b0b;
  font-size: 12px;
  padding-top: 3px;
}
main .cart table .remove:hover, main .myaccount table .remove:hover {
  text-decoration: underline;
}
main .cart table .price, main .cart table .options, main .myaccount table .price, main .myaccount table .options {
  color: #969aa1;
}
main .cart table .options, main .myaccount table .options {
  font-size: 14px;
  max-width: 200px;
}
main .cart table a, main .myaccount table a {
  text-decoration: none;
  color: #4c4e52;
}
main .cart table input[type=number], main .myaccount table input[type=number] {
  width: 68px;
}
main .cart .total, main .myaccount .total {
  text-align: right;
  padding: 30px 0 40px 0;
}
main .cart .total .text, main .myaccount .total .text {
  padding-right: 40px;
  font-size: 18px;
}
main .cart .total .price, main .myaccount .total .price {
  font-size: 18px;
  color: #969aa1;
}
main .cart .total .note, main .myaccount .total .note {
  display: block;
  padding-top: 15px;
  color: #969aa1;
}
main .cart .buttons, main .myaccount .buttons {
  text-align: right;
  padding-bottom: 40px;
}
main .cart .buttons .btn, main .myaccount .buttons .btn {
  margin: 0 0 10px 7px;
}
main .placeorder p {
  text-align: center;
}
main .checkout .container {
  display: flex;
  align-items: flex-start;
}
main .checkout .shipping-details {
  margin-right: 35px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-flow: wrap;
  padding-bottom: 40px;
}
main .checkout .shipping-details h2 {
  width: 100%;
  font-weight: normal;
  font-size: 20px;
  padding: 30px 0 20px 0;
  margin: 0 0 10px 0;
  border-bottom: 1px solid #edeff3;
}
main .checkout .shipping-details h2:first-child {
  padding: 20px 0 20px 0;
}
main .checkout .payment-methods {
  display: flex;
  flex-flow: wrap;
  width: 100%;
  justify-content: space-between;
}
main .checkout .payment-methods label {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #edeff3;
  border-radius: 5px;
  height: 60px;
  width: 159px;
  margin: 10px;
  font-weight: 500;
  color: #434f61;
  padding: 0;
  cursor: pointer;
}
main .checkout .payment-methods label .stripe-icon {
  fill: #6671E4;
}
main .checkout .payment-methods label:nth-child(2), main .checkout .payment-methods label:nth-child(8) {
  margin-left: 0;
}
main .checkout .payment-methods label:nth-child(3n) {
  margin-right: 0;
}
main .checkout .payment-methods label:hover {
  border: 1px solid #ced4df;
}
main .checkout .payment-methods input {
  position: absolute;
  top: -9999px;
  left: -9999px;
  visibility: hidden;
}
main .checkout .payment-methods input:checked + label {
  border: 2px solid #7ed1a1;
}
main .checkout .cart-details {
  width: 90%;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.1);
  border-radius: 4px;
  margin-left: 35px;
  margin-bottom: 50px;
}
main .checkout .cart-details h2 {
  margin: 0;
  padding: 23px 15px;
  font-weight: 500;
  border-bottom: 1px solid #edeff3;
}
main .checkout .cart-details table {
  width: 100%;
  padding: 20px;
}
main .checkout .cart-details table .price {
  text-align: right;
  font-weight: 500;
}
main .checkout .cart-details table td {
  padding: 5px;
}
main .checkout .cart-details .discount-code {
  padding: 0 23px 23px 23px;
}
main .checkout .cart-details .discount-code .result {
  display: block;
  padding-top: 10px;
}
main .checkout .cart-details .shipping-methods {
  border-top: 1px solid #edeff3;
  padding: 23px;
}
main .checkout .cart-details .shipping-methods h3 {
  margin: 0;
  padding: 0 0 10px;
  font-weight: 500;
}
main .checkout .cart-details .shipping-methods .shipping-method {
  padding-top: 10px;
  margin: 0;
}
main .checkout .cart-details .total {
  border-top: 1px solid #edeff3;
  display: flex;
  justify-content: space-between;
  padding: 23px;
  font-size: 18px;
  font-weight: 500;
}
main .checkout .cart-details .alt {
  font-size: 14px;
  color: #a6aab1;
  padding-left: 5px;
}
main .checkout .cart-details .summary {
  border-top: 1px solid #edeff3;
  padding: 23px 0;
}
main .checkout .cart-details .summary div {
  display: flex;
  justify-content: space-between;
  padding: 10px 23px;
}
main .checkout .cart-details .summary div span {
  font-size: 14px;
  font-weight: 500;
}
main .checkout .cart-details .summary .discount span {
  color: #de0000;
}
main .checkout .cart-details .buttons {
  margin: 0 23px 23px 23px;
}
main .checkout .cart-details .buttons .btn {
  width: 100%;
}
main .checkout .cart-details .error {
  display: flex;
  align-items: center;
  margin: 0 23px 23px;
  padding: 8px;
  font-size: 12px;
  background-color: #f8d7da;
  border-radius: 4px;
}
main .checkout .cart-details .error svg {
  fill: #cf1818;
  margin: 0 8px 0 2px;
}
main .myaccount {
  display: flex;
  flex-flow: wrap;
  margin-top: 30px;
}
main .myaccount .menu {
  padding-right: 35px;
  width: 300px;
}
main .myaccount .menu a {
  display: block;
  text-decoration: none;
  color: #7d8087;
  padding: 15px 0;
  border-bottom: 1px solid #f6f7f9;
}
main .myaccount .menu a:hover {
  color: #333538;
}
main .myaccount .myorders, main .myaccount .mydownloads, main .myaccount .settings, main .myaccount .wishlist {
  flex: 1;
  padding-bottom: 50px;
}
main .myaccount .myorders form {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-end;
}
main .myaccount .myorders .order {
  border-radius: 4px;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.1);
  margin: 30px 0 30px 0;
}
main .myaccount .myorders .order .order-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f6f7f9;
}
main .myaccount .myorders .order .order-header > div {
  display: flex;
  padding: 20px;
}
main .myaccount .myorders .order .order-header > div div {
  padding-right: 35px;
  font-size: 14px;
  font-weight: 400;
  color: #898d95;
}
main .myaccount .myorders .order .order-header > div div:last-child {
  padding-right: 0;
}
main .myaccount .myorders .order .order-header > div div span {
  display: block;
  font-weight: 500;
  font-size: 14px;
  padding-bottom: 3px;
}
main .myaccount .myorders .order .order-header > div:last-child div:last-child {
  text-align: right;
}
main .myaccount .myorders .order .order-items {
  padding: 0 15px;
}
main .myaccount .myorders .order .order-items table {
  margin: 0;
  padding: 0;
}
main .myaccount .settings form {
  max-width: 400px;
}
main .myaccount .settings form .btn {
  margin-top: 25px;
}
main .myaccount h2 {
  width: 100%;
  font-weight: normal;
  font-size: 20px;
  padding: 15px 0;
  margin: 0 0 10px 0;
  border-bottom: 1px solid #edeff3;
}
main .myaccount table {
  padding-bottom: 40px;
}
main .myaccount table tr:last-child td {
  border-bottom: 0;
}
main .myaccount table a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border: 1px solid #edeff3;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 14px;
  color: #de0000;
  margin: 0 5px 5px 0;
}
main .myaccount table a:hover {
  color: #ab0000;
}
main .myaccount table a .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding-right: 10px;
  margin-right: 10px;
  height: 100%;
  border-right: 1px solid #edeff3;
}
main .myaccount table a .icon svg {
  fill: #de0000;
}
main .myaccount table .name {
  word-break: break-all;
}
main .myaccount .login-register {
  display: flex;
  width: 80%;
  margin: 40px auto 0 auto;
  justify-content: space-between;
  margin-top: 40px;
}
main .myaccount .login-register h1 {
  text-align: left;
  padding-top: 15px;
}
main .myaccount .login-register .login {
  flex: 1;
  border-right: 1px solid #f6f7f9;
  padding-right: 55px;
}
main .myaccount .login-register .register {
  flex: 1;
  padding-left: 55px;
}
main .myaccount .login-register .btn {
  margin-top: 25px;
}
main .forgot-password {
  max-width: 400px;
}
main .forgot-password .btn {
  margin-top: 25px;
}
main p.error {
  color: #cf1818;
  font-weight: 500;
  font-size: 14px;
}
main p.error .form-link {
  font-weight: inherit;
  font-size: inherit;
  text-decoration: none;
  color: #74160b;
}
main p.error .form-link:hover {
  color: #450d07;
}
main p.success {
  color: #0da74d;
  font-weight: 500;
  font-size: 14px;
}
main p.success .form-link {
  font-weight: inherit;
  font-size: inherit;
  text-decoration: none;
  color: #0b6430;
}
main p.success .form-link:hover {
  color: #06361a;
}

.img-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
.img-modal div {
  position: absolute;
  display: flex;
  flex-flow: column;
  width: 800px;
  height: 800px;
  max-width: 90%;
  max-height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #FFFFFF;
  padding: 15px;
}
.img-modal div a {
  display: inline-flex;
  align-self: flex-end;
  text-decoration: none;
  font-size: 34px;
  line-height: 26px;
  color: #b2b4b8;
}
.img-modal div a:hover {
  color: #989a9f;
}
.img-modal div img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding-top: 20px;
  padding-bottom: 25px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: #3c414e;
  border: 0;
  color: #FFFFFF;
  padding: 0 16px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  height: 40px;
  border-radius: 4px;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.15);
  cursor: pointer;
}
.btn.paypal {
  background-color: #287ddf;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.12);
}
.btn.stripe {
  background-color: #6772e5;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.12);
}
.btn:hover {
  background-color: #353a45;
}
.btn:hover.paypal {
  background-color: #2075d8;
}
.btn:hover.stripe {
  background-color: #5a66e3;
}
.btn:disabled {
  background: #c6c7c9;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.05);
}

.link {
  font-weight: 500;
  text-decoration: none;
  color: #007bff;
  font-size: inherit;
}
.link:hover {
  text-decoration: underline;
}

.form .form-group {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.form .form-group .col {
  width: 100%;
}
.form .form-select {
  display: inline-flex;
  align-items: center;
  padding: 2px 0 2px 10px;
  border: 1px solid #dddfe2;
  border-radius: 5px;
  color: #878b91;
  font-size: 14px;
  overflow: hidden;
}
.form .form-select select {
  padding: 5px 5px 5px 0;
  border: 0;
  font-weight: 500;
  font-size: 14px;
  color: #878b91;
  outline: none;
}
.form .form-select select option {
  color: #696c71;
}
.form .form-label {
  display: block;
  padding: 14px 0 10px 0;
}
.form .form-label-2 {
  display: block;
  padding: 14px 0 0 0;
}
.form .form-label-3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 10px 0;
}
.form .form-input {
  padding: 8px 10px;
  border: 1px solid #dddfe2;
  border-radius: 4px;
}
.form .form-input::placeholder {
  color: #b0b3b8;
}
.form .form-input.expand {
  width: 100%;
}
.form .form-radio-checkbox {
  display: flex;
  flex-flow: wrap;
}
.form .form-radio-checkbox input {
  margin: 0 8px 0 0;
}
.form .form-radio-checkbox label {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px 0 0;
}
.form .form-link {
  color: #2a77eb;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
}
.form .form-link:hover {
  color: #135ac5;
}
/* FOOTER ======================================================*/
footer {
    border-top: 1px solid #ffffff;
    padding: 20px 0;
    width: 100%;
    background: linear-gradient(135deg, #5388ca 0%, #5fa99d 100%);
}
footer a {
  text-decoration: none;
  color: #4c4e52;
}
footer a:hover {
  text-decoration: underline;
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #dddddd;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
    margin-bottom: 30px;
}

.logo-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #bbbbbb;
}

.footer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
    border-left: 3px solid #facc15;
    padding-left: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.footer-link-item:hover {
    transform: translateX(5px);
}

.footer-link-item .fa-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    fill: #facc15;
    flex-shrink: 0;
}

.footer-link {
    text-decoration: none;
    color: #dddddd;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #facc15;
}

.news-item {
    display: flex;
    margin-bottom: 20px;
    gap: 12px;
}

.news-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-title {
    text-decoration: none;
    color: #dddddd;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
    transition: color 0.2s ease;
}

.news-title:hover {
    color: #facc15;
}

.news-date {
    font-size: 11px;
    color: #f0d4d4;
}

.no-posts {
    font-size: 14px;
    color: #f0d4d4;
    font-style: italic;
}

.copyRightArea {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #333333;
}

.copyRightArea p {
    font-size: 12px;
    color: #999999;
    margin: 5px 0;
}

.company-info {
    font-size: 11px;
    color: #777777;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .news-img {
        width: 50px;
        height: 66px;
    }
}

/* Vùng chính chứa nút */
#cta-main-div {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

#cta-main-div img {
    max-width: 70%;
    height: auto;
}

/* Nút chính */
#main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 55px;
    width: 55px;
    font-size: 22px;
    color: #0064f3;
    background-color: #fff;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

#main-button:hover {
    transform: rotate(20deg) scale(1.05);
}

/* Các nút con */
.fab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 50px;
    width: 50px;
    font-size: 18px;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    text-decoration: none;
    opacity: 0;
    z-index: -1;
    transition: all .3s ease;
}

/* Khi mở menu */
#main-button.open ~ .fab-btn {
    opacity: 1;
    z-index: 1;
}

/* Vị trí khi mở */
#main-button.open ~ .fab-btn:nth-of-type(1) {
    bottom: 70px;
}
#main-button.open ~ .fab-btn:nth-of-type(2) {
    bottom: 130px;
}
#main-button.open ~ .fab-btn:nth-of-type(3) {
    bottom: 190px;
}
#main-button.open ~ .fab-btn:nth-of-type(4) {
    bottom: 250px;
}

/* Màu riêng cho từng nút */
.phone-color { background: linear-gradient(45deg, #1ecc8c, #13a06a); }
.signup-color { background: linear-gradient(45deg, #ff9800, #ff5722); }
.facebook-color { background: linear-gradient(45deg, #3b5998, #2196f3); }
.zalo-color { background: linear-gradient(45deg, #0068ff, #00c6ff); }

/* Hiệu ứng wave cho nút chính */
.wave {
    animation: wave 1s linear infinite;
}
@keyframes wave {
    0% { box-shadow: 0 0 0px 0px rgba(0,100,243,.5); }
    100% { box-shadow: 0 0 0px 15px rgba(0,100,243,0); }
}

/* END FOOTER ================================== */



.pad-1 {
  padding: 5px;
}

.mar-1 {
  margin: 5px;
}

.pad-2 {
  padding: 10px;
}

.mar-2 {
  margin: 10px;
}

.pad-3 {
  padding: 15px;
}

.mar-3 {
  margin: 15px;
}

.pad-4 {
  padding: 20px;
}

.mar-4 {
  margin: 20px;
}

.pad-5 {
  padding: 25px;
}

.mar-5 {
  margin: 25px;
}

.pad-bot-1 {
  padding-bottom: 5px;
}

.pad-top-1 {
  padding-top: 5px;
}

.pad-left-1 {
  padding-left: 5px;
}

.pad-right-1 {
  padding-right: 5px;
}

.pad-x-1 {
  padding-left: 5px;
  padding-right: 5px;
}

.pad-y-1 {
  padding-top: 5px;
  padding-bottom: 5px;
}

.mar-bot-1 {
  margin-bottom: 5px;
}

.mar-top-1 {
  margin-top: 5px;
}

.mar-left-1 {
  margin-left: 5px;
}

.mar-right-1 {
  margin-right: 5px;
}

.mar-x-1 {
  margin-left: 5px;
  margin-right: 5px;
}

.mar-y-1 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.pad-bot-2 {
  padding-bottom: 10px;
}

.pad-top-2 {
  padding-top: 10px;
}

.pad-left-2 {
  padding-left: 10px;
}

.pad-right-2 {
  padding-right: 10px;
}

.pad-x-2 {
  padding-left: 10px;
  padding-right: 10px;
}

.pad-y-2 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.mar-bot-2 {
  margin-bottom: 10px;
}

.mar-top-2 {
  margin-top: 10px;
}

.mar-left-2 {
  margin-left: 10px;
}

.mar-right-2 {
  margin-right: 10px;
}

.mar-x-2 {
  margin-left: 10px;
  margin-right: 10px;
}

.mar-y-2 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.pad-bot-3 {
  padding-bottom: 15px;
}

.pad-top-3 {
  padding-top: 15px;
}

.pad-left-3 {
  padding-left: 15px;
}

.pad-right-3 {
  padding-right: 15px;
}

.pad-x-3 {
  padding-left: 15px;
  padding-right: 15px;
}

.pad-y-3 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.mar-bot-3 {
  margin-bottom: 15px;
}

.mar-top-3 {
  margin-top: 15px;
}

.mar-left-3 {
  margin-left: 15px;
}

.mar-right-3 {
  margin-right: 15px;
}

.mar-x-3 {
  margin-left: 15px;
  margin-right: 15px;
}

.mar-y-3 {
  margin-top: 15px;
  margin-bottom: 15px;
}

.pad-bot-4 {
  padding-bottom: 20px;
}

.pad-top-4 {
  padding-top: 20px;
}

.pad-left-4 {
  padding-left: 20px;
}

.pad-right-4 {
  padding-right: 20px;
}

.pad-x-4 {
  padding-left: 20px;
  padding-right: 20px;
}

.pad-y-4 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.mar-bot-4 {
  margin-bottom: 20px;
}

.mar-top-4 {
  margin-top: 20px;
}

.mar-left-4 {
  margin-left: 20px;
}

.mar-right-4 {
  margin-right: 20px;
}

.mar-x-4 {
  margin-left: 20px;
  margin-right: 20px;
}

.mar-y-4 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.pad-bot-5 {
  padding-bottom: 25px;
}

.pad-top-5 {
  padding-top: 25px;
}

.pad-left-5 {
  padding-left: 25px;
}

.pad-right-5 {
  padding-right: 25px;
}

.pad-x-5 {
  padding-left: 25px;
  padding-right: 25px;
}

.pad-y-5 {
  padding-top: 25px;
  padding-bottom: 25px;
}

.mar-bot-5 {
  margin-bottom: 25px;
}

.mar-top-5 {
  margin-top: 25px;
}

.mar-left-5 {
  margin-left: 25px;
}

.mar-right-5 {
  margin-right: 25px;
}

.mar-x-5 {
  margin-left: 25px;
  margin-right: 25px;
}

.mar-y-5 {
  margin-top: 25px;
  margin-bottom: 25px;
}

/* MAIN HOME
-------------------------------------------------------------------------------------
*/
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Màu sắc */
.bg-primary-light { background-color: #8ed7ff; }
.text-dark { color: #1a1a1a; }
.text-muted { color: #6c757d; }
.text-success { color: #198754; }
.text-warning { color: #ffc107; }
.text-info { color: #0dcaf0; }
.text-danger { color: #dc3545; }

/* Border radius */
.rounded-top { border-radius: 16px 16px 0 0; }
.rounded-bottom { border-radius: 0 0 16px 16px; }
.rounded { border-radius: 16px; }
.rounded-sm { border-radius: 12px; }

/* Shadow */
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.shadow-hover:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); transform: translateY(-3px); }

/* Layout */
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-4 { margin-top: 24px; }
.mt-3 { margin-top: 16px; }
.mt-2 { margin-top: 8px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.me-1 { margin-right: 4px; }
.me-2 { margin-right: 8px; }
.me-3 { margin-right: 12px; }
.p-2 { padding: 8px; }
.p-3 { padding: 16px; }
.px-3 { padding-left: 16px; padding-right: 16px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.pb-3 { padding-bottom: 16px; }
.pt-1 { padding-top: 4px; }

/* Grid */
.row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.col-6 { width: 50%; padding: 0 8px; }
.col-12 { width: 100%; padding: 0 8px; }

@media (min-width: 768px) {
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.333%; }
    .col-md-5 { width: 41.666%; }
    .col-md-7 { width: 58.333%; }
    .col-md-8 { width: 66.666%; }
    .col-md-4-custom { width: 33.333%; }
}
@media (min-width: 992px) {
    .col-lg-2 { width: 16.666%; }
    .col-lg-8 { width: 66.666%; }
    .col-lg-4 { width: 33.333%; }
}

/* Story Card */
.story-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    border: solid 1px #999;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.story-thumbnail { position: relative; aspect-ratio: 2 / 2.7; overflow: hidden; background: #e9ecef; }
.story-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.story-card:hover .story-thumbnail img { transform: scale(1.03); }
.story-hover {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.75); opacity: 0; transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.story-card:hover .story-hover { opacity: 1; }
.hover-content { text-align: center; color: white; font-size: 12px; padding: 12px; }
.category-badge {
    display: inline-block; background: #ffc107; color: #000;
    font-size: 10px; border-radius: 20px; padding: 3px 8px; margin: 2px;
}
.story-info { padding: 0px; flex: 1; }
.story-buynow {
    padding: 20px;
    line-height: 25px;
}
.story-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-title a { text-decoration: none; color: #1a1a1a; }
.story-title a:hover { color: #0d6efd; }
.badge-full, .badge-hot, .badge-waiting {
    font-size: 11px; padding: 3px 10px; border-radius: 30px; font-weight: 500; display: inline-block;
}
.badge-full { background: #dc3545; color: white; }
.badge-hot { background: #ff8c00; color: white; }
.badge-waiting { background: #ffe371; color: #1a1a1a; }

/* Select */
.form-select {
    padding: 8px 16px; border-radius: 30px; border: 1px solid #ddd;
    background: white; font-size: 14px; cursor: pointer; outline: none;
}
.form-select:focus { border-color: #8ed7ff; }



/* Tabs */
.nav-tabs { display: flex; list-style: none; border-bottom: 1px solid #dee2e6; margin-bottom: 16px; }
.nav-tab { flex: 1; text-align: center; }
.nav-tab button {
    width: 100%; padding: 8px; background: none; border: none;
    font-size: 14px; font-weight: 500; color: #6c757d;
    cursor: pointer; border-bottom: 2px solid transparent; transition: 0.2s;
}
.nav-tab button.active { color: #0d6efd; border-bottom-color: #0d6efd; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Recent Reads */
.recent-story-item { margin-bottom: 16px; }
.recent-story-thumb { width: 55px; height: 70px; object-fit: cover; border-radius: 8px; }
.progress { height: 4px; background: #e9ecef; border-radius: 4px; overflow: hidden; margin-top: 6px; }
.progress-bar { height: 100%; background: #8ed7ff; width: 0%; }

/* Category Grid */
.category-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.category-item {
    background: #f8f9fa; padding: 6px 14px; border-radius: 40px;
    text-decoration: none; color: #2c3e50; font-size: 13px; transition: 0.2s;
}
.category-item:hover { background: #8ed7ff; color: white; }

/* Finished Card */
.finished-card { background: white; border-radius: 16px; overflow: hidden; transition: 0.2s; height: 100%; }
.finished-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.finished-thumbnail { position: relative; aspect-ratio: 2/2.6; background: #e9ecef; }
.finished-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.finished-badge {
    position: absolute; top: 8px; left: 8px;
    background: #198754; color: white; padding: 3px 10px;
    border-radius: 30px; font-size: 11px; font-weight: bold;
}
.finished-info { padding: 10px; }
.finished-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.finished-name a { text-decoration: none; color: #1a1a1a; }
.finished-chapters { font-size: 12px; color: #6c757d; margin-top: 5px; }

/* New Stories Item */
.new-story-item {
    background: white; border-radius: 12px; padding: 16px;
    border: 1px solid #e9ecef; transition: 0.2s; height: 100%;
}
.new-story-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.story-thumb-sm { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; }
.fs-6 { font-size: 15px; font-weight: 600; }

button { background: none; border: none; cursor: pointer; }
.text-center { text-align: center; }
.bg-white { background: white; }
.bg-none { background: none; }



.justify-content-between{
    justify-content: space-between;
}

/* Sidebar Widget */
.sidebar-widget { background: white; border-radius: 16px; padding: 20px; margin-bottom: 24px; }
.widget-header { border-bottom: 2px solid #e9ecef; padding-bottom: 12px; margin-bottom: 16px; }
.hot-story-item { display: flex; padding: 12px 0; border-bottom: 1px solid #e9ecef; gap: 12px; }
.hot-story-item:last-child { border-bottom: none; }
.story-rank { width: 30px; font-weight: bold; font-size: 20px; color: #adb5bd; }
.rank-1 { color: #ffd966; font-size: 22px; }
.rank-2 { color: #c0c0c0; font-size: 20px; }
.rank-3 { color: #cd7f32; font-size: 20px; }
.hot-story-thumb { width: 50px; height: 65px; object-fit: cover; border-radius: 8px; }
.hot-story-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.hot-story-title a { text-decoration: none; color: #1a1a1a; }
.hot-story-title a:hover { color: #0d6efd; }
.category-tag {
    font-size: 11px;
    background: #f0f2f5;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    color: #2c3e50;
    display: inline-block;
    margin: 2px 2px 4px 0;
}
.category-tag:hover { background: #8ed7ff; color: white; }



/* Responsive CSS below */
@media screen and (max-width: 1100px) {
  .rhide {
    display: none;
  }
  .content-wrapper {
    padding: 0 10px;
  }
  
  main .recentlyadded .stories, main .stories .stories-wrapper {
    justify-content: center;
  }
  main .recentlyadded .stories .story, main .stories .stories-wrapper .story {
    width: auto;
  }
  main .featured {
    height: 300px;
  }
  main .featured h2 {
    font-size: 48px;
    width: 100%;
    padding: 0 10px;
  }
  main .featured p {
    font-size: 22px;
    width: 100%;
    padding: 0 10px;
  }
  main > .stories .stories-header p, main > .stories .stories-header label {
    margin-bottom: 10px;
  }
  main > .stories .stories-form {
    flex-flow: column;
  }
  main > .stories .stories-form .stories-filters {
    width: 100%;
    order: 1;
    padding: 0 5px 15px 5px;
  }
  main > .story {
    padding: 0 10px;
    flex-flow: column;
  }
  main > .story .story-imgs {
    padding: 20px 10px 0 10px;
  }
  main > .story .story-imgs .story-img-large {
    height: 300px;
  }
  main > .story .story-imgs .story-small-imgs .story-img-small {
    height: 80px;
    flex-basis: 30%;
  }
  main > .story .story-wrapper {
    padding: 0;
  }
  main .cart table input[type=number] {
    width: 40px;
  }
  main .checkout .container, main .myaccount .container {
    flex-flow: column;
  }
  main .checkout .shipping-details .payment-methods, main .myaccount .shipping-details .payment-methods {
    flex-flow: column;
  }
  main .checkout .shipping-details .payment-methods label, main .myaccount .shipping-details .payment-methods label {
    width: 100%;
    margin: 0 0 10px 0;
  }
  main .checkout .cart-details, main .myaccount .cart-details {
    margin: 0 0 40px 0;
    width: 100%;
  }
  main .checkout form, main .myaccount form {
    width: 100%;
  }
  main .myaccount .login-register {
    width: 100%;
    flex-flow: column;
  }
  main .myaccount .login-register .login {
    border-right: 0;
    padding: 10px;
  }
  main .myaccount .login-register .register {
    padding: 10px;
  }
  main .myaccount .menu {
    width: 100%;
    padding-right: 0;
  }
}

/* Sidebar =========================================*/
.story-chapters{
    font-size: 12px;
}


/* stories ========================================= */
#hotStoriesGrid .story-info{
    padding: 10px;
}
#hotStoriesGrid .story-card{
    margin-bottom: 20px;
}

/* MY ACCOUNT PAGE ===================================*/
.myaccount-page{
    margin-top: 40px;
}
/* ========== AUTH SECTION ========== */



.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

.error-msg {
    margin-top: 16px;
    padding: 10px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
}

/* ========== USER HEADER ========== */
.user-header {
    border-radius: 24px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #63aba7;
}

.user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
}

.user-info {
    flex: 1;
}

.user-name {
    color: white;
    font-size: 24px;
    margin-bottom: 4px;
}

.user-email {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.user-balance {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.balance-details {
    text-align: right;
}

.balance-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.balance-value {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.balance-value small {
    font-size: 14px;
}

.logout-btn {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* ========== MENU TABS ========== */
.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 36px;
    margin-bottom: 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: 10px;
    background: #e0e0e0;
    padding: 10px;
}

.menu-tab {
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-tab .tab-icon {
    font-size: 16px;
}

.menu-tab:hover {
    background: #f1f5f9;
    color: #000000;
}

.menu-tab.active {
    background: linear-gradient(135deg, #63aba7 0%, #63aba7 100%);
    color: white;
}

.badge {
    background: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.menu-tab.active .badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* ========== CONTENT PANEL ========== */
.content-panel {
    background: white;
    border-radius: 24px;
    padding: 0px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.panel-title {
    font-size: 20px;
    margin-bottom: 10px;
    padding-bottom: 0px;
    border-bottom: 2px solid #eef2f6;
    line-height: 42px;
    padding-left: 10px;
}

/* Profile Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
}

.info-item.full-width {
    grid-column: span 2;
}

.info-label {
    width: 120px;
    font-weight: 600;
    color: #64748b;
}

.info-value {
    flex: 1;
    color: #1e293b;
}

/* History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.history-item {
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.story-title {
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    font-size: 16px;
}

.story-title:hover {
    color: #667eea;
}

.chapter-info a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
}

.chapter-info a:hover {
    color: #667eea;
}

.read-time {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

.progress-bar {
    width: 120px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #10b981;
    border-radius: 3px;
}

.progress-text {
    font-size: 11px;
    color: #64748b;
}

/* Data Table */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.data-table th {
    font-weight: 600;
    color: #64748b;
    font-size: 13px;
}

.data-table td {
    color: #334155;
}

.price {
    color: #e74c3c;
    font-weight: 500;
}

.btn-read {
    padding: 6px 14px;
    background: #667eea;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-read:hover {
    background: #5a67d8;
}

/* ========== WALLET SECTION ========== */
.balance-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.balance-card {
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.balance-card.primary {
    background: linear-gradient(135deg, #61aaa2 0%, #60a9a0 100%);
}

.balance-card.secondary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.balance-card.tertiary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.card-icon {
    font-size: 36px;
}

.card-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.card-value {
    font-size: 24px;
    font-weight: bold;
}

.card-value small {
    font-size: 12px;
}

.card-sub {
    font-size: 11px;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
}

.deposit-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
}

.deposit-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.rate-info {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
    padding: 10px;
    background: #eef2ff;
    border-radius: 12px;
    text-align: center;
}

.deposit-form {
    max-width: 450px;
}

.amount-input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #334155;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-currency {
    position: absolute;
    left: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #94a3b8;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
}

.conversion-display {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #e8f4ff 0%, #f0e6ff 100%);
    border-radius: 16px;
    text-align: center;
}

.conversion-arrow {
    font-size: 24px;
    margin-bottom: 8px;
}

.conversion-result {
    font-size: 16px;
}

.conversion-result strong {
    font-size: 24px;
    color: #667eea;
}

.btn-deposit {
    margin-top: 24px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,185,129,0.3);
}

.pending-info {
    margin-top: 16px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 12px;
    color: #92400e;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Transaction List */
.transactions-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px;
}

.transactions-card h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: white;
    border-radius: 14px;
    transition: all 0.3s;
}

.transaction-icon {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.transaction-icon.deposit {
    background: #dcfce7;
}

.transaction-icon.payment {
    background: #e0e7ff;
}

.transaction-details {
    flex: 1;
}

.transaction-type-text {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #1e293b;
}

.transaction-date {
    font-size: 11px;
    color: #94a3b8;
}

.transaction-amount {
    font-weight: 600;
    font-size: 14px;
}

.transaction-amount.positive {
    color: #10b981;
}

.transaction-amount.negative {
    color: #ef4444;
}

.status-badge {
    font-size: 18px;
}

.empty-text {
    text-align: center;
    padding: 32px;
    color: #94a3b8;
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.wishlist-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.wishlist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.wishlist-link {
    text-decoration: none;
    display: block;
    padding: 16px;
    text-align: center;
}

.img-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 12px;
}

.wishlist-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.price-current {
    color: #e74c3c;
    font-weight: 600;
}

.price-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 12px;
    margin-left: 8px;
}

.btn-remove {
    width: 100%;
    padding: 10px;
    background: #fee2e2;
    border: none;
    color: #dc2626;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: #dc2626;
    color: white;
}

/* Settings Form */
.settings-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #334155;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.btn-save {
    padding: 12px 28px;
    background: linear-gradient(135deg, #60a99e 0%, #5fa99d 100%);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-save:hover {
    transform: translateY(-2px);
}

.alert-success,
.alert-error {
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 20px;
}

.btn-outline {
    padding: 7px 20px;
    border: 2px solid #63aba7;
    background: transparent;
    border-radius: 40px;
    color: #63aba7;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-container {
    background: white;
    border-radius: 28px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f6;
}

.modal-header h3 {
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #1e293b;
}

.modal-body {
    padding: 0px;
}

.qr-info-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 0px 20px;
    margin-bottom: 0px;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 8px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 120px;
    font-weight: 600;
    color: #64748b;
    font-size: 13px;
}

.info-value {
    flex: 1;
    color: #1e293b;
    font-size: 14px;
}

.info-value.highlight {
    color: #e74c3c;
    font-weight: bold;
    font-size: 18px;
}

.info-value.code {
    font-family: monospace;
    font-size: 12px;
    background: #f1f5f9;
    border-radius: 8px;
}

.qr-image-box {
    text-align: center;
    padding: 20px;
    background: white;
    border: 2px solid #eef2f6;
    border-radius: 20px;
    margin-bottom: 20px;
}

.qr-image {
    max-width: 200px;
    height: auto;
    margin-bottom: 12px;
}

.qr-note {
    font-size: 12px;
    color: #64748b;
}

.qr-instructions {
    background: #eef2ff;
    padding: 16px 20px;
    border-radius: 16px;
}

.qr-instructions h4 {
    margin-bottom: 12px;
    color: #4338ca;
    font-size: 14px;
}

.qr-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.qr-instructions li {
    margin: 6px 0;
    font-size: 13px;
    color: #1e293b;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #eef2f6;
}

.btn-secondary {
    flex: 1;
    padding: 12px;
    background: #f1f5f9;
    border: none;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
}

.btn-primary {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #71b0c8 0%, #60a99f 100%);
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }
    
    .user-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .user-balance {
        width: 100%;
        justify-content: space-between;
    }
    
    .balance-details {
        text-align: left;
    }
    
    .menu-tabs {
        border-radius: 20px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .menu-tab {
        white-space: nowrap;
    }
    
    .content-panel {
        padding: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item.full-width {
        grid-column: span 1;
    }
    
    .balance-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .history-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .data-table {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }
    
    .modal-container {
        width: 95%;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-label {
        width: auto;
    }
    
    .modal-footer {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .user-name {
        font-size: 20px;
    }
    
    .balance-value {
        font-size: 22px;
    }
    
    .card-value {
        font-size: 18px;
    }
    
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* LOGIN PAGE =================================*/
.login-page {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}
.login-page .form .form-group{
    display: block;
}

.login-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
}

.page-title {
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-label-3 {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-link {
    float: right;
    font-size: 14px;
    font-weight: normal;
    color: #4CAF50;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.error {
    background: #fff;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

.register-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.register-links p {
    margin: 10px 0;
}

.register-links a {
    color: #4CAF50;
    text-decoration: none;
}

.register-links a:hover {
    text-decoration: underline;
}

/* register page =============================================================*/

.register-page {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.register-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
}

.page-title {
    margin-bottom: 30px;
    text-align: center;
}
.register-page .form .form-group {
    display: block;
    position: relative;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.register-page .page-title {
    display: block;
    font-weight: normal;
    margin: 0;
    padding: 0px 0 30px 0;
    font-size: 24px;
    text-align: center;
    width: 100%;
    font-weight: bold;
}

.register-page .form .form-label {
    display: block;
    padding: 14px 0 10px 0;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

.login-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-links p {
    margin: 10px 0;
}

.login-links a {
    color: #4CAF50;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

