/*
Theme Name: Haruyoshi Luxury Store
Theme URI: https://haruyoshi-official.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A luxury watch and accessories store theme inspired by Haruyoshi Official
Version: 1.0.0
License: GPL v2 or later
Text Domain: haruyoshi-luxury
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.site-header {
    background-color: #000;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-branding {
    flex: 0 0 auto;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

/* Navigation Styles */
/* Navigation menu is handled by additional.css as a slide-in menu */

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #c9302c;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 250px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.nav-menu li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu ul {
    list-style: none;
    padding: 10px 0;
}

.dropdown-menu li {
    padding: 8px 20px;
}

.dropdown-menu a {
    color: #666;
    font-size: 13px;
}

.dropdown-menu a:hover {
    color: #000;
}

/* Product Grid Styles */
.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.product-card .product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.product-model {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #c9302c;
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
}

.product-code {
    font-size: 12px;
    color: #666;
}

.product-date {
    font-size: 12px;
    color: #999;
}

/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #c9302c;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: row;
        padding: 10px 0;
    }

    .site-branding .site-logo img {
        height: 30px;
        width: auto;
    }

    .main-navigation {
        margin-left: 0;
        width: 100%;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 14px;
    }
}

/* Search Results Page Styles */
.search-results-page {
    padding: 60px 0;
}

.search-results-page .page-header {
    margin-bottom: 40px;
    text-align: center;
}

.search-results-page .page-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.search-results-page .page-title span {
    color: #b8860b;
    font-weight: 600;
}

.search-result-count {
    font-size: 16px;
    color: #666;
}

.search-results-grid .section-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    color: #333;
}

/* Search Products Section - uses existing product card styles */
.search-products {
    margin-bottom: 60px;
}

/* Search Posts Section */
.search-posts .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Post Card Styles (similar to product cards) */
.post-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.post-card .post-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.post-card .post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-card .post-info {
    padding: 20px;
}

.post-card .post-type {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b8860b;
    margin-bottom: 10px;
}

.post-card .post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.post-card .post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-card .post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.post-card .post-date {
    font-size: 13px;
    color: #999;
}

/* No Results Styles */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.no-results p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.search-suggestions {
    margin: 40px auto;
    max-width: 400px;
    text-align: left;
}

.search-suggestions h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #666;
}

.search-suggestions li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b8860b;
}

.new-search {
    max-width: 500px;
    margin: 0 auto;
}

.new-search .search-form {
    display: flex;
    gap: 10px;
}

.new-search .search-field {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
}

.new-search .search-submit {
    padding: 12px 30px;
    background-color: #b8860b;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.new-search .search-submit:hover {
    background-color: #9a7209;
}

/* Search Results Responsive Design */
@media (max-width: 768px) {
    .search-posts .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .search-results-page .page-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .search-posts .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .new-search .search-form {
        flex-direction: column;
    }

    .new-search .search-submit {
        width: 100%;
    }
}

/* LINE Contact Section Styles */
.line-contact-section {
    text-align: center;
    margin: 60px 0;
    padding: 40px 0;
}

.btn-line-contact {
    background-color: #06C755;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-line-contact:hover {
    background-color: #05a548;
    transform: translateY(-2px);
}

.btn-line-contact i {
    font-size: 14px;
}

/* Responsive Design for LINE Contact Button */
@media (max-width: 768px) {
    .line-contact-section {
        margin: 40px 0;
        padding: 30px 0;
    }

    .btn-line-contact {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
}

/* Floating LINE Button Styles */
.floating-line-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
}

.line-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #06C755;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.line-float-btn:hover {
    background-color: #05a548;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5);
}

.line-float-btn:active {
    transform: translateY(-1px);
}

.line-float-btn svg {
    width: 28px;
    height: 28px;
}




/* Mobile Responsive Styles for Floating Button */
@media (max-width: 768px) {
    .floating-line-button {
        bottom: 20px;
        right: 20px;
    }

    .line-float-btn {
        width: 56px;
        height: 56px;
    }

    .line-float-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Product Filters Section */
.product-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s;
    min-width: 150px;
}

.filter-select:hover {
    border-color: #999;
}

.filter-select:focus {
    outline: none;
    border-color: #333;
}

/* Mobile Responsive for Filters */
@media (max-width: 768px) {
    .product-filters {
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
}
/* Product Notices Section */
.product-notices {
    margin: 40px 0;
    padding: 30px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}

.product-notices .notice-item {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
}

.product-notices .notice-item:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive for Product Notices */
@media (max-width: 768px) {
    .product-notices {
        padding: 20px;
        margin: 30px 0;
    }
    
    .product-notices .notice-item {
        font-size: 13px;
    }
}
