* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", Arial, sans-serif;
    color: #333;
    background: #fffaf5;
}
.site-header {
    min-height: 72px;
    padding: 0 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 10;
}
.logo { font-size: 24px; font-weight: bold; color: #f57c00; }
nav a { margin-left: 24px; text-decoration: none; color: #444; font-weight: 600; }
nav a:hover { color: #f57c00; }
.hero {
    min-height: 520px;
    padding: 90px 8%;
    background: linear-gradient(90deg, rgba(90,90,90,0.88), rgba(170,170,170,0.70)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
}
.hero-text { max-width: 680px; }
.badge { display: inline-block; padding: 8px 16px; background: rgba(255,255,255,0.2); border-radius: 999px; font-weight: bold; }
.hero h1 { font-size: 48px; line-height: 1.35; margin: 22px 0; }
.hero p { font-size: 17px; line-height: 1.9; }
.main-btn { display: inline-block; margin-top: 24px; padding: 14px 34px; border-radius: 999px; background: #fff; color: #f57c00; border: none; text-decoration: none; font-weight: bold; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding: 50px 8%; }
.features div { background: #fff; padding: 28px; border-radius: 18px; box-shadow: 0 8px 24px rgba(255,138,0,0.12); }
.features h3 { color: #f57c00; margin-top: 0; }
.product-section { padding: 70px 8%; background: #fff; text-align: center; }
.product-section h2, .about h2, .contact h2 { font-size: 34px; color: #222; }
.section-subtitle { color: #777; margin-bottom: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.product-card { position: relative; background: #fff; border-radius: 20px; overflow: hidden; text-align: left; box-shadow: 0 10px 26px rgba(0,0,0,0.08); transition: .25s; }
.product-card:hover { transform: translateY(-6px); }
.product-card img { width: 100%; height: 190px; object-fit: cover; }
.product-body { padding: 20px; }
.product-body h3 { font-size: 18px; margin: 0 0 10px; }
.product-body p { font-size: 14px; color: #666; line-height: 1.7; min-height: 48px; }
.price { font-size: 24px; color: #e65100; font-weight: bold; margin: 14px 0; }
.price small { font-size: 12px; color: #777; }
.stock { min-height: auto !important; color: #777; }
.tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; background: #f57c00; color: #fff; border-radius: 999px; font-size: 13px; font-weight: bold; }
.cart-btn { width: 100%; padding: 12px; background: #f57c00; color: #fff; border: none; border-radius: 12px; font-weight: bold; cursor: pointer; }
.cart-btn:hover { background: #e65100; }
.small-btn { width: 120px; }
.about { padding: 70px 20%; text-align: center; background: #fff3e0; }
.about p { line-height: 2; }
.contact { padding: 70px 8%; text-align: center; background: #fff; }
.contact form { max-width: 560px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 16px; }
.contact input, .contact textarea { padding: 14px; border: 1px solid #ddd; border-radius: 12px; font-size: 15px; }
.contact textarea { height: 140px; }
.contact button { padding: 14px; border: none; border-radius: 12px; background: #f57c00; color: #fff; font-weight: bold; cursor: pointer; }
.cart-page, .admin-page, .admin-form-page, .checkout-page { padding: 70px 8%; min-height: 600px; background: #fffaf5; }
.cart-item { background: #fff; padding: 20px; border-radius: 16px; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.06); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cart-total, .checkout-total { font-size: 26px; font-weight: bold; color: #e65100; margin: 30px 0; }
.admin-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-add-btn { background: #f57c00; color: #fff; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: bold; display: inline-block; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.admin-table th { background: #f57c00; color: #fff; padding: 14px; text-align: left; }
.admin-table td { padding: 14px; border-bottom: 1px solid #eee; vertical-align: middle; }
.admin-img { width: 80px; height: 60px; object-fit: cover; border-radius: 10px; }
.status-on { color: #2e7d32; font-weight: bold; }
.status-off { color: #999; font-weight: bold; }
.edit-btn, .delete-btn { padding: 8px 14px; border-radius: 8px; text-decoration: none; color: #fff; font-size: 14px; display: inline-block; }
.edit-btn { background: #fb8c00; }
.delete-btn { background: #d32f2f; margin-left: 8px; }
.admin-form, .checkout-box, .payment-methods { max-width: 760px; background: #fff; padding: 30px; margin-bottom: 28px; border-radius: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.admin-form label, .checkout-box label { display: block; margin: 18px 0 8px; font-weight: bold; }
.admin-form input, .admin-form textarea, .checkout-box input, .checkout-box textarea { width: 100%; padding: 13px; border: 1px solid #ddd; border-radius: 10px; font-size: 15px; }
.admin-form textarea { height: 120px; }
.checkout-box textarea { height: 110px; }
.checkbox-label { display: flex !important; align-items: center; gap: 8px; }
.checkbox-label input { width: auto; }
.admin-form button, .order-btn { margin-top: 24px; width: 100%; padding: 14px; background: #f57c00; color: #fff; border: none; border-radius: 12px; font-weight: bold; cursor: pointer; }
.admin-form button:hover, .order-btn:hover { background: #e65100; }
.checkout-item { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #eee; }
.radio-line { display: block; margin: 12px 0; font-weight: bold; }
.radio-line input { margin-right: 8px; width: auto; }
.payment-note { color: #777; font-size: 14px; line-height: 1.8; }
footer { padding: 28px; text-align: center; background: #2b2b2b; color: #fff; }
@media (max-width: 900px) { .product-grid, .features { grid-template-columns: 1fr 1fr; } .hero h1 { font-size: 36px; } .admin-table { font-size: 13px; } }
@media (max-width: 600px) { .site-header { height: auto; padding: 18px; flex-direction: column; gap: 12px; } nav a { margin: 0 8px; } .product-grid, .features { grid-template-columns: 1fr; } .hero { padding: 60px 6%; } .hero h1 { font-size: 30px; } .cart-item { flex-direction: column; align-items: flex-start; } }

/* 商品を画像なしのリスト表示にする */
.product-list {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-list-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-list-main {
    flex: 1;
    padding-top: 22px;
}

.product-list-main h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.product-list-main p {
    color: #666;
    line-height: 1.7;
    margin: 8px 0;
}

.product-list-side {
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.product-list-side .price {
    text-align: right;
}

.product-list-item .tag {
    position: absolute;
    top: 18px;
    left: 24px;
}

@media (max-width: 700px) {
    .product-list-item {
        flex-direction: column;
    }

    .product-list-side {
        width: 100%;
    }

    .product-list-side .price {
        text-align: left;
    }
}

/* 株式会社トレドリーム ロゴ・会社情報 */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d94a36;
}
.brand-logo img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
.hero {
    justify-content: space-between;
    gap: 40px;
}
.hero-logo-box {
    width: 260px;
    min-width: 220px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 28px;
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(3px);
}
.hero-logo-box img {
    width: 170px;
    height: 170px;
    display: block;
    margin: 0 auto 14px;
}
.hero-logo-box p {
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
}
.company-info {
    padding-left: 8%;
    padding-right: 8%;
}
.company-card {
    max-width: 880px;
    margin: 28px auto 0;
    background: #fff;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
}
.company-logo img {
    width: 120px;
    height: 120px;
}
.company-detail p {
    margin: 12px 0;
    line-height: 1.8;
}
.company-detail a,
.contact-direct a {
    color: #e65100;
    font-weight: bold;
    text-decoration: none;
}
.contact-direct {
    max-width: 760px;
    margin: 22px auto 28px;
    background: #fffaf5;
    border: 1px solid #ffe0b2;
    border-radius: 18px;
    padding: 20px;
    line-height: 1.8;
}
footer p {
    margin: 6px 0;
}
@media (max-width: 800px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-logo-box {
        width: 100%;
    }
    .company-card {
        flex-direction: column;
        text-align: center;
    }
}

/* A/B/C/NG 商品タイプ表示 */
.type-badge {
    display: inline-block;
    min-width: 44px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f57c00;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.admin-form select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
}


/* Contact page */
.contact-link-section {
    padding: 70px 8%;
    text-align: center;
    background: #fff3e0;
}

.orange-btn {
    background: #f57c00;
    color: #fff;
}

.contact-page-hero {
    padding: 80px 8%;
    background: linear-gradient(90deg, rgba(90, 90, 90, 0.92), rgba(170, 170, 170, 0.76));
    color: #fff;
}

.contact-page-hero h1 {
    font-size: 42px;
    margin: 18px 0 12px;
}

.contact-page {
    padding: 60px 8%;
    background: #fffaf5;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.contact-info-card,
.contact-form-card,
.map-section {
    background: #fff;
    padding: 32px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-logo {
    margin-bottom: 20px;
}

.contact-logo img {
    width: 110px;
    height: 110px;
}

.contact-note {
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    background: #fff3e0;
    color: #e65100;
    font-weight: bold;
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-card label {
    font-weight: bold;
    margin-top: 8px;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
}

.contact-form-card textarea {
    height: 150px;
}

.contact-form-card button {
    margin-top: 16px;
    padding: 15px;
    border: none;
    border-radius: 14px;
    background: #f57c00;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.map-section {
    margin-top: 32px;
}

.map-box {
    margin-top: 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eee;
}

.map-open-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #f57c00;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* Cart quantity controls */
.cart-info {
    line-height: 1.8;
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #f57c00;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.quantity-control button {
    width: 40px;
    height: 38px;
    border: none;
    background: #fff3e0;
    color: #e65100;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.quantity-control input {
    width: 58px;
    height: 38px;
    border: none;
    border-left: 1px solid #ffd2a6;
    border-right: 1px solid #ffd2a6;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 700px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cart-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Product variant purchase controls */
.variant-stock-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.buy-controls {
    display: flex;
    gap: 10px;
    margin: 12px 0;
    align-items: center;
}

.variant-select {
    flex: 1;
    min-width: 120px;
    padding: 11px 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    font-weight: bold;
}

.qty-input {
    width: 78px;
    padding: 11px 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 700px) {
    .buy-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .qty-input {
        width: 100%;
    }
}


/* Variant price admin */
.variant-admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.variant-admin-card {
    border: 1px solid #ffe0b2;
    background: #fffaf5;
    border-radius: 16px;
    padding: 18px;
}

.variant-admin-card h3 {
    margin: 0 0 10px;
    color: #e65100;
}

@media (max-width: 700px) {
    .variant-admin-grid {
        grid-template-columns: 1fr;
    }
}


/* Company page */
.company-profile-card {
    background: #fff;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 32px;
}

.company-profile-logo {
    text-align: center;
}

.company-profile-logo img {
    width: 150px;
    height: 150px;
}

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

.company-profile-table th,
.company-profile-table td {
    padding: 16px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
    line-height: 1.8;
}

.company-profile-table th {
    width: 150px;
    color: #e65100;
    background: #fffaf5;
}

.company-profile-table a {
    color: #e65100;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 800px) {
    .company-profile-card {
        grid-template-columns: 1fr;
    }

    .company-profile-table th {
        width: 110px;
    }
}

/* Contact form only page */
.contact-form-only {
    max-width: 1120px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-form-only h2 {
    margin-top: 0;
    margin-bottom: 26px;
}

.contact-form-only label {
    display: block;
    margin: 18px 0 8px;
    font-weight: bold;
}

.contact-form-only input,
.contact-form-only textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
}

.contact-form-only textarea {
    height: 150px;
}

.contact-form-only button {
    width: 100%;
    margin-top: 24px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #f57c00;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}


/* Product list toolbar and pagination */
.product-toolbar {
    max-width: 980px;
    margin: 0 auto 24px;
    display: flex;
    gap: 14px;
    justify-content: center;
}

.product-toolbar input,
.product-toolbar select {
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 15px;
    background: #fff;
}

.product-toolbar input {
    flex: 1;
    max-width: 520px;
}

.product-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.product-pagination button {
    padding: 11px 22px;
    border: none;
    border-radius: 999px;
    background: #f57c00;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.product-pagination span {
    font-weight: bold;
    color: #e65100;
}

@media (max-width: 700px) {
    .product-toolbar {
        flex-direction: column;
    }

    .product-toolbar input {
        max-width: none;
    }
}


/* Purchase flow section */
.purchase-flow-section {
    padding: 70px 8%;
    background: #fffaf5;
}

.purchase-flow-section .container {
    max-width: 1180px;
    margin: 0 auto;
}

.purchase-flow-section h2 {
    font-size: 34px;
    color: #222;
    text-align: center;
    margin: 0 0 18px;
}

.purchase-flow-section hr {
    width: 72px;
    height: 4px;
    border: none;
    border-radius: 999px;
    background: #f57c00;
    margin: 0 auto 38px;
}

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

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.12);
    border: 1px solid #ffe0b2;
}

.service-card h2 {
    font-size: 42px;
    text-align: left;
    color: #f57c00;
    margin: 0 0 8px;
}

.service-card h4 {
    font-size: 19px;
    margin: 0 0 14px;
    color: #222;
}

.service-card p {
    line-height: 1.9;
    color: #555;
    margin: 0;
}

.notice-card {
    background: #fff3e0;
}

.notice-card a {
    color: #e65100;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


/* Product standalone page link section */
.product-link-section {
    padding: 70px 8%;
    text-align: center;
    background: #ffffff;
}

.product-link-section h2 {
    font-size: 34px;
    color: #222;
    margin-bottom: 14px;
}

.product-link-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 22px;
}


/* Home gallery section */
.gallery-section {
    padding: 70px 8%;
    background: #fff;
}

.gallery-header {
    max-width: 980px;
    margin: 0 auto 28px;
    text-align: center;
}

.gallery-header h2 {
    font-size: 34px;
    color: #222;
    margin-bottom: 12px;
}

.gallery-header p {
    color: #666;
    line-height: 1.9;
}

.home-gallery-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.gallery-item {
    background: #fffaf5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #f3e1cf;
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.gallery-tip-box {
    max-width: 1180px;
    margin: 24px auto 0;
    background: #fffaf5;
    border: 1px solid #ffe0b2;
    border-radius: 18px;
    padding: 20px 24px;
}

.gallery-tip-box h4 {
    margin: 0 0 10px;
    color: #e65100;
}

.gallery-tip-box p {
    margin: 0 0 10px;
    color: #555;
}

.gallery-tip-box ul {
    margin: 0;
    padding-left: 18px;
    color: #555;
    line-height: 1.9;
}

@media (max-width: 960px) {
    .home-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item-large {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .home-gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* Download section */
.download-section {
    padding: 0 8% 70px;
    background: #fffaf5;
}

.download-card {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.12);
    border: 1px solid #ffe0b2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.download-card h2 {
    margin: 0 0 12px;
    color: #222;
    font-size: 28px;
}

.download-card p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

.download-btn {
    white-space: nowrap;
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    background: #f57c00;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.22);
}

.download-btn:hover {
    background: #e65100;
}

@media (max-width: 760px) {
    .download-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-btn {
        width: 100%;
        text-align: center;
    }
}


/* v19 gallery overrides */
.home-gallery-grid-six {
    grid-template-columns: repeat(3, 1fr);
}

.home-gallery-grid-six .gallery-item img {
    min-height: 260px;
    object-fit: cover;
}

@media (max-width: 960px) {
    .home-gallery-grid-six {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-gallery-grid-six {
        grid-template-columns: 1fr;
    }
}


/* v23 all hero logo */
.hero-logo-box img,
.page-hero-logo-box img {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 26px rgba(0,0,0,0.16);
}

.hero-with-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.page-hero-content {
    max-width: 760px;
}

.page-hero-logo-box {
    width: 240px;
    min-width: 220px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 28px;
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(3px);
}

.page-hero-logo-box img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto 14px;
}

.page-hero-logo-box p {
    margin: 0;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
}

@media (max-width: 900px) {
    .hero, .hero-with-logo {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-logo-box, .page-hero-logo-box {
        width: 100%;
        max-width: 320px;
    }
}


/* Panel price table on home */
.panel-price-section {
    padding: 70px 8%;
    background: #fff;
}

.panel-price-card {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    padding: 30px 42px 38px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    border: 1px solid #ddd;
}

.panel-price-header {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    align-items: center;
    gap: 12px;
}

.price-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e95b50;
}

.price-logo-wrap img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.price-brand {
    font-size: 26px;
    line-height: 1;
    font-weight: bold;
}

.price-sub-brand {
    font-size: 11px;
    text-align: right;
    color: #e95b50;
}

.price-title-wrap h2 {
    text-align: center;
    margin: 0;
    font-size: 26px;
    color: #111;
}

.price-date {
    text-align: right;
    font-size: 20px;
    color: #111;
}

.price-red-line {
    height: 3px;
    background: #d32f2f;
    margin: 12px 0 12px;
}

.panel-price-table-wrap {
    overflow-x: auto;
}

.panel-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.panel-price-table th {
    background: #9f9f9f;
    color: #000;
    padding: 13px 10px;
    border: 1px solid #fff;
    font-weight: bold;
}

.panel-price-table td {
    background: #e3e3e3;
    padding: 10px;
    border: 1px solid #fff;
    text-align: center;
}

.panel-price-table tr:nth-child(even) td {
    background: #f0f0f0;
}

.panel-price-table .model-name {
    color: #c62828;
    font-weight: bold;
}

.panel-price-note {
    margin: 14px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .panel-price-card {
        padding: 22px 14px;
    }

    .panel-price-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .price-logo-wrap {
        justify-content: center;
    }

    .price-date {
        text-align: center;
    }

    .panel-price-table {
        font-size: 14px;
        min-width: 680px;
    }
}


/* Admin price date setting */
.price-date-admin-card {
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    margin-bottom: 26px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.price-date-admin-card h2 {
    margin-top: 0;
}

.price-date-admin-card form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.price-date-admin-card input {
    flex: 1;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
}

.price-date-admin-card button {
    padding: 13px 24px;
    border: none;
    border-radius: 10px;
    background: #f57c00;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.price-date-admin-card p {
    margin-bottom: 0;
    color: #777;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .price-date-admin-card form {
        flex-direction: column;
        align-items: stretch;
    }
}


/* Custom login page */
.login-body {
    background: #f5f5f5;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.login-logo {
    text-align: center;
    margin-bottom: 18px;
}

.login-logo img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
}

.login-card h1 {
    text-align: center;
    margin: 0 0 26px;
    font-size: 26px;
}

.login-card label {
    display: block;
    font-weight: bold;
    margin: 16px 0 8px;
}

.login-card input {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
}

.login-card button {
    width: 100%;
    margin-top: 24px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #f57c00;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.login-error {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: bold;
}

.login-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: bold;
}
