/* homepage.css */

/* Define theme variables */
:root {
    --text-primary: #000000; /* Black for light mode */
    --text-secondary: #333333; /* Dark gray for light mode */
    --text-accent: #b71c1c; /* Darker red for light mode */
    --text-light: #ffffff; /* White for dark mode */
    --background-overlay: #ffffff; /* Solid white for light mode */
}

[data-theme="dark"] {
    --text-primary: #ffffff; /* White for dark mode */
    --text-secondary: #cccccc; /* Light gray for dark mode */
    --text-accent: #ff6666; /* Brighter red for dark mode */
    --text-light: #000000; /* Black for light backgrounds in dark mode */
    --background-overlay: #333333; /* Solid dark gray for dark mode */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    background-color: #f0f0f5;
    margin: 0;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] body {
    background-color: #2c3e50;
}

.main-content {
    flex: 1;
}

.navbar {
    background: linear-gradient(to right, #e6d9b8, #c9a87c);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    max-height: 60px;
}

[data-theme="dark"] .navbar {
    background: linear-gradient(to right, #2c3e50, #34495e);
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-left a {
    color: #8b4513;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    transition: background-color 0.3s;
    position: relative;
}

[data-theme="dark"] .navbar-left a {
    color: #4a79b3;
}

.navbar-left a span {
    text-shadow: -2px 0 #ffffff, 2px 0 #ffffff, 0 -2px #ffffff, 0 2px #ffffff;
}

[data-theme="dark"] .navbar-left a span {
    text-shadow: none;
    color: #4a79b3;
}

.navbar .navbar-left a::after {
    content: none !important;
    display: none !important;
}

.navbar-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.navbar-right a {
    color: #8b4513;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

[data-theme="dark"] .navbar-right a {
    color: #ffffff;
}

.navbar-right a.cart-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 10px 10px 10px 15px;
    flex-shrink: 0;
    min-width: 120px;
    width: 120px;
}

.navbar-right a:hover {
    background: #ffebd7;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .navbar-right a:hover {
    background: #4a657b;
}

.navbar-right .profile-link:hover {
    background: none;
    box-shadow: none;
}

.navbar-right .wallet-balance {
    color: #8b4513;
    font-size: 16px;
    padding: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
}

[data-theme="dark"] .navbar-right .wallet-balance {
    color: #ffffff;
}

.navbar-right .wallet-balance:hover {
    background: #ffebd7;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .navbar-right .wallet-balance:hover {
    background: #4a657b;
}

.cart-count {
    position: absolute;
    top: -2px;
    left: 20px;
    color: #ff0000;
    font-size: 16px;
    font-weight: bold;
    padding: 2px 6px;
    line-height: 1;
}

.navbar-right .profile-link {
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.profile-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
}

.profile-container:hover {
    background: #ffebd7;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1002;
}

[data-theme="dark"] .profile-container:hover {
    background: #4a657b;
}

.profile-container:hover .logout-dropdown {
    display: block;
}

.profile-circle {
    width: 30px;
    height: 30px;
    background-color: #8b4513;
    border-radius: 50%;
    border: 2.5px solid #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .profile-circle {
    background-color: #314c8f;
    border-color: #4a79b3;
}

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

.profile-initials {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffebd7;
    text-transform: uppercase;
    line-height: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

[data-theme="dark"] .profile-initials {
    color: #ffffff;
}

.username {
    color: #8b4513;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

[data-theme="dark"] .username {
    color: #ffffff;
}

.profile-link:hover .username {
    color: #ffa07a;
}

.logout-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    z-index: 1001;
}

[data-theme="dark"] .logout-dropdown {
    background: #34495e;
}

.logout-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #e74c3c;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

[data-theme="dark"] .logout-dropdown a {
    color: #ffffff;
}

.logout-dropdown a:hover {
    background: #ffebd7;
    color: #e74c3c;
}

[data-theme="dark"] .logout-dropdown a:hover {
    background: #4a657b;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    overflow: hidden;
}

.hero {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    padding: 40px 20px;
    border-radius: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero {
    background: rgba(0, 0, 0, 0.7); /* Keep the same for dark mode */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.search-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

#search-bar {
    padding: 12px 20px;
    width: 350px;
    max-width: 100%;
    border: 2px solid #8b4513;
    border-radius: 25px;
    font-size: 16px;
    background: #e6d9b8;
    color: var(--text-primary);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] #search-bar {
    background: #4a657b;
    border-color: #ffffff;
}

#search-bar:focus {
    border-color: #c9a87c;
    box-shadow: 0 0 8px rgba(201, 168, 124, 0.5);
    outline: none;
}

[data-theme="dark"] #search-bar:focus {
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

#search-bar::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.category-btn {
    color: #8b4513;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    background: #e6d9b8 !important;
    border: 2px solid #ffffff;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

[data-theme="dark"] .category-btn {
    color: #ffffff;
    background: #4a657b !important;
    border-color: #ffffff;
}

.category-btn.active {
    color: #8b4513;
    background: #deb887 !important;
    border-color: #5c4033;
    transform: scale(1.05);
}

[data-theme="dark"] .category-btn.active {
    color: #ffffff;
    background: #6b8297 !important;
    border-color: #ffffff;
}

.category-btn:hover {
    background: #f5f5dc !important;
    transform: scale(1.1);
}

[data-theme="dark"] .category-btn:hover {
    background: #5a7590 !important;
}

.category-btn.active:hover {
    background: #deb887 !important;
    transform: scale(1.1);
}

[data-theme="dark"] .category-btn.active:hover {
    background: #6b8297 !important;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 210px);
    gap: 43px;
    max-width: 1200px;
    margin: -10px auto 30px;
    padding: 0 10px;
    justify-content: center;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(255, 160, 122, 0.6);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 210px;
    height: 350px;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .product-card {
    background: #34495e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.product-card.hidden {
    display: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 160, 122, 0.8);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

.product-image-container {
    width: 100%;
    height: 200px;
    padding: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.product-info {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.product-info .price {
    font-size: 16px;
    color: var(--text-accent);
    font-weight: bold;
    margin-bottom: 5px;
}

.product-info .category {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.view-btn {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background: #ffa07a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.view-btn:hover {
    background: #ff8c69;
}

.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
}

.product-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    width: 750px;
    max-width: 90%;
    height: 520px;
    overflow: hidden;
}

[data-theme="dark"] .product-modal {
    background: #34495e;
}

.modal-content {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-modal img {
    width: 40%;
    max-height: 100%;
    object-fit: contain;
    margin-right: 15px;
}

.product-modal #modal-details {
    width: 60%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.product-modal h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-modal p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.quantity-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
    min-height: 30px;
    gap: 15px;
}

.quantity-btn {
    width: 30px;
    height: 30px !important;
    background-color: #2c3e50;
    color: white;
    border: none !important;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: box-border;
    transition: background-color 0.3s ease-in-out;
}

.quantity-btn:hover {
    background-color: #34495e;
}

#modal-quantity {
    width: 60px;
    height: 30px !important;
    margin: 0 !important;
    padding: 5px !important;
    text-align: center;
    border: 2px solid #ddd !important;
    border-radius: 5px;
    font-size: 16px;
    line-height: 20px;
    box-sizing: border-box;
    color: #000 !important;
}

[data-theme="dark"] #modal-quantity {
    color: #000 !important;
}

.add-to-cart-btn {
    padding: 8px 18px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #ffa07a;
    color: white;
    transition: background 0.3s ease;
    line-height: 1;
}

.add-to-cart-btn:hover {
    background: #ff8c69;
}

.sign-in-container {
    text-align: center;
    margin: 10px 0 0 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.2;
    padding: 0;
}

.sign-in-link {
    color: #3498db;
    text-decoration: none;
}

.sign-in-link:hover {
    text-decoration: underline;
}

.barcode {
    min-height: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 5px 0;
    max-width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    gap: 2px;
}

#barcode-svg {
    width: 100%;
    height: 80px;
    min-height: 80px;
}

#modal-barcode-id {
    font-size: 16px;
    color: var(--text-primary);
    text-align: center;
    word-wrap: break-word;
    max-width: 100%;
    font-weight: bold;
    display: block;
}

.color-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 5px 0;
}

