﻿.talk_title {font-size:16.5px; font-weight:bold;color:#E42B86;}
.talk_title_underline {border:solid 1px #000;width:100%}
.fb_container {width:182px;}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
    width: 100%;
    margin: auto;
}
.carousel-indicators li {
  background-color: #999 !important;
  background-color: rgba(70,70,70,.25) !important;
}
.carousel-indicators .active {
  background-color: #444 !important;
}
.carousel-indicators {
  bottom:-50px;
}
.carousel-inner {
   margin-bottom:50px;
}
.index-border-cool {border-bottom:solid 5px #000;}
.color-pill-yoihon .active a, .color-pill-yoihon .active a:hover{
    background-color:#ffffff !important;
    color:#E9559E !important;
    }
.index_box_frame {border: dotted 1px #000000;}
.box_table{background-color:#FCF8E3;}
.product-tag 
{
    background-color:#FF5E79; 
    font-size:12px;
    color:#FFFFFF; 
    font-weight:normal; 
    font-family:Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "微软雅黑", 宋体, SimSun, STXihei, "华文细黑", sans-serif;
    padding-left:13px;
    padding-right:13px;
    padding-top:3px;
    padding-bottom:3px;
    letter-spacing:0.2em;
    line-height:28px;
    margin-right:5px;
    border-radius: 6px;
    }
.type-tag 
{
    font-size: 12px; 
    background-color:#D07FFF; 
    color:#FFFFFF; 
    font-weight:normal; 
    font-family:Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "微软雅黑", 宋体, SimSun, STXihei, "华文细黑", sans-serif;
    padding-left:13px;
    padding-right:13px;
    padding-top:3px;
    padding-bottom:3px;
    letter-spacing:0.2em;
    line-height:28px;
    margin-right:5px;
    border-radius: 6px;
    }    
.new-tag
{
    font-size: 12px; 
    background-color:#FFFF2D; 
    color:#FF2D50; 
    font-weight:bold; 
    font-family:Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "微软雅黑", 宋体, SimSun, STXihei, "华文细黑", sans-serif;
    padding-left:5px;
    padding-right:5px;
    padding-top:3px;
    padding-bottom:3px;
    line-height:28px;
    margin-right:5px;
    border-radius: 6px;   
    }
.stock-tag 
{   
    background-color:#4780D9; 
    font-size:13px;
    color:#FFFFFF; 
    font-weight:normal; 
    font-family:Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "微软雅黑", 宋体, SimSun, STXihei, "华文细黑", sans-serif;
    padding-left:4px;
    padding-right:4px;
    border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	letter-spacing:0.2em;
    line-height:28px;
    margin-left:10px;
    }
.tick-tag {font-size:13px;color:#F4951D;}            
.point {font-size: 12px; color:#4480D7; font-style: normal; font-weight:bold ; letter-spacing: 0.1em; border: 1px solid #4480D7; margin-left:5px; padding-left:8px;padding-top:3px;padding-bottom:3px;padding-right:8px;}    
.discount-tag {font-size: 13px; background-color:#FF0000;color:#FFFFFF; font-weight:bold; font-family:"Arial";padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;margin-left:0px;border-radius: 3px;margin-right:5px; }
.saved-tag {font-size: 13px; background-color:#FF0000;color:#FFFFFF; font-family:"Arial";padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;margin-left:0px;border-radius: 3px;margin-right:5px; }
.category-tag 
{
    background-color:#7F92FF; 
    font-size:12px;
    color:#FFFFFF; 
    font-weight:normal; 
    font-family:Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "微软雅黑", 宋体, SimSun, STXihei, "华文细黑", sans-serif;
    padding-left:13px;
    padding-right:13px;
    padding-top:3px;
    padding-bottom:3px;
    letter-spacing:0.2em;
    line-height:28px;
    margin-right:5px;
    border-radius: 6px;        
     }
.twentyfour-tag 
{
    font-size: 13px;
    background-color:#FF9B00;
    color:#FFFFFF;
    font-weight:normal;
    font-family:"Arial";
    padding-left:13px;
    padding-right:13px;
    padding-top:3px;
    padding-bottom:3px;    
    border-radius: 6px;    
}
.preorder-tag 
{
    font-size: 13px;
    background-color:#F68787;
    color:#FFFFFF;
    font-weight:normal;
    font-family:"Arial";
    padding-left:13px;
    padding-right:13px;
    padding-top:3px;
    padding-bottom:3px;    
    border-radius: 6px;    
}
.expiry-tag
{
    font-size: 13px;
    background-color:#A0A0A0;
    color:#FFFFFF;
    font-weight:normal;
    font-family:"Arial";
    padding-left:13px;
    padding-right:13px;
    padding-top:3px;
    padding-bottom:3px;    
    border-radius: 6px;    
}
.price {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing:0.1em;
}
.search-background{background-color:#F2E8D2;}
#searchfunction{background-color:#F2E8D2;width:100%;margin-top:5px;margin-bottom:5px;}
.search_pulldown{width:140px;}

.displaypic {height: 150px; width: 100%; padding-bottom:0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;}
.displaytitle {color: #003366; height: 43px;overflow:hidden;}
.displayblock {float:left;width:100%;}
.noImage 
{
    font-size:20px;
    padding-top:30px;
    padding-left:0px;
    padding-right:0px;
    background : #AFAFAF;
    text-align:center;
    background: -webkit-radial-gradient(#ffffff, #AFAFAF); /* Safari 5.1 to 6.0 */
    background: -o-radial-gradient(#ffffff, #AFAFAF); /* For Opera 11.6 to 12.0 */
    background: -moz-radial-gradient(#ffffff, #AFAFAF); /* For Firefox 3.6 to 15 */
    background: radial-gradient(#ffffff, #AFAFAF); /* Standard syntax (must be last) */
    width:180px;
    height:180px;
    } 
.photobox {height:115px;}
.textbox {height:60px;overflow:hidden;}
.blockquote_title{
  padding-left: 1.5rem;
  border-left: 20px solid #7F0037; /* Just change the color value and that's it*/
  background-color:#F9F9F9;
  font-size:15px;
  color: #7F0037;
  font-weight:bold;
}
#productshow a:link,#productshow a:hover,#productshow a:active,#productshow a:focus {color:#3243A3;}
hr.style-eight {
    padding: 0;
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
}
hr.style-eight:after {
    content: "§";
    display: inline-block;
    position: relative;
    top: -0.7em;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: white;
}
.border-bottom-1{border-bottom:1px solid #000000 !important; }
.border-left-1{border-left:1px solid #000000 !important; }
.inv_container{width:768px;}
#invoice_content table
{ 
    border-collapse: collapse;
    border-top: solid 1px #000000; 
    border-bottom: solid 0px #000000;
    width:100%;
  }
#invoice_content tr  
{
    border: none; 
    }
#invoice_content td 
{  
    border-right: solid 1px #000000;        
  }
.border-all-1
{
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    }
.hr-footer{border-top: 1px solid #000000;}
.grid_border_all{border:1px solid #C9C9C9;padding-top:10px;padding-bottom:10px;}
.btn_buy{
	color:#ffffff;
	background-color:#FFA742;	
	border-top: 1px solid #FF570A;
	border-left: 1px solid #FF570A;
	border-right: 1px solid #FF570A;
	border-bottom: 1px solid #FF570A;	
	background: -o-linear-gradient(top, #FFA742 20%, #FF570A 100%);
	background: -ms-linear-gradient(top, #FFA742 20%, #FF570A 100%);
	background: -moz-linear-gradient(top, #FFA742 20%, #FF570A 100%);
	background: -webkit-linear-gradient(top, #FFA742 20%, #FF570A 100%);
	background: linear-gradient(top, #FFA742 20%, #FF570A 100%);
	border-radius: 6px;
}
.btn_preorder
{   
	color:#ffffff;
	background-color:#FEA6A6;	
	border-top: 1px solid #EA5757;
	border-left: 1px solid #EA5757;
	border-right: 1px solid #EA5757;
	border-bottom: 1px solid #EA5757;
	border-radius: 6px;
	background: -o-linear-gradient(top, #FEA6A6 20%, #EA5757 100%);
	background: -ms-linear-gradient(top, #FEA6A6 20%, #EA5757 100%);
	background: -moz-linear-gradient(top, #FEA6A6 20%, #EA5757 100%);
	background: -webkit-linear-gradient(top, #FEA6A6 20%, #EA5757 100%);
	background: linear-gradient(top, #FEA6A6 20%, #EA5757 100%);
}
.btn_oneclick
{   
	color:#ffffff;
	background-color:#942994;	
	border-top: 1px solid #942994;
	border-left: 1px solid #942994;
	border-right: 1px solid #942994;
	border-bottom: 1px solid #942994;
	background: -o-linear-gradient(top, #DD69EA 20%, #B733B7 100%);
	background: -ms-linear-gradient(top, #DD69EA 20%, #B733B7 100%);
	background: -moz-linear-gradient(top, #DD69EA 20%, #B733B7 100%);
	background: -webkit-linear-gradient(top, #DD69EA 20%, #B733B7 100%);
	background: linear-gradient(top, #DD69EA 20%, #B733B7 100%);
}
.btn-message
{
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border: 1px solid #3691da;
    background-color: #56b4ff;
    }
/*Start: tab menu*/
.titlerow {
	text-align: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0;
	line-height: 35px;
	height: 35px;	
	overflow: hidden;
	position: relative;
}
.titlerow li {
	border: 0px;
	font-size: 15px; 
	font-weight: bold;
	color:#ffffff;
	display: inline-block;
	position: relative;
	text-align:left;
	margin: 0px 0px 0px 0px;
	padding: 2px 30px 2px 10px;	
}
.titletab{width: 100%;clear:both;border-bottom: solid 3px #003F9B;margin-bottom:5px;padding-top:0px;padding-bottom:0px;}
/*End: tab menu*/
.colFull{float:left;padding-top:10px;padding-bottom:5px;width:100%;}    
.bmclose {
    position:absolute;
    top: 5px;    
    right:15px;
    color: #bbb;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.bmclose:hover,
.bmclose:focus {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}
#footer li > a{color:#ffffff;}
#footer li {padding-top:10px;}

/* Shared heading style for Engbook and Magazine panels */
.panel-engbook > .panel-heading,
.panel-jpbook > .panel-heading,
.panel-manga > .panel-heading,
.panel-magazine > .panel-heading {
    font-size: 20px;   /* unified size */
    font-weight: 700;  /* bold for emphasis */
    line-height: 1.4;  /* balanced spacing */
}

/* Shared text style inside headings */
.text-engbook,
.text-jpbook,
.text-manga,
.text-magazine {
    font-size: 18px;   /* slightly smaller than heading */
    font-weight: 600;
}

/* Custom panel with Light Indigo & Periwinkle tone */
.panel-engbook {
    border-color: #a3b8e6; /* soft indigo border */
}
.panel-engbook > .panel-heading {
    background-color: #a3b8e6; /* lighter indigo header */
    color: #1c2a4d; /* navy text */
}
.panel-engbook > .panel-body {
    background-color: #f0f4fc; /* pale periwinkle body */
}

/* Custom button for carousel controls */
.btn-engbook {
    background-color: #4b6cb7; /* indigo background */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-engbook:hover {
    background-color: #3a57a0; /* darker indigo */
    color: #ffffff;
}

/* Custom text color */
.text-engbook {
    color: #1c2a4d; /* navy */
}

.panel-magazine > .panel-heading .sub-magazine {
    color: #ffeaea;   /* light blush ivory for contrast */
}

/* Custom panel with Coral & Blush tone */
.panel-magazine {
    border-color: #ffb3b3; /* soft coral border */
}
.panel-magazine > .panel-heading {
    background-color: #ff6b6b; /* coral pink header */
    color: #FFEDF8; /* white text for clarity */
}
.panel-magazine > .panel-body {
    background-color: #ffeaea; /* blush ivory panel body */
}

/* Custom button for carousel controls */
.btn-magazine {
    background-color: #ff6b6b; /* coral background */
    color: #FFEDF8;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-magazine:hover {
    background-color: #e85c5c; /* darker coral */
    color: #FFEDF8;
}

/* Custom text color */
.text-magazine {
    color: #FFEDF8; /* match header background for contrast */    
}

/* Custom panel with Mint & Ivory tone */
.panel-jpbook {
    border-color: #b2e2dc; /* soft mint border */
}
.panel-jpbook > .panel-heading {
    background-color: #b2e2dc; /* mint green header */
    color: #2c7a7b; /* deep teal text */
}
.panel-jpbook > .panel-body {
    background-color: #fffdf5; /* ivory panel body */
}

/* Custom button for carousel controls */
.btn-jpbook {
    background-color: #2c7a7b; /* deep teal background */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-jpbook:hover {
    background-color: #245d5d; /* darker teal */
    color: #ffffff;
}

/* Custom text color */
.text-jpbook {
    color: #2c7a7b; /* deep teal */
}

/* Custom panel with Violet & Soft Pink tone */
.panel-manga {
    border-color: #d6a3e6; /* soft violet border */
}
.panel-manga > .panel-heading {
    background-color: #9b59b6; /* vivid violet header */
    color: #ffffff; /* white text for clarity */
}
.panel-manga > .panel-body {
    background-color: #f9ecff; /* pale lavender body */
}

/* Custom button for carousel controls */
.btn-manga {
    background-color: #9b59b6; /* violet background */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-manga:hover {
    background-color: #7d3c98; /* darker violet on hover */
    color: #ffffff;
}

/* Custom text color */
.text-manga {
    color: #ffffff; /* deep violet accent */
}

/* Sub-heading text inside Manga panel header */
.panel-manga > .panel-heading .sub-manga {
    color: #f9ecff; /* light lavender for contrast */
}

#suggestions {
    background-color: #fff;
    position: absolute;
    z-index: 9999; /* Higher than navbar */
    width: 100%;
    max-width: 800px;
    max-height: 200px;
    overflow-y: auto;
    box-sizing: border-box;
}

.suggest-item {
    padding: 6px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.suggest-item:hover {
    background-color: #f5f5f5;
}

#talk_and_promote h1 {
    color: #E9559E;
    font-weight: bold;
    font-size: 18px;
    line-height: 35px;
    border-bottom: solid 3px #000;
    padding-top: 0;
    margin-top: 0;
}

#talk_and_promote .row {
    align-items: flex-start;
}

#talk_and_promote img {
    max-width: 100%;
    height: auto;
}

#talk_and_promote h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

#talk_and_promote p {
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Product title links inside talk_and_promote */
#talk_and_promote h6 a {
    color: #003399;          /* deep dark blue */
    font-weight: normal;     /* remove bold */
    text-decoration: none;   /* no underline by default */
}

#talk_and_promote h6 a:hover {
    text-decoration: underline; /* underline on hover */
}

/* Normalized Section Heading with Left Accent Bar */
.section-header, 
h2.section-header {
    font-size: 19px;
    font-weight: bold;
    color: #222222;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid #C82333; /* Crimson Accent Bar */
    padding-left: 12px;
    line-height: 1.2;
}

.payme-heading {
    color: #317eac !important;
}

/* =========================================================================
   Subscription & Price Display Styles
   ========================================================================= */

.sub-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    margin-bottom: 12px;
}

.sub-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
    font-size: 1rem;
}

.sub-link {
    color: #1b6ec2;
    text-decoration: none;
    font-weight: normal;
}

.sub-link:hover {
    text-decoration: underline;
}

.price-original {
    color: #333333;
    text-decoration: line-through;
    font-weight: normal;
    margin-right: 6px;
}

.price-current {
    color: #cc0000;
    font-weight: normal;
}

.price-unit {
    color: #cc0000;
    font-weight: normal;
    margin-left: 2px;
}

/* =========================================================================
   Subscription Radio Options Style (6-Month, 12-Month, Latest Issue)
   ========================================================================= */

.sub-options-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-option-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1rem;
    line-height: 1.5;
}

.sub-option-label {
    cursor: pointer;
    font-weight: normal;
    color: #333333;
    margin-right: 4px;
    margin-bottom: 0;
}

.sub-option-label input[type="radio"] {
    margin-right: 6px;
    vertical-align: middle;
}

.price-original {
    color: #333333;
    text-decoration: line-through;
    font-weight: normal;
    margin-left: 4px;
    margin-right: 4px;
}

.price-current {
    color: #cc0000;
    font-weight: normal;
    margin-right: 2px;
}

.price-unit {
    color: #cc0000;
    font-weight: normal;
    margin-right: 8px;
}

.badge-saved {
    background-color: #cc0000;
    color: #ffffff;
    font-style: italic;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 2px 6px;
    border-radius: 3px;
}
/* Badges */
.badge-pink {
    background-color: #ff6682;
    color: #ffffff;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 2px;
    display: inline-block;
    font-weight: 500;
}

/* Updated to white background with purple outline */
.badge-purple {
    background-color: #ffffff;
    color: #a855f7;
    border: 1px solid #a855f7;
    font-size: 13px;
    padding: 1px 8px;
    border-radius: 2px;
    display: inline-block;
    font-weight: 500;
}

/* Product Title */
.product-title-sub {
    color: #2d3791 !important;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Specification Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid #eeeeee !important;
}

.spec-table td {
    padding: 12px 0 !important;
    vertical-align: middle;
    font-size: 15px;
}

.spec-label {
    color: #333333;
    width: 25%;
    font-weight: normal;
}

.publisher-link {
    color: #337ab7 !important;
    text-decoration: none;
}

.publisher-link:hover {
    color: #23527c !important;
    text-decoration: underline;
}

/* Subscription Radio Options Layout */
.sub-options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-option-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 15px;
}

.sub-option-label {
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
    color: #333333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.price-strike {
    text-decoration: line-through;
    color: #c84113;
    font-weight: bold;
    font-size: 17px;
    margin-left: 4px;
}

.price-sub-bold {
    color: #e60000;
    font-weight: bold;
    font-size: 20px;
    margin-left: 2px;
}

.price-currency {
    color: #e60000;
    font-size: 14px;
    margin-right: 4px;
}

/* Savings Badge - Updated to rectangular style */
.badge-saved-pill {
    background-color: #cc0000;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    font-style: italic;
    padding: 2px 6px;
    border-radius: 2px;
    display: inline-block;
}

/* Full-width WhatsApp Inquiry Button */
.btn-whatsapp-green {
    background-color: #12c868;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    padding: 8px 0;
    display: block;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.btn-whatsapp-green:hover {
    background-color: #0fb35c;
    color: #ffffff !important;
}

/* Add to Cart Button */
.btn-add-cart-orange {
    background: linear-gradient(to bottom, #ff9b26 0%, #ff6800 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 36px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease-in-out;
}

.btn-add-cart-orange:hover {
    opacity: 0.92;
}

/* "關於此書" Navy Section Header */
.tab-about-navy {
    background-color: #1c3d70;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    padding: 8px 20px;
    display: inline-block;
    border-radius: 2px;
}

/* Orange buy button like your image */
.btn-buy-orange{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(to bottom, #ffb03a 0%, #ff8c00 50%, #ff7a00 100%);
    border:1px solid #e06a00;
    border-radius:4px;
    color:#fff !important;
    font-size:14px;
    font-weight:bold;
    padding:5px 18px;
    line-height:14px; /* same as icon */
    text-decoration:none !important;
}
.btn-buy-orange img.cart-icon{
    width:14px;
    height:14px;
    vertical-align:middle;
}
.badge-24hr{
  background:#ff9c2a;
  color:#fff;
  font-size:11px;
  font-weight:bold;
  padding:2px 8px;
  border-radius:12px;
  margin-right:5px;
  display:inline-block;
  vertical-align:middle;
}