.color-variant {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.color-variant img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.color-variant img:hover {
    border-color: #deb887;
}

.color-variant img.selected {
    border-color: #deb887;
    box-shadow: 0 0 8px rgba(222, 184, 135, 0.8);
}

.color-variant span {
    font-size: 14px;
    color: var(--text-primary);
    margin-top: 5px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 5px 0;
}

.size-option {
    display: flex;
    align-items: center;
}

.size-btn {
    padding: 5px 8px;
    border: 2px solid #d2b48c;
    border-radius: 5px;
    background: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.size-btn:hover {
    background: #e4d96f;
}

.size-btn.active {
    background: #deb887;
    border-color: #deb887;
    color: white;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    z-index: 3000;
    animation: slideIn 0.5s ease-out;
}

.notification.success {
    background-color: #2ecc71;
}

.notification.error {
    background-color: #e74c3c;
}

.notification.warning {
    background-color: #f1c40f;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.logout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.logout-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

[data-theme="dark"] .logout-modal-content {
    background: #34495e;
}

.logout-modal-content p {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.logout-modal-content button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    margin: 0 10px;
}

.confirm-btn {
    background: #e74c3c;
    color: white;
}

.confirm-btn:hover {
    background: #c0392b;
}

.cancel-btn {
    background: #3498db;
    color: white;
}

.cancel-btn:hover {
    background: #2980b9;
}

.footer {
    background: linear-gradient(to right, #e6d9b8, #c9a87c);
    padding: 40px 20px;
    color: var(--text-primary);
    font-size: 16px;
    position: relative;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

[data-theme="dark"] .footer {
    background: linear-gradient(to right, #2c3e50, #34495e);
}

[data-theme="dark"] .footer-section h4,
[data-theme="dark"] .footer-section p,
[data-theme="dark"] .footer-section a {
    color: #ffffff;
}

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

.footer-section {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-section h4 {
    font-size: 18px;
    color: #8b4513;
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 14px;
    color: #8b4513;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section a {
    color: #8b4513;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffebd7;
}

[data-theme="dark"] .footer-section a:hover {
    color: #4a657b;
}

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

.social-icon {
    display: inline-block;
    padding: 5px 0;
}

.pagination-container {
    display: block;
    text-align: center;
    margin: 5px auto;
    padding: 5px;
    width: 100%;
    max-width: 1200px;
}

.pagination-container:first-of-type {
    margin-bottom: -5px;
    padding: 0px;
    line-height: 0;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: fit-content;
    margin: 0 auto;
}

.pagination button {
    padding: 8px 15px;
    border: 2px solid #ffffff;
    border-radius: 5px;
    background: #e6d9b8 !important;
    color: #8b4513;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    opacity: 1;
}

[data-theme="dark"] .pagination button {
    color: #ffffff;
    background: #4a657b !important;
    border-color: #ffffff;
}

.pagination button:hover {
    background: #f5f5dc !important;
    transform: scale(1.05);
}

[data-theme="dark"] .pagination button:hover {
    background: #5a7590 !important;
}

.pagination button:disabled {
    cursor: not-allowed;
    background: #e6d9b8 !important;
    color: #8b4513;
    filter: brightness(70%);
}

[data-theme="dark"] .pagination button:disabled {
    color: #ffffff;
    background: #4a657b !important;
}

.per-page-select {
    padding: 8px 15px;
    border: 2px solid #ffffff;
    border-radius: 5px;
    background: #e6d9b8 !important;
    color: #8b4513;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    opacity: 1;
}

[data-theme="dark"] .per-page-select {
    color: #ffffff;
    background: #4a657b !important;
}

.per-page-select:focus {
    outline: none;
    box-shadow: none;
}

.per-page-select option {
    font-weight: bold;
    color: var(--text-primary);
}

.per-page-select:hover {
    background: #f5f5dc;
    transform: scale(1.05);
}

[data-theme="dark"] .per-page-select:hover {
    background: #5a7590;
}

.pagination-container:last-of-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
}

.pagination-container:last-of-type .pagination {
    margin: 0 auto;
    width: auto;
}

.page-indicator {
    margin: 20px auto 30px;
    font-size: 16px;
    font-weight: bold;
    color: #8b4513;
    text-align: center;
    position: relative;
    order: 3;
    width: auto;
    background: var(--background-overlay);
    padding: 10px;
    border-radius: 5px;
}

[data-theme="dark"] .page-indicator {
    color: #ffffff;
}

.page-indicator::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: #d9b99b;
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 10px; }
    .navbar-right { flex-direction: column; gap: 10px; }
    .hero h2 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .category-buttons { flex-wrap: wrap; gap: 10px; }
    .category-btn { padding: 10px 20px; font-size: 16px; }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .product-modal { 
        flex-direction: column; 
        height: auto;
        width: 90%; 
        padding: 15px; 
    }
    .modal-content { 
        flex-direction: column; 
        height: auto;
    }
    .product-modal img { 
        width: 100%; 
        margin-right: 0; 
        margin-bottom: 15px; 
        max-height: 250px; 
    }
    .product-modal #modal-details { 
        width: 100%; 
    }
}

@media (max-width: 480px) {
    .navbar h1 { font-size: 18px; }
    .navbar-right a { font-size: 12px; padding: 6px 10px; }
    .hero h2 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .category-btn { padding: 8px 15px; font-size: 14px; }
    .product-card {
        width: 160px;
        height: 300px;
    }
    .product-image-container {
        height: 150px;
    }
    .product-info h3 {
        font-size: 16px;
    }
    .product-info .price {
        font-size: 14px;
    }
    .product-info .category {
        font-size: 12px;
    }
    .view-btn {
        font-size: 12px;
        padding: 8px;
    }
    #search-bar { width: 250px; }
}

.logo-circle {
    width: 48px;
    height: 48px;
    background-color: #deb887;
    border-radius: 50%;
    border: 2.5px solid #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
    transition: background 0.3s, border-color 0.3s;
}

.logo-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
}

[data-theme="dark"] .logo-circle {
    background-color: #444;
    border-color: #4a79b3;
}

.brand-hotshots, .brand-apparel {
    display: flex;
    align-items: center;
    color: #8b4513;
    text-shadow: -2px 0 #fff, 2px 0 #fff, 0 -2px #fff, 0 2px #fff;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: 0.5px;
}
[data-theme="dark"] .brand-hotshots, [data-theme="dark"] .brand-apparel {
    color: #4a79b3;
    text-shadow: -2px 0 #fff, 2px 0 #fff, 0 -2px #fff, 0 2px #fff !important;
}

.brand-text-underline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 14px;
    position: relative;
}

.brand-hotshots-wrapper, .brand-apparel-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.brand-line-above-hotshots {
    position: absolute;
    left: 0;
    top: -4px;
    width: 98%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    display: block;
    margin: 0 auto;
}
[data-theme="dark"] .brand-line-above-hotshots {
    background: #fff;
}

.brand-line-below-apparel {
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    display: block;
    margin: 0;
}
[data-theme="dark"] .brand-line-below-apparel {
    background: #fff;
}

.brand-words-row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
}

.brand-apparel-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

.brand-apparel {
    margin: 0;
    vertical-align: baseline;
}